Lines Matching full:limit
29 u32 limit; in ccu_data_offsets_valid() local
31 limit = ccu->range - sizeof(u32); in ccu_data_offsets_valid()
32 limit = round_down(limit, sizeof(u32)); in ccu_data_offsets_valid()
34 if (ccu_policy->enable.offset > limit) { in ccu_data_offsets_valid()
37 ccu->name, ccu_policy->enable.offset, limit); in ccu_data_offsets_valid()
40 if (ccu_policy->control.offset > limit) { in ccu_data_offsets_valid()
43 ccu->name, ccu_policy->control.offset, limit); in ccu_data_offsets_valid()
88 u32 limit; in peri_clk_data_offsets_valid() local
95 limit = range - sizeof(u32); in peri_clk_data_offsets_valid()
96 limit = round_down(limit, sizeof(u32)); in peri_clk_data_offsets_valid()
100 if (policy->offset > limit) { in peri_clk_data_offsets_valid()
102 __func__, name, policy->offset, limit); in peri_clk_data_offsets_valid()
110 if (gate->offset > limit) { in peri_clk_data_offsets_valid()
112 __func__, name, gate->offset, limit); in peri_clk_data_offsets_valid()
117 if (hyst->offset > limit) { in peri_clk_data_offsets_valid()
120 name, hyst->offset, limit); in peri_clk_data_offsets_valid()
131 if (div->u.s.offset > limit) { in peri_clk_data_offsets_valid()
133 __func__, name, div->u.s.offset, limit); in peri_clk_data_offsets_valid()
140 if (div->u.s.offset > limit) { in peri_clk_data_offsets_valid()
143 __func__, name, div->u.s.offset, limit); in peri_clk_data_offsets_valid()
150 if (sel->offset > limit) { in peri_clk_data_offsets_valid()
152 __func__, name, sel->offset, limit); in peri_clk_data_offsets_valid()
159 if (trig->offset > limit) { in peri_clk_data_offsets_valid()
161 __func__, name, trig->offset, limit); in peri_clk_data_offsets_valid()
168 if (trig->offset > limit) { in peri_clk_data_offsets_valid()
170 __func__, name, trig->offset, limit); in peri_clk_data_offsets_valid()
182 u32 limit = BITS_PER_BYTE * sizeof(u32) - 1; in bit_posn_valid() local
184 if (bit_posn > limit) { in bit_posn_valid()
186 field_name, clock_name, bit_posn, limit); in bit_posn_valid()
202 u32 limit = BITS_PER_BYTE * sizeof(u32); in bitfield_valid() local
209 if (shift + width > limit) { in bitfield_valid()
211 field_name, clock_name, shift, width, limit); in bitfield_valid()
299 u32 limit; in sel_valid() local
310 limit = (1 << sel->width) - 1; in sel_valid()
311 if (max_sel > limit) { in sel_valid()
373 u32 limit; in kona_dividers_valid() local
385 limit = BITS_PER_BYTE * sizeof(u32); in kona_dividers_valid()
387 return div->u.s.frac_width + pre_div->u.s.frac_width <= limit; in kona_dividers_valid()
566 /* Avoid exceeding our parent clock limit */ in parent_process()