Lines Matching refs:first_sw
4769 pf->first_sw = kzalloc(sizeof(*pf->first_sw), GFP_KERNEL); in ice_init_pf_sw()
4770 if (!pf->first_sw) in ice_init_pf_sw()
4774 pf->first_sw->bridge_mode = BRIDGE_MODE_VEB; in ice_init_pf_sw()
4776 pf->first_sw->bridge_mode = BRIDGE_MODE_VEPA; in ice_init_pf_sw()
4778 pf->first_sw->pf = pf; in ice_init_pf_sw()
4781 pf->first_sw->sw_id = pf->hw.port_info->sw_id; in ice_init_pf_sw()
4797 kfree(pf->first_sw); in ice_init_pf_sw()
4809 kfree(pf->first_sw); in ice_deinit_pf_sw()
7712 bmode = pf->first_sw->bridge_mode; in ice_bridge_getlink()
7786 pf_sw = pf->first_sw; in ice_bridge_setlink()
8337 sw_id = pf->first_sw->sw_id; in ice_setup_channel()