Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/pinctrl/pxa/
H 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.15/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.h42 #define STM32_PIN(_pin, ...) \ argument
44 .pin = _pin, \
49 #define STM32_PIN_PKG(_pin, _pkg, ...) \ argument
51 .pin = _pin, \
/linux-6.15/drivers/pinctrl/mediatek/
H 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, \
H A Dpinctrl-mt8135.c35 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument
38 .pin = _pin, \
H A Dpinctrl-mt2701.c30 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ argument
32 .pin = _pin, \
/linux-6.15/drivers/pinctrl/renesas/
H A Dpinctrl.c541 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_validate()
574 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_get()
587 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get()
600 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin); in sh_pfc_pinconf_get()
609 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_get()
618 bit = pfc->info->ops->pin_to_pocctrl(_pin, &pocctrl); in sh_pfc_pinconf_get()
619 if (WARN(bit < 0, "invalid pin %#x", _pin)) in sh_pfc_pinconf_get()
652 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_set()
663 pfc->info->ops->set_bias(pfc, _pin, param); in sh_pfc_pinconf_set()
682 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_set()
[all …]
H A Dpinctrl-rzg2l.c1046 u8 pin = RZG2L_PIN_ID_TO_PIN(_pin); in rzg2l_pin_to_oen_bit()
1067 bit = rzg2l_pin_to_oen_bit(pctrl, _pin); in rzg2l_read_oen()
1080 bit = rzg2l_pin_to_oen_bit(pctrl, _pin); in rzg2l_write_oen()
1104 port = RZG2L_PIN_ID_TO_PORT(_pin); in rzg3s_pin_to_oen_bit()
1105 pin = RZG2L_PIN_ID_TO_PIN(_pin); in rzg3s_pin_to_oen_bit()
1120 bit = rzg3s_pin_to_oen_bit(pctrl, _pin); in rzg3s_oen_read()
1133 bit = rzg3s_pin_to_oen_bit(pctrl, _pin); in rzg3s_oen_write()
1266 unsigned int _pin, in rzg2l_pinctrl_pinconf_get() argument
1288 bit = RZG2L_PIN_ID_TO_PIN(_pin); in rzg2l_pinctrl_pinconf_get()
1425 unsigned int _pin, in rzg2l_pinctrl_pinconf_set() argument
[all …]
H A Dsh_pfc.h617 .pin = (bank * 32) + _pin, \
671 #define PINMUX_GPIO(_pin) \ argument
672 [GPIO_##_pin] = { \
674 .name = __stringify(GPIO_##_pin), \
675 .enum_id = _pin##_DATA, \
679 #define SH_PFC_PIN_CFG(_pin, cfgs) { \ argument
680 .pin = _pin, \
681 .name = __stringify(PORT##_pin), \
682 .enum_id = PORT##_pin##_DATA, \
733 #define _NOGP_PINMUX(_pin, _name, cfg) { \ argument
[all …]
H A Dpinctrl-rzv2m.c454 unsigned int _pin, in rzv2m_pinctrl_pinconf_get() argument
459 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzv2m_pinctrl_pinconf_get()
476 port = RZV2M_PIN_ID_TO_PORT(_pin); in rzv2m_pinctrl_pinconf_get()
477 bit = RZV2M_PIN_ID_TO_PIN(_pin); in rzv2m_pinctrl_pinconf_get()
479 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_get()
557 unsigned int _pin, in rzv2m_pinctrl_pinconf_set() argument
562 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; in rzv2m_pinctrl_pinconf_set()
580 port = RZV2M_PIN_ID_TO_PORT(_pin); in rzv2m_pinctrl_pinconf_set()
581 bit = RZV2M_PIN_ID_TO_PIN(_pin); in rzv2m_pinctrl_pinconf_set()
583 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_set()
/linux-6.15/drivers/pinctrl/sophgo/
H A Dpinctrl-sg2042.h32 #define sophgo_to_sg2042_pin(_pin) \ argument
33 container_of((_pin), struct sg2042_pin, pin)
H A Dpinctrl-cv18xx.h60 #define sophgo_to_cv1800_pin(_pin) \ argument
61 container_of((_pin), struct cv1800_pin, pin)
/linux-6.15/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.h184 #define SUNXI_PIN(_pin, ...) \ argument
186 .pin = _pin, \
191 #define SUNXI_PIN_VARIANT(_pin, _variant, ...) \ argument
193 .pin = _pin, \
/linux-6.15/drivers/pinctrl/visconti/
H A Dpinctrl-common.h26 #define VISCONTI_PIN(_pin, dsel, d_sh, pude, pudsel, p_sh) \ argument
28 .pin = _pin, \
H 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.15/rust/kernel/
H A Dtypes.rs309 _pin: PhantomPinned, field
320 _pin: PhantomPinned, in new()
328 _pin: PhantomPinned, in uninit()
/linux-6.15/arch/arm64/boot/dts/exynos/
H 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.15/rust/kernel/sync/
H A Dcondvar.rs91 _pin: PhantomPinned, field
105 _pin: PhantomPinned, in new()
H A Dlock.rs115 _pin: PhantomPinned, field
133 _pin: PhantomPinned, in new()
/linux-6.15/arch/arm/boot/dts/samsung/
H 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; \
/linux-6.15/rust/pin-init/examples/
H A Dmutex.rs107 _pin: PhantomPinned, in lock()
124 _pin: PhantomPinned, field
/linux-6.15/drivers/pinctrl/
H A Dpinctrl-pistachio.c635 #define PIN_GROUP(_pin, _name) \ argument
638 .pin = PISTACHIO_PIN_##_pin, \
649 #define MFIO_PIN_GROUP(_pin, _func) \ argument
651 .name = "mfio" #_pin, \
652 .pin = PISTACHIO_PIN_MFIO(_pin), \
663 #define MFIO_MUX_PIN_GROUP(_pin, _f0, _f1, _f2, _reg, _shift, _mask) \ argument
665 .name = "mfio" #_pin, \
666 .pin = PISTACHIO_PIN_MFIO(_pin), \
/linux-6.15/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c54 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = { \
60 static const struct lochnagar_pin lochnagar##REV##_##ID##_pin = \
73 static const struct lochnagar_pin lochnagar1_##ID##_pin = \
82 static const struct lochnagar_pin lochnagar2_##ID##_pin = \
95 .name = lochnagar##REV##_##ID##_pin.name, \
96 .drv_data = (void *)&lochnagar##REV##_##ID##_pin, \
444 LN_FUNC(lochnagar##REV##_##ID##_pin.name, PIN, OP)
609 .name = lochnagar##REV##_##ID##_pin.name, \
/linux-6.15/rust/kernel/list/
H A Darc.rs474 _pin: PhantomPinned, field
484 _pin: PhantomPinned, in new()
/linux-6.15/rust/kernel/sync/lock/
H A Dglobal.rs52 _pin: PhantomPinned, in new()
/linux-6.15/drivers/iio/proximity/
H A Dsx9324.c76 #define SX9324_REG_AFE_PH0_PIN_MASK(_pin) \ argument
77 GENMASK(2 * (_pin) + 1, 2 * (_pin))

12