Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/igb/
A 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()
550 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_set_sfp_media_type_82575()
559 u32 ctrl_ext = 0; in igb_get_invariants_82575() local
828 u32 ctrl_ext; in igb_get_phy_id_82575() local
[all …]
A Digb_ptp.c392 static void igb_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) in igb_pin_direction() argument
394 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; in igb_pin_direction()
420 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_extts() local
423 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_extts()
426 igb_pin_direction(pin, 1, &ctrl, &ctrl_ext); in igb_pin_extts()
441 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_extts()
476 u32 ctrl, ctrl_ext, tssdp = 0; in igb_pin_perout() local
479 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pin_perout()
482 igb_pin_direction(pin, 0, &ctrl, &ctrl_ext); in igb_pin_perout()
507 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pin_perout()
A De1000_i210.c829 u32 wuc, mdicnfg, ctrl, ctrl_ext, reg_val; in igb_pll_workaround_i210() local
861 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_pll_workaround_i210()
862 ctrl_ext |= (E1000_CTRL_EXT_PHYPDEN | E1000_CTRL_EXT_SDLPE); in igb_pll_workaround_i210()
863 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_pll_workaround_i210()
A Digb_main.c1567 u32 ctrl_ext; in igb_release_hw_control() local
1570 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_release_hw_control()
1586 u32 ctrl_ext; in igb_get_hw_control() local
1589 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_get_hw_control()
2052 u32 ctrl_ext, connsw; in igb_check_swap_media() local
2055 ctrl_ext = rd32(E1000_CTRL_EXT); in igb_check_swap_media()
2091 ctrl_ext |= in igb_check_swap_media()
2100 ctrl_ext &= in igb_check_swap_media()
2110 wr32(E1000_CTRL_EXT, ctrl_ext); in igb_check_swap_media()
5372 u32 ctrl_ext, thstat; in igb_thermal_sensor_event() local
[all …]
/linux/drivers/net/ethernet/intel/igc/
A Digc_ptp.c128 static void igc_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) in igc_pin_direction() argument
130 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; in igc_pin_direction()
176 u32 ctrl, ctrl_ext, tssdp = 0; in igc_pin_perout() local
179 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_pin_perout()
182 igc_pin_direction(pin, 0, &ctrl, &ctrl_ext); in igc_pin_perout()
207 wr32(IGC_CTRL_EXT, ctrl_ext); in igc_pin_perout()
222 u32 ctrl, ctrl_ext, tssdp = 0; in igc_pin_extts() local
225 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_pin_extts()
228 igc_pin_direction(pin, 1, &ctrl, &ctrl_ext); in igc_pin_extts()
243 wr32(IGC_CTRL_EXT, ctrl_ext); in igc_pin_extts()
A Digc_main.c153 u32 ctrl_ext; in igc_release_hw_control() local
159 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_release_hw_control()
161 ctrl_ext & ~IGC_CTRL_EXT_DRV_LOAD); in igc_release_hw_control()
175 u32 ctrl_ext; in igc_get_hw_control() local
178 ctrl_ext = rd32(IGC_CTRL_EXT); in igc_get_hw_control()
180 ctrl_ext | IGC_CTRL_EXT_DRV_LOAD); in igc_get_hw_control()
/linux/drivers/net/ethernet/intel/e1000e/
A 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()
A 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()
A Dnetdev.c1980 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
2030 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_msix()
2272 u32 ctrl_ext; in e1000e_get_hw_control() local
2280 ctrl_ext = er32(CTRL_EXT); in e1000e_get_hw_control()
2298 u32 ctrl_ext; in e1000e_release_hw_control() local
2306 ctrl_ext = er32(CTRL_EXT); in e1000e_release_hw_control()
3246 ctrl_ext = er32(CTRL_EXT); in e1000_configure_rx()
3248 ctrl_ext |= E1000_CTRL_EXT_IAME; in e1000_configure_rx()
3250 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_rx()
6687 ctrl_ext = er32(CTRL_EXT); in __e1000_shutdown()
[all …]
A Dich8lan.c2315 u32 ctrl_ext = 0; in e1000_configure_k1_ich8lan() local
2335 ctrl_ext = er32(CTRL_EXT); in e1000_configure_k1_ich8lan()
2342 ew32(CTRL_EXT, ctrl_ext | E1000_CTRL_EXT_SPD_BYPS); in e1000_configure_k1_ich8lan()
2346 ew32(CTRL_EXT, ctrl_ext); in e1000_configure_k1_ich8lan()
4816 u32 ctrl_ext, txdctl, snoop, fflt_dbg; in e1000_init_hw_ich8lan() local
4884 ctrl_ext = er32(CTRL_EXT); in e1000_init_hw_ich8lan()
4885 ctrl_ext |= E1000_CTRL_EXT_RO_DIS; in e1000_init_hw_ich8lan()
4886 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw_ich8lan()
/linux/drivers/comedi/drivers/
A Dadv_pci1710.c172 unsigned int ctrl_ext; /* used to switch from TRIG_EXT to TRIG_xxx */ member
502 devpriv->ctrl = devpriv->ctrl_ext; in pci1710_irq_handler()
542 devpriv->ctrl_ext = devpriv->ctrl; in pci1710_ai_cmd()
694 devpriv->ctrl_ext &= ~PCI171X_CTRL_CNT0; in pci1710_counter_insn_config()
697 devpriv->ctrl_ext |= PCI171X_CTRL_CNT0; in pci1710_counter_insn_config()
702 outw(devpriv->ctrl_ext, dev->iobase + PCI171X_CTRL_REG); in pci1710_counter_insn_config()
705 if (devpriv->ctrl_ext & PCI171X_CTRL_CNT0) { in pci1710_counter_insn_config()
/linux/drivers/net/ethernet/intel/e1000/
A De1000_hw.c378 u32 ctrl_ext; in e1000_reset_hw() local
459 ctrl_ext = er32(CTRL_EXT); 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()
632 ew32(CTRL_EXT, ctrl_ext); in e1000_init_hw()
687 u32 ctrl_ext; in e1000_setup_link() local
745 ew32(CTRL_EXT, ctrl_ext); in e1000_setup_link()
3040 u32 ctrl, ctrl_ext; in e1000_phy_hw_reset() local
3068 ew32(CTRL_EXT, ctrl_ext); in e1000_phy_hw_reset()
[all …]
A De1000_main.c5064 u32 ctrl, ctrl_ext, rctl, status; in __e1000_shutdown() local
5110 ctrl_ext = er32(CTRL_EXT); in __e1000_shutdown()
5111 ctrl_ext |= E1000_CTRL_EXT_SDP7_DATA; in __e1000_shutdown()
5112 ew32(CTRL_EXT, ctrl_ext); in __e1000_shutdown()
/linux/drivers/char/tpm/
A Dtpm_crb.c71 u64 ctrl_ext; member
/linux/drivers/net/ethernet/intel/ixgbe/
A 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()
A Dixgbe_main.c831 u32 ctrl_ext; in ixgbe_release_hw_control() local
834 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
836 ctrl_ext & ~IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_release_hw_control()
841 u32 ctrl_ext; in ixgbe_get_hw_control() local
844 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
846 ctrl_ext | IXGBE_CTRL_EXT_DRV_LOAD); in ixgbe_get_hw_control()
5637 u32 ctrl_ext; in ixgbe_up_complete() local
5687 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_up_complete()
5688 ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD; in ixgbe_up_complete()
5689 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()

Completed in 105 milliseconds