Home
last modified time | relevance | path

Searched refs:pctl (Results 1 – 15 of 15) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pinctrl/
Dpinctrl-sunxi.c65 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group) in sunxi_pinctrl_find_group_by_name() argument
69 for (i = 0; i < pctl->ngroups; i++) { in sunxi_pinctrl_find_group_by_name()
70 struct sunxi_pinctrl_group *grp = pctl->groups + i; in sunxi_pinctrl_find_group_by_name()
80 sunxi_pinctrl_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_find_function_by_name() argument
83 struct sunxi_pinctrl_function *func = pctl->functions; in sunxi_pinctrl_find_function_by_name()
86 for (i = 0; i < pctl->nfunctions; i++) { in sunxi_pinctrl_find_function_by_name()
98 sunxi_pinctrl_desc_find_function_by_name(struct sunxi_pinctrl *pctl, in sunxi_pinctrl_desc_find_function_by_name() argument
104 for (i = 0; i < pctl->desc->npins; i++) { in sunxi_pinctrl_desc_find_function_by_name()
105 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; in sunxi_pinctrl_desc_find_function_by_name()
113 func->variant & pctl->variant)) in sunxi_pinctrl_desc_find_function_by_name()
[all …]
Dpinctrl-sun50iw9.c942 struct sunxi_pinctrl *pctl = dev_get_drvdata(dev); in sun50iw9_pinctrl_suspend_noirq() local
945 raw_spin_lock_irqsave(&pctl->lock, flags); in sun50iw9_pinctrl_suspend_noirq()
946 memcpy(mem, pctl->membase, mem_size); in sun50iw9_pinctrl_suspend_noirq()
947 raw_spin_unlock_irqrestore(&pctl->lock, flags); in sun50iw9_pinctrl_suspend_noirq()
954 struct sunxi_pinctrl *pctl = dev_get_drvdata(dev); in sun50iw9_pinctrl_resume_noirq() local
957 raw_spin_lock_irqsave(&pctl->lock, flags); in sun50iw9_pinctrl_resume_noirq()
958 memcpy(pctl->membase, mem, mem_size); in sun50iw9_pinctrl_resume_noirq()
959 raw_spin_unlock_irqrestore(&pctl->lock, flags); in sun50iw9_pinctrl_resume_noirq()
Dpinctrl-sun50iw10p1.c1264 struct sunxi_pinctrl *pctl = dev_get_drvdata(dev); in sun50iw10p1_pinctrl_suspend_noirq() local
1267 raw_spin_lock_irqsave(&pctl->lock, flags); in sun50iw10p1_pinctrl_suspend_noirq()
1268 memcpy(mem, pctl->membase, mem_size); in sun50iw10p1_pinctrl_suspend_noirq()
1269 raw_spin_unlock_irqrestore(&pctl->lock, flags); in sun50iw10p1_pinctrl_suspend_noirq()
1276 struct sunxi_pinctrl *pctl = dev_get_drvdata(dev); in sun50iw10p1_pinctrl_resume_noirq() local
1279 raw_spin_lock_irqsave(&pctl->lock, flags); in sun50iw10p1_pinctrl_resume_noirq()
1280 memcpy(pctl->membase, mem, mem_size); in sun50iw10p1_pinctrl_resume_noirq()
1281 raw_spin_unlock_irqrestore(&pctl->lock, flags); in sun50iw10p1_pinctrl_resume_noirq()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_common.c191 struct pinctrl *pctl; in sunxi_drm_sys_pin_set_state() local
210 pctl = pinctrl_get(&pdev->dev); in sunxi_drm_sys_pin_set_state()
211 if (IS_ERR(pctl)) { in sunxi_drm_sys_pin_set_state()
217 state = pinctrl_lookup_state(pctl, name); in sunxi_drm_sys_pin_set_state()
224 ret = pinctrl_select_state(pctl, state); in sunxi_drm_sys_pin_set_state()
Dsunxi_tv.c533 struct pinctrl *pctl; in __pin_config() local
552 pctl = pinctrl_get(&pdev->dev); in __pin_config()
553 if (IS_ERR(pctl)) { in __pin_config()
555 ret = PTR_ERR(pctl); in __pin_config()
559 state = pinctrl_lookup_state(pctl, name); in __pin_config()
566 ret = pinctrl_select_state(pctl, state); in __pin_config()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/
Ddisp_sys_intf.c354 struct pinctrl *pctl; in disp_sys_pin_set_state() local
374 pctl = pinctrl_get(&pdev->dev); in disp_sys_pin_set_state()
375 if (IS_ERR(pctl)) { in disp_sys_pin_set_state()
378 ret = PTR_ERR(pctl); in disp_sys_pin_set_state()
382 state = pinctrl_lookup_state(pctl, name); in disp_sys_pin_set_state()
389 ret = pinctrl_select_state(pctl, state); in disp_sys_pin_set_state()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/lcd_fb/
Dlcd_fb_intf.c315 struct pinctrl *pctl; in lcd_fb_pin_set_state() local
335 pctl = pinctrl_get(&pdev->dev); in lcd_fb_pin_set_state()
336 if (IS_ERR(pctl)) { in lcd_fb_pin_set_state()
339 ret = PTR_ERR(pctl); in lcd_fb_pin_set_state()
343 state = pinctrl_lookup_state(pctl, name); in lcd_fb_pin_set_state()
350 ret = pinctrl_select_state(pctl, state); in lcd_fb_pin_set_state()
/device/soc/rockchip/rk3588/kernel/drivers/pinctrl/
Dpinctrl-rk806.c63 struct pinctrl_dev *pctl; member
538 pci->pctl = devm_pinctrl_register(&pdev->dev, &pci->pinctrl_desc, pci); in rk806_pinctrl_probe()
539 if (IS_ERR(pci->pctl)) { in rk806_pinctrl_probe()
541 return PTR_ERR(pci->pctl); in rk806_pinctrl_probe()
Dpinctrl-rockchip.h464 struct pinctrl_desc pctl; member
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
Dpinctrl-rk805.c67 struct pinctrl_dev *pctl; member
726 pci->pctl = devm_pinctrl_register(&pdev->dev, &pci->pinctrl_desc, pci); in rk805_pinctrl_probe()
727 if (IS_ERR(pci->pctl)) { in rk805_pinctrl_probe()
729 return PTR_ERR(pci->pctl); in rk805_pinctrl_probe()
Dpinctrl-rockchip.h257 struct pinctrl_desc pctl; member
Dpinctrl-rockchip.c3353 struct pinctrl_desc *ctrldesc = &info->pctl; in rockchip_pinctrl_register()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pwm/
Dpwm-sunxi.c87 struct pinctrl *pctl; member
178 struct pinctrl *pctl; in sunxi_pwm_pin_set_state() local
182 pctl = devm_pinctrl_get(dev); in sunxi_pwm_pin_set_state()
183 if (IS_ERR(pctl)) { in sunxi_pwm_pin_set_state()
185 ret = PTR_ERR(pctl); in sunxi_pwm_pin_set_state()
189 state = pinctrl_lookup_state(pctl, name); in sunxi_pwm_pin_set_state()
196 ret = pinctrl_select_state(pctl, state); in sunxi_pwm_pin_set_state()
203 devm_pinctrl_put(pctl); in sunxi_pwm_pin_set_state()
/device/soc/rockchip/rk3588/kernel/include/linux/
Dpinctrl-rockchip.h464 struct pinctrl_desc pctl; member
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch51978 - struct pinctrl_desc pctl;
54336 - struct pinctrl_desc *ctrldesc = &info->pctl;
54946 + struct pinctrl_desc *ctrldesc = &info->pctl;