Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 1307) sorted by relevance

12345678910>>...53

/freebsd-14.2/contrib/tcsh/
H A Dmi.termios.c69 speed_t speed;
71 termios_p->c_ispeed = speed;
77 speed_t speed;
79 termios_p->c_ospeed = speed;
84 int speed; in sg_to_tc_speed()
90 switch (speed) {
118 static int tc_to_sg_speed(speed) in tc_to_sg_speed() argument
119 speed_t speed; in tc_to_sg_speed()
125 if (speed == 0) return 0;
126 if (speed == 110) return B110;
[all …]
/freebsd-14.2/stand/kboot/libkboot/
H A Dtermios.c45 int host_cfsetospeed(struct host_termios *tio, host_speed_t speed) in host_cfsetospeed() argument
47 if (speed & ~HOST_CBAUD) { in host_cfsetospeed()
52 tio->c_cflag |= speed; in host_cfsetospeed()
56 int host_cfsetispeed(struct host_termios *tio, host_speed_t speed) in host_cfsetispeed() argument
58 return speed ? host_cfsetospeed(tio, speed) : 0; in host_cfsetispeed()
62 host_cfsetspeed(struct host_termios *tio, host_speed_t speed) in host_cfsetspeed() argument
64 return host_cfsetospeed(tio, speed); /* weak alias in musl */ in host_cfsetspeed()
/freebsd-14.2/sys/dev/sfxge/common/
H A Def10_phy.c209 speed = 100; in ef10_phy_link_ev()
212 speed = 1000; in ef10_phy_link_ev()
215 speed = 10000; in ef10_phy_link_ev()
218 speed = 25000; in ef10_phy_link_ev()
221 speed = 40000; in ef10_phy_link_ev()
224 speed = 50000; in ef10_phy_link_ev()
230 speed = 0; in ef10_phy_link_ev()
428 speed = 100; in ef10_phy_reconfigure()
431 speed = 1000; in ef10_phy_reconfigure()
449 speed = 0; in ef10_phy_reconfigure()
[all …]
H A Dsiena_phy.c120 unsigned int speed; in siena_phy_link_ev() local
131 speed = 100; in siena_phy_link_ev()
134 speed = 1000; in siena_phy_link_ev()
137 speed = 10000; in siena_phy_link_ev()
140 speed = 0; in siena_phy_link_ev()
280 unsigned int speed; in siena_phy_reconfigure() local
307 speed = 100; in siena_phy_reconfigure()
310 speed = 1000; in siena_phy_reconfigure()
313 speed = 10000; in siena_phy_reconfigure()
316 speed = 0; in siena_phy_reconfigure()
[all …]
/freebsd-14.2/stand/i386/libi386/
H A Dcomconsole.c82 int speed, port; in comc_probe() local
99 speed = comc_parseint(env); in comc_probe()
100 if (speed > 0) in comc_probe()
101 comc_curspeed = speed; in comc_probe()
174 int speed; in comc_speed_set() local
181 if (comc_curspeed != speed) in comc_speed_set()
182 comc_setup(speed, comc_port); in comc_speed_set()
318 comc_setup(int speed, int port) in comc_setup() argument
324 comc_curspeed = speed; in comc_setup()
364 int speed; in comc_parseint() local
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/usb/
H A Dusb.yaml44 maximum-speed:
46 Tells USB controllers we want to work up to a certain speed. In case this
51 - low-speed
52 - full-speed
53 - high-speed
54 - super-speed
55 - super-speed-plus
56 - super-speed-plus-gen2x1
57 - super-speed-plus-gen1x2
58 - super-speed-plus-gen2x2
H A Dgeneric.txt4 - maximum-speed: tells USB controllers we want to work up to a certain
5 speed. Valid arguments are "super-speed-plus",
6 "super-speed", "high-speed", "full-speed" and
7 "low-speed". In case this isn't passed via DT, USB
52 maximum-speed = "super-speed";
H A Dcdns,usb3.yaml48 maximum-speed:
49 enum: [super-speed, high-speed, full-speed]
99 maximum-speed = "super-speed";
/freebsd-14.2/sys/dev/mii/
H A Dciphy.c125 int reg, speed, gig; in ciphy_service() local
146 speed = CIPHY_S1000; in ciphy_service()
149 speed = CIPHY_S100; in ciphy_service()
152 speed = CIPHY_S10; in ciphy_service()
155 speed |= CIPHY_BMCR_FDX; in ciphy_service()
164 speed |= in ciphy_service()
169 PHY_WRITE(sc, CIPHY_MII_BMCR, speed); in ciphy_service()
297 uint16_t status, speed; in ciphy_fixup() local
302 speed = status & CIPHY_AUXCSR_SPEED; in ciphy_fixup()
330 if ((speed == CIPHY_SPEED10 || speed == CIPHY_SPEED100) && in ciphy_fixup()
[all …]
/freebsd-14.2/sys/dev/acpica/
H A Dacpi_throttle.c346 int i, speed; in acpi_thr_settings() local
355 for (i = 0, speed = CPU_MAX_SPEED; speed != 0; i++, speed--) { in acpi_thr_settings()
356 sets[i].freq = CPU_SPEED_PERCENT(speed); in acpi_thr_settings()
368 uint32_t clk_val, p_cnt, speed; in acpi_thr_set() local
378 speed = set->freq * CPU_MAX_SPEED / 10000; in acpi_thr_set()
379 if (speed * 10000 != set->freq * CPU_MAX_SPEED || in acpi_thr_set()
380 speed < 1 || speed > CPU_MAX_SPEED) in acpi_thr_set()
384 if (speed == sc->cpu_thr_state) in acpi_thr_set()
393 if (speed < CPU_MAX_SPEED) { in acpi_thr_set()
397 p_cnt |= (speed << cpu_duty_offset); in acpi_thr_set()
[all …]
/freebsd-14.2/sys/dev/sound/pci/
H A Dhdspe-pcm.c63 uint32_t speed; member
96 if (speed > 96000) in hdspe_adat_width()
98 if (speed > 48000) in hdspe_adat_width()
818 if (rate_map[i].speed == speed) in hdspechan_setspeed()
826 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ? in hdspechan_setspeed()
827 ((rate_map[i + 1].speed - hr->speed) >> 1) : 0); in hdspechan_setspeed()
848 speed = hr->speed; in hdspechan_setspeed()
850 speed /= 4; in hdspechan_setspeed()
852 speed /= 2; in hdspechan_setspeed()
855 period /= speed; in hdspechan_setspeed()
[all …]
/freebsd-14.2/sys/dev/cxgb/common/
H A Dcxgb_aq100x.c326 if (speed == SPEED_100) in aq100x_set_speed_duplex()
328 else if (speed == SPEED_1000) in aq100x_set_speed_duplex()
330 else if (speed == SPEED_10000) in aq100x_set_speed_duplex()
381 if (speed) { in aq100x_get_link_status()
387 case 0x2: *speed = SPEED_100; in aq100x_get_link_status()
389 case 0x0: *speed = SPEED_10; in aq100x_get_link_status()
425 if (speed) { in aq100x_get_link_status()
427 *speed = SPEED_10000; in aq100x_get_link_status()
429 *speed = SPEED_1000; in aq100x_get_link_status()
431 *speed = SPEED_100; in aq100x_get_link_status()
[all …]
/freebsd-14.2/usr.bin/tip/libacu/
H A Ddf.c71 int speed = 0; in df_dialer() local
90 speed = cfgetospeed(&cntrl); in df_dialer()
91 if (speed != B1200) { /* must dial at 1200 baud */ in df_dialer()
109 if (df03 && speed != B1200) { in df_dialer()
110 cfsetospeed(&cntrl, speed); in df_dialer()
111 cfsetispeed(&cntrl, speed); in df_dialer()
/freebsd-14.2/sys/contrib/device-tree/src/arm/
H A Dsocfpga_cyclone5_chameleon96.dts73 /* On Low speed expansion */
79 /* On Low speed expansion */
89 /* On High speed expansion */
101 /* On High speed expansion */
107 /* On Low speed expansion */
113 /* On Low speed expansion */
119 /* On Low speed expansion */
H A Dstih410-b2260.dts94 /* Low speed expansion connector */
105 /* Low speed expansion connector */
111 /* Low speed expansion connector */
118 /* Low speed expansion connector */
124 /* Low speed expansion connector */
130 /* high speed expansion connector */
137 /* high speed expansion connector */
150 /* high speed expansion connector */
/freebsd-14.2/sys/contrib/device-tree/Bindings/phy/
H A Dnvidia,tegra194-xusb-padctl.yaml22 super-speed USB. Other lanes are for various types of low-speed, full-speed
379 maximum-speed:
386 const: super-speed-plus
389 const: super-speed
412 maximum-speed:
422 const: super-speed
445 maximum-speed:
455 const: super-speed
478 maximum-speed:
488 const: super-speed
[all …]
H A Dapm-xgene-phy.txt20 supported link speed on the host. Range from 0 to
26 supported link speed on the host. Default is 0.
29 (up to 3) supported link speed on the host. Range is
32 each (up to 3) supported link speed on the host.
37 speed on the host. Range is 0 to 273000 in unit of
41 speed on the host. Range is 0 to 127400 in unit uV.
46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each
47 supported link speed on the host.
/freebsd-14.2/contrib/ofed/libibmad/
H A Ddump.c255 int speed = *(int *)val; in mad_dump_linkspeed() local
257 switch (speed) { in mad_dump_linkspeed()
280 if (speed & 0x1) in dump_linkspeed()
289 else if (speed == 0 || (speed >> 3)) { in dump_linkspeed()
298 switch (speed) { in dump_linkspeed()
305 if (!(speed >> 3)) in dump_linkspeed()
329 switch (speed) { in mad_dump_linkspeedext()
349 if (speed == 0) { in dump_linkspeedext()
354 if (speed & 0x1) in dump_linkspeedext()
364 if (speed >> 2) { in dump_linkspeedext()
[all …]
/freebsd-14.2/contrib/dialog/samples/copifuncs/
H A Dcopi.ifmcfg233 # - speed <operator> <numeric>
62 # ModemPort present a blank-separated list of ports with possible speed
63 # extension (separated by colon); if speed is prefixed with 'L', it is
64 # a "locked" port speed, otherwise it is a maximum speed to be set, while
65 # actual speed is taken from the nodelist. If speed is omitted (or set
66 # to zero), previous port speed is not changed.
/freebsd-14.2/usr.sbin/mpsutil/
H A Dmps_show.c218 speed = " "; in show_adapter()
438 char *speed; in get_device_speed() local
444 if ((speed = mps_device_speed[rate]) == NULL) in get_device_speed()
446 return (speed); in get_device_speed()
582 speed = ""; in show_devices()
600 speed = ""; in show_devices()
606 speed = ""; in show_devices()
623 printf("%-14s%-6s%-5s%-6s%d\n", type, speed, in show_devices()
690 char *speed, *min, *max, *type; in show_expanders() local
749 speed = " "; in show_expanders()
[all …]
/freebsd-14.2/sys/kern/
H A Dtty_compat.c54 static int ttcompatspeedtab(int speed, struct speedtab *table);
87 ttcompatspeedtab(int speed, struct speedtab *table) in ttcompatspeedtab() argument
89 if (speed == 0) in ttcompatspeedtab()
92 if (table->sp_speed <= speed) /* nearest one, rounded down */ in ttcompatspeedtab()
104 int speed; in ttsetcompat() local
106 if ((speed = sg->sg_ispeed) > MAX_SPEED || speed < 0) in ttsetcompat()
108 else if (speed != ttcompatspeedtab(tp->t_termios.c_ispeed, in ttsetcompat()
110 term->c_ispeed = compatspcodes[speed]; in ttsetcompat()
113 if ((speed = sg->sg_ospeed) > MAX_SPEED || speed < 0) in ttsetcompat()
115 else if (speed != ttcompatspeedtab(tp->t_termios.c_ospeed, in ttsetcompat()
[all …]
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dbsd-nextstep.c91 cfsetospeed(struct termios *t,int speed) in cfsetospeed() argument
93 t->c_ospeed = speed; in cfsetospeed()
98 cfsetispeed(struct termios *t, int speed) in cfsetispeed() argument
100 t->c_ispeed = speed; in cfsetispeed()
/freebsd-14.2/sys/dev/ixgbe/
H A Dixgbe_82599.h39 ixgbe_link_speed *speed, bool *autoneg);
45 ixgbe_link_speed speed);
47 ixgbe_link_speed speed,
51 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
/freebsd-14.2/sys/dev/nmdm/
H A Dnmdm.c323 int bpc, rate, speed, i; in nmdm_param() local
344 speed = imin(tp2->t_termios.c_ospeed, t->c_ispeed); in nmdm_param()
345 if (speed == 0) { in nmdm_param()
351 speed <<= QS; /* [bit/sec, scaled] */ in nmdm_param()
352 speed /= bpc; /* [char/sec, scaled] */ in nmdm_param()
353 rate = (hz << QS) / speed; /* [hz per callout] */ in nmdm_param()
357 speed *= rate; in nmdm_param()
358 speed /= hz; /* [(char/sec)/tick, scaled */ in nmdm_param()
360 np->np_credits = speed; in nmdm_param()
/freebsd-14.2/lib/libc/gen/
H A Dtermios.c137 cfsetospeed(struct termios *t, speed_t speed) in cfsetospeed() argument
140 t->c_ospeed = speed; in cfsetospeed()
145 cfsetispeed(struct termios *t, speed_t speed) in cfsetispeed() argument
148 t->c_ispeed = speed; in cfsetispeed()
153 cfsetspeed(struct termios *t, speed_t speed) in cfsetspeed() argument
156 t->c_ispeed = t->c_ospeed = speed; in cfsetspeed()

12345678910>>...53