Searched refs:per_idx (Results 1 – 1 of 1) sorted by relevance
40 uint32_t per_idx = id & 0x1F; in soc_pmc_peripheral_enable() local50 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() local76 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() local102 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()