Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/igb/ !
De1000_82575.c182 u32 ctrl_ext; in igb_init_phy_params_82575() local
192 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_init_phy_params_82575()
196 ctrl_ext |= E1000_CTRL_I2C_ENA; in igb_init_phy_params_82575()
199 ctrl_ext &= ~E1000_CTRL_I2C_ENA; in igb_init_phy_params_82575()
202 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_init_phy_params_82575()
495 u32 ctrl_ext = 0; in igb_set_sfp_media_type_82575() local
502 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_set_sfp_media_type_82575()
503 ctrl_ext &= ~E1000_CTRL_EXT_SDP3_DATA; in igb_set_sfp_media_type_82575()
504 wr32(E1000_CTRL_EXT, ctrl_ext | E1000_CTRL_I2C_ENA); in igb_set_sfp_media_type_82575()
550 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_set_sfp_media_type_82575()
[all …]
Digb_ptp.c371 static void igb_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) in igb_pin_direction() argument
373 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; in igb_pin_direction()
399 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_extts() local
402 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_extts()
405 igb_pin_direction(pin, 1, &ctrl, &ctrl_ext); in igb_pin_extts()
420 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_extts()
455 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_perout() local
458 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_perout()
461 igb_pin_direction(pin, 0, &ctrl, &ctrl_ext); in igb_pin_perout()
486 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_perout()
De1000_i210.c828 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; in igb_pll_workaround_i210() local
860 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pll_workaround_i210()
861 ctrl_ext |= (E1000_CTRL_EXT_PHYPDEN | E1000_CTRL_EXT_SDLPE); in igb_pll_workaround_i210()
862 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pll_workaround_i210()
Digb_main.c1570 u32 ctrl_ext; in igb_release_hw_control() local
1573 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_release_hw_control()
1575 ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in igb_release_hw_control()
1589 u32 ctrl_ext; in igb_get_hw_control() local
1592 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_hw_control()
1594 ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in igb_get_hw_control()
2055 u32 ctrl_ext, connsw; in igb_check_swap_media() local
2058 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_check_swap_media()
2094 ctrl_ext |= in igb_check_swap_media()
2103 ctrl_ext &= in igb_check_swap_media()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_ptp.c127 static void igc_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) in igc_pin_direction() argument
129 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; in igc_pin_direction()
175 u32 ctrl, ctrl_ext, tssdp = 0; in igc_pin_perout() local
178 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_pin_perout()
181 igc_pin_direction(pin, 0, &ctrl, &ctrl_ext); in igc_pin_perout()
206 wr32(IGC_CTRL_EXT, ctrl_ext); in igc_pin_perout()
221 u32 ctrl, ctrl_ext, tssdp = 0; in igc_pin_extts() local
224 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_pin_extts()
227 igc_pin_direction(pin, 1, &ctrl, &ctrl_ext); in igc_pin_extts()
242 wr32(IGC_CTRL_EXT, ctrl_ext); in igc_pin_extts()
Digc_main.c152 u32 ctrl_ext; in igc_release_hw_control() local
158 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_release_hw_control()
160 ctrl_ext & ~IGC_CTRL_EXT_DRV_LOAD); in igc_release_hw_control()
174 u32 ctrl_ext; in igc_get_hw_control() local
177 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_get_hw_control()
179 ctrl_ext | IGC_CTRL_EXT_DRV_LOAD); in igc_get_hw_control()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dnvm.c608 u32 ctrl_ext; in e1000e_reload_nvm_generic() local
611 ctrl_ext = er32(CTRL_EXT); in e1000e_reload_nvm_generic()
612 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000e_reload_nvm_generic()
613 ew32(CTRL_EXT, ctrl_ext); in e1000e_reload_nvm_generic()
D82571.c945 u32 ctrl, ctrl_ext, eecd, tctl; in e1000_reset_hw_82571() local
1005 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw_82571()
1006 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw_82571()
1007 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw_82571()
Dnetdev.c1973 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
2021 ctrl_ext = er32(CTRL_EXT) & ~E1000_CTRL_EXT_IAME; in e1000_configure_msix()
2022 ctrl_ext |= E1000_CTRL_EXT_PBA_CLR | E1000_CTRL_EXT_EIAME; in e1000_configure_msix()
2023 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_msix()
2265 u32 ctrl_ext; in e1000e_get_hw_control() local
2273 ctrl_ext = er32(CTRL_EXT); in e1000e_get_hw_control()
2274 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_DRV_LOAD); in e1000e_get_hw_control()
2291 u32 ctrl_ext; in e1000e_release_hw_control() local
2299 ctrl_ext = er32(CTRL_EXT); in e1000e_release_hw_control()
2300 ew32(CTRL_EXT, ctrl_ext & ~E1000_CTRL_EXT_DRV_LOAD); in e1000e_release_hw_control()
[all …]
Dich8lan.c2325 u32 ctrl_ext = 0; in e1000_configure_k1_ich8lan() local
2345 ctrl_ext = er32(CTRL_EXT); in e1000_configure_k1_ich8lan()
2352 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_SPD_BYPS); in e1000_configure_k1_ich8lan()
2356 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_k1_ich8lan()
4830 u32 ctrl_ext, txdctl, snoop, fflt_dbg; in e1000_init_hw_ich8lan() local
4898 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw_ich8lan()
4899 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
4900 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
/linux-6.6.21/drivers/comedi/drivers/
Dadv_pci1710.c171 unsigned int ctrl_ext; /* used to switch from TRIG_EXT to TRIG_xxx */ member
501 devpriv->ctrl = devpriv->ctrl_ext; in pci1710_irq_handler()
541 devpriv->ctrl_ext = devpriv->ctrl; in pci1710_ai_cmd()
693 devpriv->ctrl_ext &= ~PCI171X_CTRL_CNT0; in pci1710_counter_insn_config()
696 devpriv->ctrl_ext |= PCI171X_CTRL_CNT0; in pci1710_counter_insn_config()
701 outw(devpriv->ctrl_ext, dev->iobase + PCI171X_CTRL_REG); in pci1710_counter_insn_config()
704 if (devpriv->ctrl_ext & PCI171X_CTRL_CNT0) { in pci1710_counter_insn_config()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_hw.c378 u32 ctrl_ext; in e1000_reset_hw() local
459 ctrl_ext = er32(CTRL_EXT); in e1000_reset_hw()
460 ctrl_ext |= E1000_CTRL_EXT_EE_RST; in e1000_reset_hw()
461 ew32(CTRL_EXT, ctrl_ext); in e1000_reset_hw()
530 u32 ctrl_ext; in e1000_init_hw() local
627 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw()
631 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw()
632 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw()
687 u32 ctrl_ext; in e1000_setup_link() local
743 ctrl_ext = ((eeprom_data & EEPROM_WORD0F_SWPDIO_EXT) << in e1000_setup_link()
[all …]
De1000_main.c5063 u32 ctrl, ctrl_ext, rctl, status; in __e1000_shutdown() local
5109 ctrl_ext = er32(CTRL_EXT); in __e1000_shutdown()
5110 ctrl_ext |= E1000_CTRL_EXT_SDP7_DATA; in __e1000_shutdown()
5111 ew32(CTRL_EXT, ctrl_ext); in __e1000_shutdown()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c273 u32 ctrl_ext; in ixgbe_start_hw_generic() local
289 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
290 ctrl_ext |= IXGBE_CTRL_EXT_NS_DIS; in ixgbe_start_hw_generic()
291 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_start_hw_generic()
Dixgbe_main.c832 u32 ctrl_ext; in ixgbe_release_hw_control() local
835 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
837 ctrl_ext & ~IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_release_hw_control()
842 u32 ctrl_ext; in ixgbe_get_hw_control() local
845 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
847 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_get_hw_control()
5669 u32 ctrl_ext; in ixgbe_up_complete() local
5720 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_up_complete()
5721 ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD; in ixgbe_up_complete()
5722 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()
/linux-6.6.21/drivers/char/tpm/
Dtpm_crb.c71 u64 ctrl_ext; member