Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 18 of 18) sorted by relevance

/third_party/dev/ethernet/e1000/
A De1000_82543.c634 u32 ctrl, mask; in e1000_shift_out_mdi_bits_82543() local
685 u32 ctrl; in e1000_shift_in_mdi_bits_82543() local
705 ctrl &= ~E1000_CTRL_MDIO; in e1000_shift_in_mdi_bits_82543()
904 u32 ctrl; in e1000_reset_hw_82543() local
961 u32 ctrl; in e1000_init_hw_82543() local
1063 u32 ctrl; in e1000_setup_copper_link_82543() local
1151 u32 ctrl; in e1000_setup_fiber_link_82543() local
1337 u32 rxcw, ctrl, status; in e1000_check_for_fiber_link_82543() local
1406 u32 ctrl; in e1000_config_mac_to_phy_82543() local
1428 ctrl &= ~E1000_CTRL_FD; in e1000_config_mac_to_phy_82543()
[all …]
A De1000_82542.c197 u32 ctrl; in e1000_reset_hw_82542() local
219 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82542()
249 u32 ctrl; in e1000_init_hw_82542() local
290 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_init_hw_82542()
376 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_led_on_82542() local
380 ctrl |= E1000_CTRL_SWDPIN0; in e1000_led_on_82542()
381 ctrl |= E1000_CTRL_SWDPIO0; in e1000_led_on_82542()
382 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_led_on_82542()
399 ctrl &= ~E1000_CTRL_SWDPIN0; in e1000_led_off_82542()
400 ctrl |= E1000_CTRL_SWDPIO0; in e1000_led_off_82542()
[all …]
A De1000_mac.c779 u32 ctrl; in e1000_check_for_fiber_link_generic() local
846 u32 ctrl; in e1000_check_for_serdes_link_generic() local
1179 u32 ctrl; in e1000_setup_fiber_serdes_link_generic() local
1187 ctrl &= ~E1000_CTRL_LRST; in e1000_setup_fiber_serdes_link_generic()
1292 u32 ctrl; in e1000_force_mac_fc_generic() local
1322 ctrl &= (~E1000_CTRL_TFCE); in e1000_force_mac_fc_generic()
1323 ctrl |= E1000_CTRL_RFCE; in e1000_force_mac_fc_generic()
1327 ctrl |= E1000_CTRL_TFCE; in e1000_force_mac_fc_generic()
1931 u32 ctrl; in e1000_led_on_generic() local
1960 u32 ctrl; in e1000_led_off_generic() local
[all …]
A De1000_82540.c273 u32 ctrl, manc; in e1000_reset_hw_82540() local
291 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82540()
297 E1000_WRITE_REG(hw, E1000_CTRL_DUP, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82540()
305 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82540()
414 u32 ctrl; in e1000_setup_copper_link_82540() local
420 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82540()
421 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82540()
422 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX); in e1000_setup_copper_link_82540()
423 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82540()
A De1000_82571.c952 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
988 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82571()
1355 u32 ctrl; in e1000_led_on_82574() local
1360 ctrl = hw->mac.ledctl_mode2; in e1000_led_on_82574()
1452 u32 ctrl; in e1000_setup_copper_link_82571() local
1457 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82571()
1458 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82571()
1460 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82571()
1534 u32 ctrl; in e1000_check_for_serdes_link_82571() local
1542 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_check_for_serdes_link_82571()
[all …]
A De1000_82541.c299 u32 ledctl, ctrl, manc; in e1000_reset_hw_82541() local
316 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82541()
320 E1000_WRITE_REG(hw, E1000_CTRL, (ctrl | E1000_CTRL_PHY_RST)); in e1000_reset_hw_82541()
334 E1000_WRITE_REG_IO(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541()
337 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_82541()
539 u32 ctrl, ledctl; in e1000_setup_copper_link_82541() local
543 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82541()
544 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82541()
545 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX); in e1000_setup_copper_link_82541()
546 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82541()
A De1000_vf.c264 u32 ctrl, msgbuf[3]; in e1000_reset_hw_vf() local
270 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_vf()
271 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_vf()
A De1000_80003es2lan.c749 u32 ctrl; in e1000_reset_hw_80003es2lan() local
771 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_80003es2lan()
778 E1000_WRITE_REG(hw, E1000_CTRL, ctrl | E1000_CTRL_RST); in e1000_reset_hw_80003es2lan()
1119 u32 ctrl; in e1000_setup_copper_link_80003es2lan() local
1125 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_80003es2lan()
1126 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_80003es2lan()
1127 ctrl &= ~(E1000_CTRL_FRCSPD | E1000_CTRL_FRCDPX); in e1000_setup_copper_link_80003es2lan()
1128 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_80003es2lan()
A De1000_phy.c2018 u32 ctrl; in e1000_phy_force_speed_duplex_setup() local
2026 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_force_speed_duplex_setup()
2028 ctrl &= ~E1000_CTRL_SPD_SEL; in e1000_phy_force_speed_duplex_setup()
2031 ctrl &= ~E1000_CTRL_ASDE; in e1000_phy_force_speed_duplex_setup()
2038 ctrl &= ~E1000_CTRL_FD; in e1000_phy_force_speed_duplex_setup()
2042 ctrl |= E1000_CTRL_FD; in e1000_phy_force_speed_duplex_setup()
2049 ctrl |= E1000_CTRL_SPD_100; in e1000_phy_force_speed_duplex_setup()
2061 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_phy_force_speed_duplex_setup()
2856 u32 ctrl; in e1000_phy_hw_reset_generic() local
2870 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_hw_reset_generic()
[all …]
A De1000_82575.c1347 u32 ctrl; in e1000_reset_hw_82575() local
1374 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82575()
1468 u32 ctrl; in e1000_setup_copper_link_82575() local
1474 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_82575()
1475 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82575()
1477 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_82575()
2385 u32 ctrl; in e1000_reset_hw_82580() local
2397 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_82580()
2422 ctrl |= E1000_CTRL_DEV_RST; in e1000_reset_hw_82580()
2424 ctrl |= E1000_CTRL_RST; in e1000_reset_hw_82580()
[all …]
A De1000_i210.c684 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; in e1000_pll_workaround_i210() local
712 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_pll_workaround_i210()
713 E1000_WRITE_REG(hw, E1000_CTRL, ctrl|E1000_CTRL_PHY_RST); in e1000_pll_workaround_i210()
A De1000_ich8lan.c4948 u32 ctrl, reg; in e1000_reset_hw_ich8lan() local
4993 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_ich8lan()
5000 ctrl |= E1000_CTRL_PHY_RST; in e1000_reset_hw_ich8lan()
5024 if (ctrl & E1000_CTRL_PHY_RST) { in e1000_reset_hw_ich8lan()
5288 u32 ctrl; in e1000_setup_copper_link_ich8lan() local
5294 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_ich8lan()
5295 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_ich8lan()
5297 E1000_WRITE_REG(hw, E1000_CTRL, ctrl); in e1000_setup_copper_link_ich8lan()
5379 u32 ctrl; in e1000_setup_copper_link_pch_lpt() local
5384 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_setup_copper_link_pch_lpt()
[all …]
A Dif_em.c1262 u32 ctrl; in em_if_init() local
1263 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in em_if_init()
1264 ctrl |= E1000_CTRL_VME; in em_if_init()
1265 E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl); in em_if_init()
1705 u32 link_check, thstat, ctrl; in em_if_update_admin_status() local
1707 link_check = thstat = ctrl = 0; in em_if_update_admin_status()
1744 ctrl = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_if_update_admin_status()
1768 if ((ctrl & E1000_CTRL_EXT_LINK_MODE_GMII) && in em_if_update_admin_status()
3671 u32 pmc, ctrl, ctrl_ext, rctl; in em_enable_wakeup() local
3699 ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL); in em_enable_wakeup()
[all …]
/third_party/ulib/usbhost/
A Dusbhost.c562 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_control_transfer()
565 ctrl.wValue = value; in usb_device_control_transfer()
566 ctrl.wIndex = index; in usb_device_control_transfer()
567 ctrl.wLength = length; in usb_device_control_transfer()
568 ctrl.data = buffer; in usb_device_control_transfer()
569 ctrl.timeout = timeout; in usb_device_control_transfer()
579 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_bulk_transfer()
580 ctrl.ep = endpoint; in usb_device_bulk_transfer()
581 ctrl.len = length; in usb_device_bulk_transfer()
582 ctrl.data = buffer; in usb_device_bulk_transfer()
[all …]
/third_party/ulib/uboringssl/crypto/fipsmodule/cipher/
A Dcipher.c119 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) { in EVP_CIPHER_CTX_copy()
538 if (!ctx->cipher->ctrl) { in EVP_CIPHER_CTX_ctrl()
543 ret = ctx->cipher->ctrl(ctx, command, arg, ptr); in EVP_CIPHER_CTX_ctrl()
A De_aes.c641 out->ctrl = aes_gcm_ctrl; in DEFINE_LOCAL_DATA()
709 out->ctrl = aes_gcm_ctrl; in DEFINE_LOCAL_DATA()
777 out->ctrl = aes_gcm_ctrl; in DEFINE_LOCAL_DATA()
/third_party/ulib/uboringssl/include/openssl/
A Dcipher.h565 int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); member
/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/
A Dec_commands.h1744 uint8_t ctrl, reg, value; member

Completed in 76 milliseconds