Searched refs:hw_p (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fflp.c | 261 p_nxge_hw_list_t hw_p; in nxge_fflp_tcam_invalidate_all() local 272 MUTEX_ENTER(&hw_p->nxge_tcam_lock); in nxge_fflp_tcam_invalidate_all() 276 MUTEX_EXIT(&hw_p->nxge_tcam_lock); in nxge_fflp_tcam_invalidate_all() 282 MUTEX_EXIT(&hw_p->nxge_tcam_lock); in nxge_fflp_tcam_invalidate_all() 1274 p_nxge_hw_list_t hw_p; in nxge_add_tcam_entry() local 1521 MUTEX_EXIT(&hw_p->nxge_tcam_lock); in nxge_add_tcam_entry() 1525 MUTEX_EXIT(&hw_p->nxge_tcam_lock); in nxge_add_tcam_entry() 1539 p_nxge_hw_list_t hw_p; in nxge_tcam_handle_ip_fragment() local 1613 MUTEX_EXIT(&hw_p->nxge_tcam_lock); in nxge_tcam_handle_ip_fragment() 1952 p_nxge_hw_list_t hw_p; in nxge_fflp_config_vlan_table() local [all …]
|
H A D | nxge_main.c | 6661 for (hw_p = nxge_hw_list; hw_p; hw_p = hw_p->next) { in nxge_init_common_dev() 6666 hw_p, in nxge_init_common_dev() 6670 hw_p->ndevs++; in nxge_init_common_dev() 6677 hw_p, in nxge_init_common_dev() 6699 hw_p->ndevs++; in nxge_init_common_dev() 6781 for (hw_p = nxge_hw_list; hw_p; hw_p = hw_p->next) { in nxge_uninit_common_dev() 6793 hw_p, in nxge_uninit_common_dev() 6833 hw_p, in nxge_uninit_common_dev() 6846 hw_p, in nxge_uninit_common_dev() 6857 hw_p, in nxge_uninit_common_dev() [all …]
|
H A D | nxge_mac.c | 7827 hw_p->niu_type = in nxge_scan_ports_phy() 7849 hw_p->niu_type = in nxge_scan_ports_phy() 7918 hw_p->platform_type = in nxge_scan_ports_phy() 7922 hw_p->platform_type = in nxge_scan_ports_phy() 8030 hw_p->niu_type = in nxge_scan_ports_phy() 8083 hw_p->niu_type = in nxge_scan_ports_phy() 8128 hw_p->niu_type in nxge_scan_ports_phy() 8191 hw_p->niu_type in nxge_scan_ports_phy() 8194 hw_p->niu_type in nxge_scan_ports_phy() 8208 hw_p->niu_type = in nxge_scan_ports_phy() [all …]
|
H A D | nxge_hw.c | 121 p_nxge_hw_list_t hw_p; in nxge_hw_init_niu_common() local 125 if ((hw_p = nxgep->nxge_hw_p) == NULL) { in nxge_hw_init_niu_common() 128 MUTEX_ENTER(&hw_p->nxge_cfg_lock); in nxge_hw_init_niu_common() 129 if (hw_p->flags & COMMON_INIT_DONE) { in nxge_hw_init_niu_common() 133 hw_p->parent_devp, nxgep->function_num)); in nxge_hw_init_niu_common() 134 MUTEX_EXIT(&hw_p->nxge_cfg_lock); in nxge_hw_init_niu_common() 138 hw_p->flags = COMMON_INIT_START; in nxge_hw_init_niu_common() 141 hw_p->parent_devp, nxgep->function_num)); in nxge_hw_init_niu_common() 181 hw_p->flags = COMMON_INIT_DONE; in nxge_hw_init_niu_common() 182 MUTEX_EXIT(&hw_p->nxge_cfg_lock); in nxge_hw_init_niu_common() [all …]
|
H A D | nxge_virtual.c | 1615 p_nxge_hw_list_t hw_p; in nxge_get_config_properties() local 1622 if ((hw_p = nxgep->nxge_hw_p) == NULL) { in nxge_get_config_properties() 1669 MUTEX_ENTER(&hw_p->nxge_cfg_lock); in nxge_get_config_properties() 1670 if ((hw_p->flags & COMMON_CFG_VALID) != in nxge_get_config_properties() 1676 hw_p->flags |= COMMON_CFG_VALID; in nxge_get_config_properties() 1678 MUTEX_EXIT(&hw_p->nxge_cfg_lock); in nxge_get_config_properties() 1692 MUTEX_ENTER(&hw_p->nxge_cfg_lock); in nxge_get_config_properties() 1693 if ((hw_p->flags & COMMON_CFG_VALID) != in nxge_get_config_properties() 1703 hw_p->flags |= COMMON_CFG_VALID; in nxge_get_config_properties() 1705 MUTEX_EXIT(&hw_p->nxge_cfg_lock); in nxge_get_config_properties()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_hw.c | 78 p_hxge_hw_list_t hw_p; in hxge_hw_init_niu_common() local 82 if ((hw_p = hxgep->hxge_hw_p) == NULL) { in hxge_hw_init_niu_common() 86 MUTEX_ENTER(&hw_p->hxge_cfg_lock); in hxge_hw_init_niu_common() 87 if (hw_p->flags & COMMON_INIT_DONE) { in hxge_hw_init_niu_common() 89 " already done for dip $%p exiting", hw_p->parent_devp)); in hxge_hw_init_niu_common() 90 MUTEX_EXIT(&hw_p->hxge_cfg_lock); in hxge_hw_init_niu_common() 94 hw_p->flags = COMMON_INIT_START; in hxge_hw_init_niu_common() 97 hw_p->parent_devp)); in hxge_hw_init_niu_common() 100 hw_p->flags = COMMON_INIT_DONE; in hxge_hw_init_niu_common() 101 MUTEX_EXIT(&hw_p->hxge_cfg_lock); in hxge_hw_init_niu_common() [all …]
|
H A D | hxge_main.c | 4294 for (hw_p = hxge_hw_list; hw_p; hw_p = hw_p->next) { in hxge_init_common_dev() 4300 hw_p->ndevs++; in hxge_init_common_dev() 4305 hw_p, p_dip, hw_p->ndevs)); in hxge_init_common_dev() 4317 hw_p->ndevs++; in hxge_init_common_dev() 4350 for (hw_p = hxge_hw_list; hw_p; hw_p = hw_p->next) { in hxge_uninit_common_dev() 4358 hw_p, p_dip, hw_p->ndevs)); in hxge_uninit_common_dev() 4362 hw_p->ndevs--; in hxge_uninit_common_dev() 4372 hw_p, p_dip, hw_p->ndevs)); in hxge_uninit_common_dev() 4380 hw_p, p_dip, hw_p->ndevs)); in hxge_uninit_common_dev() 4388 hw_p, p_dip, hw_p->ndevs)); in hxge_uninit_common_dev() [all …]
|
H A D | hxge_pfc.c | 171 p_hxge_hw_list_t hw_p; in hxge_tcam_default_add_entry() local 203 MUTEX_ENTER(&hw_p->hxge_tcam_lock); in hxge_tcam_default_add_entry() 206 MUTEX_EXIT(&hw_p->hxge_tcam_lock); in hxge_tcam_default_add_entry() 227 MUTEX_EXIT(&hw_p->hxge_tcam_lock); in hxge_tcam_default_add_entry() 238 MUTEX_EXIT(&hw_p->hxge_tcam_lock); in hxge_tcam_default_add_entry() 687 p_hxge_hw_list_t hw_p; in hxge_pfc_tcam_invalidate_all() local 698 MUTEX_ENTER(&hw_p->hxge_tcam_lock); in hxge_pfc_tcam_invalidate_all() 700 MUTEX_EXIT(&hw_p->hxge_tcam_lock); in hxge_pfc_tcam_invalidate_all() 751 p_hxge_hw_list_t hw_p; in hxge_pfc_vlan_tbl_clear_all() local 762 MUTEX_ENTER(&hw_p->hxge_vlan_lock); in hxge_pfc_vlan_tbl_clear_all() [all …]
|