Home
last modified time | relevance | path

Searched refs:ctrl_ext (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/intel/igb/
De1000_82575.c177 u32 ctrl_ext; in igb_init_phy_params_82575() local
187 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_init_phy_params_82575()
191 ctrl_ext |= E1000_CTRL_I2C_ENA; in igb_init_phy_params_82575()
194 ctrl_ext &= ~E1000_CTRL_I2C_ENA; in igb_init_phy_params_82575()
197 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_init_phy_params_82575()
478 u32 ctrl_ext = 0; in igb_set_sfp_media_type_82575() local
485 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_set_sfp_media_type_82575()
486 ctrl_ext &= ~E1000_CTRL_EXT_SDP3_DATA; in igb_set_sfp_media_type_82575()
487 wr32(E1000_CTRL_EXT, ctrl_ext | E1000_CTRL_I2C_ENA); in igb_set_sfp_media_type_82575()
533 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_set_sfp_media_type_82575()
[all …]
Digb_ptp.c362 static void igb_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) in igb_pin_direction() argument
364 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; in igb_pin_direction()
390 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_extts() local
393 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_extts()
396 igb_pin_direction(pin, 1, &ctrl, &ctrl_ext); in igb_pin_extts()
411 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_extts()
446 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_perout() local
449 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_perout()
452 igb_pin_direction(pin, 0, &ctrl, &ctrl_ext); in igb_pin_perout()
477 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_perout()
De1000_i210.c848 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; in igb_pll_workaround_i210() local
879 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pll_workaround_i210()
880 ctrl_ext |= (E1000_CTRL_EXT_PHYPDEN | E1000_CTRL_EXT_SDLPE); in igb_pll_workaround_i210()
881 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pll_workaround_i210()
Digb_main.c1574 u32 ctrl_ext; in igb_release_hw_control() local
1577 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_release_hw_control()
1579 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in igb_release_hw_control()
1593 u32 ctrl_ext; in igb_get_hw_control() local
1596 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_hw_control()
1598 ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in igb_get_hw_control()
1669 u32 ctrl_ext, connsw; in igb_check_swap_media() local
1672 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_check_swap_media()
1708 ctrl_ext |= in igb_check_swap_media()
1717 ctrl_ext &= in igb_check_swap_media()
[all …]
/drivers/net/ethernet/intel/e1000e/
Dnvm.c626 u32 ctrl_ext; in e1000e_reload_nvm_generic() local
629 ctrl_ext = er32(CTRL_EXT); in e1000e_reload_nvm_generic()
630 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000e_reload_nvm_generic()
631 ew32(CTRL_EXT, ctrl_ext); in e1000e_reload_nvm_generic()
D82571.c963 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
1023 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw_82571()
1024 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw_82571()
1025 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw_82571()
Dnetdev.c1993 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
2041 ctrl_ext = er32(CTRL_EXT); in e1000_configure_msix()
2042 ctrl_ext |= E1000_CTRL_EXT_PBA_CLR; in e1000_configure_msix()
2046 ctrl_ext |= E1000_CTRL_EXT_EIAME; in e1000_configure_msix()
2047 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_msix()
2284 u32 ctrl_ext; in e1000e_get_hw_control() local
2292 ctrl_ext = er32(CTRL_EXT); in e1000e_get_hw_control()
2293 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in e1000e_get_hw_control()
2310 u32 ctrl_ext; in e1000e_release_hw_control() local
2318 ctrl_ext = er32(CTRL_EXT); in e1000e_release_hw_control()
[all …]
Dich8lan.c2260 u32 ctrl_ext = 0; in e1000_configure_k1_ich8lan() local
2280 ctrl_ext = er32(CTRL_EXT); in e1000_configure_k1_ich8lan()
2287 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_SPD_BYPS); in e1000_configure_k1_ich8lan()
2291 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_k1_ich8lan()
4728 u32 ctrl_ext, txdctl, snoop; in e1000_init_hw_ich8lan() local
4787 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw_ich8lan()
4788 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
4789 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
/drivers/staging/comedi/drivers/
Dadv_pci1710.c228 unsigned int ctrl_ext; /* used to switch from TRIG_EXT to TRIG_xxx */ member
623 devpriv->ctrl = devpriv->ctrl_ext; in interrupt_service_pci1710()
663 devpriv->ctrl_ext = devpriv->ctrl; in pci171x_ai_cmd()
767 devpriv->ctrl_ext &= ~PCI171X_CTRL_CNT0; in pci171x_insn_counter_config()
770 devpriv->ctrl_ext |= PCI171X_CTRL_CNT0; in pci171x_insn_counter_config()
775 outw(devpriv->ctrl_ext, dev->iobase + PCI171X_CTRL_REG); in pci171x_insn_counter_config()
778 if (devpriv->ctrl_ext & PCI171X_CTRL_CNT0) { in pci171x_insn_counter_config()
/drivers/net/ethernet/intel/e1000/
De1000_hw.c404 u32 ctrl_ext; in e1000_reset_hw() local
486 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw()
487 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw()
488 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw()
557 u32 ctrl_ext; in e1000_init_hw() local
654 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw()
658 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw()
659 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw()
715 u32 ctrl_ext; in e1000_setup_link() local
771 ctrl_ext = ((eeprom_data & EEPROM_WORD0F_SWPDIO_EXT) << in e1000_setup_link()
[all …]
De1000_main.c5085 u32 ctrl, ctrl_ext, rctl, status; in __e1000_shutdown() local
5140 ctrl_ext = er32(CTRL_EXT); in __e1000_shutdown()
5141 ctrl_ext |= E1000_CTRL_EXT_SDP7_DATA; in __e1000_shutdown()
5142 ew32(CTRL_EXT, ctrl_ext); in __e1000_shutdown()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c278 u32 ctrl_ext; in ixgbe_start_hw_generic() local
293 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
294 ctrl_ext |= IXGBE_CTRL_EXT_NS_DIS; in ixgbe_start_hw_generic()
295 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_start_hw_generic()
Dixgbe_main.c824 u32 ctrl_ext; in ixgbe_release_hw_control() local
827 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
829 ctrl_ext & ~IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_release_hw_control()
834 u32 ctrl_ext; in ixgbe_get_hw_control() local
837 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
839 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_get_hw_control()
4980 u32 ctrl_ext; in ixgbe_up_complete() local
5030 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_up_complete()
5031 ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD; in ixgbe_up_complete()
5032 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()