Lines Matching defs:val
318 static void omap2_apll_set_autoidle(struct clk_hw_omap *clk, u32 val)
325 v |= val << __ffs(ad->autoidle_mask);
355 u32 val;
381 if (of_property_read_u32(node, "ti,clock-frequency", &val)) {
385 clk_hw->fixed_rate = val;
387 if (of_property_read_u32(node, "ti,bit-shift", &val)) {
392 clk_hw->enable_bit = val;
393 ad->enable_mask = 0x3 << val;
394 ad->autoidle_mask = 0x3 << val;
396 if (of_property_read_u32(node, "ti,idlest-shift", &val)) {
401 ad->idlest_mask = 1 << val;