Lines Matching refs:vid
43 u16 vid; member
80 struct mlxsw_sp_port *port, u16 vid);
82 struct mlxsw_sp_port *port, u16 vid);
349 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_map() argument
353 return fid->fid_family->ops->port_vid_map(fid, mlxsw_sp_port, vid); in mlxsw_sp_fid_port_vid_map()
357 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_port_vid_unmap() argument
359 fid->fid_family->ops->port_vid_unmap(fid, mlxsw_sp_port, vid); in mlxsw_sp_fid_port_vid_unmap()
399 return mlxsw_sp_fid_8021q_fid(fid)->vid; in mlxsw_sp_fid_8021q_vid()
404 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_setup() local
406 mlxsw_sp_fid_8021q_fid(fid)->vid = vid; in mlxsw_sp_fid_8021q_setup()
441 u16 vid, bool valid) in mlxsw_sp_fid_vid_map() argument
446 mlxsw_reg_svfa_pack(svfa_pl, 0, mt, valid, fid_index, vid); in mlxsw_sp_fid_vid_map()
451 u8 local_port, u16 vid, bool valid) in __mlxsw_sp_fid_port_vid_map() argument
456 mlxsw_reg_svfa_pack(svfa_pl, local_port, mt, valid, fid_index, vid); in __mlxsw_sp_fid_port_vid_map()
471 err = mlxsw_sp_fid_vid_map(mlxsw_sp, fid->fid_index, fid_8021q->vid, in mlxsw_sp_fid_8021q_configure()
489 mlxsw_sp_fid_vid_map(mlxsw_sp, fid->fid_index, fid_8021q->vid, false); in mlxsw_sp_fid_8021q_deconfigure()
497 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_index_alloc() local
500 if (vid < fid_family->start_index || vid > fid_family->end_index) in mlxsw_sp_fid_8021q_index_alloc()
502 *p_fid_index = vid; in mlxsw_sp_fid_8021q_index_alloc()
510 u16 vid = *(u16 *) arg; in mlxsw_sp_fid_8021q_compare() local
512 return mlxsw_sp_fid_8021q_fid(fid)->vid == vid; in mlxsw_sp_fid_8021q_compare()
522 u16 vid) in mlxsw_sp_fid_8021q_port_vid_map() argument
534 vid, true); in mlxsw_sp_fid_8021q_port_vid_map()
539 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021q_port_vid_unmap() argument
546 __mlxsw_sp_fid_port_vid_map(mlxsw_sp, fid->fid_index, local_port, vid, in mlxsw_sp_fid_8021q_port_vid_unmap()
658 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local
665 vid, true); in mlxsw_sp_port_vp_mode_trans()
681 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vp_mode_trans() local
687 mlxsw_sp_port->local_port, vid, in mlxsw_sp_port_vp_mode_trans()
703 u16 vid = mlxsw_sp_port_vlan->vid; in mlxsw_sp_port_vlan_mode_trans() local
709 mlxsw_sp_port->local_port, vid, in mlxsw_sp_port_vlan_mode_trans()
716 u16 vid) in mlxsw_sp_fid_8021d_port_vid_map() argument
723 mlxsw_sp_port->local_port, vid, true); in mlxsw_sp_fid_8021d_port_vid_map()
738 mlxsw_sp_port->local_port, vid, false); in mlxsw_sp_fid_8021d_port_vid_map()
744 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_8021d_port_vid_unmap() argument
753 mlxsw_sp_port->local_port, vid, false); in mlxsw_sp_fid_8021d_port_vid_unmap()
919 u16 vid) in mlxsw_sp_fid_rfid_port_vid_map() argument
943 struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) in mlxsw_sp_fid_rfid_port_vid_unmap() argument
1108 struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_get(struct mlxsw_sp *mlxsw_sp, u16 vid) in mlxsw_sp_fid_8021q_get() argument
1110 return mlxsw_sp_fid_get(mlxsw_sp, MLXSW_SP_FID_TYPE_8021Q, &vid); in mlxsw_sp_fid_8021q_get()
1120 u16 vid) in mlxsw_sp_fid_8021q_lookup() argument
1122 return mlxsw_sp_fid_lookup(mlxsw_sp, MLXSW_SP_FID_TYPE_8021Q, &vid); in mlxsw_sp_fid_8021q_lookup()