Searched refs:sh_pfc (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
D | core.h | 33 struct sh_pfc { struct 54 int sh_pfc_register_gpiochip(struct sh_pfc *pfc); argument 55 int sh_pfc_unregister_gpiochip(struct sh_pfc *pfc); 57 int sh_pfc_register_pinctrl(struct sh_pfc *pfc); 58 int sh_pfc_unregister_pinctrl(struct sh_pfc *pfc); 64 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin); 65 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
|
D | gpio.c | 33 struct sh_pfc *pfc; 46 static struct sh_pfc *gpio_to_pfc(struct gpio_chip *gc) in gpio_to_pfc() 82 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_reg() 104 struct sh_pfc *pfc = chip->pfc; in gpio_setup_data_regs() 140 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_request() 207 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_pin_to_irq() 230 struct sh_pfc *pfc = chip->pfc; in gpio_pin_setup() 267 struct sh_pfc *pfc = gpio_to_pfc(gc); in gpio_function_request() 295 struct sh_pfc *pfc = chip->pfc; in gpio_function_setup() 314 sh_pfc_add_gpiochip(struct sh_pfc *pfc, int(*setup)(struct sh_pfc_chip *), in sh_pfc_add_gpiochip() [all …]
|
D | core.c | 29 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources() 95 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt() 118 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index() 180 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper() 201 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg() 230 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg() 276 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() 299 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() 379 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges() 502 struct sh_pfc *pfc; in sh_pfc_probe() [all …]
|
D | pinctrl.c | 39 struct sh_pfc *pfc; 319 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_func_set_mux() 353 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_request_enable() 395 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_disable_free() 410 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_gpio_set_direction() 452 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() 477 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_get() 513 struct sh_pfc *pfc = pmx->pfc; in sh_pfc_pinconf_set() 572 static int sh_pfc_map_pins(struct sh_pfc *pfc, struct sh_pfc_pinctrl *pmx) in sh_pfc_map_pins() 603 int sh_pfc_register_pinctrl(struct sh_pfc *pfc) in sh_pfc_register_pinctrl() [all …]
|
D | sh_pfc.h | 117 struct sh_pfc; 120 int (*init)(struct sh_pfc *pfc); 121 unsigned int (*get_bias)(struct sh_pfc *pfc, unsigned int pin); 122 void (*set_bias)(struct sh_pfc *pfc, unsigned int pin,
|
D | pfc-sh73a0.c | 3696 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_endisable() 3729 struct sh_pfc *pfc = reg->reg_data; in sh73a0_vccq_mc0_is_enabled() 3787 static unsigned int sh73a0_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in sh73a0_pinmux_get_bias() 3804 static void sh73a0_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in sh73a0_pinmux_set_bias() 3827 static int sh73a0_pinmux_soc_init(struct sh_pfc *pfc) in sh73a0_pinmux_soc_init()
|
D | pfc-r8a7740.c | 3706 static void __iomem *r8a7740_pinmux_portcr(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_portcr() 3721 static unsigned int r8a7740_pinmux_get_bias(struct sh_pfc *pfc, unsigned int pin) in r8a7740_pinmux_get_bias() 3737 static void r8a7740_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a7740_pinmux_set_bias()
|
D | pfc-r8a73a4.c | 2681 static unsigned int r8a73a4_pinmux_get_bias(struct sh_pfc *pfc, in r8a73a4_pinmux_get_bias() 2699 static void r8a73a4_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, in r8a73a4_pinmux_set_bias()
|