Searched refs:field_prep (Results 1 – 3 of 3) sorted by relevance
102 #define field_prep(_mask, _val) (((_val) << (ffs(_mask) - 1)) & (_mask)) macro
51 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_enable()
172 field_prep(periph->layout->div_mask, periph->div) | in clk_sam9x5_peripheral_enable()