Searched refs:eecd (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 38 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk() argument 40 *eecd = *eecd | E1000_EECD_SK; in e1000_raise_eec_clk() 41 ew32(EECD, *eecd); in e1000_raise_eec_clk() 53 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk() argument 55 *eecd = *eecd & ~E1000_EECD_SK; in e1000_lower_eec_clk() 56 ew32(EECD, *eecd); in e1000_lower_eec_clk() 74 u32 eecd = er32(EECD); in e1000_shift_out_eec_bits() local 79 eecd |= E1000_EECD_DO; in e1000_shift_out_eec_bits() 82 eecd &= ~E1000_EECD_DI; in e1000_shift_out_eec_bits() 85 eecd |= E1000_EECD_DI; in e1000_shift_out_eec_bits() [all …]
|
D | 82571.c | 167 u32 eecd = er32(EECD); in e1000_init_nvm_params_82571() local 182 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in e1000_init_nvm_params_82571() 183 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? 16 : 8; in e1000_init_nvm_params_82571() 191 if (((eecd >> 15) & 0x3) == 0x3) { in e1000_init_nvm_params_82571() 198 eecd &= ~E1000_EECD_AUPDEN; in e1000_init_nvm_params_82571() 199 ew32(EECD, eecd); in e1000_init_nvm_params_82571() 205 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in e1000_init_nvm_params_82571() 783 u32 eecd; in e1000_update_nvm_checksum_82571() local 820 eecd = er32(EECD) | E1000_EECD_FLUPD; in e1000_update_nvm_checksum_82571() 821 ew32(EECD, eecd); in e1000_update_nvm_checksum_82571()
|
D | 80003es2lan.c | 161 u32 eecd = er32(EECD); in e1000_init_nvm_params_80003es2lan() local 176 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in e1000_init_nvm_params_80003es2lan() 177 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? 16 : 8; in e1000_init_nvm_params_80003es2lan() 183 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in e1000_init_nvm_params_80003es2lan()
|
D | ich8lan.c | 2087 u32 eecd; in e1000_valid_nvm_bank_detect_ich8lan() local 2097 eecd = er32(EECD); in e1000_valid_nvm_bank_detect_ich8lan() 2098 if ((eecd & E1000_EECD_SEC1VAL_VALID_MASK) == in e1000_valid_nvm_bank_detect_ich8lan() 2100 if (eecd & E1000_EECD_SEC1VAL) in e1000_valid_nvm_bank_detect_ich8lan()
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 41 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk() argument 43 *eecd = *eecd | E1000_EECD_SK; in igb_raise_eec_clk() 44 wr32(E1000_EECD, *eecd); in igb_raise_eec_clk() 56 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk() argument 58 *eecd = *eecd & ~E1000_EECD_SK; in igb_lower_eec_clk() 59 wr32(E1000_EECD, *eecd); in igb_lower_eec_clk() 77 u32 eecd = rd32(E1000_EECD); in igb_shift_out_eec_bits() local 82 eecd |= E1000_EECD_DO; in igb_shift_out_eec_bits() 85 eecd &= ~E1000_EECD_DI; in igb_shift_out_eec_bits() 88 eecd |= E1000_EECD_DI; in igb_shift_out_eec_bits() [all …]
|
D | e1000_82575.c | 114 u32 eecd; in igb_get_invariants_82575() local 215 eecd = rd32(E1000_EECD); in igb_get_invariants_82575() 229 nvm->page_size = eecd & E1000_EECD_ADDR_BITS ? 32 : 8; in igb_get_invariants_82575() 230 nvm->address_bits = eecd & E1000_EECD_ADDR_BITS ? 16 : 8; in igb_get_invariants_82575() 236 size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >> in igb_get_invariants_82575()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 74 static void e1000_raise_ee_clk(struct e1000_hw *hw, u32 *eecd); 75 static void e1000_lower_ee_clk(struct e1000_hw *hw, u32 *eecd); 3498 u32 eecd = er32(EECD); in e1000_init_eeprom_params() local 3523 if (eecd & E1000_EECD_SIZE) { in e1000_init_eeprom_params() 3535 if (eecd & E1000_EECD_TYPE) { in e1000_init_eeprom_params() 3539 if (eecd & E1000_EECD_ADDR_BITS) { in e1000_init_eeprom_params() 3550 if (eecd & E1000_EECD_ADDR_BITS) { in e1000_init_eeprom_params() 3590 static void e1000_raise_ee_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_ee_clk() argument 3595 *eecd = *eecd | E1000_EECD_SK; in e1000_raise_ee_clk() 3596 ew32(EECD, *eecd); in e1000_raise_ee_clk() [all …]
|