Lines Matching defs:width
13 #define selector_clear_exists(sel) ((sel)->width = 0)
188 * shifting to produce field masks, and shifting a full word width
191 static bool bitfield_valid(u32 shift, u32 width, const char *field_name,
196 if (!width) {
197 pr_err("%s: bad %s field width 0 for %s\n", __func__,
201 if (shift + width > limit) {
203 field_name, clock_name, shift, width, limit);
286 if (!bitfield_valid(sel->shift, sel->width, field_name, clock_name))
302 limit = (1 << sel->width) - 1;
307 sel->width);
324 * the width of the fraction must not be no more than the width of
339 if (!bitfield_valid(div->u.s.shift, div->u.s.width,
344 if (div->u.s.frac_width > div->u.s.width) {
345 pr_warn("%s: bad %s fraction width for %s (%u > %u)\n",
347 div->u.s.frac_width, div->u.s.width);