Home
last modified time | relevance | path

Searched defs:pctl (Results 1 – 25 of 63) sorted by relevance

123

/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c52 static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, in mtk_get_regmap()
60 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port()
73 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_gpio_set_direction() local
95 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set() local
108 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt()
180 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin()
193 static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl, in mtk_pconf_set_driving()
284 static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl, in mtk_pconf_set_pull_select()
338 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_parse_conf() local
376 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get() local
[all …]
Dpinctrl-paris.c355 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
1026 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend() local
1033 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume() local
Dpinctrl-mtk-common-v2.c47 static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val) in mtk_w32()
52 static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg) in mtk_r32()
57 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) in mtk_rmw()
Dmtk-eint.h67 void *pctl; member
/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c50 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group) in sunxi_pinctrl_find_group_by_name()
65 sunxi_pinctrl_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_find_function_by_name()
83 sunxi_pinctrl_desc_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_desc_find_function_by_name()
110 sunxi_pinctrl_desc_find_function_by_pin(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_desc_find_function_by_pin()
136 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_get_groups_count() local
144 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_get_group_name() local
154 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_get_group_pins() local
332 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_dt_node_to_map() local
482 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pconf_get() local
534 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pconf_group_get() local
[all …]
/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c26 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_groups_count() local
34 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_group_name() local
45 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_group_pins() local
65 pxa_desc_by_func_group(struct pxa_pinctrl *pctl, const char *pin_name, in pxa_desc_by_func_group()
88 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pmx_gpio_set_direction() local
111 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pmx_get_func_name() local
119 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_get_functions_count() local
129 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pmx_get_func_groups() local
141 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pmx_set_mux() local
188 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pconf_group_get() local
[all …]
/drivers/pinctrl/
Dpinctrl-stmfx.c105 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get() local
118 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_set() local
128 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get_direction() local
149 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_input() local
159 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_output() local
168 static int stmfx_pinconf_get_pupd(struct stmfx_pinctrl *pctl, in stmfx_pinconf_get_pupd()
182 static int stmfx_pinconf_set_pupd(struct stmfx_pinctrl *pctl, in stmfx_pinconf_set_pupd()
191 static int stmfx_pinconf_get_type(struct stmfx_pinctrl *pctl, in stmfx_pinconf_get_type()
205 static int stmfx_pinconf_set_type(struct stmfx_pinctrl *pctl, in stmfx_pinconf_set_type()
217 struct stmfx_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in stmfx_pinconf_get() local
[all …]
Dpinctrl-sx150x.c374 static bool sx150x_pin_is_oscio(struct sx150x_pinctrl *pctl, unsigned int pin) in sx150x_pin_is_oscio()
389 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get_direction() local
408 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get() local
422 static int __sx150x_gpio_set(struct sx150x_pinctrl *pctl, unsigned int offset, in __sx150x_gpio_set()
429 static int sx150x_gpio_oscio_set(struct sx150x_pinctrl *pctl, in sx150x_gpio_oscio_set()
440 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set() local
452 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set_multiple() local
460 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_input() local
473 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_output() local
490 struct sx150x_pinctrl *pctl = in sx150x_irq_mask() local
[all …]
Dpinctrl-da9062.c44 static int da9062_pctl_get_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_get_pin_mode()
60 static int da9062_pctl_set_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_set_pin_mode()
82 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_get() local
112 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_set() local
121 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_get_direction() local
144 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_direction_input() local
171 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_direction_output() local
187 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_set_config() local
232 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_to_irq() local
256 struct da9062_pctl *pctl; in da9062_pctl_probe() local
Dpinctrl-axp209.c120 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get() local
134 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get_direction() local
175 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_set() local
191 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set() local
204 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_cnt() local
212 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_name() local
222 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_groups() local
233 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set_mux() local
265 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_gpio_set_direction() local
286 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_groups_cnt() local
[all …]
Dpinctrl-oxnas.c101 struct oxnas_pinctrl *pctl; member
517 static inline struct oxnas_gpio_bank *pctl_to_bank(struct oxnas_pinctrl *pctl, in pctl_to_bank()
525 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinctrl_get_groups_count() local
533 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinctrl_get_group_name() local
543 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinctrl_get_group_pins() local
561 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinmux_get_functions_count() local
569 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinmux_get_function_name() local
579 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_pinmux_get_function_groups() local
590 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_ox810se_pinmux_enable() local
640 struct oxnas_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in oxnas_ox820_pinmux_enable() local
[all …]
Dpinctrl-tb10x.c481 struct pinctrl_dev *pctl; member
515 static int tb10x_get_groups_count(struct pinctrl_dev *pctl) in tb10x_get_groups_count()
521 static const char *tb10x_get_group_name(struct pinctrl_dev *pctl, unsigned n) in tb10x_get_group_name()
527 static int tb10x_get_group_pins(struct pinctrl_dev *pctl, unsigned n, in tb10x_get_group_pins()
539 static int tb10x_dt_node_to_map(struct pinctrl_dev *pctl, in tb10x_dt_node_to_map()
576 static int tb10x_get_functions_count(struct pinctrl_dev *pctl) in tb10x_get_functions_count()
582 static const char *tb10x_get_function_name(struct pinctrl_dev *pctl, in tb10x_get_function_name()
589 static int tb10x_get_function_groups(struct pinctrl_dev *pctl, in tb10x_get_function_groups()
601 static int tb10x_gpio_request_enable(struct pinctrl_dev *pctl, in tb10x_gpio_request_enable()
675 static void tb10x_gpio_disable_free(struct pinctrl_dev *pctl, in tb10x_gpio_disable_free()
[all …]
Dpinctrl-pic32.c1699 static inline struct pic32_gpio_bank *pctl_to_bank(struct pic32_pinctrl *pctl, in pctl_to_bank()
1707 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_groups_count() local
1715 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_group_name() local
1725 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_group_pins() local
1743 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinmux_get_functions_count() local
1751 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinmux_get_function_name() local
1761 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinmux_get_function_groups() local
1772 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinmux_enable() local
1801 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_gpio_request_enable() local
1881 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinconf_get() local
[all …]
Dpinctrl-pistachio.c94 struct pistachio_pinctrl *pctl; member
831 static inline u32 pctl_readl(struct pistachio_pinctrl *pctl, u32 reg) in pctl_readl()
836 static inline void pctl_writel(struct pistachio_pinctrl *pctl, u32 val, u32 reg) in pctl_writel()
881 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_groups_count() local
889 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_name() local
899 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_pins() local
917 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_functions_count() local
925 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_function_name() local
935 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_function_groups() local
946 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_enable() local
[all …]
Dpinctrl-equilibrium.c259 *find_pinbank_via_pin(struct eqbr_pinctrl_drv_data *pctl, unsigned int pin) in find_pinbank_via_pin()
282 static int eqbr_set_pin_mux(struct eqbr_pinctrl_drv_data *pctl, in eqbr_set_pin_mux()
314 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinmux_set_mux() local
339 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinmux_gpio_request() local
362 *get_gpio_ctrls_via_bank(struct eqbr_pinctrl_drv_data *pctl, in get_gpio_ctrls_via_bank()
378 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinconf_get() local
442 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinconf_set() local
/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c83 struct mvebu_pinctrl *pctl, unsigned pid) in mvebu_pinctrl_find_group_by_pid()
96 struct mvebu_pinctrl *pctl, const char *name) in mvebu_pinctrl_find_group_by_name()
107 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_val()
122 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_name()
137 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp) in mvebu_pinctrl_find_gpio_setting()
152 struct mvebu_pinctrl *pctl, const char *name) in mvebu_pinctrl_find_function_by_name()
165 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_get() local
178 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_set() local
197 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_dbg_show() local
260 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinmux_get_funcs_count() local
[all …]
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c210 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_request() local
367 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_irq_request_resources() local
435 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_activate() local
462 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_alloc() local
499 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_free() local
519 stm32_pctrl_find_group_by_pin(struct stm32_pinctrl *pctl, u32 pin) in stm32_pctrl_find_group_by_pin()
533 static bool stm32_pctrl_is_function_valid(struct stm32_pinctrl *pctl, in stm32_pctrl_is_function_valid()
559 static int stm32_pctrl_dt_node_to_map_func(struct stm32_pinctrl *pctl, in stm32_pctrl_dt_node_to_map_func()
585 struct stm32_pinctrl *pctl; in stm32_pctrl_dt_subnode_to_map() local
701 struct stm32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in stm32_pctrl_get_groups_count() local
[all …]
/drivers/pinctrl/sprd/
Dpinctrl-sprd.c151 struct pinctrl_dev *pctl; member
210 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_count() local
219 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_name() local
230 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_pins() local
247 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_dt_node_to_map() local
375 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_get_function_groups() local
388 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_set_mux() local
441 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_get() local
593 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_set() local
744 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_group_get() local
[all …]
/drivers/pinctrl/freescale/
Dpinctrl-imx.c333 struct pinctrl_dev *pctl = ipctl->pctl; in imx_pinconf_parse_generic_config() local
647 struct pinctrl_dev *pctl = ipctl->pctl; in imx_pinctrl_parse_functions() local
725 struct pinctrl_dev *pctl = ipctl->pctl; in imx_pinctrl_probe_dt() local
Dpinctrl-imx1-core.c30 struct pinctrl_dev *pctl; member
545 struct imx1_pinctrl *pctl, struct imx1_pinctrl_soc_info *info) in imx1_pinctrl_parse_dt()
Dpinctrl-imx.h84 struct pinctrl_dev *pctl; member
/drivers/pinctrl/cirrus/
Dpinctrl-madera.h30 struct pinctrl_dev *pctl; member
/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c20 struct pinctrl *pctl; member
/drivers/pinctrl/visconti/
Dpinctrl-common.c27 struct pinctrl_dev *pctl; member
/drivers/pinctrl/spear/
Dpinctrl-spear.h179 struct pinctrl_dev *pctl; member

123