/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pinctrl/ |
D | pinctrl-sunxi.c | 65 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 …]
|
D | pinctrl-sun50iw9.c | 942 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()
|
D | pinctrl-sun50iw10p1.c | 1264 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/ |
D | sunxi_common.c | 191 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()
|
D | sunxi_tv.c | 533 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/ |
D | disp_sys_intf.c | 354 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/ |
D | lcd_fb_intf.c | 315 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/ |
D | pinctrl-rk806.c | 63 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()
|
D | pinctrl-rockchip.h | 464 struct pinctrl_desc pctl; member
|
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/ |
D | pinctrl-rk805.c | 67 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()
|
D | pinctrl-rockchip.h | 257 struct pinctrl_desc pctl; member
|
D | pinctrl-rockchip.c | 3353 struct pinctrl_desc *ctrldesc = &info->pctl; in rockchip_pinctrl_register()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pwm/ |
D | pwm-sunxi.c | 87 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/ |
D | pinctrl-rockchip.h | 464 struct pinctrl_desc pctl; member
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 51978 - struct pinctrl_desc pctl; 54336 - struct pinctrl_desc *ctrldesc = &info->pctl; 54946 + struct pinctrl_desc *ctrldesc = &info->pctl;
|