Searched refs:r_width (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 141 #define PINMUX_CFG_REG(name, r, r_width, f_width, ids) \ argument 142 .reg = r, .reg_width = r_width, \ 143 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \ 145 (r_width / f_width) * (1 << f_width)), \ 146 .enum_ids = (const u16 [(r_width / f_width) * (1 << f_width)]) \ 161 #define PINMUX_CFG_REG_VAR(name, r, r_width, f_widths, ids) \ argument 162 .reg = r, .reg_width = r_width, \ 211 #define PINMUX_DATA_REG(name, r, r_width, ids) \ argument 212 .reg = r, .reg_width = r_width + \ 214 r_width), \ [all …]
|
D | core.c | 247 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg() local 254 if (!r_width) in sh_pfc_get_config_reg() 257 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in sh_pfc_get_config_reg()
|