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