Lines Matching refs:dev_spec
302 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
601 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
657 dev_spec->shadow_ram[i].modified = false; in e1000_init_nvm_params_ich8lan()
658 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
823 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
854 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
857 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
869 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
872 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) { in e1000_set_eee_pchlan()
881 dev_spec->eee_lp_ability &= in e1000_set_eee_pchlan()
1116 (hw->dev_spec.ich8lan.ulp_state == e1000_ulp_state_on)) in e1000_enable_ulp_lpt_lp()
1228 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_on; in e1000_enable_ulp_lpt_lp()
1260 (hw->dev_spec.ich8lan.ulp_state == e1000_ulp_state_off)) in e1000_disable_ulp_lpt_lp()
1385 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_off; in e1000_disable_ulp_lpt_lp()
1571 hw->dev_spec.ich8lan.eee_lp_ability = 0; in e1000_check_for_copper_link_ich8lan()
2248 bool k1_enable = hw->dev_spec.ich8lan.nvm_k1_enabled; in e1000_k1_gig_workaround_hv()
3289 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_read_nvm_spt() local
3319 if (dev_spec->shadow_ram[offset + i].modified) { in e1000_read_nvm_spt()
3321 dev_spec->shadow_ram[offset + i].value; in e1000_read_nvm_spt()
3338 if (!(dev_spec->shadow_ram[offset + i].modified) || in e1000_read_nvm_spt()
3339 !(dev_spec->shadow_ram[offset + i + 1].modified)) { in e1000_read_nvm_spt()
3347 if (dev_spec->shadow_ram[offset + i].modified) in e1000_read_nvm_spt()
3349 dev_spec->shadow_ram[offset + i].value; in e1000_read_nvm_spt()
3352 if (dev_spec->shadow_ram[offset + i].modified) in e1000_read_nvm_spt()
3354 dev_spec->shadow_ram[offset + i + 1].value; in e1000_read_nvm_spt()
3382 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_read_nvm_ich8lan() local
3408 if (dev_spec->shadow_ram[offset + i].modified) { in e1000_read_nvm_ich8lan()
3409 data[i] = dev_spec->shadow_ram[offset + i].value; in e1000_read_nvm_ich8lan()
3776 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_write_nvm_ich8lan() local
3788 dev_spec->shadow_ram[offset + i].modified = true; in e1000_write_nvm_ich8lan()
3789 dev_spec->shadow_ram[offset + i].value = data[i]; in e1000_write_nvm_ich8lan()
3811 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_update_nvm_checksum_spt() local
3857 if (dev_spec->shadow_ram[i].modified) { in e1000_update_nvm_checksum_spt()
3859 dword |= (dev_spec->shadow_ram[i].value & 0xffff); in e1000_update_nvm_checksum_spt()
3861 if (dev_spec->shadow_ram[i + 1].modified) { in e1000_update_nvm_checksum_spt()
3863 dword |= ((dev_spec->shadow_ram[i + 1].value & 0xffff) in e1000_update_nvm_checksum_spt()
3936 dev_spec->shadow_ram[i].modified = false; in e1000_update_nvm_checksum_spt()
3937 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_update_nvm_checksum_spt()
3972 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_update_nvm_checksum_ich8lan() local
4010 if (dev_spec->shadow_ram[i].modified) { in e1000_update_nvm_checksum_ich8lan()
4011 data = dev_spec->shadow_ram[i].value; in e1000_update_nvm_checksum_ich8lan()
4087 dev_spec->shadow_ram[i].modified = false; in e1000_update_nvm_checksum_ich8lan()
4088 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_update_nvm_checksum_ich8lan()
4710 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_reset_hw_ich8lan() local
4750 dev_spec->nvm_k1_enabled = true; in e1000_reset_hw_ich8lan()
4752 dev_spec->nvm_k1_enabled = false; in e1000_reset_hw_ich8lan()
5199 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_kmrn_lock_loss_workaround_ich8lan() local
5205 if (!dev_spec->kmrn_lock_loss_workaround_enabled) in e1000_kmrn_lock_loss_workaround_ich8lan()
5260 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000e_set_kmrn_lock_loss_workaround_ich8lan() local
5267 dev_spec->kmrn_lock_loss_workaround_enabled = state; in e1000e_set_kmrn_lock_loss_workaround_ich8lan()
5368 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_suspend_workarounds_ich8lan() local
5392 if (!dev_spec->eee_disable) { in e1000_suspend_workarounds_ich8lan()
5408 (dev_spec->eee_lp_ability & in e1000_suspend_workarounds_ich8lan()