Home
last modified time | relevance | path

Searched refs:spd (Results 1 – 25 of 40) sorted by relevance

12

/dragonfly/contrib/gcc-4.7/gcc/
HDstringpool.c229 static GTY(()) struct string_pool_data * spd; variable
236 spd = ggc_alloc_string_pool_data (); in gt_pch_save_stringpool()
237 spd->nslots = ident_hash->nslots; in gt_pch_save_stringpool()
238 spd->nelements = ident_hash->nelements; in gt_pch_save_stringpool()
239 spd->entries = ggc_alloc_vec_ht_identifier_ptr (spd->nslots); in gt_pch_save_stringpool()
240 memcpy (spd->entries, ident_hash->entries, in gt_pch_save_stringpool()
241 spd->nslots * sizeof (spd->entries[0])); in gt_pch_save_stringpool()
258 ht_load (ident_hash, spd->entries, spd->nslots, spd->nelements, false); in gt_pch_restore_stringpool()
259 spd = NULL; in gt_pch_restore_stringpool()
/dragonfly/contrib/gcc-8.0/gcc/
HDstringpool.c240 static GTY(()) struct string_pool_data * spd; variable
247 spd = ggc_alloc<string_pool_data> (); in gt_pch_save_stringpool()
248 spd->nslots = ident_hash->nslots; in gt_pch_save_stringpool()
249 spd->nelements = ident_hash->nelements; in gt_pch_save_stringpool()
250 spd->entries = ggc_vec_alloc<ht_identifier_ptr> (spd->nslots); in gt_pch_save_stringpool()
251 memcpy (spd->entries, ident_hash->entries, in gt_pch_save_stringpool()
252 spd->nslots * sizeof (spd->entries[0])); in gt_pch_save_stringpool()
269 ht_load (ident_hash, spd->entries, spd->nslots, spd->nelements, false); in gt_pch_restore_stringpool()
270 spd = NULL; in gt_pch_restore_stringpool()
/dragonfly/sys/bus/firewire/
HDfwmem.c84 int spd, in fwmem_xfer_req() argument
97 if (spd < 0) in fwmem_xfer_req()
98 xfer->send.spd = fwdev->speed; in fwmem_xfer_req()
100 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req()
114 u_int8_t spd, in fwmem_read_quad() argument
123 xfer = fwmem_xfer_req(fwdev, (void *)sc, spd, 0, 4, hand); in fwmem_read_quad()
151 u_int8_t spd, in fwmem_write_quad() argument
160 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad()
187 u_int8_t spd, in fwmem_read_block() argument
197 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), hand); in fwmem_read_block()
[all …]
HDfwohcireg.h348 u_int32_t spd:16, /* XXX include reserved field */ member
356 spd:16; /* XXX include reserved fields */
364 spd:3,
372 spd:3,
382 spd:3,
390 spd:3,
HDfirewire.c1354 xfer->send.spd = 0; in fw_bus_explore()
1387 asyreqq(struct firewire_comm *fc, u_int8_t spd, u_int8_t tl, u_int8_t rt, in asyreqq() argument
1399 xfer->send.spd = spd; /* XXX:min(spd, fc->spd) */ in asyreqq()
1681 rb->xfer->recv.spd -= rb->spd; in fw_rcv_copy()
1742 kprintf("spd %d len:%d\n", spd, len); in fw_rcv()
1822 rb->xfer->send.spd = rb->spd; in fw_rcv()
1916 sub, len, off, spd); in fw_rcv()
2002 xfer->send.spd = 0; in fw_try_bmr()
2038 … xfer->spd, xfer->recv.len, ntohl(ld[0]), ntohl(ld[1]), ntohl(ld[2]), ntohl(ld[3])); in fw_vmaccess()
HDfirewirereg.h256 u_int8_t spd; member
268 u_int8_t spd; member
/dragonfly/sys/dev/sound/pci/
HDsolo.c90 u_int32_t fmt, spd, blksz; member
133 static int ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len);
375 ess_calcspeed8(int *spd) in ess_calcspeed8() argument
377 int speed = *spd; in ess_calcspeed8()
389 *spd = speed; in ess_calcspeed8()
394 ess_calcspeed9(int *spd) in ess_calcspeed9() argument
401 speed = *spd; in ess_calcspeed9()
411 *spd = use0? s0 : s1; in ess_calcspeed9()
416 ess_calcfilter(int spd) in ess_calcfilter() argument
422 cutoff = (spd * 9 * 82) / 20; in ess_calcfilter()
[all …]
HDemu10kx-pcm.c53 int spd; member
66 int spd; member
724 ch->spd = 8000; in emupchan_init()
763 ch->spd = speed; in emupchan_setspeed()
764 return (ch->spd); in emupchan_setspeed()
793 emu_vsetup(ch->master, ch->fmt, ch->spd); in emupchan_trigger()
870 ch->spd = 8000; in emurchan_init()
917 ch->spd = speed; in emurchan_setspeed()
918 return (ch->spd); in emurchan_setspeed()
980 val |= sc->is_emu10k1 ? emu_k1_recval(ch->spd) : emu_k2_recval(ch->spd); in emurchan_trigger()
[all …]
HDemu10k1.c193 int spd, fmt, blksz, run; member
201 int spd, fmt, run, blksz, num; member
416 tmp = (pch->spd * sndbuf_getalign(pch->buffer)) in emu_settimer()
426 tmp = (rch->spd * sndbuf_getalign(rch->buffer)) in emu_settimer()
631 if (ch->spd) { in emu_vsetup()
632 v->speed = ch->spd; in emu_vsetup()
822 ch->spd = 8000; in emupchan_init()
861 ch->spd = speed; in emupchan_setspeed()
862 return ch->spd; in emupchan_setspeed()
877 blksz = (ch->spd * sndbuf_getalign(ch->buffer)) / irqrate; in emupchan_setblocksize()
[all …]
HDcmi.c105 u_int32_t fmt, spd, phys_buf, bps; member
356 ch->spd = DSP_DEFAULT_SPEED; in cmichan_init()
455 ch->spd = cmpci_regvalue_to_rate(r); in cmichan_setspeed()
459 speed, ch->spd, cmpci_regvalue_to_rate(rsp))); in cmichan_setspeed()
461 return ch->spd; in cmichan_setspeed()
1082 cmichan_setspeed(NULL, &sc->pch, sc->pch.spd); in cmi_resume()
1088 cmichan_setspeed(NULL, &sc->rch, sc->rch.spd); in cmi_resume()
HDcs4281.c77 u_int32_t spd, fmt, bps, blksz; member
333 ch->spd = DSP_DEFAULT_SPEED; in cs4281chan_init()
381 ch->spd = cs4281_rv_to_rate(v); in cs4281chan_setspeed()
382 return ch->spd; in cs4281chan_setspeed()
940 cs4281chan_setspeed(NULL, &sc->rch, sc->rch.spd); in cs4281_pci_resume()
945 cs4281chan_setspeed(NULL, &sc->pch, sc->pch.spd); in cs4281_pci_resume()
HDneomagic.c54 int active, spd, dir, fmt; member
330 if (ch->spd < (samplerates[x] + samplerates[x + 1]) / 2) in nm_setch()
335 ch->spd = samplerates[x]; in nm_setch()
392 ch->spd = speed; in nmchan_setspeed()
393 return nm_setch(ch)? 0 : ch->spd; in nmchan_setspeed()
HDfm801.c131 u_int32_t spd, dir, fmt; /* speed, direction, format */ member
403 fm801->pch.spd = fm801_rates[i].rate; in fm801ch_setspeed()
409 fm801->rch.spd = fm801_rates[i].rate; in fm801ch_setspeed()
414 ch->spd = fm801_rates[i].rate; in fm801ch_setspeed()
HDvibes.c68 u_int32_t fmt, spd; member
207 ch->spd = DSP_DEFAULT_SPEED; in svchan_init()
248 ch->spd = speed; in svchan_setspeed()
323 sv_set_recspeed(sc, ch->spd); in svrchan_trigger()
395 speed = (ch->spd * 65536) / 48000; in svpchan_trigger()
HDich.c161 uint32_t blksz, blkcnt, spd; member
472 ch->spd = ((uint64_t)ac97_setrate(sc->codec, ch->spdreg, r) * in ichchan_setspeed()
475 ch->spd = 48000; in ichchan_setspeed()
477 return (ch->spd); in ichchan_setspeed()
1216 ichchan_setspeed(0, ch, ch->spd); in ich_pci_resume()
HDemu10kx.h179 void emu_vsetup(struct emu_voice *v, int fmt, int spd);
/dragonfly/sys/dev/sound/pcm/
HDfeeder_eq.c275 uint32_t spd, threshold; in feed_eq_coeff_rate() local
286 spd = feed_eq_tab[i].rate; in feed_eq_coeff_rate()
287 threshold = spd + ((i < (FEEDEQ_TAB_SIZE - 1) && in feed_eq_coeff_rate()
288 feed_eq_tab[i + 1].rate > spd) ? in feed_eq_coeff_rate()
289 ((feed_eq_tab[i + 1].rate - spd) >> 1) : 0); in feed_eq_coeff_rate()
290 if (rate == spd || in feed_eq_coeff_rate()
HDbuffer.c372 return b->spd; in sndbuf_getspd()
376 sndbuf_setspd(struct snd_dbuf *b, unsigned int spd) in sndbuf_setspd() argument
378 b->spd = spd; in sndbuf_setspd()
740 kprintf(" fmt: 0x%x, spd: %d", b->fmt, b->spd); in sndbuf_dump()
HDbuffer.h51 u_int32_t fmt, spd, bps, align; member
84 void sndbuf_setspd(struct snd_dbuf *b, unsigned int spd);
/dragonfly/contrib/tcsh-6/
HDed.term.c1040 speed_t spd; in tty_getspeed() local
1043 if ((spd = cfgetispeed(&td->d_t)) == 0) in tty_getspeed()
1044 spd = cfgetospeed(&td->d_t); in tty_getspeed()
1048 spd = td->d_t.c_cflag & CBAUD; in tty_getspeed()
1050 spd = 0; in tty_getspeed()
1053 spd = td->d_t.sg_ispeed; in tty_getspeed()
1057 return spd; in tty_getspeed()
/dragonfly/games/mille/
HDcomp.c401 CARD bat, spd, card; in onecard() local
404 spd = pp->speed; in onecard()
406 if (pp->can_go || ((isrepair(bat) || bat == C_STOP || spd == C_LIMIT) && in onecard()
419 if (spd == C_LIMIT) in onecard()
/dragonfly/sys/dev/drm/amd/display/dc/dce/
HDdce_stream_encoder.c750 dce110_update_hdmi_info_packet(enc110, 2, &info_frame->spd); in dce110_stream_encoder_update_hdmi_info_packets()
763 dce110_update_hdmi_info_packet(enc110, 3, &info_frame->spd); in dce110_stream_encoder_update_hdmi_info_packets()
827 if (info_frame->spd.valid) in dce110_stream_encoder_update_dp_info_packets()
831 &info_frame->spd); in dce110_stream_encoder_update_dp_info_packets()
843 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP2_ENABLE, info_frame->spd.valid); in dce110_stream_encoder_update_dp_info_packets()
/dragonfly/sys/dev/drm/amd/display/dc/dcn10/
HDdcn10_stream_encoder.c647 enc1_update_hdmi_info_packet(enc1, 3, &info_frame->spd); in enc1_stream_encoder_update_hdmi_info_packets()
705 if (info_frame->spd.valid) in enc1_stream_encoder_update_dp_info_packets()
709 &info_frame->spd); in enc1_stream_encoder_update_dp_info_packets()
721 REG_UPDATE(DP_SEC_CNTL, DP_SEC_GSP2_ENABLE, info_frame->spd.valid); in enc1_stream_encoder_update_dp_info_packets()
/dragonfly/sys/dev/drm/amd/display/dc/inc/hw/
HDstream_encoder.h61 struct dc_info_packet spd; member
/dragonfly/sys/dev/drm/
HDlinux_hdmi.c429 length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); in hdmi_infoframe_pack()
986 hdmi_spd_infoframe_log(level, dev, &frame->spd); in hdmi_infoframe_log()
1233 ret = hdmi_spd_infoframe_unpack(&frame->spd, buffer); in hdmi_infoframe_unpack()

12