Searched refs:r_width (Results 1 – 2 of 2) sorted by relevance
/drivers/pinctrl/renesas/ |
D | sh_pfc.h | 128 #define PINMUX_CFG_REG(name, r, r_width, f_width, ids) \ argument 129 .reg = r, .reg_width = r_width, \ 130 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \ 132 (r_width / f_width) << f_width), \ 133 .enum_ids = (const u16 [(r_width / f_width) << f_width]) { ids } 148 #define PINMUX_CFG_REG_VAR(name, r, r_width, f_widths, ids) \ argument 149 .reg = r, .reg_width = r_width, \ 198 #define PINMUX_DATA_REG(name, r, r_width, ids) \ argument 199 .reg = r, .reg_width = r_width + \ 201 r_width), \ [all …]
|
D | core.c | 254 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg() local 261 if (!r_width) in sh_pfc_get_config_reg() 264 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width, m++) { in sh_pfc_get_config_reg()
|