Lines Matching defs:width
21 #define selector_clear_exists(sel) ((sel)->width = 0)
196 * shifting to produce field masks, and shifting a full word width
199 static bool bitfield_valid(u32 shift, u32 width, const char *field_name,
204 if (!width) {
205 pr_err("%s: bad %s field width 0 for %s\n", __func__,
209 if (shift + width > limit) {
211 field_name, clock_name, shift, width, limit);
294 if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name))
310 limit = (1 << sel->width) - 1;
315 sel->width);
332 * the width of the fraction must not be no more than the width of
347 if (!bitfield_valid(div->u.s.shift, div->u.s.width,
352 if (div->u.s.frac_width > div->u.s.width) {
353 pr_warn("%s: bad %s fraction width for %s (%u > %u)\n",
355 div->u.s.frac_width, div->u.s.width);