Lines Matching refs:first_sw
4955 pf->first_sw = kzalloc(sizeof(*pf->first_sw), GFP_KERNEL); in ice_init_pf_sw()
4956 if (!pf->first_sw) in ice_init_pf_sw()
4960 pf->first_sw->bridge_mode = BRIDGE_MODE_VEB; in ice_init_pf_sw()
4962 pf->first_sw->bridge_mode = BRIDGE_MODE_VEPA; in ice_init_pf_sw()
4964 pf->first_sw->pf = pf; in ice_init_pf_sw()
4967 pf->first_sw->sw_id = pf->hw.port_info->sw_id; in ice_init_pf_sw()
4983 kfree(pf->first_sw); in ice_init_pf_sw()
4995 kfree(pf->first_sw); in ice_deinit_pf_sw()
8075 bmode = pf->first_sw->bridge_mode; in ice_bridge_getlink()
8149 pf_sw = pf->first_sw; in ice_bridge_setlink()
8698 sw_id = pf->first_sw->sw_id; in ice_setup_channel()