Searched refs:speed (Results 76 - 100 of 389) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sound/usb/
H A Duaudio.h50 uint32_t speed);
/freebsd-11-stable/libexec/rlogind/
H A Drlogind.c56 * terminal_type/speed\0
541 char *speed; local
549 speed = cp;
550 cp = strchr(speed, '/');
553 cfsetspeed(&tt, atoi(speed));
564 speed = cp;
565 cp = strchr(speed, '/');
569 cfsetspeed(&tt, atoi(speed));
/freebsd-11-stable/sys/dev/mii/
H A Drgephy.c152 int speed, gig, anar; local
178 speed = RGEPHY_S1000;
181 speed = RGEPHY_S100;
185 speed = RGEPHY_S10;
193 speed |= RGEPHY_BMCR_FDX;
214 speed |=
219 PHY_WRITE(sc, RGEPHY_MII_BMCR, speed);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_api.h77 ixgbe_link_speed *speed,
80 ixgbe_link_speed speed,
86 s32 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed,
88 s32 ixgbe_setup_mac_link(struct ixgbe_hw *hw, ixgbe_link_speed speed,
90 s32 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
92 s32 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
221 void ixgbe_set_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed);
H A Dixgbe_api.c396 * Sets the PCI bus info (speed, width, type) within the ixgbe_hw structure
582 * ixgbe_check_phy_link - Determine link and speed status
585 * Reads a PHY register to determine if link is up and the current speed for
588 s32 ixgbe_check_phy_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, argument
591 return ixgbe_call_func(hw, hw->phy.ops.check_link, (hw, speed,
598 * @speed: new link speed
602 s32 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed, argument
605 return ixgbe_call_func(hw, hw->phy.ops.setup_link_speed, (hw, speed,
622 * ixgbe_check_link - Get link and speed statu
627 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
681 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
697 ixgbe_setup_mac_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
711 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
1699 ixgbe_set_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
[all...]
H A Dixgbe_phy.c792 ixgbe_link_speed speed; local
796 ixgbe_get_copper_link_capabilities_generic(hw, &speed, &autoneg);
805 (speed & IXGBE_LINK_SPEED_10GB_FULL))
820 (speed & IXGBE_LINK_SPEED_5GB_FULL))
827 (speed & IXGBE_LINK_SPEED_2_5GB_FULL))
834 (speed & IXGBE_LINK_SPEED_1GB_FULL))
849 (speed & IXGBE_LINK_SPEED_100_FULL))
875 * @speed: new link speed
878 ixgbe_link_speed speed,
877 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
962 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
985 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
1038 ixgbe_link_speed speed; local
[all...]
H A Dixgbe_vf.h126 s32 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed,
128 s32 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
/freebsd-11-stable/sys/mips/atheros/
H A Dar934x_chip.c193 * Next, fetch reference clock speed for MDIO bus.
233 ar934x_chip_set_mii_speed(uint32_t unit, uint32_t speed) argument
244 ar934x_chip_set_pll_ge(int unit, int speed, uint32_t pll) argument
289 ar934x_chip_get_eth_pll(unsigned int mac, int speed) argument
293 switch (speed) {
304 printf("%s%d: invalid speed %d\n", __func__, mac, speed);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_hub.c313 (udev->speed != USB_SPEED_HIGH) ||
314 (child->speed != USB_SPEED_LOW &&
315 child->speed != USB_SPEED_FULL) ||
414 * This function counts the number of active ports at the given speed.
417 uhub_count_active_host_ports(struct usb_device *udev, enum usb_dev_speed speed) argument
440 child->speed == speed)
637 enum usb_dev_speed speed; local
690 switch (udev->speed) {
769 * Figure out the device speed
1885 enum usb_dev_speed speed; local
1943 uint8_t speed; local
[all...]
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibportstate.c77 uint64_t speed = 0; /* no state change */ variable
99 {"speed", &speed, 0}, /* SPEED */
337 static void validate_speed(int speed, int peerspeed, int lsa) argument
339 if ((speed & peerspeed & 0x4)) {
342 ("Peer ports operating at active speed %d rather than 4 (10.0 Gbps)",
344 } else if ((speed & peerspeed & 0x2)) {
347 ("Peer ports operating at active speed %d rather than 2 (5.0 Gbps)",
349 } else if ((speed & peerspeed & 0x1)) {
352 ("Peer ports operating at active speed
[all...]
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_codec.c166 uint32_t speed; member in struct:a10codec_chinfo
399 switch (ch->speed) {
603 a10codec_chan_setspeed(kobj_t obj, void *data, uint32_t speed) argument
612 switch (speed) {
619 ch->speed = speed;
625 ch->speed = speed;
627 ch->speed = 48000;
631 ch->speed
[all...]
/freebsd-11-stable/sys/dev/vnic/
H A Dthunder_mdio.c384 int *speed)
413 *speed = 10;
416 *speed = 100;
419 *speed = 1000;
423 *speed = 0;
438 int speed)
383 thunder_mdio_media_status(device_t dev, int lmacid, int *link, int *duplex, int *speed) argument
437 thunder_mdio_media_change(device_t dev, int lmacid, int link, int duplex, int speed) argument
/freebsd-11-stable/sys/dev/nvme/
H A Dnvme_sim.c131 uint32_t speed, lanes, link[] = { 1, 250000, 500000, 985000, 1970000 }; local
135 speed = status & PCIEM_LINK_STA_SPEED;
138 * Failsafe on link speed indicator. If it is insane report the number of
139 * lanes as the speed. Not 100% accurate, but may be diagnostic.
141 if (speed >= nitems(link))
142 speed = 0;
143 return link[speed] * lanes;
239 nvmex->speed = status & PCIEM_LINK_STA_SPEED;
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs_compat.h538 char **speed)
542 *speed = " DDR";
546 *speed = " QDR";
550 *speed = " FDR10";
554 *speed = " FDR";
558 *speed = " EDR";
536 ib_active_speed_enum_to_rate(u8 active_speed, int *rate, char **speed) argument
/freebsd-11-stable/sys/dev/e1000/
H A De1000_mac.c175 * bus speed, bus width, type (PCI/PCIx), and PCI(-x) function.
191 /* Bus speed */
193 bus->speed = (status & E1000_STATUS_PCI66)
199 bus->speed = e1000_bus_speed_66;
202 bus->speed = e1000_bus_speed_100;
205 bus->speed = e1000_bus_speed_133;
208 bus->speed = e1000_bus_speed_reserved;
230 * bus speed, bus width, type (PCIe), and PCIe function.
247 bus->speed = e1000_bus_speed_unknown;
251 bus->speed
1357 u16 speed, duplex; local
1659 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1698 e1000_get_speed_and_duplex_fiber_serdes_generic(struct e1000_hw E1000_UNUSEDARG *hw, u16 *speed, u16 *duplex) argument
[all...]
H A De1000_mac.h64 s32 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed,
67 u16 *speed, u16 *duplex);
/freebsd-11-stable/sys/dev/sound/pci/
H A Dvibes.c244 svchan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
247 RANGE(speed, 8000, 48000);
248 ch->spd = speed;
249 return speed;
256 sv_set_recspeed(struct sc_info *sc, u_int32_t speed) argument
266 f_out = SV_F_SCALE * speed;
306 speed,
322 /* Set speed */
389 u_int32_t count, enable, speed; local
394 /* Set speed */
[all...]
H A Dals4000.c68 u_int32_t format, speed, phys_buf, bps; member in struct:sc_chinfo
224 ch->speed = DSP_DEFAULT_SPEED;
244 alschan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
253 ch->speed = other->speed;
254 return other->speed;
257 ch->speed = speed;
258 return speed;
303 als_esp_wr(sc, ch->speed >>
[all...]
H A Denvy24.c81 u_int32_t speed; member in struct:sc_chinfo
169 u_int32_t speed; member in struct:sc_info
1076 u_int32_t speed; member in struct:__anon11667
1096 envy24_setspeed(struct sc_info *sc, u_int32_t speed) { argument
1101 device_printf(sc->dev, "envy24_setspeed(sc, %d)\n", speed);
1103 if (speed == 0) {
1108 for (i = 0; envy24_speedtab[i].speed != 0; i++) {
1109 if (envy24_speedtab[i].speed == speed)
1115 device_printf(sc->dev, "envy24_setspeed(): speed
1700 envy24chan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
[all...]
H A Denvy24ht.c90 u_int32_t speed; member in struct:sc_chinfo
168 u_int32_t speed; member in struct:sc_info
1024 u_int32_t speed; member in struct:__anon11668
1046 envy24ht_setspeed(struct sc_info *sc, u_int32_t speed) { argument
1051 device_printf(sc->dev, "envy24ht_setspeed(sc, %d)\n", speed);
1052 if (speed == 0) {
1058 for (i = 0; envy24ht_speedtab[i].speed != 0; i++) {
1059 if (envy24ht_speedtab[i].speed == speed)
1065 device_printf(sc->dev, "envy24ht_setspeed(): speed
1611 envy24htchan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_heath.c184 static int speed[] = {B1200, B2400, B4800, B9600}; variable
225 fd = refclock_open(device, speed[peer->ttl & 0x3],
/freebsd-11-stable/sys/mips/nlm/dev/net/
H A Dsgmii.c77 int rx_en, int tx_en, int speed, int duplex)
94 netwk_inf &= ~(0x3); /* remove speed */
96 switch (speed) {
76 nlm_nae_setup_mac(uint64_t nae_base, int nblock, int iface, int reset, int rx_en, int tx_en, int speed, int duplex) argument
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dsndstat.h81 sbuf_printf(s, "spd %d", c->speed); \
82 if (c->speed != sndbuf_getspd(c->bufhard)) \
/freebsd-11-stable/usr.sbin/ppp/
H A Dphysical.h74 unsigned (*speed)(struct physical *); member in struct:device
110 unsigned speed; /* tty speed */ member in struct:physical::__anon14111
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dlib_baudrate.c92 struct speed { struct
94 int sp; /* the actual speed */
99 static struct speed const speeds[] =

Completed in 218 milliseconds

1234567891011>>