Searched refs:mv88e6xxx_max_sid (Results 1 – 3 of 3) sorted by relevance
538 table = kcalloc(mv88e6xxx_max_sid(chip) + 1, in mv88e6xxx_region_stu_snapshot()545 stu.sid = mv88e6xxx_max_sid(chip); in mv88e6xxx_region_stu_snapshot()572 } while (stu.sid < mv88e6xxx_max_sid(chip)); in mv88e6xxx_region_stu_snapshot()800 size = (mv88e6xxx_max_sid(chip) + 1) * in mv88e6xxx_setup_devlink_regions_global()
767 static inline unsigned int mv88e6xxx_max_sid(struct mv88e6xxx_chip *chip) in mv88e6xxx_max_sid() function
1854 return (*sid >= mv88e6xxx_max_sid(chip)) ? -ENOSPC : 0; in mv88e6xxx_sid_get()