Home
last modified time | relevance | path

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

/Zephyr-latest/soc/atmel/sam/common/
Dsoc_sam4l_pm.c40 uint32_t per_idx = id & 0x1F; in soc_pmc_peripheral_enable() local
50 if (per_idx >= bridge_peripheral_instances[bus_id]) { in soc_pmc_peripheral_enable()
55 mask |= (1U << per_idx); in soc_pmc_peripheral_enable()
66 uint32_t per_idx = id & 0x1F; in soc_pmc_peripheral_disable() local
76 if (per_idx >= bridge_peripheral_instances[bus_id]) { in soc_pmc_peripheral_disable()
81 mask &= ~(1U << per_idx); in soc_pmc_peripheral_disable()
92 uint32_t per_idx = id & 0x1F; in soc_pmc_peripheral_is_enabled() local
102 if (per_idx >= bridge_peripheral_instances[bus_id]) { in soc_pmc_peripheral_is_enabled()
108 return ((mask & (1U << per_idx)) > 0); in soc_pmc_peripheral_is_enabled()