Lines Matching refs:field_width
87 unsigned long field_width, unsigned long in_pos)
92 mask = (1 << field_width) - 1;
93 pos = reg_width - ((in_pos + 1) * field_width);
97 reg, pos, reg_width, field_width);
104 unsigned long field_width, unsigned long in_pos,
109 mask = (1 << field_width) - 1;
110 pos = reg_width - ((in_pos + 1) * field_width);
114 reg, value, pos, reg_width, field_width);
214 f_width = config_reg->field_width;
268 ncomb = 1 << crp->field_width;
272 gpio_write_reg(crp->reg, crp->reg_width, crp->field_width, pos, value);
281 ncomb = 1 << crp->field_width;
286 crp->field_width, pos) == value)