Searched refs:fid_bitmap (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | devlink.c | 377 DECLARE_BITMAP(fid_bitmap, MV88E6XXX_N_FID); in mv88e6xxx_region_atu_snapshot() 395 err = mv88e6xxx_fid_map(chip, fid_bitmap); in mv88e6xxx_region_atu_snapshot() 402 fid = find_next_bit(fid_bitmap, MV88E6XXX_N_FID, fid + 1); in mv88e6xxx_region_atu_snapshot()
|
D | chip.c | 1936 unsigned long *fid_bitmap = _fid_bitmap; in mv88e6xxx_fid_map_vlan() local 1938 set_bit(entry->fid, fid_bitmap); in mv88e6xxx_fid_map_vlan() 1942 int mv88e6xxx_fid_map(struct mv88e6xxx_chip *chip, unsigned long *fid_bitmap) in mv88e6xxx_fid_map() argument 1944 bitmap_zero(fid_bitmap, MV88E6XXX_N_FID); in mv88e6xxx_fid_map() 1949 return mv88e6xxx_vtu_walk(chip, mv88e6xxx_fid_map_vlan, fid_bitmap); in mv88e6xxx_fid_map() 1954 DECLARE_BITMAP(fid_bitmap, MV88E6XXX_N_FID); in mv88e6xxx_atu_new() 1957 err = mv88e6xxx_fid_map(chip, fid_bitmap); in mv88e6xxx_atu_new() 1961 *fid = find_first_zero_bit(fid_bitmap, MV88E6XXX_N_FID); in mv88e6xxx_atu_new()
|