Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dich8lan.c302 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
597 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
653 dev_spec->shadow_ram[i].modified = false; in e1000_init_nvm_params_ich8lan()
654 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
817 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
848 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
851 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
863 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
866 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) { in e1000_set_eee_pchlan()
875 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.h719 } dev_spec; member
Dnetdev.c4166 hw->dev_spec.ich8lan.eee_disable ? in e1000e_reset()
6735 adapter->eee_advert && hw->dev_spec.ich8lan.eee_lp_ability) { in __e1000_shutdown()
6744 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
6748 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
7036 eee_lp = adapter->hw.dev_spec.ich8lan.eee_lp_ability; in e1000e_pm_runtime_idle()
7039 adapter->hw.dev_spec.ich8lan.eee_lp_ability = eee_lp; in e1000e_pm_runtime_idle()
Dethtool.c2240 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2282 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/linux-6.1.9/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()
2021 if (adapter->hw.dev_spec._82575.mas_capable) in igb_diag_test()
3039 if (!hw->dev_spec._82575.eee_disable) in igb_get_eee()
3085 edata->eee_enabled = !hw->dev_spec._82575.eee_disable; in igb_get_eee()
3153 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3154 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()
3533 if (hw->dev_spec._82575.mas_capable) in igb_probe()
3581 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
3592 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
5463 if (hw->dev_spec._82575.media_changed) { in igb_watchdog_task()
5464 hw->dev_spec._82575.media_changed = false; in igb_watchdog_task()
5496 adapter->hw.dev_spec._82575.eee_disable = true; in igb_watchdog_task()
6504 hw->dev_spec._82575.global_device_reset = true; in igb_tx_timeout()
/linux-6.1.9/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.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c999 if ((tgtdev->dev_spec.pcie_inf.dev_info & in mpi3mr_update_sdev()
1003 tgtdev->dev_spec.pcie_inf.mdts / 512); in mpi3mr_update_sdev()
1004 if (tgtdev->dev_spec.pcie_inf.pgsz == 0) in mpi3mr_update_sdev()
1009 ((1 << tgtdev->dev_spec.pcie_inf.pgsz) - 1)); in mpi3mr_update_sdev()
1130 tgtdev->dev_spec.sas_sata_inf.dev_info = dev_info; in mpi3mr_update_tgtdev()
1131 tgtdev->dev_spec.sas_sata_inf.sas_address = in mpi3mr_update_tgtdev()
1133 tgtdev->dev_spec.sas_sata_inf.phy_id = sasinf->phy_num; in mpi3mr_update_tgtdev()
1134 tgtdev->dev_spec.sas_sata_inf.attached_phy_id = in mpi3mr_update_tgtdev()
1149 if (tgtdev->dev_spec.sas_sata_inf.hba_port) in mpi3mr_update_tgtdev()
1150 tgtdev->dev_spec.sas_sata_inf.hba_port->port_id = in mpi3mr_update_tgtdev()
[all …]
Dmpi3mr_transport.c350 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr()
351 && (tgtdev->dev_spec.sas_sata_inf.hba_port == hba_port)) in __mpi3mr_get_tgtdev_by_addr()
449 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
450 && (tgtdev->dev_spec.sas_sata_inf.rphy == rphy)) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
1390 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 1; in mpi3mr_sas_port_add()
1422 tgtdev->dev_spec.sas_sata_inf.rphy = rphy; in mpi3mr_sas_port_add()
1437 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 0; in mpi3mr_sas_port_add()
1438 tgtdev->dev_spec.sas_sata_inf.sas_transport_attached = 1; in mpi3mr_sas_port_add()
2263 phy_number = tgtdev->dev_spec.sas_sata_inf.phy_id; in mpi3mr_get_sas_negotiated_logical_linkrate()
2327 sas_address = tgtdev->dev_spec.sas_sata_inf.sas_address; in mpi3mr_report_tgtdev_to_sas_transport()
[all …]
Dmpi3mr_app.c740 if (tgtdev->dev_spec.pcie_inf.pgsz == 0) { in mpi3mr_build_nvme_prp()
748 dev_pgsz = 1 << (tgtdev->dev_spec.pcie_inf.pgsz); in mpi3mr_build_nvme_prp()
1776 (unsigned long long)tgtdev->dev_spec.sas_sata_inf.sas_address); in sas_address_show()
Dmpi3mr.h699 union _form_spec_inf dev_spec; member
/linux-6.1.9/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()
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_hw.h194 } dev_spec; member
Digc_ethtool.c1588 if (hw->dev_spec._base.eee_enable) in igc_ethtool_get_eee()
1604 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1659 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1660 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
Digc_main.c5480 adapter->hw.dev_spec._base.eee_enable = false; in igc_watchdog_task()
6613 hw->dev_spec._base.eee_enable = false; in igc_probe()
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c2343 unsigned char dev_spec; in resp_mode_sense() local
2374 dev_spec = 0x10; /* =0x90 if WP=1 implies read-only */ in resp_mode_sense()
2376 dev_spec |= 0x80; in resp_mode_sense()
2378 dev_spec = 0x0; in resp_mode_sense()
2380 arr[2] = dev_spec; in resp_mode_sense()
2384 arr[3] = dev_spec; in resp_mode_sense()