/drivers/pinctrl/renesas/ |
D | core.h | 19 int sh_pfc_register_gpiochip(struct sh_pfc *pfc); 21 int sh_pfc_register_pinctrl(struct sh_pfc *pfc); 26 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg); 27 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data); 29 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin); 30 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type); 33 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
|
D | gpio.c | 30 struct sh_pfc *pfc; 38 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 75 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() 97 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() 133 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_request() 200 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_to_irq() 217 struct sh_pfc *pfc = chip->pfc; in gpio_pin_setup() 255 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_function_request() 275 struct sh_pfc *pfc = chip->pfc; in gpio_function_setup() 294 sh_pfc_add_gpiochip(struct sh_pfc *pfc, int(*setup)(struct sh_pfc_chip *), in sh_pfc_add_gpiochip() [all …]
|
D | core.c | 30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() 87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt() 110 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index() 172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() 177 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write() 187 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper() 208 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg() 237 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg() 283 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() 306 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() [all …]
|
D | pinctrl.c | 38 struct sh_pfc *pfc; 346 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_func_set_mux() 393 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_request_enable() 427 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_disable_free() 445 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_set_direction() 483 static u32 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc, in sh_pfc_pinconf_find_drive_strength_reg() 506 static int sh_pfc_pinconf_get_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_get_drive_strength() 531 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_set_drive_strength() 569 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() 600 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_get() [all …]
|
D | sh_pfc.h | 242 struct sh_pfc { struct 262 int (*init)(struct sh_pfc *pfc); argument 263 unsigned int (*get_bias)(struct sh_pfc *pfc, unsigned int pin); 264 void (*set_bias)(struct sh_pfc *pfc, unsigned int pin, 266 int (*pin_to_pocctrl)(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl);
|
D | pfc-sh73a0.c | 4232 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_endisable() 4265 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_is_enabled() 4323 static unsigned int sh73a0_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in sh73a0_pinmux_get_bias() 4340 static void sh73a0_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in sh73a0_pinmux_set_bias() 4363 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc) in sh73a0_pinmux_soc_init()
|
D | pfc-r8a7740.c | 3689 static void __iomem *r8a7740_pinmux_portcr(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_portcr() 3704 static unsigned int r8a7740_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_get_bias() 3720 static void r8a7740_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7740_pinmux_set_bias()
|
D | pfc-r8a73a4.c | 2663 static unsigned int r8a73a4_pinmux_get_bias(struct sh_pfc *pfc, in r8a73a4_pinmux_get_bias() 2681 static void r8a73a4_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a73a4_pinmux_set_bias()
|
D | pfc-r8a77990.c | 5004 static int r8a77990_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77990_pin_to_pocctrl() 5228 static unsigned int r8a77990_pinmux_get_bias(struct sh_pfc *pfc, in r8a77990_pinmux_get_bias() 5246 static void r8a77990_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77990_pinmux_set_bias()
|
D | pfc-r8a7778.c | 3119 static unsigned int r8a7778_pinmux_get_bias(struct sh_pfc *pfc, in r8a7778_pinmux_get_bias() 3138 static void r8a7778_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7778_pinmux_set_bias()
|
D | pfc-r8a77950.c | 5564 static int r8a77950_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77950_pin_to_pocctrl() 5822 static unsigned int r8a77950_pinmux_get_bias(struct sh_pfc *pfc, in r8a77950_pinmux_get_bias() 5840 static void r8a77950_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77950_pinmux_set_bias()
|
D | pfc-r8a77951.c | 5935 static int r8a77951_pin_to_pocctrl(struct sh_pfc *pfc, in r8a77951_pin_to_pocctrl() 6193 static unsigned int r8a77951_pinmux_get_bias(struct sh_pfc *pfc, in r8a77951_pinmux_get_bias() 6211 static void r8a77951_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77951_pinmux_set_bias()
|
D | pfc-r8a7796.c | 5884 static int r8a7796_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7796_pin_to_pocctrl() 6141 static unsigned int r8a7796_pinmux_get_bias(struct sh_pfc *pfc, in r8a7796_pinmux_get_bias() 6159 static void r8a7796_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7796_pinmux_set_bias()
|
D | pfc-r8a77965.c | 6137 static int r8a77965_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a77965_pin_to_pocctrl() 6394 static unsigned int r8a77965_pinmux_get_bias(struct sh_pfc *pfc, in r8a77965_pinmux_get_bias() 6412 static void r8a77965_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77965_pinmux_set_bias()
|
D | pfc-r8a7794.c | 5564 static int r8a7794_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7794_pin_to_pocctrl() 5588 static int r8a7794_pinmux_soc_init(struct sh_pfc *pfc) in r8a7794_pinmux_soc_init()
|
D | pfc-r8a7790.c | 5841 static int r8a7790_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7790_pin_to_pocctrl() 5856 static int r8a7790_pinmux_soc_init(struct sh_pfc *pfc) in r8a7790_pinmux_soc_init()
|
D | pfc-r8a77970.c | 2480 static int r8a77970_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77970_pin_to_pocctrl()
|
D | pfc-r8a77995.c | 2826 static int r8a77995_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a77995_pin_to_pocctrl()
|
D | pfc-r8a77470.c | 3404 static int r8a77470_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77470_pin_to_pocctrl()
|
D | pfc-r8a77980.c | 2924 static int r8a77980_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77980_pin_to_pocctrl()
|
D | pfc-r8a7791.c | 6620 static int r8a7791_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7791_pin_to_pocctrl()
|