Lines Matching defs:reg_width
139 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width)
141 switch (reg_width) {
154 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width,
157 switch (reg_width) {
211 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width);
214 *posp = crp->reg_width;
232 crp->reg, value, field, crp->reg_width, hweight32(mask));
237 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width);
242 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data);
254 unsigned int r_width = config_reg->reg_width;
884 GENMASK(cfg_reg->reg_width - 1, 0));
888 n = (cfg_reg->reg_width / fw) << fw;
894 if ((r << fw) * sizeof(u16) > cfg_reg->reg_width / fw)
914 if (rw != cfg_reg->reg_width)
916 cfg_reg->reg, rw, cfg_reg->reg_width);
1241 GENMASK(info->data_regs[i].reg_width - 1, 0));
1244 info->data_regs[i].reg_width);