Home
last modified time | relevance | path

Searched refs:range_id (Results 1 – 5 of 5) sorted by relevance

/linux/mm/
A Dmemremap.c75 struct range *range = &pgmap->ranges[range_id]; in pfn_first()
78 if (range_id) in pfn_first()
100 const struct range *range = &pgmap->ranges[range_id]; in pfn_end()
139 static void pageunmap_range(struct dev_pagemap *pgmap, int range_id) in pageunmap_range() argument
141 struct range *range = &pgmap->ranges[range_id]; in pageunmap_range()
145 first_page = pfn_to_page(pfn_first(pgmap, range_id)); in pageunmap_range()
198 int range_id, int nid) in pagemap_range() argument
201 struct range *range = &pgmap->ranges[range_id]; in pagemap_range()
205 if (WARN_ONCE(pgmap_altmap(pgmap) && range_id > 0, in pagemap_range()
298 percpu_ref_get_many(pgmap->ref, pfn_end(pgmap, range_id) in pagemap_range()
[all …]
/linux/drivers/dax/
A Dbus.c611 dev_dax->ranges[mapping->range_id].mapping = NULL; in unregister_dax_mapping()
612 mapping->range_id = -1; in unregister_dax_mapping()
625 if (mapping->range_id < 0) { in get_dax_range()
630 return &dev_dax->ranges[mapping->range_id]; in get_dax_range()
711 static int devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) in devm_register_dax_mapping() argument
727 mapping->range_id = range_id; in devm_register_dax_mapping()
733 dev_dax->ranges[range_id].mapping = mapping; in devm_register_dax_mapping()
A Ddax-private.h45 int range_id; member
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_main.c217 int range_id[IO_RANGES]; in sparx5_create_targets() local
224 range_id[idx] = jdx; in sparx5_create_targets()
243 begin[idx] = iomem[idx] - sparx5_main_iomap[range_id[idx]].offset; in sparx5_create_targets()
/linux/drivers/regulator/
A Dqcom_spmi-regulator.c615 int lim_min_uV, lim_max_uV, i, range_id, range_max_uV; in spmi_regulator_select_voltage() local
640 range_id = i; in spmi_regulator_select_voltage()
641 range = &vreg->set_points->range[range_id]; in spmi_regulator_select_voltage()
659 for (i = 0; i < range_id; i++) in spmi_regulator_select_voltage()

Completed in 18 milliseconds