/freebsd/sys/dev/firewire/ |
H A D | fwmem.c | 93 int spd, in fwmem_xfer_req() argument 106 if (spd < 0) in fwmem_xfer_req() 107 xfer->send.spd = fwdev->speed; in fwmem_xfer_req() 109 xfer->send.spd = min(spd, fwdev->speed); in fwmem_xfer_req() 122 uint8_t spd, in fwmem_read_quad() argument 131 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 4, hand); in fwmem_read_quad() 159 uint8_t spd, in fwmem_write_quad() argument 168 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand); in fwmem_write_quad() 195 uint8_t spd, in fwmem_read_block() argument 205 xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), hand); in fwmem_read_block() [all …]
|
H A D | fwohcireg.h | 350 uint32_t spd:16, /* XXX include reserved field */ member 358 spd:16; /* XXX include reserved fields */ 366 spd:3, 374 spd:3, 384 spd:3, 392 spd:3,
|
H A D | firewirereg.h | 244 uint8_t spd; member 257 uint8_t spd; member
|
/freebsd/sys/dev/sound/pci/ |
H A D | solo.c | 86 u_int32_t fmt, spd, blksz; member 121 static int ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len); 363 ess_calcspeed8(int *spd) in ess_calcspeed8() argument 365 int speed = *spd; in ess_calcspeed8() 377 *spd = speed; in ess_calcspeed8() 382 ess_calcspeed9(int *spd) in ess_calcspeed9() argument 389 speed = *spd; in ess_calcspeed9() 399 *spd = use0? s0 : s1; in ess_calcspeed9() 404 ess_calcfilter(int spd) in ess_calcfilter() argument 410 cutoff = (spd * 9 * 82) / 20; in ess_calcfilter() [all …]
|
H A D | emu10kx-pcm.c | 55 int spd; member 68 int spd; member 723 ch->spd = 8000; in emupchan_init() 762 ch->spd = speed; in emupchan_setspeed() 763 return (ch->spd); in emupchan_setspeed() 792 emu_vsetup(ch->master, ch->fmt, ch->spd); in emupchan_trigger() 869 ch->spd = 8000; in emurchan_init() 916 ch->spd = speed; in emurchan_setspeed() 917 return (ch->spd); in emurchan_setspeed() 979 val |= sc->is_emu10k1 ? emu_k1_recval(ch->spd) : emu_k2_recval(ch->spd); in emurchan_trigger() [all …]
|
H A D | cmi.c | 105 u_int32_t fmt, spd, phys_buf, bps; member 355 ch->spd = DSP_DEFAULT_SPEED; in cmichan_init() 454 ch->spd = cmpci_regvalue_to_rate(r); in cmichan_setspeed() 458 speed, ch->spd, cmpci_regvalue_to_rate(rsp))); in cmichan_setspeed() 460 return ch->spd; in cmichan_setspeed() 1079 cmichan_setspeed(NULL, &sc->pch, sc->pch.spd); in cmi_resume() 1085 cmichan_setspeed(NULL, &sc->rch, sc->rch.spd); in cmi_resume()
|
H A D | cs4281.c | 77 u_int32_t spd, fmt, bps, blksz; member 329 ch->spd = DSP_DEFAULT_SPEED; in cs4281chan_init() 377 ch->spd = cs4281_rv_to_rate(v); in cs4281chan_setspeed() 378 return ch->spd; in cs4281chan_setspeed() 937 cs4281chan_setspeed(NULL, &sc->rch, sc->rch.spd); in cs4281_pci_resume() 942 cs4281chan_setspeed(NULL, &sc->pch, sc->pch.spd); in cs4281_pci_resume()
|
H A D | emu10k1.c | 193 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() 956 ch->spd = 8000; in emurchan_init() [all …]
|
H A D | neomagic.c | 54 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()
|
H A D | fm801.c | 129 u_int32_t spd, dir, fmt; /* speed, direction, format */ member 400 fm801->pch.spd = fm801_rates[i].rate; in fm801ch_setspeed() 406 fm801->rch.spd = fm801_rates[i].rate; in fm801ch_setspeed() 411 ch->spd = fm801_rates[i].rate; in fm801ch_setspeed()
|
H A D | csapcm.c | 58 u_int32_t fmt, spd; member 512 csa_setplaysamplerate(resp, ch->spd); in csa_setupchan() 521 csa_setcapturesamplerate(resp, ch->spd); in csa_setupchan() 558 ch->spd = speed; in csachan_setspeed() 559 return ch->spd; /* XXX calc real speed */ in csachan_setspeed()
|
H A D | vibes.c | 68 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()
|
H A D | ich.c | 161 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() 1215 ichchan_setspeed(0, ch, ch->spd); in ich_pci_resume()
|
H A D | emu10kx.h | 178 void emu_vsetup(struct emu_voice *v, int fmt, int spd);
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/usb/ |
H A D | pd.h | 208 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \ argument 211 | ((spd) & 0x7)) 346 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument 349 | ((vbm) & 0x3) << 9 | ((cur) & 0x3) << 5 | ((spd) & 0x7)) 350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument 354 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
|
/freebsd/sys/dev/sound/pcm/ |
H A D | feeder_eq.c | 273 uint32_t spd, threshold; in feed_eq_coeff_rate() local 284 spd = feed_eq_tab[i].rate; in feed_eq_coeff_rate() 285 threshold = spd + ((i < (FEEDEQ_TAB_SIZE - 1) && in feed_eq_coeff_rate() 286 feed_eq_tab[i + 1].rate > spd) ? in feed_eq_coeff_rate() 287 ((feed_eq_tab[i + 1].rate - spd) >> 1) : 0); in feed_eq_coeff_rate() 288 if (rate == spd || in feed_eq_coeff_rate()
|
H A D | buffer.h | 47 u_int32_t fmt, spd, bps, align; member 80 void sndbuf_setspd(struct snd_dbuf *b, unsigned int spd);
|
H A D | buffer.c | 374 return b->spd; in sndbuf_getspd() 378 sndbuf_setspd(struct snd_dbuf *b, unsigned int spd) in sndbuf_setspd() argument 380 b->spd = spd; in sndbuf_setspd() 742 printf(" fmt: 0x%x, spd: %d", b->fmt, b->spd); in sndbuf_dump()
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | fsl-lx2160a-cex7.dtsi | 74 compatible = "atmel,spd"; 79 compatible = "atmel,spd";
|
/freebsd/contrib/tcsh/ |
H A D | ed.term.c | 1029 speed_t spd; in tty_getspeed() local 1032 if ((spd = cfgetispeed(&td->d_t)) == 0) in tty_getspeed() 1033 spd = cfgetospeed(&td->d_t); in tty_getspeed() 1037 spd = td->d_t.c_cflag & CBAUD; in tty_getspeed() 1039 spd = 0; in tty_getspeed() 1042 spd = td->d_t.sg_ispeed; in tty_getspeed() 1046 return spd; in tty_getspeed()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_audio.c | 101 uint32_t fmt, spd, blksz; member 503 speed = ch->spd; in bcm2835_audio_worker() 601 ch->spd = 44100; in bcmchan_init() 654 ch->spd = speed; in bcmchan_setspeed() 658 return ch->spd; in bcmchan_setspeed()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | krb5tgs.c | 125 KRB5SignedPathData spd; in _kdc_add_KRB5SignedPath() local 127 spd.client = client; in _kdc_add_KRB5SignedPath() 128 spd.authtime = tkt->authtime; in _kdc_add_KRB5SignedPath() 129 spd.delegated = principals; in _kdc_add_KRB5SignedPath() 130 spd.method_data = NULL; in _kdc_add_KRB5SignedPath() 133 &spd, &size, ret); in _kdc_add_KRB5SignedPath() 204 KRB5SignedPathData spd; in check_KRB5SignedPath() local 213 spd.client = cp; in check_KRB5SignedPath() 214 spd.authtime = tkt->authtime; in check_KRB5SignedPath() 215 spd.delegated = sp.delegated; in check_KRB5SignedPath() [all …]
|
/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_mgmt.c | 1748 uint32_t spd; in set_configured_speed() local 1750 spd = ocs_strtoul(value, NULL, 0); in set_configured_speed() 1752 if ((spd != 0) && (spd != 2000) && (spd != 4000) && in set_configured_speed() 1753 (spd != 8000) && (spd != 16000) && (spd != 32000)) { in set_configured_speed() 1754 ocs_log_test(ocs, "unsupported speed %d\n", spd); in set_configured_speed() 1764 ocs_log_debug(ocs, "Setting port to speed %d\n", spd); in set_configured_speed() 1765 hw_rc = ocs_hw_set(&ocs->hw, OCS_HW_LINK_SPEED, spd); in set_configured_speed()
|
/freebsd/sys/arm/nvidia/drm2/ |
H A D | hdmi.c | 430 length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); in hdmi_infoframe_pack() 964 hdmi_spd_infoframe_log(&frame->spd); in hdmi_infoframe_log() 1211 ret = hdmi_spd_infoframe_unpack(&frame->spd, buffer); in hdmi_infoframe_unpack()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_hdmi.c | 917 return hdmi_spd_infoframe_check(&frame->spd); in hdmi_infoframe_check() 958 length = hdmi_spd_infoframe_pack_only(&frame->spd, in hdmi_infoframe_pack_only() 1009 length = hdmi_spd_infoframe_pack(&frame->spd, buffer, size); in hdmi_infoframe_pack() 1572 hdmi_spd_infoframe_log(level, dev, &frame->spd); in hdmi_infoframe_log() 1944 ret = hdmi_spd_infoframe_unpack(&frame->spd, buffer, size); in hdmi_infoframe_unpack()
|