Home
last modified time | relevance | path

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

/titanic_44/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
97 if ((dev_spec->tx_fifo_head + fifo_pkt_len) < in e1000_fifo_workaround_82547()
98 (dev_spec->tx_fifo_size + E1000_FIFO_PAD_82547)) in e1000_fifo_workaround_82547()
123 E1000_WRITE_REG(hw, E1000_TDFT, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
124 E1000_WRITE_REG(hw, E1000_TDFH, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
125 E1000_WRITE_REG(hw, E1000_TDFTS, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
126 E1000_WRITE_REG(hw, E1000_TDFHS, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
132 dev_spec->tx_fifo_head = 0; in e1000_fifo_workaround_82547()
[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()
/titanic_44/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
550 dev_spec->dsp_config = e1000_dsp_config_disabled; in e1000_setup_copper_link_82541()
553 dev_spec->dsp_config = e1000_dsp_config_enabled; in e1000_setup_copper_link_82541()
561 if (dev_spec->ffe_config == e1000_ffe_config_active) in e1000_setup_copper_link_82541()
562 dev_spec->ffe_config = e1000_ffe_config_enabled; in e1000_setup_copper_link_82541()
672 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_config_dsp_after_link_change_82541() local
701 if ((dev_spec->dsp_config == e1000_dsp_config_enabled) && in e1000_config_dsp_after_link_change_82541()
719 dev_spec->dsp_config = e1000_dsp_config_activated; in e1000_config_dsp_after_link_change_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
297 state = !!(dev_spec->tbi_compatibility & TBI_COMPAT_ENABLED); in e1000_tbi_compatibility_enabled_82543()
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
349 state = !!(dev_spec->tbi_compatibility & TBI_SBP_ENABLED); in e1000_tbi_sbp_enabled_82543()
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()
[all …]
H A De1000_ich8lan.c332 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
635 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
694 dev_spec->shadow_ram[i].modified = FALSE; in e1000_init_nvm_params_ich8lan()
695 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
698 E1000_MUTEX_INIT(&dev_spec->nvm_mutex); in e1000_init_nvm_params_ich8lan()
699 E1000_MUTEX_INIT(&dev_spec->swflag_mutex); in e1000_init_nvm_params_ich8lan()
909 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
942 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
945 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
957 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
[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()
443 dev_spec->clear_semaphore_once = TRUE; in e1000_init_mac_params_82575()
1268 if (port && (hw->dev_spec._82575.media_port != port)) { in e1000_check_for_link_media_swap()
1269 hw->dev_spec._82575.media_port = port; in e1000_check_for_link_media_swap()
1270 hw->dev_spec._82575.media_changed = TRUE; in e1000_check_for_link_media_swap()
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()
1786 dev_spec->module_plugged = FALSE; in e1000_get_media_type_82575()
[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.illumos87 396 dev_spec->eee_disable = FALSE;
91 396 dev_spec->eee_disable = TRUE;
H A De1000_vf.h273 } dev_spec; member
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_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.h1011 } dev_spec; member
/titanic_44/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h116 uint16_t dev_spec; member
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_gld.c1447 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1454 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1599 value = !(igb->hw.dev_spec._82575.eee_disable); in igb_get_priv_prop()
H A Digb_main.c3333 hw->dev_spec._82575.global_device_reset in igb_stall_check()