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