Home
last modified time | relevance | path

Searched refs:curr_width (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c250 unsigned long r_width, f_width, curr_width, ncomb; in get_config_reg() local
265 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in get_config_reg()
267 curr_width = f_width; in get_config_reg()
269 curr_width = config_reg->var_field_width[m]; in get_config_reg()
271 ncomb = 1 << curr_width; in get_config_reg()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c199 unsigned int curr_width; in sh_pfc_get_config_reg() local
207 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width) { in sh_pfc_get_config_reg()
212 curr_width = f_width; in sh_pfc_get_config_reg()
214 curr_width = config_reg->var_field_width[m]; in sh_pfc_get_config_reg()
216 ncomb = 1 << curr_width; in sh_pfc_get_config_reg()
/openbmc/linux/drivers/pinctrl/renesas/
H A Dcore.c256 unsigned int curr_width; in sh_pfc_get_config_reg() local
264 for (bit_pos = 0; bit_pos < r_width; bit_pos += curr_width, m++) { in sh_pfc_get_config_reg()
269 curr_width = f_width; in sh_pfc_get_config_reg()
271 curr_width = abs(config_reg->var_field_width[m]); in sh_pfc_get_config_reg()
276 ncomb = 1 << curr_width; in sh_pfc_get_config_reg()