Home
last modified time | relevance | path

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

1234

/Linux-v6.6/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c50 static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, in mtk_get_regmap()
58 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port()
71 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_gpio_set_direction() local
93 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set() local
106 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt()
195 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin()
208 static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl, in mtk_pconf_set_driving()
301 static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl, in mtk_pconf_set_pull_select()
371 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_parse_conf() local
409 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get() local
[all …]
Dpinctrl-paris.c421 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func()
1124 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_suspend() local
1131 struct mtk_pinctrl *pctl = dev_get_drvdata(device); in mtk_paris_pinctrl_resume() local
/Linux-v6.6/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c61 static void sunxi_mux_reg(const struct sunxi_pinctrl *pctl, in sunxi_mux_reg()
73 static void sunxi_data_reg(const struct sunxi_pinctrl *pctl, in sunxi_data_reg()
85 static void sunxi_dlevel_reg(const struct sunxi_pinctrl *pctl, in sunxi_dlevel_reg()
97 static void sunxi_pull_reg(const struct sunxi_pinctrl *pctl, in sunxi_pull_reg()
110 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group) in sunxi_pinctrl_find_group_by_name()
125 sunxi_pinctrl_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_find_function_by_name()
143 sunxi_pinctrl_desc_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_desc_find_function_by_name()
170 sunxi_pinctrl_desc_find_function_by_pin(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_desc_find_function_by_pin()
196 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_get_groups_count() local
204 struct sunxi_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sunxi_pctrl_get_group_name() local
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-stmfx.c106 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get() local
119 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_set() local
129 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get_direction() local
150 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_input() local
160 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_output() local
169 static int stmfx_pinconf_get_pupd(struct stmfx_pinctrl *pctl, in stmfx_pinconf_get_pupd()
183 static int stmfx_pinconf_set_pupd(struct stmfx_pinctrl *pctl, in stmfx_pinconf_set_pupd()
192 static int stmfx_pinconf_get_type(struct stmfx_pinctrl *pctl, in stmfx_pinconf_get_type()
206 static int stmfx_pinconf_set_type(struct stmfx_pinctrl *pctl, in stmfx_pinconf_set_type()
218 struct stmfx_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in stmfx_pinconf_get() local
[all …]
Dpinctrl-apple-gpio.c81 static void apple_gpio_set_reg(struct apple_gpio_pinctrl *pctl, in apple_gpio_set_reg()
87 static u32 apple_gpio_get_reg(struct apple_gpio_pinctrl *pctl, in apple_gpio_get_reg()
108 struct apple_gpio_pinctrl *pctl; in apple_gpio_dt_node_to_map() local
176 struct apple_gpio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in apple_gpio_pinmux_set() local
197 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(chip); in apple_gpio_get_direction() local
207 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(chip); in apple_gpio_get() local
222 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(chip); in apple_gpio_set() local
229 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(chip); in apple_gpio_direction_input() local
242 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(chip); in apple_gpio_direction_output() local
255 struct apple_gpio_pinctrl *pctl = gpiochip_get_data(irq_data_get_irq_chip_data(data)); in apple_gpio_irq_ack() local
[all …]
Dpinctrl-sx150x.c372 static bool sx150x_pin_is_oscio(struct sx150x_pinctrl *pctl, unsigned int pin) in sx150x_pin_is_oscio()
387 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get_direction() local
406 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get() local
420 static int __sx150x_gpio_set(struct sx150x_pinctrl *pctl, unsigned int offset, in __sx150x_gpio_set()
427 static int sx150x_gpio_oscio_set(struct sx150x_pinctrl *pctl, in sx150x_gpio_oscio_set()
438 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set() local
450 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set_multiple() local
458 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_input() local
471 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_output() local
489 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_mask() local
[all …]
Dpinctrl-da9062.c45 static int da9062_pctl_get_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_get_pin_mode()
61 static int da9062_pctl_set_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_set_pin_mode()
83 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_get() local
113 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_set() local
122 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_get_direction() local
145 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_direction_input() local
172 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_direction_output() local
188 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_set_config() local
233 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_to_irq() local
257 struct da9062_pctl *pctl; in da9062_pctl_probe() local
Dpinctrl-axp209.c134 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get() local
156 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get_direction() local
208 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_set() local
233 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set() local
254 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_cnt() local
262 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_name() local
272 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_groups() local
283 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set_mux() local
315 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_gpio_set_direction() local
336 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_groups_cnt() 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.c95 struct pistachio_pinctrl *pctl; member
832 static inline u32 pctl_readl(struct pistachio_pinctrl *pctl, u32 reg) in pctl_readl()
837 static inline void pctl_writel(struct pistachio_pinctrl *pctl, u32 val, u32 reg) in pctl_writel()
882 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_groups_count() local
890 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_name() local
900 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_pins() local
918 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_functions_count() local
926 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_function_name() local
936 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_get_function_groups() local
947 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinmux_enable() local
[all …]
Dpinctrl-equilibrium.c264 *find_pinbank_via_pin(struct eqbr_pinctrl_drv_data *pctl, unsigned int pin) in find_pinbank_via_pin()
287 static int eqbr_set_pin_mux(struct eqbr_pinctrl_drv_data *pctl, in eqbr_set_pin_mux()
319 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinmux_set_mux() local
344 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinmux_gpio_request() local
367 *get_gpio_ctrls_via_bank(struct eqbr_pinctrl_drv_data *pctl, in get_gpio_ctrls_via_bank()
383 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinconf_get() local
447 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinconf_set() local
/Linux-v6.6/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()
109 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_val()
126 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp, in mvebu_pinctrl_find_setting_by_name()
143 struct mvebu_pinctrl *pctl, struct mvebu_pinctrl_group *grp) in mvebu_pinctrl_find_gpio_setting()
160 struct mvebu_pinctrl *pctl, const char *name) in mvebu_pinctrl_find_function_by_name()
175 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_get() local
188 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_set() local
207 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinconf_group_dbg_show() local
270 struct mvebu_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mvebu_pinmux_get_funcs_count() local
[all …]
/Linux-v6.6/fs/xfs/
Dxfs_pwork.c42 struct xfs_pwork_ctl *pctl; in xfs_pwork_work() local
62 struct xfs_pwork_ctl *pctl, in xfs_pwork_init()
91 struct xfs_pwork_ctl *pctl, in xfs_pwork_queue()
103 struct xfs_pwork_ctl *pctl) in xfs_pwork_destroy()
116 struct xfs_pwork_ctl *pctl) in xfs_pwork_poll()
Dxfs_pwork.h32 struct xfs_pwork_ctl *pctl; member
40 struct xfs_pwork_ctl *pctl) in xfs_pwork_ctl_want_abort()
/Linux-v6.6/drivers/pinctrl/stm32/
Dpinctrl-stm32.c210 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_request() local
295 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_init_valid_mask() local
381 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_irq_request_resources() local
441 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_activate() local
468 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_alloc() local
505 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_free() local
525 stm32_pctrl_find_group_by_pin(struct stm32_pinctrl *pctl, u32 pin) in stm32_pctrl_find_group_by_pin()
539 static bool stm32_pctrl_is_function_valid(struct stm32_pinctrl *pctl, in stm32_pctrl_is_function_valid()
565 static int stm32_pctrl_dt_node_to_map_func(struct stm32_pinctrl *pctl, in stm32_pctrl_dt_node_to_map_func()
591 struct stm32_pinctrl *pctl; in stm32_pctrl_dt_subnode_to_map() local
[all …]
/Linux-v6.6/drivers/pinctrl/sprd/
Dpinctrl-sprd.c153 struct pinctrl_dev *pctl; member
212 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_count() local
221 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_name() local
232 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_pins() local
249 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_dt_node_to_map() local
377 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_get_function_groups() local
390 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_set_mux() local
443 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_get() local
595 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_set() local
746 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_group_get() local
[all …]
/Linux-v6.6/drivers/pinctrl/sunplus/
Dsppctl.c174 static void sppctl_func_set(struct sppctl_pdata *pctl, u8 func, u8 val) in sppctl_func_set()
226 static void sppctl_gmx_set(struct sppctl_pdata *pctl, u8 reg_off, u8 bit_off, u8 bit_sz, in sppctl_gmx_set()
523 static int sppctl_gpio_new(struct platform_device *pdev, struct sppctl_pdata *pctl) in sppctl_gpio_new()
570 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_pin_config_get() local
602 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_pin_config_set() local
647 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_get_function_groups() local
702 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_set_mux() local
733 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_gpio_request_enable() local
756 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_get_groups_count() local
763 struct sppctl_pdata *pctl = pinctrl_dev_get_drvdata(pctldev); in sppctl_get_group_name() local
[all …]
/Linux-v6.6/arch/mips/include/asm/octeon/
Dcvmx-asxx-defs.h226 uint64_t pctl:5; member
237 uint64_t pctl:4; member
252 uint64_t pctl:4; member
306 uint64_t pctl:5; member
319 uint64_t pctl:5; member
470 uint64_t pctl:4; member
482 uint64_t pctl:4; member
495 uint64_t pctl:5; member
510 uint64_t pctl:5; member
/Linux-v6.6/sound/soc/
Dsoc-ac97.c27 struct pinctrl *pctl; member
266 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset() local
282 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset() local
/Linux-v6.6/arch/alpha/kernel/
Dcore_titan.c237 union TPAchipPCTL pctl; in titan_query_agp() local
643 union TPAchipPCTL pctl; in titan_agp_configure() local
737 union TPAchipPCTL pctl; in titan_agp_info() local
/Linux-v6.6/drivers/pinctrl/cirrus/
Dpinctrl-madera.h30 struct pinctrl_dev *pctl; member
/Linux-v6.6/arch/arm/boot/dts/sunplus/
Dsunplus-sp7021.dtsi75 pctl: pinctrl@100 { label
/Linux-v6.6/drivers/phy/qualcomm/
Dphy-qcom-usb-hsic.c20 struct pinctrl *pctl; member

1234