Searched refs:mv88e6xxx_num_databases (Results 1 – 6 of 6) sorted by relevance
137 if (mv88e6xxx_num_databases(chip) > 256) { in mv88e6xxx_g1_atu_op()142 if (mv88e6xxx_num_databases(chip) > 64) { in mv88e6xxx_g1_atu_op()154 } else if (mv88e6xxx_num_databases(chip) > 16) { in mv88e6xxx_g1_atu_op()181 if (mv88e6xxx_num_databases(chip) > 256) { in mv88e6xxx_g1_atu_fid_read()190 if (mv88e6xxx_num_databases(chip) > 64) { in mv88e6xxx_g1_atu_fid_read()198 } 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()
1048 const u16 upper_mask = (mv88e6xxx_num_databases(chip) - 1) >> 4; in mv88e6xxx_port_get_fid()1074 const u16 upper_mask = (mv88e6xxx_num_databases(chip) - 1) >> 4; in mv88e6xxx_port_set_fid()1078 if (fid >= mv88e6xxx_num_databases(chip)) in mv88e6xxx_port_set_fid()
313 entry->fid &= mv88e6xxx_num_databases(chip) - 1; in mv88e6185_g1_vtu_getnext()
747 static inline unsigned int mv88e6xxx_num_databases(struct mv88e6xxx_chip *chip) in mv88e6xxx_num_databases() function
1808 if (unlikely(*fid >= mv88e6xxx_num_databases(chip))) in mv88e6xxx_atu_new()