Home
last modified time | relevance | path

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

12345678910>>...13

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcfsetispeed.c43 cfsetispeed(struct termios *termios_p, speed_t speed) in cfsetispeed() argument
48 if (speed == 0) { in cfsetispeed()
49 speed = termios_p->c_cflag & CBAUD; in cfsetispeed()
51 speed += (CBAUD + 1); in cfsetispeed()
54 if ((speed << 16) > CIBAUD) { in cfsetispeed()
56 speed -= ((CIBAUD >> 16) + 1); in cfsetispeed()
60 (termios_p->c_cflag & ~CIBAUD) | ((speed << 16) & CIBAUD); in cfsetispeed()
H A Dcfsetospeed.c43 cfsetospeed(struct termios *termios_p, speed_t speed) in cfsetospeed() argument
45 if (speed > CBAUD) { in cfsetospeed()
47 speed -= (CBAUD + 1); in cfsetospeed()
52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
/illumos-gate/usr/src/cmd/powertop/common/
H A Dcpufreq.c47 #define HZ2MHZ(speed) ((speed) / MICROSEC) argument
210 if (state->speed > max_cpufreq) in pt_cpufreq_stat_prepare()
211 max_cpufreq = state->speed; in pt_cpufreq_stat_prepare()
342 uint64_t speed; in pt_cpufreq_stat_account() local
347 speed = cpu_pow->current_pstate; in pt_cpufreq_stat_account()
360 if (g_pstate_info[i].speed == speed) { in pt_cpufreq_stat_account()
443 uint64_t speed; in pt_cpufreq_dtrace_walk() local
461 if (speed == 0) in pt_cpufreq_dtrace_walk()
462 speed = max_cpufreq; in pt_cpufreq_dtrace_walk()
464 speed = HZ2MHZ(speed); in pt_cpufreq_dtrace_walk()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c218 speed = Strdup(prbufp->speed); in putprinter()
220 speed = 0; in putprinter()
251 if (speed) in putprinter()
289 Free (speed); in putprinter()
290 speed = 0; in putprinter()
304 if (speed) in putprinter()
305 Free (speed); in putprinter()
312 if (speed) in putprinter()
313 Free (speed); in putprinter()
460 if (speed) in putprinter()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_phy.c135 speed = 100; in ef10_phy_link_ev()
138 speed = 1000; in ef10_phy_link_ev()
141 speed = 10000; in ef10_phy_link_ev()
144 speed = 40000; in ef10_phy_link_ev()
147 speed = 0; in ef10_phy_link_ev()
319 speed = 100; in ef10_phy_reconfigure()
322 speed = 1000; in ef10_phy_reconfigure()
325 speed = 10000; in ef10_phy_reconfigure()
328 speed = 40000; in ef10_phy_reconfigure()
331 speed = 0; in ef10_phy_reconfigure()
[all …]
H A Dsiena_phy.c117 unsigned int speed; in siena_phy_link_ev() local
128 speed = 100; in siena_phy_link_ev()
131 speed = 1000; in siena_phy_link_ev()
134 speed = 10000; in siena_phy_link_ev()
137 speed = 0; in siena_phy_link_ev()
277 unsigned int speed; in siena_phy_reconfigure() local
305 speed = 100; in siena_phy_reconfigure()
308 speed = 1000; in siena_phy_reconfigure()
311 speed = 10000; in siena_phy_reconfigure()
314 speed = 0; in siena_phy_reconfigure()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsis900.c798 int speed, duplex; in sis900_check_mode() local
812 if (speed == HW_SPEED_HOME || speed == HW_SPEED_10_MBPS) { in sis900_check_mode()
855 *speed = HW_SPEED_100_MBPS; in sis900_read_mode()
952 *speed = HW_SPEED_100_MBPS; in ics1893_read_mode()
954 *speed = HW_SPEED_10_MBPS; in ics1893_read_mode()
989 *speed = HW_SPEED_100_MBPS; in rtl8201_read_mode()
993 *speed = HW_SPEED_100_MBPS; in rtl8201_read_mode()
997 *speed = HW_SPEED_10_MBPS; in rtl8201_read_mode()
1001 *speed = HW_SPEED_10_MBPS; in rtl8201_read_mode()
1041 *speed = HW_SPEED_10_MBPS; in vt6103_read_mode()
[all …]
H A Dsundance.c292 unsigned int speed; member
591 int speed; in sundance_probe() local
658 sdc->speed = 100; in sundance_probe()
662 sdc->speed = 100; in sundance_probe()
666 sdc->speed = 10; in sundance_probe()
670 sdc->speed = 10; in sundance_probe()
683 sdc->speed = 100; in sundance_probe()
700 sdc->speed, in sundance_probe()
721 sdc->speed = 10; in sundance_probe()
723 sdc->speed = 10; in sundance_probe()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_phy.c282 lm_medium_t speed; in init_utp() local
413 switch(speed) in init_utp()
855 lm_medium_t speed; in init_5708_serdes() local
1098 switch(speed) in init_5708_serdes()
1275 lm_medium_t speed, in force_5709_serdes_link() argument
1467 lm_medium_t speed; in init_5709_serdes() local
1618 lm_medium_t speed; in init_5706_serdes() local
1708 switch(speed) in init_5706_serdes()
2126 lm_medium_t speed; in link_setting_to_netlink() local
2133 switch(speed) in link_setting_to_netlink()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/
H A DREADME41 2.Full speed bus
136 the full speed.
141 one low-speed transaction takes 0x628h full speed bits (197 bytes),
220 3.High speed bus
322 * For all low/full speed devices, and for high speed devices with
397 For a high speed usb device, you only need high speed bandwidth. For a
398 full/low speed device connected through a high speed hub, you need both
405 speed host controller. Refer to the "Full speed bus" section for more
417 High speed Non Split Transaction (for High speed devices only):
457 High speed split transactions (for full and low speed devices only):
[all …]
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c828 *speed = 100; in getspeed_NS83840()
831 *speed = 100; in getspeed_NS83840()
834 *speed = 100; in getspeed_NS83840()
837 *speed = 10; in getspeed_NS83840()
840 *speed = 10; in getspeed_NS83840()
954 *speed = 100; in getspeed_generic()
957 *speed = 100; in getspeed_generic()
960 *speed = 100; in getspeed_generic()
963 *speed = 10; in getspeed_generic()
966 *speed = 10; in getspeed_generic()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dline.c125 int speed = -1; local
145 speed = ps->sp_name;
148 if (speed < 0)
150 ASSERT(speed >= 0, "BAD SPEED", "", spwant);
152 cfsetospeed(&ttbufs, speed);
401 int speed = -1; local
418 speed = ps->sp_name;
425 cfsetospeed(&ttbufs, speed);
492 int speed = -1; local
502 speed = ps->sp_name;
[all …]
H A Ddial.c171 char speed[10]; /* character value of speed passed to dial */ local
191 if (call.speed <= 0)
192 strcpy(speed,"Any");
194 sprintf(speed,"%d",call.speed);
205 alt[F_CLASS] = speed;
/illumos-gate/usr/src/cmd/cdrw/
H A Dtoshiba.c110 toshiba_speed_ctrl(cd_device *dev, int cmd, int speed) in toshiba_speed_ctrl() argument
131 if (speed == 32) { in toshiba_speed_ctrl()
136 if ((speed != 1) && (speed != 2) && (speed != 4) && in toshiba_speed_ctrl()
137 (speed != 12)) { in toshiba_speed_ctrl()
168 mpage[14] = rev_speed_tbl[speed]; in toshiba_speed_ctrl()
/illumos-gate/usr/src/lib/libnsl/dial/
H A Ddial.c161 char speed[10]; /* character value of speed passed to dial */ in dial() local
181 if (call.speed <= 0) in dial()
182 (void) strcpy(speed, "Any"); in dial()
184 (void) sprintf(speed, "%d", call.speed); in dial()
195 alt[F_CLASS] = speed; in dial()
H A Dline.c110 int speed = -1; in fixline() local
128 speed = ps->sp_name; in fixline()
131 if (speed < 0) { in fixline()
135 ASSERT(speed >= 0, "BAD SPEED", "", spwant); in fixline()
137 (void) cfsetospeed(&ttbufs, speed); in fixline()
168 ttbufs.c_cflag |= (CREAD | (speed ? HUPCL : 0)); in fixline()
191 ttbufs.c_cflag |= (CS8 | CREAD | (speed ? HUPCL : 0)); in fixline()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_ndd.c112 int speed; in nge_nd_init() local
132 speed = NGE_PROP_GET_INT(dip, transfer_speed_propname); in nge_nd_init()
134 transfer_speed_propname, speed); in nge_nd_init()
136 switch (speed) { in nge_nd_init()
190 speed = NGE_PROP_GET_INT(dip, speed_propname); in nge_nd_init()
193 speed_propname, speed); in nge_nd_init()
197 switch (speed) { in nge_nd_init()
H A Dnge_xmii.c488 uint_t speed; in nge_check_copper() local
494 speed = UNKOWN_SPEED; in nge_check_copper()
529 speed = NGE_1000M; in nge_check_copper()
537 speed = NGE_100M; in nge_check_copper()
540 speed = NGE_100M; in nge_check_copper()
543 speed = NGE_10M; in nge_check_copper()
546 speed = NGE_10M; in nge_check_copper()
558 speed = NGE_100M; in nge_check_copper()
561 speed = NGE_100M; in nge_check_copper()
564 speed = NGE_10M; in nge_check_copper()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c92 int speed, fd; in open_dialup() local
97 if (pp->speed == NULL || (speed = atoi(pp->speed)) <= 0) in open_dialup()
98 speed = -1; in open_dialup()
101 call.speed = speed; in open_dialup()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlether.c135 uint32_t speed; in i_dladm_get_spdx() local
143 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { in i_dladm_get_spdx()
157 if (speed == 0) in i_dladm_get_spdx()
226 int speed; in dladm_ether_spdx2str() local
236 speed = spdx[i].lesd_speed; in dladm_ether_spdx2str()
243 if (speed == spdx[j].lesd_speed) in dladm_ether_spdx2str()
249 if ((speed % 1000) == 0) { in dladm_ether_spdx2str()
250 speed = speed/1000; in dladm_ether_spdx2str()
256 speed, speed_unit); in dladm_ether_spdx2str()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c126 int speed; in bge_nd_init() local
202 speed = BGE_PROP_GET_INT(dip, transfer_speed_propname); in bge_nd_init()
204 transfer_speed_propname, speed); in bge_nd_init()
206 switch (speed) { in bge_nd_init()
260 speed = BGE_PROP_GET_INT(dip, speed_propname); in bge_nd_init()
263 speed_propname, speed); in bge_nd_init()
267 switch (speed) { in bge_nd_init()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82599.h40 ixgbe_link_speed *speed, bool *autoneg);
46 ixgbe_link_speed speed);
48 ixgbe_link_speed speed,
52 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
H A Dixgbe_82598.c50 ixgbe_link_speed *speed,
59 ixgbe_link_speed speed,
62 ixgbe_link_speed speed,
298 ixgbe_link_speed *speed, in ixgbe_get_link_capabilities_82598() argument
318 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82598()
323 *speed = IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82598()
328 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82598()
334 *speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_get_link_capabilities_82598()
733 ixgbe_link_speed speed, in ixgbe_setup_mac_link_82598() argument
747 speed &= link_capabilities; in ixgbe_setup_mac_link_82598()
[all …]
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm_devs.c74 pcieadm_speed2gen(int64_t speed) in pcieadm_speed2gen() argument
76 if (speed == 2500000000LL) { in pcieadm_speed2gen()
78 } else if (speed == 5000000000LL) { in pcieadm_speed2gen()
80 } else if (speed == 8000000000LL) { in pcieadm_speed2gen()
82 } else if (speed == 16000000000LL) { in pcieadm_speed2gen()
84 } else if (speed == 32000000000LL) { in pcieadm_speed2gen()
92 pcieadm_speed2str(int64_t speed) in pcieadm_speed2str() argument
94 if (speed == 2500000000LL) { in pcieadm_speed2str()
96 } else if (speed == 5000000000LL) { in pcieadm_speed2str()
98 } else if (speed == 8000000000LL) { in pcieadm_speed2str()
[all …]
/illumos-gate/usr/src/cmd/tip/aculib/
H A Ddf.c46 int speed = 0; in df_dialer() local
66 speed = cfgetospeed(&buf); in df_dialer()
87 if (df03 && speed) { in df_dialer()
90 (void) cfsetospeed(&buf, speed); in df_dialer()

12345678910>>...13