/Linux-v4.19/drivers/pinctrl/sh-pfc/ |
D | core.h | 22 int sh_pfc_register_gpiochip(struct sh_pfc *pfc); 24 int sh_pfc_register_pinctrl(struct sh_pfc *pfc); 29 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg); 30 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data); 32 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin); 33 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type); 36 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin,
|
D | core.c | 32 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() 94 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt() 117 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index() 179 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read() 184 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write() 194 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper() 215 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg() 244 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg() 290 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() 313 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() [all …]
|
D | gpio.c | 33 struct sh_pfc *pfc; 41 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 78 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() 100 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() 136 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_request() 203 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_to_irq() 223 struct sh_pfc *pfc = chip->pfc; in gpio_pin_setup() 262 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_function_request() 286 struct sh_pfc *pfc = chip->pfc; in gpio_function_setup() 305 sh_pfc_add_gpiochip(struct sh_pfc *pfc, int(*setup)(struct sh_pfc_chip *), in sh_pfc_add_gpiochip() [all …]
|
D | pinctrl.c | 39 struct sh_pfc *pfc; 347 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_func_set_mux() 381 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_request_enable() 423 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_disable_free() 438 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_set_direction() 479 static u32 sh_pfc_pinconf_find_drive_strength_reg(struct sh_pfc *pfc, in sh_pfc_pinconf_find_drive_strength_reg() 502 static int sh_pfc_pinconf_get_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_get_drive_strength() 527 static int sh_pfc_pinconf_set_drive_strength(struct sh_pfc *pfc, in sh_pfc_pinconf_set_drive_strength() 565 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() 597 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_get() [all …]
|
D | sh_pfc.h | 210 struct sh_pfc { struct 230 int (*init)(struct sh_pfc *pfc); argument 231 unsigned int (*get_bias)(struct sh_pfc *pfc, unsigned int pin); 232 void (*set_bias)(struct sh_pfc *pfc, unsigned int pin, 234 int (*pin_to_pocctrl)(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl);
|
D | pfc-sh73a0.c | 4238 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_endisable() 4271 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_is_enabled() 4329 static unsigned int sh73a0_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in sh73a0_pinmux_get_bias() 4346 static void sh73a0_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in sh73a0_pinmux_set_bias() 4369 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc) in sh73a0_pinmux_soc_init()
|
D | pfc-r8a7740.c | 3701 static void __iomem *r8a7740_pinmux_portcr(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_portcr() 3716 static unsigned int r8a7740_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_get_bias() 3732 static void r8a7740_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7740_pinmux_set_bias()
|
D | pfc-r8a73a4.c | 2676 static unsigned int r8a73a4_pinmux_get_bias(struct sh_pfc *pfc, in r8a73a4_pinmux_get_bias() 2694 static void r8a73a4_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a73a4_pinmux_set_bias()
|
D | pfc-r8a7795.c | 5895 static int r8a7795_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7795_pin_to_pocctrl() 6152 static unsigned int r8a7795_pinmux_get_bias(struct sh_pfc *pfc, in r8a7795_pinmux_get_bias() 6170 static void r8a7795_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7795_pinmux_set_bias() 6198 static int r8a7795_pinmux_init(struct sh_pfc *pfc) in r8a7795_pinmux_init()
|
D | pfc-r8a7778.c | 3125 static unsigned int r8a7778_pinmux_get_bias(struct sh_pfc *pfc, in r8a7778_pinmux_get_bias() 3144 static void r8a7778_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7778_pinmux_set_bias()
|
D | pfc-r8a77965.c | 4835 static int r8a77965_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a77965_pin_to_pocctrl() 5092 static unsigned int r8a77965_pinmux_get_bias(struct sh_pfc *pfc, in r8a77965_pinmux_get_bias() 5110 static void r8a77965_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77965_pinmux_set_bias()
|
D | pfc-r8a7795-es1.c | 5507 static int r8a7795es1_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a7795es1_pin_to_pocctrl() 5765 static unsigned int r8a7795es1_pinmux_get_bias(struct sh_pfc *pfc, in r8a7795es1_pinmux_get_bias() 5783 static void r8a7795es1_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7795es1_pinmux_set_bias()
|
D | pfc-r8a77990.c | 2695 static unsigned int r8a77990_pinmux_get_bias(struct sh_pfc *pfc, in r8a77990_pinmux_get_bias() 2713 static void r8a77990_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a77990_pinmux_set_bias()
|
D | pfc-r8a7796.c | 5836 static int r8a7796_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7796_pin_to_pocctrl() 6093 static unsigned int r8a7796_pinmux_get_bias(struct sh_pfc *pfc, in r8a7796_pinmux_get_bias() 6111 static void r8a7796_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7796_pinmux_set_bias()
|
D | pfc-r8a77970.c | 2398 static int r8a77970_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77970_pin_to_pocctrl()
|
D | pfc-r8a77980.c | 2797 static int r8a77980_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, in r8a77980_pin_to_pocctrl()
|
D | pfc-r8a77995.c | 2465 static int r8a77995_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a77995_pin_to_pocctrl()
|
D | pfc-r8a7794.c | 5547 static int r8a7794_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7794_pin_to_pocctrl()
|
D | pfc-r8a7791.c | 6601 static int r8a7791_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7791_pin_to_pocctrl()
|
D | pfc-r8a7790.c | 5697 static int r8a7790_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) in r8a7790_pin_to_pocctrl()
|