Searched refs:mv88e6xxx_num_databases (Results 1 – 6 of 6) sorted by relevance
138 if (mv88e6xxx_num_databases(chip) > 256) { in mv88e6xxx_g1_atu_op()143 if (mv88e6xxx_num_databases(chip) > 64) { in mv88e6xxx_g1_atu_op()155 } else if (mv88e6xxx_num_databases(chip) > 16) { in mv88e6xxx_g1_atu_op()182 if (mv88e6xxx_num_databases(chip) > 256) { in mv88e6xxx_g1_atu_fid_read()191 if (mv88e6xxx_num_databases(chip) > 64) { in mv88e6xxx_g1_atu_fid_read()199 } else if (mv88e6xxx_num_databases(chip) > 16) { in mv88e6xxx_g1_atu_fid_read()
382 table = kmalloc_array(mv88e6xxx_num_databases(chip), in mv88e6xxx_region_atu_snapshot()388 memset(table, 0, mv88e6xxx_num_databases(chip) * in mv88e6xxx_region_atu_snapshot()792 size = mv88e6xxx_num_databases(chip) * in mv88e6xxx_setup_devlink_regions_global()
1033 const u16 upper_mask = (mv88e6xxx_num_databases(chip) - 1) >> 4; in mv88e6xxx_port_get_fid()1059 const u16 upper_mask = (mv88e6xxx_num_databases(chip) - 1) >> 4; in mv88e6xxx_port_set_fid()1063 if (fid >= mv88e6xxx_num_databases(chip)) in mv88e6xxx_port_set_fid()
313 entry->fid &= mv88e6xxx_num_databases(chip) - 1; in mv88e6185_g1_vtu_getnext()
764 static inline unsigned int mv88e6xxx_num_databases(struct mv88e6xxx_chip *chip) in mv88e6xxx_num_databases() function
1826 if (unlikely(*fid >= mv88e6xxx_num_databases(chip))) in mv88e6xxx_atu_new()