Searched refs:range_id (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/mm/ |
D | memremap.c | 72 static unsigned long pfn_first(struct dev_pagemap *pgmap, int range_id) in pfn_first() argument 74 struct range *range = &pgmap->ranges[range_id]; in pfn_first() 77 if (range_id) in pfn_first() 97 static unsigned long pfn_end(struct dev_pagemap *pgmap, int range_id) in pfn_end() argument 99 const struct range *range = &pgmap->ranges[range_id]; in pfn_end() 104 static unsigned long pfn_len(struct dev_pagemap *pgmap, unsigned long range_id) in pfn_len() argument 106 return (pfn_end(pgmap, range_id) - in pfn_len() 107 pfn_first(pgmap, range_id)) >> pgmap->vmemmap_shift; in pfn_len() 110 static void pageunmap_range(struct dev_pagemap *pgmap, int range_id) in pageunmap_range() argument 112 struct range *range = &pgmap->ranges[range_id]; in pageunmap_range() [all …]
|
/linux-6.1.9/drivers/dax/ |
D | dax-private.h | 45 int range_id; member
|
D | bus.c | 641 dev_dax->ranges[mapping->range_id].mapping = NULL; in unregister_dax_mapping() 642 mapping->range_id = -1; in unregister_dax_mapping() 655 if (mapping->range_id < 0) { in get_dax_range() 660 return &dev_dax->ranges[mapping->range_id]; in get_dax_range() 741 static int devm_register_dax_mapping(struct dev_dax *dev_dax, int range_id) in devm_register_dax_mapping() argument 757 mapping->range_id = range_id; in devm_register_dax_mapping() 763 dev_dax->ranges[range_id].mapping = mapping; in devm_register_dax_mapping()
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_main.c | 219 int range_id[IO_RANGES]; in sparx5_create_targets() local 226 range_id[idx] = jdx; in sparx5_create_targets() 245 begin[idx] = iomem[idx] - sparx5_main_iomap[range_id[idx]].offset; in sparx5_create_targets()
|
/linux-6.1.9/drivers/regulator/ |
D | qcom_spmi-regulator.c | 671 int lim_min_uV, lim_max_uV, i, range_id, range_max_uV; in spmi_regulator_select_voltage() local 696 range_id = i; in spmi_regulator_select_voltage() 697 range = &vreg->set_points->range[range_id]; in spmi_regulator_select_voltage() 715 for (i = 0; i < range_id; i++) in spmi_regulator_select_voltage()
|