Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/pinctrl/pxa/
A 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, \
/linux-6.3-rc2/drivers/pinctrl/stm32/
A Dpinctrl-stm32.h39 #define STM32_PIN(_pin, ...) \ argument
41 .pin = _pin, \
46 #define STM32_PIN_PKG(_pin, _pkg, ...) \ argument
48 .pin = _pin, \
/linux-6.3-rc2/drivers/pinctrl/mediatek/
A 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, \
A Dpinctrl-mt2701.c31 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ argument
33 .pin = _pin, \
A Dpinctrl-mt8135.c36 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument
39 .pin = _pin, \
/linux-6.3-rc2/drivers/pinctrl/renesas/
A Dpinctrl.c566 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_validate()
599 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_get()
612 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get()
625 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin); in sh_pfc_pinconf_get()
634 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_get()
643 bit = pfc->info->ops->pin_to_pocctrl(_pin, &pocctrl); in sh_pfc_pinconf_get()
644 if (WARN(bit < 0, "invalid pin %#x", _pin)) in sh_pfc_pinconf_get()
676 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_set()
687 pfc->info->ops->set_bias(pfc, _pin, param); in sh_pfc_pinconf_set()
706 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_set()
[all …]
A Dsh_pfc.h620 .pin = (bank * 32) + _pin, \
674 #define PINMUX_GPIO(_pin) \ argument
675 [GPIO_##_pin] = { \
677 .name = __stringify(GPIO_##_pin), \
678 .enum_id = _pin##_DATA, \
682 #define SH_PFC_PIN_CFG(_pin, cfgs) { \ argument
683 .pin = _pin, \
684 .name = __stringify(PORT##_pin), \
685 .enum_id = PORT##_pin##_DATA, \
736 #define _NOGP_PINMUX(_pin, _name, cfg) { \ argument
[all …]
A Dpinctrl-rzv2m.c438 unsigned int _pin, in rzv2m_pinctrl_pinconf_get() argument
443 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzv2m_pinctrl_pinconf_get()
460 port = RZV2M_PIN_ID_TO_PORT(_pin); in rzv2m_pinctrl_pinconf_get()
461 bit = RZV2M_PIN_ID_TO_PIN(_pin); in rzv2m_pinctrl_pinconf_get()
463 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_get()
541 unsigned int _pin, in rzv2m_pinctrl_pinconf_set() argument
546 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzv2m_pinctrl_pinconf_set()
564 port = RZV2M_PIN_ID_TO_PORT(_pin); in rzv2m_pinctrl_pinconf_set()
565 bit = RZV2M_PIN_ID_TO_PIN(_pin); in rzv2m_pinctrl_pinconf_set()
567 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_set()
A Dpinctrl-rzg2l.c498 unsigned int _pin, in rzg2l_pinctrl_pinconf_get() argument
503 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzg2l_pinctrl_pinconf_get()
521 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_get()
522 bit = RZG2L_PIN_ID_TO_PIN(_pin); in rzg2l_pinctrl_pinconf_get()
524 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_get()
588 unsigned int _pin, in rzg2l_pinctrl_pinconf_set() argument
593 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzg2l_pinctrl_pinconf_set()
612 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_set()
613 bit = RZG2L_PIN_ID_TO_PIN(_pin); in rzg2l_pinctrl_pinconf_set()
615 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_set()
/linux-6.3-rc2/drivers/pinctrl/sunxi/
A Dpinctrl-sunxi.h183 #define SUNXI_PIN(_pin, ...) \ argument
185 .pin = _pin, \
190 #define SUNXI_PIN_VARIANT(_pin, _variant, ...) \ argument
192 .pin = _pin, \
/linux-6.3-rc2/drivers/pinctrl/visconti/
A Dpinctrl-common.h26 #define VISCONTI_PIN(_pin, dsel, d_sh, pude, pudsel, p_sh) \ argument
28 .pin = _pin, \
A 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()
/linux-6.3-rc2/arch/arm64/boot/dts/exynos/
A Dexynos5433-pinctrl.dtsi14 #define PIN(_pin, _func, _pull, _drv) \ argument
15 pin- ## _pin { \
16 samsung,pins = #_pin; \
22 #define PIN_IN(_pin, _pull, _drv) \ argument
23 PIN(_pin, INPUT, _pull, _drv)
25 #define PIN_OT(_pin, _pull, _drv) \ argument
26 PIN(_pin, OUTPUT, _pull, _drv)
28 #define PIN_F2(_pin, _pull, _drv) \ argument
29 PIN(_pin, 2, _pull, _drv)
/linux-6.3-rc2/arch/arm/boot/dts/
A Dexynos3250-pinctrl.dtsi14 #define PIN_IN(_pin, _pull, _drv) \ argument
15 pin- ## _pin { \
16 samsung,pins = #_pin; \
22 #define PIN_SLP(_pin, _mode, _pull) \ argument
23 pin- ## _pin { \
24 samsung,pins = #_pin; \
A Ds5pv210-pinctrl.dtsi21 #define PIN_SLP(_pin, _mode, _pull) \ argument
22 _pin { \
23 samsung,pins = #_pin; \
A Dexynos4412-pinctrl.dtsi14 #define PIN_SLP(_pin, _mode, _pull) \ argument
15 pin- ## _pin { \
16 samsung,pins = #_pin; \
/linux-6.3-rc2/drivers/pinctrl/
A 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), \
A Dpinctrl-oxnas.c271 #define OXNAS_PINCTRL_GROUP(_pin, _name, ...) \ argument
274 .pin = _pin, \
275 .bank = _pin / PINS_PER_BANK, \
A Dpinctrl-pic32.c372 #define PIC32_PINCTRL_GROUP(_pin, _name, ...) \ argument
375 .pin = _pin, \
/linux-6.3-rc2/drivers/pinctrl/cirrus/
A Dpinctrl-lochnagar.c53 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
59 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
72 static const struct lochnagar_pin lochnagar1_##ID##_pin = \
81 static const struct lochnagar_pin lochnagar2_##ID##_pin = \
94 .name = lochnagar##REV##_##ID##_pin.name, \
95 .drv_data = (void *)&lochnagar##REV##_##ID##_pin, \
443 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP)
608 .name = lochnagar##REV##_##ID##_pin.name, \
/linux-6.3-rc2/drivers/iio/proximity/
A Dsx9324.c76 #define SX9324_REG_AFE_PH0_PIN_MASK(_pin) \ argument
77 GENMASK(2 * (_pin) + 1, 2 * (_pin))
/linux-6.3-rc2/drivers/clk/qcom/
A Dclk-smd-rpm.c153 __DEFINE_CLK_SMD_RPM_BRANCH(_name##_pin, _name##_a##_pin, \
/linux-6.3-rc2/drivers/pinctrl/bcm/
A Dpinctrl-bcm281xx.c369 { .number = a, .name = b, .drv_data = &c##_pin }
/linux-6.3-rc2/drivers/soc/tegra/
A Dpmc.c324 #define TEGRA_WAKE_GPIO(_name, _id, _instance, _pin) \ argument
331 .pin = _pin, \

Completed in 64 milliseconds