Home
last modified time | relevance | path

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

12345678910>>...12

/titanic_41/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()
/titanic_41/usr/src/cmd/powertop/common/
H A Dcpufreq.c47 #define HZ2MHZ(speed) ((speed) / MICROSEC) argument
208 state->speed = HZ2MHZ(atoll(token)); in pt_cpufreq_stat_prepare()
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()
363 cpu_pow->speed_accounted = speed; in pt_cpufreq_stat_account()
443 uint64_t speed; in pt_cpufreq_dtrace_walk() local
458 speed = *(uint64_t *)(data->dtada_data + in pt_cpufreq_dtrace_walk()
[all …]
/titanic_41/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c95 register char * speed; in putprinter() local
217 if (prbufp->speed) in putprinter()
218 speed = Strdup(prbufp->speed); in putprinter()
220 speed = 0; in putprinter()
250 if (!prbufp->speed) { in putprinter()
251 if (speed) in putprinter()
252 Free (speed); in putprinter()
253 speed = Strdup(p); in putprinter()
271 } else if (!prbufp->dial_info && speed) { in putprinter()
274 newstty = Malloc(strlen(stty) + 1 + strlen(speed) + 1); in putprinter()
[all …]
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dposix_tty.c53 cfsetospeed(struct termios *termios_p, speed_t speed) in cfsetospeed() argument
55 if (speed > (2*CBAUD + 1)) { in cfsetospeed()
59 if (speed > CBAUD) { in cfsetospeed()
61 speed -= (CBAUD + 1); in cfsetospeed()
66 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD); in cfsetospeed()
86 cfsetispeed(struct termios *termios_p, speed_t speed) in cfsetispeed() argument
88 if (speed > (2*CBAUD + 1)) { in cfsetispeed()
92 if ((speed << IBSHIFT) > CIBAUD) { in cfsetispeed()
94 speed -= ((CIBAUD >> IBSHIFT) + 1); in cfsetispeed()
98 (termios_p->c_cflag & ~CIBAUD) | ((speed << IBSHIFT) & CIBAUD); in cfsetispeed()
/titanic_41/usr/src/grub/grub-0.97/netboot/
H A Dsis900.c83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
87 static void vt6103_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex);
93 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex);
798 int speed, duplex; in sis900_check_mode() local
801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex); in sis900_check_mode()
812 if (speed == HW_SPEED_HOME || speed == HW_SPEED_10_MBPS) { in sis900_check_mode()
841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) in sis900_read_mode() argument
[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()
696 mii_ctl |= (sdc->speed == 100) ? BMCR_SPEED100 : 0; in sundance_probe()
700 sdc->speed, in sundance_probe()
717 sdc->speed = 100; in sundance_probe()
[all …]
/titanic_41/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.c486 mii_getspeed(mii_handle_t mac, int phy, int *speed, int *fulld) in mii_getspeed() argument
498 *speed = phyd->control & MII_CONTROL_100MB ? 100:10; in mii_getspeed()
506 return (phyd->phy_getspeed(mac, phy, speed, fulld)); in mii_getspeed()
514 mii_fixspeed(mii_handle_t mac, int phy, int speed, int fullduplex) in mii_fixspeed() argument
520 ddi_get_name(mac->mii_dip), speed, in mii_fixspeed()
528 if (speed == 100) in mii_fixspeed()
530 else if (speed == 10) in mii_fixspeed()
534 ddi_get_name(mac->mii_dip), speed); in mii_fixspeed()
542 phyd->fix_speed = speed; in mii_fixspeed()
813 getspeed_NS83840(mii_handle_t mac, int phy, int *speed, int *fulld) in getspeed_NS83840() argument
[all …]
/titanic_41/usr/src/uts/common/io/usb/hcd/
H A DREADME32 overheads used for both full and high speed host controller drivers. This
41 2.Full speed bus
43 The following overheads, formulas and scheme are applicable both to full speed
44 host controllers and also to high speed hub Transaction Translators (TT),
45 which perform full/low speed transactions.
59 1 full speed bit time 83.54 ns
71 Low-speed overhead 64060 ns 97 bytes
77 Low-Speed clock* Slower than Full speed 8
90 1.Hub specific low speed overhead
93 ports. The minimum of 4 full speed bit time.
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/bnu/
H A Dline.c124 int speed = -1; local
144 speed = ps->sp_name;
147 if (speed < 0)
149 ASSERT(speed >= 0, "BAD SPEED", "", spwant);
151 cfsetospeed(&ttbufs, speed);
190 ttbufs.c_cflag |= (CREAD | (speed ? HUPCL : 0));
211 ttbufs.c_cflag |= (CS8 | CREAD | (speed ? HUPCL : 0));
400 int speed = -1; local
417 speed = ps->sp_name;
418 DEBUG(4, "sytfixline - speed= %d\n", speed);
[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;
/titanic_41/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.c114 int speed = -1; in fixline() local
132 speed = ps->sp_name; in fixline()
135 if (speed < 0) { in fixline()
139 ASSERT(speed >= 0, "BAD SPEED", "", spwant); in fixline()
141 (void) cfsetospeed(&ttbufs, speed); in fixline()
172 ttbufs.c_cflag |= (CREAD | (speed ? HUPCL : 0)); in fixline()
195 ttbufs.c_cflag |= (CS8 | CREAD | (speed ? HUPCL : 0)); in fixline()
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c83 int speed, fd; in open_dialup() local
88 if (pp->speed == NULL || (speed = atoi(pp->speed)) <= 0) in open_dialup()
89 speed = -1; in open_dialup()
92 call.speed = speed; in open_dialup()
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82599.c42 ixgbe_link_speed speed,
297 ixgbe_link_speed *speed, in ixgbe_get_link_capabilities_82599() argument
313 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82599()
330 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82599()
335 *speed = IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82599()
340 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82599()
345 *speed = IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82599()
351 *speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_get_link_capabilities_82599()
353 *speed |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82599()
355 *speed |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82599()
[all …]
H A Dixgbe_82599.h39 ixgbe_link_speed *speed, bool *autoneg);
45 ixgbe_link_speed speed, bool autoneg,
48 ixgbe_link_speed speed, bool autoneg,
52 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
H A Dixgbe_82598.c42 ixgbe_link_speed *speed,
48 ixgbe_link_speed *speed, bool *link_up,
51 ixgbe_link_speed speed,
55 ixgbe_link_speed speed,
286 ixgbe_link_speed *speed, in ixgbe_get_link_capabilities_82598() argument
306 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82598()
311 *speed = IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82598()
316 *speed = IXGBE_LINK_SPEED_1GB_FULL; in ixgbe_get_link_capabilities_82598()
322 *speed = IXGBE_LINK_SPEED_UNKNOWN; in ixgbe_get_link_capabilities_82598()
324 *speed |= IXGBE_LINK_SPEED_10GB_FULL; in ixgbe_get_link_capabilities_82598()
[all …]
/titanic_41/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()
/titanic_41/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()
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dbaudrate.c52 speed_t speed; member
88 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) in baudrate()
89 if (speeds[i].speed == value) in baudrate()
/titanic_41/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()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dbaudrate.c47 speed_t speed; member
87 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) in baudrate()
88 if (speeds[i].speed == value) in baudrate()

12345678910>>...12