Lines Matching refs:reg_width
140 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
142 switch (reg_width) { in sh_pfc_read_raw_reg()
155 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
158 switch (reg_width) { in sh_pfc_write_raw_reg()
200 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
203 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
221 crp->reg, value, field, crp->reg_width, hweight32(mask)); in sh_pfc_write_config_reg()
226 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg()
235 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg()
247 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
854 n = cfg_reg->reg_width / cfg_reg->field_width; in sh_pfc_check_cfg_reg()
867 if (rw != cfg_reg->reg_width) in sh_pfc_check_cfg_reg()
869 cfg_reg->reg, rw, cfg_reg->reg_width); in sh_pfc_check_cfg_reg()
1025 info->data_regs[i].reg_width); in sh_pfc_check_info()