Home
last modified time | relevance | path

Searched refs:dev_spec (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/intel/e1000e/
Dich8lan.c302 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
595 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
651 dev_spec->shadow_ram[i].modified = false; in e1000_init_nvm_params_ich8lan()
652 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
814 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
845 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
848 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
860 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
863 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) { in e1000_set_eee_pchlan()
872 dev_spec->eee_lp_ability &= in e1000_set_eee_pchlan()
[all …]
D80003es2lan.c368 if (hw->dev_spec.e80003es2lan.mdic_wa_enable) { in e1000_read_phy_reg_gg82563_80003es2lan()
437 if (hw->dev_spec.e80003es2lan.mdic_wa_enable) { in e1000_write_phy_reg_gg82563_80003es2lan()
810 hw->dev_spec.e80003es2lan.mdic_wa_enable = true; in e1000_init_hw_80003es2lan()
818 hw->dev_spec.e80003es2lan.mdic_wa_enable = false; in e1000_init_hw_80003es2lan()
D82571.c308 hw->dev_spec.e82571.smb_counter = 0; in e1000_init_mac_params_82571()
448 if (hw->dev_spec.e82571.smb_counter > 2) in e1000_get_hw_semaphore_82571()
463 hw->dev_spec.e82571.smb_counter++; in e1000_get_hw_semaphore_82571()
1689 return hw->dev_spec.e82571.laa_is_present; in e1000e_get_laa_state_82571()
1704 hw->dev_spec.e82571.laa_is_present = state; in e1000e_set_laa_state_82571()
Dhw.h710 } dev_spec; member
Dnetdev.c4167 hw->dev_spec.ich8lan.eee_disable ? in e1000e_reset()
6655 adapter->eee_advert && hw->dev_spec.ich8lan.eee_lp_ability) { in __e1000_shutdown()
6664 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
6668 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
6950 eee_lp = adapter->hw.dev_spec.ich8lan.eee_lp_ability; in e1000e_pm_runtime_idle()
6953 adapter->hw.dev_spec.ich8lan.eee_lp_ability = eee_lp; in e1000e_pm_runtime_idle()
Dethtool.c2230 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2272 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/drivers/net/ethernet/intel/igb/
De1000_82575.c152 if (port && (hw->dev_spec._82575.media_port != port)) { in igb_check_for_link_media_swap()
153 hw->dev_spec._82575.media_port = port; in igb_check_for_link_media_swap()
154 hw->dev_spec._82575.media_changed = true; in igb_check_for_link_media_swap()
407 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_init_mac_params_82575() local
457 dev_spec->eee_disable = false; in igb_init_mac_params_82575()
459 dev_spec->eee_disable = true; in igb_init_mac_params_82575()
462 dev_spec->clear_semaphore_once = true; in igb_init_mac_params_82575()
478 hw->dev_spec._82575.mas_capable = true; in igb_init_mac_params_82575()
496 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_set_sfp_media_type_82575() local
497 struct e1000_sfp_flags *eth_flags = &dev_spec->eth_flags; in igb_set_sfp_media_type_82575()
[all …]
Digb_ethtool.c140 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_get_link_ksettings() local
141 struct e1000_sfp_flags *eth_flags = &dev_spec->eth_flags; in igb_get_link_ksettings()
403 if (hw->dev_spec._82575.eth_flags.e100_base_fx) in igb_set_pauseparam()
2024 if (adapter->hw.dev_spec._82575.mas_capable) in igb_diag_test()
3054 if (!hw->dev_spec._82575.eee_disable) in igb_get_eee()
3100 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3168 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3169 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
De1000_i210.c42 if (hw->dev_spec._82575.clear_semaphore_once) { in igb_get_hw_semaphore_i210()
43 hw->dev_spec._82575.clear_semaphore_once = false; in igb_get_hw_semaphore_i210()
De1000_hw.h534 } dev_spec; member
Digb_main.c2161 (!hw->dev_spec._82575.eee_disable)) in igb_up()
3535 if (hw->dev_spec._82575.mas_capable) in igb_probe()
3583 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
3594 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
5460 if (hw->dev_spec._82575.media_changed) { in igb_watchdog_task()
5461 hw->dev_spec._82575.media_changed = false; in igb_watchdog_task()
5493 adapter->hw.dev_spec._82575.eee_disable = true; in igb_watchdog_task()
6479 hw->dev_spec._82575.global_device_reset = true; in igb_tx_timeout()
/drivers/net/ethernet/intel/igbvf/
Dmbx.c123 v2p_mailbox |= hw->dev_spec.vf.v2p_mailbox; in e1000_read_v2p_mailbox()
124 hw->dev_spec.vf.v2p_mailbox |= v2p_mailbox & E1000_V2PMAILBOX_R2C_BITS; in e1000_read_v2p_mailbox()
145 hw->dev_spec.vf.v2p_mailbox &= ~mask; in e1000_check_for_bit_vf()
Dvf.h229 } dev_spec; member
/drivers/net/ethernet/intel/igc/
Digc_base.c129 struct igc_dev_spec_base *dev_spec = &hw->dev_spec._base; in igc_init_mac_params_base() local
144 dev_spec->clear_semaphore_once = true; in igc_init_mac_params_base()
Digc_i225.c60 if (hw->dev_spec._base.clear_semaphore_once) { in igc_get_hw_semaphore_i225()
61 hw->dev_spec._base.clear_semaphore_once = false; in igc_get_hw_semaphore_i225()
516 if (hw->dev_spec._base.eee_enable) { in igc_set_eee_i225()
574 if (hw->dev_spec._base.eee_enable && in igc_set_ltr_i225()
Digc_hw.h206 } dev_spec; member
Digc_ethtool.c1554 if (hw->dev_spec._base.eee_enable) in igc_ethtool_get_eee()
1570 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1625 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1626 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
Digc_main.c4388 adapter->hw.dev_spec._base.eee_enable = false; in igc_watchdog_task()
5398 hw->dev_spec._base.eee_enable = false; in igc_probe()
/drivers/scsi/
Dscsi_debug.c2322 unsigned char dev_spec; in resp_mode_sense() local
2353 dev_spec = 0x10; /* =0x90 if WP=1 implies read-only */ in resp_mode_sense()
2355 dev_spec |= 0x80; in resp_mode_sense()
2357 dev_spec = 0x0; in resp_mode_sense()
2359 arr[2] = dev_spec; in resp_mode_sense()
2363 arr[3] = dev_spec; in resp_mode_sense()