Searched refs:PERIPHERAL_MASK (Results 1 – 1 of 1) sorted by relevance
29 #define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX)) macro67 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_enable()82 regmap_write(periph->regmap, offset, PERIPHERAL_MASK(id)); in clk_peripheral_disable()98 return status & PERIPHERAL_MASK(id) ? 1 : 0; in clk_peripheral_is_enabled()