/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.c | 309 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 D | 80003es2lan.c | 367 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 D | 82571.c | 307 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 D | hw.h | 733 } dev_spec; member
|
H A D | netdev.c | 4154 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 D | ethtool.c | 2207 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 D | e1000_82575.c | 152 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 D | e1000_i210.c | 42 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 D | igb_ethtool.c | 140 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 D | e1000_hw.h | 534 } dev_spec; member
|
H A D | igb_main.c | 2135 (!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 D | mbx.c | 124 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 D | vf.h | 229 } dev_spec; member
|
/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_i225.c | 61 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 D | igc_base.c | 128 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 D | igc_ethtool.c | 1719 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 D | igc_main.c | 5711 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 D | mpi3mr_os.c | 1028 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 D | mpi3mr_transport.c | 350 (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 D | mpi3mr_app.c | 1994 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 D | mpi3mr.h | 758 union _form_spec_inf dev_spec; member
|
/linux/drivers/scsi/ |
H A D | scsi_debug.c | 2738 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()
|