Searched refs:eecd (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 13 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk() argument 15 *eecd = *eecd | E1000_EECD_SK; in e1000_raise_eec_clk() 16 ew32(EECD, *eecd); in e1000_raise_eec_clk() 28 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk() argument 30 *eecd = *eecd & ~E1000_EECD_SK; in e1000_lower_eec_clk() 31 ew32(EECD, *eecd); in e1000_lower_eec_clk() 49 u32 eecd = er32(EECD); in e1000_shift_out_eec_bits() local 54 eecd |= E1000_EECD_DO; in e1000_shift_out_eec_bits() 57 eecd &= ~E1000_EECD_DI; in e1000_shift_out_eec_bits() 60 eecd |= E1000_EECD_DI; in e1000_shift_out_eec_bits() [all …]
|
D | 82571.c | 123 u32 eecd = er32(EECD); in e1000_init_nvm_params_82571() local 138 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in e1000_init_nvm_params_82571() 139 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? 16 : 8; in e1000_init_nvm_params_82571() 147 if (((eecd >> 15) & 0x3) == 0x3) { in e1000_init_nvm_params_82571() 153 eecd &= ~E1000_EECD_AUPDEN; in e1000_init_nvm_params_82571() 154 ew32(EECD, eecd); in e1000_init_nvm_params_82571() 160 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in e1000_init_nvm_params_82571() 726 u32 eecd; in e1000_update_nvm_checksum_82571() local 761 eecd = er32(EECD) | E1000_EECD_FLUPD; in e1000_update_nvm_checksum_82571() 762 ew32(EECD, eecd); in e1000_update_nvm_checksum_82571() [all …]
|
D | 80003es2lan.c | 73 u32 eecd = er32(EECD); in e1000_init_nvm_params_80003es2lan() local 88 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in e1000_init_nvm_params_80003es2lan() 89 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? 16 : 8; in e1000_init_nvm_params_80003es2lan() 95 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in e1000_init_nvm_params_80003es2lan()
|
D | ich8lan.c | 3170 u32 eecd; in e1000_valid_nvm_bank_detect_ich8lan() local 3220 eecd = er32(EECD); in e1000_valid_nvm_bank_detect_ich8lan() 3221 if ((eecd & E1000_EECD_SEC1VAL_VALID_MASK) == in e1000_valid_nvm_bank_detect_ich8lan() 3223 if (eecd & E1000_EECD_SEC1VAL) in e1000_valid_nvm_bank_detect_ich8lan()
|
/linux-5.19.10/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 17 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk() argument 19 *eecd = *eecd | E1000_EECD_SK; in igb_raise_eec_clk() 20 wr32(E1000_EECD, *eecd); in igb_raise_eec_clk() 32 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk() argument 34 *eecd = *eecd & ~E1000_EECD_SK; in igb_lower_eec_clk() 35 wr32(E1000_EECD, *eecd); in igb_lower_eec_clk() 53 u32 eecd = rd32(E1000_EECD); in igb_shift_out_eec_bits() local 58 eecd |= E1000_EECD_DO; in igb_shift_out_eec_bits() 61 eecd &= ~E1000_EECD_DI; in igb_shift_out_eec_bits() 64 eecd |= E1000_EECD_DI; in igb_shift_out_eec_bits() [all …]
|
D | e1000_82575.c | 330 u32 eecd = rd32(E1000_EECD); in igb_init_nvm_params_82575() local 333 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in igb_init_nvm_params_82575() 361 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in igb_init_nvm_params_82575() 362 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? in igb_init_nvm_params_82575()
|
/linux-5.19.10/drivers/net/ethernet/intel/igc/ |
D | igc_nvm.c | 49 u32 eecd = rd32(IGC_EECD); in igc_acquire_nvm() local 52 wr32(IGC_EECD, eecd | IGC_EECD_REQ); in igc_acquire_nvm() 53 eecd = rd32(IGC_EECD); in igc_acquire_nvm() 56 if (eecd & IGC_EECD_GNT) in igc_acquire_nvm() 59 eecd = rd32(IGC_EECD); in igc_acquire_nvm() 64 eecd &= ~IGC_EECD_REQ; in igc_acquire_nvm() 65 wr32(IGC_EECD, eecd); in igc_acquire_nvm() 81 u32 eecd; in igc_release_nvm() local 83 eecd = rd32(IGC_EECD); in igc_release_nvm() 84 eecd &= ~IGC_EECD_REQ; in igc_release_nvm() [all …]
|
D | igc_base.c | 68 u32 eecd = rd32(IGC_EECD); in igc_init_nvm_params_base() local 71 size = (u16)((eecd & IGC_EECD_SIZE_EX_MASK) >> in igc_init_nvm_params_base() 90 nvm->page_size = eecd & IGC_EECD_ADDR_BITS ? 32 : 8; in igc_init_nvm_params_base() 91 nvm->address_bits = eecd & IGC_EECD_ADDR_BITS ? in igc_init_nvm_params_base()
|
/linux-5.19.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 49 static void e1000_raise_ee_clk(struct e1000_hw *hw, u32 *eecd); 50 static void e1000_lower_ee_clk(struct e1000_hw *hw, u32 *eecd); 3445 u32 eecd = er32(EECD); in e1000_init_eeprom_params() local 3468 if (eecd & E1000_EECD_SIZE) { in e1000_init_eeprom_params() 3480 if (eecd & E1000_EECD_TYPE) { in e1000_init_eeprom_params() 3484 if (eecd & E1000_EECD_ADDR_BITS) { in e1000_init_eeprom_params() 3495 if (eecd & E1000_EECD_ADDR_BITS) { in e1000_init_eeprom_params() 3536 static void e1000_raise_ee_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_ee_clk() argument 3541 *eecd = *eecd | E1000_EECD_SK; in e1000_raise_ee_clk() 3542 ew32(EECD, *eecd); in e1000_raise_ee_clk() [all …]
|