Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/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-mt8135.c36 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument
39 .pin = _pin, \
Dpinctrl-mt2701.c31 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ argument
33 .pin = _pin, \
/kernel/linux/linux-5.10/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 …]
Ds5pv210-pinctrl.dtsi21 #define PIN_SLP(_pin, _mode, _pull) \ argument
22 _pin { \
23 samsung,pins = #_pin; \
Dexynos4412-pinctrl.dtsi14 #define PIN_SLP(_pin, _mode, _pull) \ argument
15 _pin { \
16 samsung,pins = #_pin; \
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
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.h602 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument
604 .pin = (bank * 32) + _pin, \
658 #define PINMUX_GPIO(_pin) \ argument
659 [GPIO_##_pin] = { \
661 .name = __stringify(GPIO_##_pin), \
662 .enum_id = _pin##_DATA, \
666 #define SH_PFC_PIN_CFG(_pin, cfgs) \ argument
668 .pin = _pin, \
669 .name = __stringify(PORT##_pin), \
670 .enum_id = PORT##_pin##_DATA, \
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/visconti/
Dpinctrl-common.h26 #define VISCONTI_PIN(_pin, dsel, d_sh, pude, pudsel, p_sh) \ argument
28 .pin = _pin, \
Dpinctrl-common.c37 unsigned int _pin, in visconti_pin_config_set() argument
42 const struct visconti_desc_pin *pin = &priv->devdata->pins[_pin]; in visconti_pin_config_set()
49 dev_dbg(priv->dev, "%s: pin = %d (%s)\n", __func__, _pin, pin->pin.name); in visconti_pin_config_set()
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/
Dexynos5433-pinctrl.dtsi14 #define PIN(_func, _pin, _pull, _drv) \ argument
15 _pin { \
16 samsung,pins = #_pin; \
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-bcm281xx.c376 { .number = a, .name = b, .drv_data = &c##_pin }
/kernel/linux/linux-5.10/drivers/soc/tegra/
Dpmc.c284 #define TEGRA_WAKE_GPIO(_name, _id, _instance, _pin) \ argument
291 .pin = _pin, \