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