• Home
  • Raw
  • Download

Lines Matching refs:ds

31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id,  in mv88e6xxx_devlink_param_get()  argument
34 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_get()
53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() argument
56 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_set()
81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() argument
83 return dsa_devlink_params_register(ds, mv88e6xxx_devlink_params, in mv88e6xxx_setup_devlink_params()
87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() argument
89 dsa_devlink_params_unregister(ds, mv88e6xxx_devlink_params, in mv88e6xxx_teardown_devlink_params()
176 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources() argument
179 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_setup_devlink_resources()
187 err = dsa_devlink_resource_register(ds, "ATU", in mv88e6xxx_setup_devlink_resources()
200 err = dsa_devlink_resource_register(ds, "ATU_bin_0", in mv88e6xxx_setup_devlink_resources()
208 err = dsa_devlink_resource_register(ds, "ATU_bin_1", in mv88e6xxx_setup_devlink_resources()
216 err = dsa_devlink_resource_register(ds, "ATU_bin_2", in mv88e6xxx_setup_devlink_resources()
224 err = dsa_devlink_resource_register(ds, "ATU_bin_3", in mv88e6xxx_setup_devlink_resources()
232 dsa_devlink_resource_occ_get_register(ds, in mv88e6xxx_setup_devlink_resources()
237 dsa_devlink_resource_occ_get_register(ds, in mv88e6xxx_setup_devlink_resources()
242 dsa_devlink_resource_occ_get_register(ds, in mv88e6xxx_setup_devlink_resources()
247 dsa_devlink_resource_occ_get_register(ds, in mv88e6xxx_setup_devlink_resources()
252 dsa_devlink_resource_occ_get_register(ds, in mv88e6xxx_setup_devlink_resources()
260 dsa_devlink_resources_unregister(ds); in mv88e6xxx_setup_devlink_resources()
270 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_global_snapshot() local
271 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_region_global_snapshot()
376 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_atu_snapshot() local
379 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_region_atu_snapshot()
425 struct dsa_switch *ds = dsa_devlink_port_to_ds(devlink_port); in mv88e6xxx_region_port_snapshot() local
427 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_region_port_snapshot()
519 static int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, in mv88e6xxx_setup_devlink_regions_port() argument
525 region = dsa_devlink_port_region_create(ds, in mv88e6xxx_setup_devlink_regions_port()
546 static int mv88e6xxx_setup_devlink_regions_ports(struct dsa_switch *ds, in mv88e6xxx_setup_devlink_regions_ports() argument
553 err = mv88e6xxx_setup_devlink_regions_port(ds, chip, port); in mv88e6xxx_setup_devlink_regions_ports()
567 static int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds, in mv88e6xxx_setup_devlink_regions_global() argument
583 region = dsa_devlink_region_create(ds, ops, 1, size); in mv88e6xxx_setup_devlink_regions_global()
597 int mv88e6xxx_setup_devlink_regions(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_regions() argument
599 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_setup_devlink_regions()
602 err = mv88e6xxx_setup_devlink_regions_global(ds, chip); in mv88e6xxx_setup_devlink_regions()
606 err = mv88e6xxx_setup_devlink_regions_ports(ds, chip); in mv88e6xxx_setup_devlink_regions()
613 void mv88e6xxx_teardown_devlink_regions(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_regions() argument
615 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_teardown_devlink_regions()
621 int mv88e6xxx_devlink_info_get(struct dsa_switch *ds, in mv88e6xxx_devlink_info_get() argument
625 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_info_get()