Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/e1000e/
H A Dich8lan.c309 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
620 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
676 dev_spec->shadow_ram[i].modified = false; in e1000_init_nvm_params_ich8lan()
677 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
842 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
873 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
876 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
888 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
891 if (adv & dev_spec->eee_lp_ability & I82579_EEE_100_SUPPORTED) { in e1000_set_eee_pchlan()
900 dev_spec->eee_lp_ability &= in e1000_set_eee_pchlan()
[all …]
H A D80003es2lan.c367 if (hw->dev_spec.e80003es2lan.mdic_wa_enable) { in e1000_read_phy_reg_gg82563_80003es2lan()
436 if (hw->dev_spec.e80003es2lan.mdic_wa_enable) { in e1000_write_phy_reg_gg82563_80003es2lan()
809 hw->dev_spec.e80003es2lan.mdic_wa_enable = true; in e1000_init_hw_80003es2lan()
817 hw->dev_spec.e80003es2lan.mdic_wa_enable = false; in e1000_init_hw_80003es2lan()
H A D82571.c307 hw->dev_spec.e82571.smb_counter = 0; in e1000_init_mac_params_82571()
447 if (hw->dev_spec.e82571.smb_counter > 2) in e1000_get_hw_semaphore_82571()
462 hw->dev_spec.e82571.smb_counter++; in e1000_get_hw_semaphore_82571()
1688 return hw->dev_spec.e82571.laa_is_present; in e1000e_get_laa_state_82571()
1703 hw->dev_spec.e82571.laa_is_present = state; in e1000e_set_laa_state_82571()
H A Dhw.h733 } dev_spec; member
H A Dnetdev.c4154 hw->dev_spec.ich8lan.eee_disable ? in e1000e_reset()
6714 adapter->eee_advert && hw->dev_spec.ich8lan.eee_lp_ability) { in __e1000_shutdown()
6723 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
6727 hw->dev_spec.ich8lan.eee_lp_ability & in __e1000_shutdown()
7014 eee_lp = adapter->hw.dev_spec.ich8lan.eee_lp_ability; in e1000e_pm_runtime_idle()
7017 adapter->hw.dev_spec.ich8lan.eee_lp_ability = eee_lp; in e1000e_pm_runtime_idle()
H A Dethtool.c2207 edata->eee_enabled = !hw->dev_spec.ich8lan.eee_disable; in e1000e_get_eee()
2254 hw->dev_spec.ich8lan.eee_disable = !edata->eee_enabled; in e1000e_set_eee()
/linux/drivers/net/ethernet/intel/igb/
H A 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()
405 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_init_mac_params_82575() local
455 dev_spec->eee_disable = false; in igb_init_mac_params_82575()
457 dev_spec->eee_disable = true; in igb_init_mac_params_82575()
460 dev_spec->clear_semaphore_once = true; in igb_init_mac_params_82575()
476 hw->dev_spec._82575.mas_capable = true; in igb_init_mac_params_82575()
494 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in igb_set_sfp_media_type_82575() local
495 struct e1000_sfp_flags *eth_flags = &dev_spec->eth_flags; in igb_set_sfp_media_type_82575()
[all …]
H A 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()
H A 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()
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()
3162 if (hw->dev_spec._82575.eee_disable != !edata->eee_enabled) { in igb_set_eee()
3163 hw->dev_spec._82575.eee_disable = !edata->eee_enabled; in igb_set_eee()
H A De1000_hw.h534 } dev_spec; member
H A Digb_main.c2135 (!hw->dev_spec._82575.eee_disable)) in igb_up()
3561 if (hw->dev_spec._82575.mas_capable) in igb_probe()
3609 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
3620 (!hw->dev_spec._82575.eee_disable)) { in igb_probe()
5530 if (hw->dev_spec._82575.media_changed) { in igb_watchdog_task()
5531 hw->dev_spec._82575.media_changed = false; in igb_watchdog_task()
5563 adapter->hw.dev_spec._82575.eee_disable = true; in igb_watchdog_task()
6571 hw->dev_spec._82575.global_device_reset = true; in igb_tx_timeout()
/linux/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c124 v2p_mailbox |= hw->dev_spec.vf.v2p_mailbox; in e1000_read_v2p_mailbox()
125 hw->dev_spec.vf.v2p_mailbox |= v2p_mailbox & E1000_V2PMAILBOX_R2C_BITS; in e1000_read_v2p_mailbox()
146 hw->dev_spec.vf.v2p_mailbox &= ~mask; in e1000_check_for_bit_vf()
H A Dvf.h229 } dev_spec; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_i225.c61 if (hw->dev_spec._base.clear_semaphore_once) { in igc_get_hw_semaphore_i225()
62 hw->dev_spec._base.clear_semaphore_once = false; in igc_get_hw_semaphore_i225()
515 if (hw->dev_spec._base.eee_enable) { in igc_set_eee_i225()
573 if (hw->dev_spec._base.eee_enable && in igc_set_ltr_i225()
H A Digc_base.c128 struct igc_dev_spec_base *dev_spec = &hw->dev_spec._base; in igc_init_mac_params_base() local
143 dev_spec->clear_semaphore_once = true; in igc_init_mac_params_base()
H A Digc_ethtool.c1719 edata->eee_enabled = hw->dev_spec._base.eee_enable; in igc_ethtool_get_eee()
1770 if (hw->dev_spec._base.eee_enable != edata->eee_enabled) { in igc_ethtool_set_eee()
1771 hw->dev_spec._base.eee_enable = edata->eee_enabled; in igc_ethtool_set_eee()
H A Digc_main.c5711 adapter->hw.dev_spec._base.eee_enable = false; in igc_watchdog_task()
7155 hw->dev_spec._base.eee_enable = false; in igc_probe()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c1028 u8 pgsz = tgt_dev->dev_spec.pcie_inf.pgsz ? : MPI3MR_DEFAULT_PGSZEXP; in mpi3mr_configure_nvme_dev()
1030 lim->max_hw_sectors = tgt_dev->dev_spec.pcie_inf.mdts / 512; in mpi3mr_configure_nvme_dev()
1038 (tgt_dev->dev_spec.pcie_inf.dev_info & in mpi3mr_configure_tgt_dev()
1221 tgtdev->dev_spec.sas_sata_inf.dev_info = dev_info; in mpi3mr_update_tgtdev()
1222 tgtdev->dev_spec.sas_sata_inf.sas_address = in mpi3mr_update_tgtdev()
1224 tgtdev->dev_spec.sas_sata_inf.phy_id = sasinf->phy_num; in mpi3mr_update_tgtdev()
1225 tgtdev->dev_spec.sas_sata_inf.attached_phy_id = in mpi3mr_update_tgtdev()
1240 if (tgtdev->dev_spec.sas_sata_inf.hba_port) in mpi3mr_update_tgtdev()
1241 tgtdev->dev_spec.sas_sata_inf.hba_port->port_id = in mpi3mr_update_tgtdev()
1251 tgtdev->dev_spec.pcie_inf.dev_info = dev_info; in mpi3mr_update_tgtdev()
[all …]
H A 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()
1421 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 1; in mpi3mr_sas_port_add()
1453 tgtdev->dev_spec.sas_sata_inf.rphy = rphy; in mpi3mr_sas_port_add()
1468 tgtdev->dev_spec.sas_sata_inf.pend_sas_rphy_add = 0; in mpi3mr_sas_port_add()
1469 tgtdev->dev_spec.sas_sata_inf.sas_transport_attached = 1; in mpi3mr_sas_port_add()
2300 phy_number = tgtdev->dev_spec.sas_sata_inf.phy_id; in mpi3mr_get_sas_negotiated_logical_linkrate()
2364 sas_address = tgtdev->dev_spec.sas_sata_inf.sas_address; in mpi3mr_report_tgtdev_to_sas_transport()
[all …]
H A Dmpi3mr_app.c1994 if (tgtdev->dev_spec.pcie_inf.pgsz == 0) { in mpi3mr_build_nvme_prp()
2002 dev_pgsz = 1 << (tgtdev->dev_spec.pcie_inf.pgsz); in mpi3mr_build_nvme_prp()
3199 (unsigned long long)tgtdev->dev_spec.sas_sata_inf.sas_address); in sas_address_show()
H A Dmpi3mr.h758 union _form_spec_inf dev_spec; member
/linux/drivers/scsi/
H A Dscsi_debug.c2738 unsigned char dev_spec; in resp_mode_sense() local
2771 dev_spec = 0x10; /* =0x90 if WP=1 implies read-only */ in resp_mode_sense()
2773 dev_spec |= 0x80; in resp_mode_sense()
2775 dev_spec = 0x0; in resp_mode_sense()
2777 arr[2] = dev_spec; in resp_mode_sense()
2781 arr[3] = dev_spec; in resp_mode_sense()