Home
last modified time | relevance | path

Searched refs:range_map (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x.c48 int32_t bmi08x_range_to_reg_val(uint16_t range, const struct bmi08x_range *range_map, in bmi08x_range_to_reg_val() argument
54 if (range <= range_map[i].range) { in bmi08x_range_to_reg_val()
55 return range_map[i].reg_val; in bmi08x_range_to_reg_val()
62 int32_t bmi08x_reg_val_to_range(uint8_t reg_val, const struct bmi08x_range *range_map, in bmi08x_reg_val_to_range() argument
68 if (reg_val == range_map[i].reg_val) { in bmi08x_reg_val_to_range()
69 return range_map[i].range; in bmi08x_reg_val_to_range()
Dbmi08x.h549 int32_t bmi08x_range_to_reg_val(uint16_t range, const struct bmi08x_range *range_map,
551 int32_t bmi08x_reg_val_to_range(uint8_t reg_val, const struct bmi08x_range *range_map,
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c317 const struct bmi160_range *range_map, in bmi160_range_to_reg_val() argument
323 if (range <= range_map[i].range) { in bmi160_range_to_reg_val()
324 return range_map[i].reg_val; in bmi160_range_to_reg_val()
333 const struct bmi160_range *range_map, in bmi160_reg_val_to_range() argument
339 if (reg_val == range_map[i].reg_val) { in bmi160_reg_val_to_range()
340 return range_map[i].range; in bmi160_reg_val_to_range()
/Zephyr-latest/arch/x86/core/
Dx86_mmu.c1167 static int range_map(void *virt, uintptr_t phys, size_t size, in range_map() function
1242 ret = range_map(virt, phys, size, entry_flags, mask, options); in range_map_unlocked()
2102 ret = range_map(addr, location, CONFIG_MMU_PAGE_SIZE, MMU_A, mask, in arch_mem_page_out()
2114 ret = range_map(addr, phys, CONFIG_MMU_PAGE_SIZE, MMU_P, mask, in arch_mem_page_in()