Searched refs:speed (Results 226 - 250 of 389) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sound/pcm/
H A Dfeeder_chain.c694 cdesc.origin.rate = c->speed;
704 cdesc.target.rate = c->speed;
720 c->speed = cdesc.target.rate;
850 sndbuf_setspd(c->bufsoft, c->speed);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_debug.c141 " address=%d config=%d depth=%d speed=%d self_powered=%d\n"
144 udev->address, udev->curr_config_no, udev->depth, udev->speed,
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/
H A Dibnetdiscover.c87 char *dump_linkspeed_compat(uint32_t speed) argument
89 switch (speed) {
103 char *dump_linkspeedext_compat(uint32_t espeed, uint32_t speed, uint32_t fdr10) argument
110 return dump_linkspeed_compat(speed);
1080 {"full", 'f', 0, NULL, "show full information (ports' speed and width, vlcap)"},
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_common.h119 uint32_t speed; /**< link speed */ member in struct:ocs_domain_record_s
/freebsd-11-stable/sys/sys/
H A Dtty.h201 void tty_init_console(struct tty *tp, speed_t speed);
/freebsd-11-stable/usr.sbin/usbdump/
H A Dusbdump.c317 usb_speedstr(uint8_t speed) argument
319 if (speed >= USB_SPEED_MAX || speed_table[speed] == NULL)
322 return (speed_table[speed]);
/freebsd-11-stable/sys/dev/mlx5/
H A Dport.h286 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed);
/freebsd-11-stable/sys/dev/gpio/
H A Dgpioiic.c225 gpioiic_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr) argument
/freebsd-11-stable/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c497 ntb_plx_link_is_up(device_t dev, enum ntb_speed *speed, enum ntb_width *width) argument
502 if (speed != NULL)
503 *speed = (link & PCIEM_LINK_STA_SPEED);
510 ntb_plx_link_enable(device_t dev, enum ntb_speed speed __unused,
/freebsd-11-stable/sys/dev/sge/
H A Dif_sge.c383 uint32_t ctl, speed; local
391 speed = 0;
398 speed = SC_SPEED_10;
402 speed = SC_SPEED_100;
407 speed = SC_SPEED_1000;
416 /* Reprogram MAC to resolved speed/duplex/flow-control parameters. */
419 if (speed == SC_SPEED_1000) {
430 ctl |= speed;
1669 /* Initialize default speed/duplex information. */
/freebsd-11-stable/sys/mips/rmi/dev/nlge/
H A Dif_nlge.c2217 sc->speed = nlge_mii_read_internal(sc->mii_base, sc->phy_addr, 28);
2218 sc->speed = (sc->speed >> 3) & 0x03;
2228 NLGE_WRITE(mmio, R_INTERFACE_CONTROL, sgmii_speed[sc->speed]);
2229 if (sc->speed == xlr_mac_speed_10 || sc->speed == xlr_mac_speed_100 ||
2230 sc->speed == xlr_mac_speed_rsvd) {
2232 } else if (sc->speed == xlr_mac_speed_1000) {
2239 NLGE_WRITE(mmio, R_CORECONTROL, core_ctl[sc->speed]);
2242 speed_str[sc->speed]);
[all...]
/freebsd-11-stable/sys/dev/sound/isa/
H A Dmss.c952 mss_speed(struct mss_chinfo *ch, int speed) argument
958 * table lists them. The speed-setting routines scans the table
970 if (mss->bd_id == MD_AD1845) { /* Use alternate speed select regs */
971 ad_write(mss, 22, (speed >> 8) & 0xff); /* Speed MSB */
972 ad_write(mss, 23, speed & 0xff); /* Speed LSB */
982 abs(speed-speeds[i]) < abs(speed-speeds[sel])) sel = i;
983 speed = speeds[sel];
989 return speed;
1178 msschan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
[all...]
/freebsd-11-stable/sys/contrib/alpine-hal/
H A Dal_hal_pcie.c135 al_pcie_speed_gen_code(enum al_pcie_link_speed speed) argument
137 if (speed == AL_PCIE_LINK_SPEED_GEN1)
139 if (speed == AL_PCIE_LINK_SPEED_GEN2)
141 if (speed == AL_PCIE_LINK_SPEED_GEN3)
186 al_dbg("PCIe %d: link config: max speed gen %d, max lanes %d, reversal %s\n",
1942 status->speed = AL_PCIE_LINK_SPEED_DEFAULT;
1951 status->speed = AL_PCIE_LINK_SPEED_GEN1;
1954 status->speed = AL_PCIE_LINK_SPEED_GEN2;
1957 status->speed = AL_PCIE_LINK_SPEED_GEN3;
1960 status->speed
[all...]
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_cdce.c1089 uint32_t speed; local
1142 speed = (13 * 512 * 8 * 1000 * 8);
1144 speed = (19 * 64 * 1 * 1000 * 8);
1146 USETDW(req.data + 0, speed); /* Upstream bit rate */
1147 USETDW(req.data + 4, speed); /* Downstream bit rate */
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_mcp.c1485 p_link->speed = 100000;
1488 p_link->speed = 50000;
1491 p_link->speed = 40000;
1494 p_link->speed = 25000;
1497 p_link->speed = 20000;
1500 p_link->speed = 10000;
1506 p_link->speed = 1000;
1509 p_link->speed = 0;
1513 /* We never store total line speed as p_link->speed i
[all...]
H A Decore_mcp_api.h68 struct ecore_mcp_link_speed_params speed; member in struct:ecore_mcp_link_params
88 /* Actual link speed in Mb/s */
91 /* PF max speed in MB/s, deduced from line_speed
94 u32 speed; member in struct:ecore_mcp_link_state
679 * @brief Get transciever supported speed mask.
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_ael1002.c286 static int get_link_status_r(struct cphy *phy, int *link_state, int *speed, argument
310 if (speed)
311 *speed = SPEED_10000;
2163 static int get_link_status_x(struct cphy *phy, int *link_state, int *speed, argument
2181 if (speed)
2182 *speed = SPEED_10000;
2241 int *speed, int *duplex, int *fc)
2257 if (speed)
2258 *speed = SPEED_10000;
2240 xaui_direct_get_link_status(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc) argument
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_xpt.c1109 * gets into the speed we want to set. We check on the SIM telling
1110 * us that a requested speed is bad, but otherwise don't try and
1111 * check the speed due to the asynchronous and handshake nature
1112 * of speed setting.
3040 u_int speed; local
3052 /* Ask the SIM for its base transfer speed */
3056 /* Report connection speed */
3057 speed = cpi.base_transfer_speed;
3066 speed = freq;
3069 speed *
[all...]
/freebsd-11-stable/sys/dev/firewire/
H A Dfwohci.c424 * 1. to probe maximum speed supported by the PHY and
436 sc->fc.speed = reg & FW_PHY_SPD >> 6;
437 if (sc->fc.speed > MAX_SPEED) {
438 device_printf(dev, "invalid speed %d (fixed to %d).\n",
439 sc->fc.speed, MAX_SPEED);
440 sc->fc.speed = MAX_SPEED;
444 linkspeed[sc->fc.speed], sc->fc.nport);
449 sc->fc.speed = (reg2 & FW_PHY_ESPD) >> 5;
450 if (sc->fc.speed > MAX_SPEED) {
451 device_printf(dev, "invalid speed
495 int i, max_rec, speed; local
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_port.c1275 /* speed in units of 1Mb */
1334 u32 speed = 0; local
1341 speed = table[i];
1342 return speed;
1365 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed) argument
1376 *speed = mlx5e_port_ptys2speed(mdev, eproto.oper);
1377 if (!(*speed))
/freebsd-11-stable/sys/dev/e1000/
H A De1000_ich8lan.c112 u16 *speed, u16 *duplex);
752 /* bus type/speed/width */
1105 * GbE MAC in the Lynx Point PCH based on Rx buffer size and link speed
1128 u16 speed, duplex, scale = 0; local
1140 hw->mac.ops.get_link_up_info(hw, &speed, &duplex);
1141 if (!speed) {
1162 lat_ns /= speed;
1186 lat_ns *= speed * 1000;
1322 * LPLU and disable Gig speed when entering ULP
1542 * to get the current speed/duple
1581 u16 speed, duplex; local
5419 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dvia82c686.c308 viachan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
325 return ac97_setrate(via->codec, reg, speed);
H A Daureal.c325 auchan_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
331 return speed;
H A Dfm801.c131 u_int32_t spd, dir, fmt; /* speed, direction, format */
393 fm801ch_setspeed(kobj_t obj, void *data, u_int32_t speed) argument
400 for (i = 0; i < 10 && fm801_rates[i].limit <= speed; i++) ;
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx_i2c.c257 * transfer time when we set the bus speed divisor. Slaves are allowed
568 i2c_reset(device_t dev, u_char speed, u_char addr, u_char *oldadr) argument
578 * Look up the divisor that gives the nearest speed that doesn't exceed
582 busfreq = IICBUS_GET_FREQUENCY(sc->iicbus, speed);
591 * requires 9 clock cycles) at the new bus speed. This value is used to

Completed in 507 milliseconds

1234567891011>>