Home
last modified time | relevance | path

Searched refs:ports_bm (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c1828 struct mlxsw_sp_ports_bitmap *ports_bm) in mlxsw_sp_bridge_port_get_ports_bitmap() argument
1835 set_bit(bridge_port->system_port, ports_bm->bitmap); in mlxsw_sp_bridge_port_get_ports_bitmap()
1845 ports_bm->bitmap); in mlxsw_sp_bridge_port_get_ports_bitmap()
1867 struct mlxsw_sp_ports_bitmap *ports_bm, in mlxsw_sp_mc_mdb_mrouters_add() argument
1871 unsigned int nbits = ports_bm->nbits; in mlxsw_sp_mc_mdb_mrouters_add()
1874 for_each_set_bit(i, ports_bm->bitmap, nbits) { in mlxsw_sp_mc_mdb_mrouters_add()
1887 for_each_set_bit(i, ports_bm->bitmap, nbits) in mlxsw_sp_mc_mdb_mrouters_add()
1893 struct mlxsw_sp_ports_bitmap *ports_bm, in mlxsw_sp_mc_mdb_mrouters_del() argument
1898 for_each_set_bit(i, ports_bm->bitmap, ports_bm->nbits) in mlxsw_sp_mc_mdb_mrouters_del()
1907 struct mlxsw_sp_ports_bitmap ports_bm; in mlxsw_sp_mc_mdb_mrouters_set() local
[all …]
Dspectrum.h399 struct mlxsw_sp_ports_bitmap *ports_bm) in mlxsw_sp_port_bitmap_init() argument
403 ports_bm->nbits = nbits; in mlxsw_sp_port_bitmap_init()
404 ports_bm->bitmap = bitmap_zalloc(nbits, GFP_KERNEL); in mlxsw_sp_port_bitmap_init()
405 if (!ports_bm->bitmap) in mlxsw_sp_port_bitmap_init()
412 mlxsw_sp_port_bitmap_fini(struct mlxsw_sp_ports_bitmap *ports_bm) in mlxsw_sp_port_bitmap_fini() argument
414 bitmap_free(ports_bm->bitmap); in mlxsw_sp_port_bitmap_fini()