Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_workarounds.c37 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_ttl_workaround_enabled_82541() local
45 state = dev_spec->ttl_workaround; in e1000_ttl_workaround_enabled_82541()
64 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_fifo_workaround_82547() local
84 if ((dev_spec->tx_fifo_head + fifo_pkt_len) < in e1000_fifo_workaround_82547()
85 (dev_spec->tx_fifo_size + E1000_FIFO_PAD_82547)) in e1000_fifo_workaround_82547()
110 E1000_WRITE_REG(hw, E1000_TDFT, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
111 E1000_WRITE_REG(hw, E1000_TDFH, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
112 E1000_WRITE_REG(hw, E1000_TDFTS, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
113 E1000_WRITE_REG(hw, E1000_TDFHS, dev_spec->tx_fifo_start); in e1000_fifo_workaround_82547()
119 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_41/usr/src/uts/common/io/e1000api/
H A De1000_82541.c381 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_init_hw_82541() local
397 &dev_spec->spd_default); in e1000_init_hw_82541()
541 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_setup_copper_link_82541() local
554 dev_spec->dsp_config = e1000_dsp_config_disabled; in e1000_setup_copper_link_82541()
557 dev_spec->dsp_config = e1000_dsp_config_enabled; in e1000_setup_copper_link_82541()
565 if (dev_spec->ffe_config == e1000_ffe_config_active) in e1000_setup_copper_link_82541()
566 dev_spec->ffe_config = e1000_ffe_config_enabled; in e1000_setup_copper_link_82541()
677 struct e1000_dev_spec_82541 *dev_spec = &hw->dev_spec._82541; in e1000_config_dsp_after_link_change_82541() local
706 if ((dev_spec->dsp_config == e1000_dsp_config_enabled) && in e1000_config_dsp_after_link_change_82541()
724 dev_spec->dsp_config = e1000_dsp_config_activated; in e1000_config_dsp_after_link_change_82541()
[all …]
H A De1000_82543.c288 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_tbi_compatibility_enabled_82543() local
298 state = (dev_spec->tbi_compatibility & TBI_COMPAT_ENABLED) in e1000_tbi_compatibility_enabled_82543()
314 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_set_tbi_compatibility_82543() local
324 dev_spec->tbi_compatibility |= TBI_COMPAT_ENABLED; in e1000_set_tbi_compatibility_82543()
326 dev_spec->tbi_compatibility &= ~TBI_COMPAT_ENABLED; in e1000_set_tbi_compatibility_82543()
341 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_tbi_sbp_enabled_82543() local
351 state = (dev_spec->tbi_compatibility & TBI_SBP_ENABLED) in e1000_tbi_sbp_enabled_82543()
367 struct e1000_dev_spec_82543 *dev_spec = &hw->dev_spec._82543; in e1000_set_tbi_sbp_82543() local
372 dev_spec->tbi_compatibility |= TBI_SBP_ENABLED; in e1000_set_tbi_sbp_82543()
374 dev_spec->tbi_compatibility &= ~TBI_SBP_ENABLED; in e1000_set_tbi_sbp_82543()
[all …]
H A De1000_ich8lan.c316 hw->dev_spec.ich8lan.ulp_state = e1000_ulp_state_unknown; in e1000_init_phy_workarounds_pchlan()
617 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_init_nvm_params_ich8lan() local
655 dev_spec->shadow_ram[i].modified = FALSE; in e1000_init_nvm_params_ich8lan()
656 dev_spec->shadow_ram[i].value = 0xFFFF; in e1000_init_nvm_params_ich8lan()
659 E1000_MUTEX_INIT(&dev_spec->nvm_mutex); in e1000_init_nvm_params_ich8lan()
660 E1000_MUTEX_INIT(&dev_spec->swflag_mutex); in e1000_init_nvm_params_ich8lan()
862 struct e1000_dev_spec_ich8lan *dev_spec = &hw->dev_spec.ich8lan; in e1000_set_eee_pchlan() local
895 if (!dev_spec->eee_disable) { in e1000_set_eee_pchlan()
898 &dev_spec->eee_lp_ability); in e1000_set_eee_pchlan()
910 if (adv & dev_spec->eee_lp_ability & I82579_EEE_1000_SUPPORTED) in e1000_set_eee_pchlan()
[all …]
H A De1000_82575.c413 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_init_mac_params_82575() local
434 dev_spec->eee_disable = TRUE; in e1000_init_mac_params_82575()
438 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()
1515 hw->dev_spec._82575.mtu = 1500; in e1000_init_hw_82575()
1767 struct e1000_dev_spec_82575 *dev_spec = &hw->dev_spec._82575; in e1000_get_media_type_82575() local
1773 dev_spec->sgmii_active = FALSE; in e1000_get_media_type_82575()
1774 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.c244 struct e1000_dev_spec_82542 *dev_spec = &hw->dev_spec._82542; in e1000_init_hw_82542() local
286 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.illumos109 396 dev_spec->eee_disable = FALSE;
113 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()
954 hw->dev_spec._80003es2lan.mdic_wa_enable = TRUE; in e1000_init_hw_80003es2lan()
962 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.h1009 } dev_spec; member
/titanic_41/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h116 uint16_t dev_spec; member
/titanic_41/usr/src/uts/common/io/igb/
H A Digb_gld.c1376 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1382 hw->dev_spec._82575.eee_disable = !result; in igb_set_priv_prop()
1526 value = !(igb->hw.dev_spec._82575.eee_disable); in igb_get_priv_prop()
H A Digb_main.c3327 hw->dev_spec._82575.global_device_reset in igb_stall_check()