/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_i225.c | 342 * Configures the link for auto-neg or forced speed and duplex. Then we check 885 * Set the LTR thresholds based on the link speed (Mbps), EEE, and DMAC 890 u16 speed, duplex; local 898 hw->mac.ops.get_link_up_info(hw, &speed, &duplex); 901 * link speed is 10 Mbps. 905 (speed != SPEED_10)) { 912 if (speed == SPEED_100) { 950 /* Calculate the thresholds. Since speed is in Mbps, simplify 951 * the calculation by multiplying size/speed by 1000 for result 955 ltr_min = (1000 * size) / speed; [all...] |
H A D | igc_hw.h | 490 enum igc_bus_speed speed; member in struct:igc_bus_info
|
H A D | igc_api.h | 29 s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex);
|
H A D | igc_api.c | 343 * igc_get_speed_and_duplex - Returns current speed and duplex 345 * @speed: pointer to a 16-bit value to store the speed 348 * This returns the speed and duplex of the adapter in the two 'out' 352 s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex) argument 355 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
|
/haiku/src/system/libroot/posix/ |
H A D | termios.c | 116 cfsetispeed(struct termios *termios, speed_t speed) argument 122 if (speed > B31250) { 124 termios->c_ispeed = speed; 129 termios->c_cflag |= speed; 145 cfsetospeed(struct termios *termios, speed_t speed) argument 147 /* Check for custom speed values (see above) */ 148 if (speed > B31250) { 150 termios->c_ospeed = speed; 155 termios->c_cflag |= speed;
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/ |
H A D | ECMDevice.cpp | 285 state->speed = fDownstreamSpeed; 572 TRACE_ALWAYS("not enough data in connection speed change\n"); 576 cdc_connection_speed *speed; local 577 speed = (cdc_connection_speed *)¬ification->data[0]; 578 device->fUpstreamSpeed = speed->upstream_speed; 579 device->fDownstreamSpeed = speed->downstream_speed; 581 TRACE("connection speed change to %" B_PRId32 "/%" B_PRId32 "\n", 582 speed->downstream_speed, speed->upstream_speed);
|
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFS.cpp | 373 IFS::SetSpeed(int32 speed) argument 375 if (fRoot && speed > 0 && speed <= 12) 376 fRoot->Speed = speed;
|
/haiku/src/kits/interface/ |
H A D | InterfaceDefs.cpp | 619 get_click_speed(bigtime_t *speed) argument 628 if (reply.FindInt64("speed", speed) != B_OK) 629 *speed = 500000; 636 set_click_speed(bigtime_t speed) argument 640 command.AddInt64("speed", speed); 646 get_mouse_speed(int32 *speed) argument 655 if (reply.FindInt32("speed", speed) ! 663 set_mouse_speed(int32 speed) argument 673 get_mouse_speed(const char* mouse_name, int32 *speed) argument 692 set_mouse_speed(const char* mouse_name, int32 speed) argument 705 get_mouse_acceleration(int32 *speed) argument 720 set_mouse_acceleration(int32 speed) argument 730 get_mouse_acceleration(const char* mouse_name, int32 *speed) argument 746 set_mouse_acceleration(const char* mouse_name, int32 speed) argument [all...] |
/haiku/src/add-ons/input_server/devices/mouse/ |
H A D | MouseInputDevice.cpp | 572 if (get_mouse_speed(fDeviceRef.name, &fSettings.accel.speed) != B_OK) 580 accel.speed = fSettings.accel.speed; 656 // basic mouse speed 657 float deltaX = (float)movements.xdelta * fSettings.accel.speed / 65536.0 659 float deltaY = (float)movements.ydelta * fSettings.accel.speed / 65536.0
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | WinChipHead.cpp | 99 this, lineCoding->speed, lineCoding->stopbits, lineCoding->parity, 151 switch (lineCoding->speed) { 168 lineCoding->speed, CH34X_DEFAULT_BAUD_RATE);
|
/haiku/src/servers/input/ |
H A D | InputServer.cpp | 679 if (message->FindInt32("speed", &factor) == B_OK) { 696 return reply->AddInt32("speed", settings->AccelerationFactor()); 887 int32 speed; 888 if (message->FindInt32("speed", &speed) == B_OK) { 889 settings->SetMouseSpeed(speed); 898 return reply->AddInt32("speed", settings->MouseSpeed()); 941 if (message->FindInt64("speed", &clickSpeed) == B_OK) { 951 return reply->AddInt64("speed", settings->ClickSpeed());
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 386 uint32_t ctl, speed; local 394 speed = 0; 401 speed = SC_SPEED_10; 405 speed = SC_SPEED_100; 410 speed = SC_SPEED_1000; 419 /* Reprogram MAC to resolved speed/duplex/flow-control parameters. */ 422 if (speed == SC_SPEED_1000) { 433 ctl |= speed; 1677 /* Initialize default speed/duplex information. */
|
/haiku/src/preferences/input/ |
H A D | MouseSettings.cpp | 96 if (get_mouse_speed(fName, &fSettings.accel.speed) != B_OK) 140 printf("click speed:\t%" B_PRId64 "\n", fSettings.click_speed); 143 printf("speed:\t\t%" B_PRId32 "\n", fSettings.accel.speed); 209 || fSettings.accel.speed != kDefaultMouseSpeed 229 SetMouseSpeed(fOriginalSettings.accel.speed); 245 || fSettings.accel.speed != fOriginalSettings.accel.speed 287 MouseSettings::SetMouseSpeed(int32 speed) argument 289 if (set_mouse_speed(fName, speed) [all...] |
/haiku/headers/os/drivers/usb/ |
H A D | USB_cdc.h | 139 uint32 speed; member in struct:__anon9
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Driver.h | 127 uint32 speed; member in struct:pc_serial_line_coding_s
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_vf.c | 48 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 120 /* bus type/speed/width */ 208 bus->speed = e1000_bus_speed_2500; 216 * @speed: pointer to 16 bit value to store link speed. 222 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, argument 231 *speed = SPEED_1000; 234 *speed = SPEED_100; 237 *speed = SPEED_10;
|
H A D | e1000_mac.h | 64 s32 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, 67 u16 *speed, u16 *duplex);
|
H A D | e1000_mac.c | 183 * bus speed, bus width, type (PCI/PCIx), and PCI(-x) function. 199 /* Bus speed */ 201 bus->speed = (status & E1000_STATUS_PCI66) 207 bus->speed = e1000_bus_speed_66; 210 bus->speed = e1000_bus_speed_100; 213 bus->speed = e1000_bus_speed_133; 216 bus->speed = e1000_bus_speed_reserved; 238 * bus speed, bus width, type (PCIe), and PCIe function. 255 bus->speed = e1000_bus_speed_unknown; 259 bus->speed 1365 u16 speed, duplex; local 1667 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1706 e1000_get_speed_and_duplex_fiber_serdes_generic(struct e1000_hw E1000_UNUSEDARG *hw, u16 *speed, u16 *duplex) argument [all...] |
H A D | e1000_ich8lan.c | 113 u16 *speed, u16 *duplex); 756 /* bus type/speed/width */ 1112 * GbE MAC in the Lynx Point PCH based on Rx buffer size and link speed 1135 u16 speed, duplex, scale = 0; local 1147 hw->mac.ops.get_link_up_info(hw, &speed, &duplex); 1148 if (!speed) { 1169 lat_ns /= speed; 1193 lat_ns *= speed * 1000; 1333 * LPLU and disable Gig speed when entering ULP 1556 * to get the current speed/duple 1595 u16 speed, duplex; local 5448 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument [all...] |
H A D | e1000_hw.h | 905 enum e1000_bus_speed speed; member in struct:e1000_bus_info
|
H A D | e1000_api.c | 722 * e1000_get_speed_and_duplex - Returns current speed and duplex 724 * @speed: pointer to a 16-bit value to store the speed 727 * This returns the speed and duplex of the adapter in the two 'out' 731 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 734 return hw->mac.ops.get_link_up_info(hw, speed, duplex);
|
H A D | e1000_api.h | 69 s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex);
|
H A D | e1000_82575.c | 56 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, 83 u16 *speed, u16 *duplex); 367 /* bus type/speed/width */ 752 * activating LPLU this function also disables smart speed 838 * activating LPLU this function also disables smart speed 1034 * e1000_get_link_up_info_82575 - Get link speed/duplex info 1036 * @speed: stores the current speed 1040 * interface, use PCS to retrieve the link speed and duplex information. 1041 * Otherwise, use the generic function to get the link speed an 1043 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1070 u16 speed, duplex; local 1200 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument [all...] |
H A D | e1000_82543.c | 218 /* bus type/speed/width */ 735 * e1000_phy_force_speed_duplex_82543 - Force speed/duplex for PHY 738 * Calls the function to force speed and duplex for the m88 PHY, and 739 * if the PHY is not auto-negotiating and the speed is forced to 10Mbit, 1057 * Configures the link for auto-neg or forced speed and duplex. Then we check 1071 * With 82543, we need to force speed and duplex on the MAC 1072 * equal to what the PHY speed and duplex configuration is. 1203 u16 speed, duplex; local 1225 * If we are forcing speed/duplex, then we can return since 1230 * If speed an [all...] |
H A D | e1000_82542.c | 117 /* bus type/speed/width */ 181 hw->bus.speed = e1000_bus_speed_unknown;
|