/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | cfsetispeed.c | 39 * sets the input baud rate stored in c_cflag to speed 43 cfsetispeed(struct termios *termios_p, speed_t speed) argument 46 * If the input speed is zero, set it to output speed 48 if (speed == 0) { 49 speed = termios_p->c_cflag & CBAUD; 51 speed += (CBAUD + 1); 54 if ((speed << 16) > CIBAUD) { 56 speed -= ((CIBAUD >> 16) + 1); 60 (termios_p->c_cflag & ~CIBAUD) | ((speed << 1 [all...] |
H A D | cfsetospeed.c | 39 * sets the output baud rate stored in c_cflag to speed 43 cfsetospeed(struct termios *termios_p, speed_t speed) argument 45 if (speed > CBAUD) { 47 speed -= (CBAUD + 1); 52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD);
|
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | baudrate.c | 47 speed_t speed; member in struct:__anon2734 72 * Return the output speed of the terminal. The number returned is in 87 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 88 if (speeds[i].speed == value)
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | baudrate.c | 52 speed_t speed; member in struct:__anon2747 77 * Return the output speed of the terminal. The number returned is in 88 for (i = 0; speeds[i].speed != (speed_t) -1; ++i) 89 if (speeds[i].speed == value)
|
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | dial.c | 62 * int speed; 212A modem: low=300, high=1200 63 * negative for "Any" speed 88 * DV_NT_E -12: requested speed does not match 161 char speed[10]; /* character value of speed passed to dial */ local 181 if (call.speed <= 0) 182 (void) strcpy(speed, "Any"); 184 (void) sprintf(speed, "%d", call.speed); 195 alt[F_CLASS] = speed; [all...] |
H A D | line.c | 96 * set speed/echo/mode... 98 * spwant -> speed 101 * if spwant == 0, speed is untouched 114 int speed = -1; local 132 speed = ps->sp_name; 135 if (speed < 0) { 137 DEBUG(5, "speed (%d) not supported\n", spwant); 139 ASSERT(speed >= 0, "BAD SPEED", "", spwant); 141 (void) cfsetospeed(&ttbufs, speed); 142 } else { /* determine the current speed settin [all...] |
H A D | uucp.h | 290 char *speed; /* transmission baud rate */ member in struct:call 301 #define F_CLASS 3 /* an optional prefix and the speed */
|
/osnet-11/usr/src/grub/grub2/include/grub/i386/ |
H A D | openbsd_bootarg.h | 76 grub_uint32_t speed; member in struct:grub_openbsd_bootarg_console
|
H A D | netbsd_bootinfo.h | 109 grub_uint32_t speed; member in struct:grub_netbsd_btinfo_serial
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/serial/ |
H A D | ftdi.c | 40 /* Convert speed to divisor. */ 42 get_divisor (unsigned int speed) argument 46 /* The structure for speed vs. divisor. */ 49 unsigned int speed; member in struct:divisor 68 if (divisor_tab[i].speed == speed) 98 divisor = get_divisor (port->config.speed); 138 divisor = get_divisor (config->speed); 140 return grub_error (GRUB_ERR_BAD_ARGUMENT, "bad speed");
|
H A D | pl2303.c | 29 /* Convert speed to divisor. */ 31 is_speed_supported (unsigned int speed) argument 37 if (supported[i] == speed) 52 grub_uint32_t speed; member in struct:grub_pl2303_config 116 config_pl2303.speed = port->config.speed; 152 if (!is_speed_supported (config->speed)) 153 return grub_error (GRUB_ERR_BAD_ARGUMENT, "bad speed");
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/ |
H A D | usbhub.c | 45 CONTROLLER, the Hub reported that the device speed is SPEED. */ 47 grub_usb_hub_add_dev (grub_usb_controller_t controller, grub_usb_speed_t speed) argument 58 dev->speed = speed; 181 grub_usb_speed_t speed) 224 dev = grub_usb_hub_add_dev (hub->controller, speed); 271 grub_usb_speed_t speed; 274 speed = controller->dev->detect_dev (hub->controller, i, 277 if (speed != GRUB_USB_SPEED_NONE) 278 attach_root_port (hub, i, speed); 179 attach_root_port(struct grub_usb_hub *hub, int portno, grub_usb_speed_t speed) argument 270 grub_usb_speed_t speed; local 460 grub_usb_speed_t speed; local 505 grub_usb_speed_t speed = GRUB_USB_SPEED_NONE; local [all...] |
H A D | uhci.c | 459 grub_uint32_t data, grub_usb_speed_t speed) 485 ((speed == GRUB_USB_SPEED_LOW) ? (1 << 26) : 0); 542 transfer->dev->speed); 456 grub_uhci_transaction(struct grub_uhci *u, unsigned int endp, grub_transfer_type_t type, unsigned int addr, unsigned int toggle, grub_size_t size, grub_uint32_t data, grub_usb_speed_t speed) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | ns8250.c | 38 /* Convert speed to divisor. */ 45 /* The structure for speed vs. divisor. */ 48 unsigned int speed; member in struct:divisor 53 /* 1843200 / (speed * 16) */ 67 if (divisor_tab[i].speed == config->speed) 183 SPEED is a DTE-DTE speed which must be one of these: 2400, 4800, 9600, 197 return grub_error (GRUB_ERR_BAD_ARGUMENT, "bad speed");
|
/osnet-11/usr/src/lib/librstp/common/ |
H A D | stp_in.c | 505 int /* call it, when port speed has been changed, speed in Kb/s */ 506 STP_IN_changed_port_speed (int port_index, long speed) argument 517 port->operSpeed = speed;
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlether.c | 104 * Get the speed-duplex stats specified in the ether_spdx_t table passed in 112 uint32_t speed; local 120 KSTAT_DATA_UINT32, &speed)) != DLADM_STATUS_OK) { 134 if (speed == 0) 189 * For a given param type, parse the list of speed-duplex pairs in 191 * as <speed><speed-unit-char>-<duplex-chars> where <speed> is the value of 192 * speed, in units specifid by the <speed 203 int speed; local [all...] |
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | serial.h | 57 unsigned speed; member in struct:grub_serial_config 132 .speed = 115200, 134 .speed = 9600,
|
H A D | usb.h | 178 /* Device speed. */ 179 grub_usb_speed_t speed; 177 grub_usb_speed_t speed; member in struct:grub_usb_device
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | serial.c | 42 /* The structure for speed vs. divisor. */ 45 int speed; 128 SPEED is a DTE-DTE speed which must be one of these: 2400, 4800, 9600, 135 serial_hw_init (unsigned short port, unsigned int speed, 150 if (divisor_tab[i].speed == speed) 44 int speed; member in struct:divisor 134 serial_hw_init(unsigned short port, unsigned int speed, int word_len, int parity, int stop_bit_len) argument
|
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 740 int speed; local 742 speed = PCI_FREQ_66; 744 speed = PCI_FREQ_100; 746 speed = PCI_FREQ_133; 747 *speed_at = speed;
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | sis900.c | 83 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; local 801 mii.chip_info->read_mode(nic, cur_phy, &speed, &duplex); 812 if (speed == HW_SPEED_HOME || speed 841 sis900_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 890 amd79c901_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 942 ics1893_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 982 rtl8201_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument 1026 vt6103_read_mode(struct nic *nic __unused, int phy_addr, int *speed, int *duplex) argument [all...] |
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | powertop.h | 59 #define HZ2MHZ(speed) (((speed) + ((MICROSEC)/2)) / (MICROSEC)) 191 uint64_t speed; member in struct:pstate_info
|
/osnet-11/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo_sun4u.h | 139 int speed; /* Memory speed (in ns) */ member in struct:grp
|
/osnet-11/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 102 /* The speed of a serial device. */ 1074 get_termios_speed (int speed) argument 1076 switch (speed) 1104 serial_hw_init (unsigned short port, unsigned int speed, argument 1148 /* Set the speed. */ 1149 termios_speed = get_termios_speed (speed); 1212 serial_speed = speed;
|
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 711 * Fetch values for current lane and speed properties 2481 int speed; local 2483 speed = PCI_FREQ_66; 2485 speed = PCI_FREQ_100; 2487 speed = PCI_FREQ_133; 2488 *speed_at = speed;
|