Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/clk/at91/
H A Dclk-peripheral.c15 #define PERIPHERAL_ID_MAX 31 macro
16 #define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX))
67 if (clk->id > PERIPHERAL_ID_MAX) in periph_clk_enable()
/openbmc/linux/drivers/clk/at91/
H A Dclk-peripheral.c19 #define PERIPHERAL_ID_MAX 31 macro
20 #define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX))
56 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_enable()
71 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_disable()
85 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_is_enabled()
108 if (!name || !(parent_name || parent_hw) || id > PERIPHERAL_ID_MAX) in at91_clk_register_peripheral()