Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.h21 #define PXA_PIN(_pin, funcs...) \ argument
23 .pin = _pin, \
28 #define PXA_GPIO_PIN(_pin, funcs...) \ argument
30 .pin = _pin, \
37 #define PXA_GPIO_ONLY_PIN(_pin) \ argument
39 .pin = _pin, \
/Linux-v4.19/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h49 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument
51 .pin = _pin, \
117 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ argument
119 .pin = _pin, \
142 #define MTK_PIN_PUPD_SPEC_SR(_pin, _offset, _pupd, _r1, _r0) \ argument
144 .pin = _pin, \
Dpinctrl-mt8135.c44 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument
47 .pin = _pin, \
Dpinctrl-mt2701.c39 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ argument
41 .pin = _pin, \
/Linux-v4.19/arch/arm/boot/dts/
Dexynos3250-pinctrl.dtsi14 #define PIN_IN(_pin, _pull, _drv) \ argument
15 _pin { \
16 samsung,pins = #_pin; \
22 #define PIN_OUT(_pin, _drv) \ argument
23 _pin { \
24 samsung,pins = #_pin; \
30 #define PIN_OUT_SET(_pin, _val, _drv) \ argument
31 _pin { \
32 samsung,pins = #_pin; \
39 #define PIN_CFG(_pin, _sel, _pull, _drv) \ argument
[all …]
Dexynos4412-pinctrl.dtsi14 #define PIN_SLP(_pin, _mode, _pull) \ argument
15 _pin { \
16 samsung,pins = #_pin; \
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dpinctrl.c565 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() argument
568 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_validate()
593 static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_get() argument
602 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_get()
615 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get()
628 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin); in sh_pfc_pinconf_get()
643 bit = pfc->info->ops->pin_to_pocctrl(pfc, _pin, &pocctrl); in sh_pfc_pinconf_get()
644 if (WARN(bit < 0, "invalid pin %#x", _pin)) in sh_pfc_pinconf_get()
663 static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_set() argument
675 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_set()
[all …]
Dsh_pfc.h537 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument
539 .pin = (bank * 32) + _pin, \
575 #define PINMUX_GPIO(_pin) \ argument
576 [GPIO_##_pin] = { \
578 .name = __stringify(GPIO_##_pin), \
579 .enum_id = _pin##_DATA, \
583 #define SH_PFC_PIN_CFG(_pin, cfgs) \ argument
585 .pin = _pin, \
586 .name = __stringify(PORT##_pin), \
587 .enum_id = PORT##_pin##_DATA, \
/Linux-v4.19/drivers/pinctrl/stm32/
Dpinctrl-stm32.h31 #define STM32_PIN(_pin, ...) \ argument
33 .pin = _pin, \
/Linux-v4.19/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.h146 #define SUNXI_PIN(_pin, ...) \ argument
148 .pin = _pin, \
153 #define SUNXI_PIN_VARIANT(_pin, _variant, ...) \ argument
155 .pin = _pin, \
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-pistachio.c638 #define PIN_GROUP(_pin, _name) \ argument
641 .pin = PISTACHIO_PIN_##_pin, \
652 #define MFIO_PIN_GROUP(_pin, _func) \ argument
654 .name = "mfio" #_pin, \
655 .pin = PISTACHIO_PIN_MFIO(_pin), \
666 #define MFIO_MUX_PIN_GROUP(_pin, _f0, _f1, _f2, _reg, _shift, _mask) \ argument
668 .name = "mfio" #_pin, \
669 .pin = PISTACHIO_PIN_MFIO(_pin), \
Dpinctrl-oxnas.c279 #define OXNAS_PINCTRL_GROUP(_pin, _name, ...) \ argument
282 .pin = _pin, \
283 .bank = _pin / PINS_PER_BANK, \
Dpinctrl-pic32.c380 #define PIC32_PINCTRL_GROUP(_pin, _name, ...) \ argument
383 .pin = _pin, \
/Linux-v4.19/arch/arm64/boot/dts/exynos/
Dexynos5433-pinctrl.dtsi14 #define PIN(_func, _pin, _pull, _drv) \ argument
15 _pin { \
16 samsung,pins = #_pin; \
/Linux-v4.19/drivers/pinctrl/bcm/
Dpinctrl-bcm281xx.c376 { .number = a, .name = b, .drv_data = &c##_pin }