Home
last modified time | relevance | path

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

/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.h17 #define PXA_PIN(_pin, funcs...) \ argument
19 .pin = _pin, \
24 #define PXA_GPIO_PIN(_pin, funcs...) \ argument
26 .pin = _pin, \
33 #define PXA_GPIO_ONLY_PIN(_pin) \ argument
35 .pin = _pin, \
/drivers/pinctrl/stm32/
Dpinctrl-stm32.h38 #define STM32_PIN(_pin, ...) \ argument
40 .pin = _pin, \
45 #define STM32_PIN_PKG(_pin, _pkg, ...) \ argument
47 .pin = _pin, \
/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h41 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument
43 .pin = _pin, \
109 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ argument
111 .pin = _pin, \
134 #define MTK_PIN_PUPD_SPEC_SR(_pin, _offset, _pupd, _r1, _r0) \ argument
136 .pin = _pin, \
Dpinctrl-mt2701.c31 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ argument
33 .pin = _pin, \
Dpinctrl-mt8135.c36 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument
39 .pin = _pin, \
/drivers/pinctrl/sh-pfc/
Dpinctrl.c569 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() argument
572 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_validate()
596 static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_get() argument
605 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_get()
618 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get()
631 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin); in sh_pfc_pinconf_get()
646 bit = pfc->info->ops->pin_to_pocctrl(pfc, _pin, &pocctrl); in sh_pfc_pinconf_get()
647 if (WARN(bit < 0, "invalid pin %#x", _pin)) in sh_pfc_pinconf_get()
666 static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_set() argument
678 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_set()
[all …]
Dsh_pfc.h598 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument
600 .pin = (bank * 32) + _pin, \
654 #define PINMUX_GPIO(_pin) \ argument
655 [GPIO_##_pin] = { \
657 .name = __stringify(GPIO_##_pin), \
658 .enum_id = _pin##_DATA, \
662 #define SH_PFC_PIN_CFG(_pin, cfgs) \ argument
664 .pin = _pin, \
665 .name = __stringify(PORT##_pin), \
666 .enum_id = PORT##_pin##_DATA, \
[all …]
/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.h175 #define SUNXI_PIN(_pin, ...) \ argument
177 .pin = _pin, \
182 #define SUNXI_PIN_VARIANT(_pin, _variant, ...) \ argument
184 .pin = _pin, \
/drivers/pinctrl/
Dpinctrl-pistachio.c634 #define PIN_GROUP(_pin, _name) \ argument
637 .pin = PISTACHIO_PIN_##_pin, \
648 #define MFIO_PIN_GROUP(_pin, _func) \ argument
650 .name = "mfio" #_pin, \
651 .pin = PISTACHIO_PIN_MFIO(_pin), \
662 #define MFIO_MUX_PIN_GROUP(_pin, _f0, _f1, _f2, _reg, _shift, _mask) \ argument
664 .name = "mfio" #_pin, \
665 .pin = PISTACHIO_PIN_MFIO(_pin), \
Dpinctrl-oxnas.c271 #define OXNAS_PINCTRL_GROUP(_pin, _name, ...) \ argument
274 .pin = _pin, \
275 .bank = _pin / PINS_PER_BANK, \
Dpinctrl-pic32.c372 #define PIC32_PINCTRL_GROUP(_pin, _name, ...) \ argument
375 .pin = _pin, \
/drivers/pinctrl/cirrus/
Dpinctrl-lochnagar.c51 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
57 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
70 static const struct lochnagar_pin lochnagar1_##ID##_pin = \
79 static const struct lochnagar_pin lochnagar2_##ID##_pin = \
92 .name = lochnagar##REV##_##ID##_pin.name, \
93 .drv_data = (void *)&lochnagar##REV##_##ID##_pin, \
441 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP)
606 .name = lochnagar##REV##_##ID##_pin.name, \
/drivers/pinctrl/bcm/
Dpinctrl-bcm281xx.c376 { .number = a, .name = b, .drv_data = &c##_pin }
/drivers/soc/tegra/
Dpmc.c195 #define TEGRA_WAKE_GPIO(_name, _id, _instance, _pin) \ argument
202 .pin = _pin, \