Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_workarounds.c50 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_ttl_workaround_enabled_82541() local
58 state = dev_spec->ttl_workaround; in e1000_ttl_workaround_enabled_82541()
77 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_fifo_workaround_82547() local
132 dev_spec->tx_fifo_head = 0; in e1000_fifo_workaround_82547()
148 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_update_tx_fifo_head_82547() local
158 if (dev_spec->tx_fifo_head > dev_spec->tx_fifo_size) in e1000_update_tx_fifo_head_82547()
159 dev_spec->tx_fifo_head -= dev_spec->tx_fifo_size; in e1000_update_tx_fifo_head_82547()
173 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_set_ttl_workaround_state_82541() local
180 dev_spec->ttl_workaround = state; in e1000_set_ttl_workaround_state_82541()
199 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_igp_ttl_workaround_82547() local
[all …]
H A De1000g_osdep.c165 struct e1000_dev_spec_ich8lan *dev_spec; in e1000_destroy_hw_mutex() local
172 dev_spec = &hw->dev_spec.ich8lan; in e1000_destroy_hw_mutex()
173 E1000_MUTEX_DESTROY(&dev_spec->nvm_mutex); in e1000_destroy_hw_mutex()
174 E1000_MUTEX_DESTROY(&dev_spec->swflag_mutex); in e1000_destroy_hw_mutex()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82541.c377 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_init_hw_82541() local
392 &dev_spec->spd_default); in e1000_init_hw_82541()
536 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_setup_copper_link_82541() local
672 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_config_dsp_after_link_change_82541() local
1038 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_setup_led_82541() local
1049 (u16)(dev_spec->spd_default & in e1000_setup_led_82541()
1069 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_cleanup_led_82541() local
1075 dev_spec->spd_default); in e1000_cleanup_led_82541()
1093 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_phy_init_script_82541() local
1099 if (!dev_spec->phy_init_script) { in e1000_phy_init_script_82541()
[all …]
H A De1000_82543.c287 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_tbi_compatibility_enabled_82543() local
312 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_set_tbi_compatibility_82543() local
322 dev_spec->tbi_compatibility |= TBI_COMPAT_ENABLED; in e1000_set_tbi_compatibility_82543()
324 dev_spec->tbi_compatibility &= ~TBI_COMPAT_ENABLED; in e1000_set_tbi_compatibility_82543()
339 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_tbi_sbp_enabled_82543() local
364 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_set_tbi_sbp_82543() local
369 dev_spec->tbi_compatibility |= TBI_SBP_ENABLED; in e1000_set_tbi_sbp_82543()
371 dev_spec->tbi_compatibility &= ~TBI_SBP_ENABLED; in e1000_set_tbi_sbp_82543()
385 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_init_phy_disabled_82543() local
395 ret_val = dev_spec->init_phy_disabled; in e1000_init_phy_disabled_82543()
[all …]
H A De1000_ich8lan.c652 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
934 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
3554 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_read_nvm_spt() local
3647 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_read_nvm_ich8lan() local
4066 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_write_nvm_ich8lan() local
4103 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_update_nvm_checksum_spt() local
4272 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_update_nvm_checksum_ich8lan() local
5004 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_reset_hw_ich8lan() local
5503 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_kmrn_lock_loss_workaround_ich8lan() local
5566 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_kmrn_lock_loss_workaround_ich8lan() local
[all …]
H A De1000_82575.c418 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_init_mac_params_82575() local
439 dev_spec->eee_disable = TRUE; in e1000_init_mac_params_82575()
1527 hw->dev_spec._82575.mtu = 1500; in e1000_init_hw_82575()
1779 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_get_media_type_82575() local
1785 dev_spec->sgmii_active = FALSE; in e1000_get_media_type_82575()
1805 dev_spec->sgmii_active = TRUE; in e1000_get_media_type_82575()
1860 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_set_sfp_media_type_82575() local
1898 dev_spec->sgmii_active = TRUE; in e1000_set_sfp_media_type_82575()
1901 dev_spec->sgmii_active = TRUE; in e1000_set_sfp_media_type_82575()
1963 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_sgmii_active_82575() local
[all …]
H A De1000_82571.c146 E1000_MUTEX_INIT(&hw->dev_spec._82571.swflag_mutex); in e1000_init_phy_params_82571()
437 hw->dev_spec._82571.smb_counter = 0; in e1000_init_mac_params_82571()
530 if (hw->dev_spec._82571.smb_counter > 2) in e1000_get_hw_semaphore_82571()
545 hw->dev_spec._82571.smb_counter++; in e1000_get_hw_semaphore_82571()
656 E1000_MUTEX_LOCK(&hw->dev_spec._82571.swflag_mutex); in e1000_get_hw_semaphore_82574()
659 E1000_MUTEX_UNLOCK(&hw->dev_spec._82571.swflag_mutex); in e1000_get_hw_semaphore_82574()
675 E1000_MUTEX_UNLOCK(&hw->dev_spec._82571.swflag_mutex); in e1000_put_hw_semaphore_82574()
1853 return hw->dev_spec._82571.laa_is_present; in e1000_get_laa_state_82571()
1870 hw->dev_spec._82571.laa_is_present = state; in e1000_set_laa_state_82571()
H A De1000_82542.c246 struct e1000_dev_spec_82542 *dev_spec = &hw->dev_spec._82542; in e1000_init_hw_82542() local
288 if (dev_spec->dma_fairness) { in e1000_init_hw_82542()
H A De1000_mbx.c326 v2p_mailbox |= hw->dev_spec.vf.v2p_mailbox; in e1000_read_v2p_mailbox()
327 hw->dev_spec.vf.v2p_mailbox |= v2p_mailbox & E1000_V2PMAILBOX_R2C_BITS; in e1000_read_v2p_mailbox()
348 hw->dev_spec.vf.v2p_mailbox &= ~mask; in e1000_check_for_bit_vf()
H A DREADME.illumos94 396 dev_spec->eee_disable = FALSE;
98 396 dev_spec->eee_disable = TRUE;
H A De1000_80003es2lan.c503 if (hw->dev_spec._80003es2lan.mdic_wa_enable) { in e1000_read_phy_reg_gg82563_80003es2lan()
574 if (hw->dev_spec._80003es2lan.mdic_wa_enable) { in e1000_write_phy_reg_gg82563_80003es2lan()
967 hw->dev_spec._80003es2lan.mdic_wa_enable = TRUE; in e1000_init_hw_80003es2lan()
975 hw->dev_spec._80003es2lan.mdic_wa_enable = FALSE; in e1000_init_hw_80003es2lan()
H A De1000_vf.h273 } dev_spec; member
H A De1000_i210.c184 if (hw->dev_spec._82575.clear_semaphore_once) { in e1000_get_hw_semaphore_i210()
185 hw->dev_spec._82575.clear_semaphore_once = FALSE; in e1000_get_hw_semaphore_i210()
H A De1000_hw.h1096 } dev_spec; member
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_i225.c84 struct igc_dev_spec_i225 *dev_spec = &hw->dev_spec._i225; in igc_init_mac_params_i225() local
114 dev_spec->clear_semaphore_once = true; in igc_init_mac_params_i225()
392 if (hw->dev_spec._i225.clear_semaphore_once) { in igc_get_hw_semaphore_i225()
393 hw->dev_spec._i225.clear_semaphore_once = false; in igc_get_hw_semaphore_i225()
901 !(hw->dev_spec._i225.eee_disable) && in igc_set_ltr_i225()
937 size -= hw->dev_spec._i225.mtu; in igc_set_ltr_i225()
1175 if (!(hw->dev_spec._i225.eee_disable)) { in igc_set_eee_i225()
H A Digc_hw.h527 } dev_spec; member
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h116 uint16_t dev_spec; member
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c1436 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1443 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1588 value = !(igb->hw.dev_spec._82575.eee_disable); in igb_get_priv_prop()
H A Digb_main.c3378 hw->dev_spec._82575.global_device_reset in igb_stall_check()