Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dich8lan.c302 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()
[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.h731 } dev_spec; member
Dnetdev.c4162 hw->dev_spec.ich8lan.eee_disable ? in e1000e_reset()
6708 adapter->eee_advert && hw->dev_spec.ich8lan.eee_lp_ability) { in __e1000_shutdown()
6717 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
6721 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
7009 eee_lp = adapter->hw.dev_spec.ich8lan.eee_lp_ability; in e1000e_pm_runtime_idle()
7012 adapter->hw.dev_spec.ich8lan.eee_lp_ability = eee_lp; in e1000e_pm_runtime_idle()
Dethtool.c2252 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2294 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/linux-6.6.21/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 …]
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()
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()
3046 if (!hw->dev_spec._82575.eee_disable) in igb_get_eee()
3092 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3160 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3161 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
De1000_hw.h534 } dev_spec; member
Digb_main.c2158 (!hw->dev_spec._82575.eee_disable)) in igb_up()
3578 if (hw->dev_spec._82575.mas_capable) in igb_probe()
3626 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
3637 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
5546 if (hw->dev_spec._82575.media_changed) { in igb_watchdog_task()
5547 hw->dev_spec._82575.media_changed = false; in igb_watchdog_task()
5579 adapter->hw.dev_spec._82575.eee_disable = true; in igb_watchdog_task()
6587 hw->dev_spec._82575.global_device_reset = true; in igb_tx_timeout()
/linux-6.6.21/drivers/scsi/mpi3mr/
Dmpi3mr_os.c1012 if ((tgtdev->dev_spec.pcie_inf.dev_info & in mpi3mr_update_sdev()
1016 tgtdev->dev_spec.pcie_inf.mdts / 512); in mpi3mr_update_sdev()
1017 if (tgtdev->dev_spec.pcie_inf.pgsz == 0) in mpi3mr_update_sdev()
1022 ((1 << tgtdev->dev_spec.pcie_inf.pgsz) - 1)); in mpi3mr_update_sdev()
1180 tgtdev->dev_spec.sas_sata_inf.dev_info = dev_info; in mpi3mr_update_tgtdev()
1181 tgtdev->dev_spec.sas_sata_inf.sas_address = in mpi3mr_update_tgtdev()
1183 tgtdev->dev_spec.sas_sata_inf.phy_id = sasinf->phy_num; in mpi3mr_update_tgtdev()
1184 tgtdev->dev_spec.sas_sata_inf.attached_phy_id = in mpi3mr_update_tgtdev()
1199 if (tgtdev->dev_spec.sas_sata_inf.hba_port) in mpi3mr_update_tgtdev()
1200 tgtdev->dev_spec.sas_sata_inf.hba_port->port_id = in mpi3mr_update_tgtdev()
[all …]
Dmpi3mr_transport.c347 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr()
348 && (tgtdev->dev_spec.sas_sata_inf.hba_port == hba_port)) in __mpi3mr_get_tgtdev_by_addr()
446 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
447 && (tgtdev->dev_spec.sas_sata_inf.rphy == rphy)) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
1387 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 1; in mpi3mr_sas_port_add()
1419 tgtdev->dev_spec.sas_sata_inf.rphy = rphy; in mpi3mr_sas_port_add()
1434 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 0; in mpi3mr_sas_port_add()
1435 tgtdev->dev_spec.sas_sata_inf.sas_transport_attached = 1; in mpi3mr_sas_port_add()
2261 phy_number = tgtdev->dev_spec.sas_sata_inf.phy_id; in mpi3mr_get_sas_negotiated_logical_linkrate()
2325 sas_address = tgtdev->dev_spec.sas_sata_inf.sas_address; in mpi3mr_report_tgtdev_to_sas_transport()
[all …]
Dmpi3mr_app.c748 if (tgtdev->dev_spec.pcie_inf.pgsz == 0) { in mpi3mr_build_nvme_prp()
756 dev_pgsz = 1 << (tgtdev->dev_spec.pcie_inf.pgsz); in mpi3mr_build_nvme_prp()
1787 (unsigned long long)tgtdev->dev_spec.sas_sata_inf.sas_address); in sas_address_show()
Dmpi3mr.h711 union _form_spec_inf dev_spec; member
/linux-6.6.21/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
/linux-6.6.21/drivers/net/ethernet/intel/igc/
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()
514 if (hw->dev_spec._base.eee_enable) { in igc_set_eee_i225()
572 if (hw->dev_spec._base.eee_enable && in igc_set_ltr_i225()
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_hw.h194 } dev_spec; member
Digc_ethtool.c1632 if (hw->dev_spec._base.eee_enable) in igc_ethtool_get_eee()
1648 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1703 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1704 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
Digc_main.c5623 adapter->hw.dev_spec._base.eee_enable = false; in igc_watchdog_task()
6955 hw->dev_spec._base.eee_enable = false; in igc_probe()
/linux-6.6.21/drivers/scsi/
Dscsi_debug.c2331 unsigned char dev_spec; in resp_mode_sense() local
2362 dev_spec = 0x10; /* =0x90 if WP=1 implies read-only */ in resp_mode_sense()
2364 dev_spec |= 0x80; in resp_mode_sense()
2366 dev_spec = 0x0; in resp_mode_sense()
2368 arr[2] = dev_spec; in resp_mode_sense()
2372 arr[3] = dev_spec; in resp_mode_sense()