Home
last modified time | relevance | path

Searched refs:pin_base (Results 1 – 12 of 12) sorted by relevance

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pinctrl/
Dpinctrl-sunxi.c535 pin -= pctl->desc->pin_base; in sunxi_pinctrl_set_io_bias_cfg()
629 pin -= pctl->desc->pin_base; in sunxi_pconf_get()
697 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pconf_set()
838 pin -= pctl->desc->pin_base; in sunxi_pmx_set()
895 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_request()
1008 unsigned short bank_offset = bank - pctl->desc->pin_base / in sunxi_pmx_free()
1112 unsigned pinnum = pctl->desc->pin_base + offset; in sunxi_pinctrl_gpio_to_irq()
1142 pctl->irq_array[d->hwirq] - pctl->desc->pin_base); in sunxi_pinctrl_irq_request_resources()
1160 pctl->irq_array[d->hwirq] - pctl->desc->pin_base); in sunxi_pinctrl_irq_release_resources()
1319 pin = pctl->desc->pin_base + base + intspec[1]; in sunxi_pinctrl_irq_of_xlate()
[all …]
Dpinctrl-sun50iw9-r.c27 .pin_base = SUNXI_PIN_BASE('L'),
Dpinctrl-sun50iw10p1-r.c95 .pin_base = SUNXI_PIN_BASE('L'),
Dpinctrl-sunxi.h166 unsigned pin_base; member
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
Dpinctrl-rockchip.c243 while (pin >= (b->pin_base + b->nr_pins)) { in pin_to_bank()
2944 ret = rockchip_set_mux(bank, pins[cnt] - bank->pin_base, data[cnt].func); in rockchip_pmx_set()
2953 rockchip_set_mux(bank, pins[cnt] - bank->pin_base, 0); in rockchip_pmx_set()
3015 rc = rockchip_set_pull(bank, pin - bank->pin_base, param); in rockchip_pinconf_set()
3032 rc = rockchip_set_pull(bank, pin - bank->pin_base, param); in rockchip_pinconf_set()
3038 rc = rockchip_get_mux(bank, pin - bank->pin_base); in rockchip_pinconf_set()
3044 rc = gpio->direction_output(gpio, pin - bank->pin_base, arg); in rockchip_pinconf_set()
3055 rc = rockchip_set_drive_perpin(bank, pin - bank->pin_base, arg); in rockchip_pinconf_set()
3065 rc = rockchip_set_schmitt(bank, pin - bank->pin_base, arg); in rockchip_pinconf_set()
3075 rc = rockchip_set_slew_rate(bank, pin - bank->pin_base, arg); in rockchip_pinconf_set()
[all …]
Dpinctrl-rockchip.h137 u32 pin_base; member
/device/soc/rockchip/rk3588/kernel/drivers/pinctrl/
Dpinctrl-rockchip.h323 u32 pin_base; member
/device/soc/rockchip/rk3588/kernel/include/linux/
Dpinctrl-rockchip.h323 u32 pin_base; member
/device/soc/rockchip/rk3588/kernel/drivers/gpio/
Dgpio-rockchip.c572 gc->base = bank->pin_base; in rockchip_gpiolib_register()
/device/soc/rockchip/common/vendor/drivers/gpio/
Dgpio-rockchip.c535 gc->base = bank->pin_base; in rockchip_gpiolib_register()
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
Dgpio-rockchip.c538 gc->base = bank->pin_base; in rockchip_gpiolib_register()
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch51759 - * @pin_base: first pin number
51783 - u32 pin_base;
53979 rockchip_set_mux(bank, pins[cnt] - bank->pin_base, 0);
54133 - pin - bank->pin_base, arg);
54135 - pin - bank->pin_base, false);
54136 + rc = rockchip_set_mux(bank, pin - bank->pin_base,
54148 + rc = rockchip_pinconf_defer_output(bank, pin - bank->pin_base, arg);
54157 + rc = gpio->direction_output(gpio, pin - bank->pin_base,
54171 + pin - bank->pin_base, arg);
54193 - rc = rockchip_gpio_get(&bank->gpio_chip, pin - bank->pin_base);
[all …]