/linux-master/drivers/pinctrl/pxa/ |
H A D | pinctrl-pxa2xx.h | 17 #define PXA_PIN(_pin, funcs...) \ 19 .pin = _pin, \ 24 #define PXA_GPIO_PIN(_pin, funcs...) \ 26 .pin = _pin, \ 33 #define PXA_GPIO_ONLY_PIN(_pin) \ 35 .pin = _pin, \
|
/linux-master/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.h | 42 #define STM32_PIN(_pin, ...) \ 44 .pin = _pin, \ 49 #define STM32_PIN_PKG(_pin, _pkg, ...) \ 51 .pin = _pin, \
|
/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.h | 41 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ 43 .pin = _pin, \ 109 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ 111 .pin = _pin, \ 134 #define MTK_PIN_PUPD_SPEC_SR(_pin, _offset, _pupd, _r1, _r0) \ 136 .pin = _pin, \
|
H A D | pinctrl-mt8135.c | 35 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ 38 .pin = _pin, \
|
H A D | pinctrl-mt2701.c | 30 #define MTK_PINMUX_SPEC(_pin, _offset, _bit) \ 32 .pin = _pin, \
|
/linux-master/drivers/pinctrl/visconti/ |
H A D | pinctrl-common.h | 26 #define VISCONTI_PIN(_pin, dsel, d_sh, pude, pudsel, p_sh) \ 28 .pin = _pin, \
|
H A D | pinctrl-common.c | 37 unsigned int _pin, 42 const struct visconti_desc_pin *pin = &priv->devdata->pins[_pin]; 49 dev_dbg(priv->dev, "%s: pin = %d (%s)\n", __func__, _pin, pin->pin.name); 36 visconti_pin_config_set(struct pinctrl_dev *pctldev, unsigned int _pin, unsigned long *configs, unsigned int num_configs) argument
|
/linux-master/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.h | 183 #define SUNXI_PIN(_pin, ...) \ 185 .pin = _pin, \ 190 #define SUNXI_PIN_VARIANT(_pin, _variant, ...) \ 192 .pin = _pin, \
|
/linux-master/drivers/pinctrl/renesas/ |
H A D | pinctrl.c | 542 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, argument 545 int idx = sh_pfc_get_pin_index(pfc, _pin); 569 static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin, argument 578 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) 591 bias = pfc->info->ops->get_bias(pfc, _pin); 604 ret = sh_pfc_pinconf_get_drive_strength(pfc, _pin); 613 int idx = sh_pfc_get_pin_index(pfc, _pin); 622 bit = pfc->info->ops->pin_to_pocctrl(_pin, &pocctrl); 623 if (WARN(bit < 0, "invalid pin %#x", _pin)) 644 static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin, argument [all...] |
H A D | sh_pfc.h | 616 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) { \ 617 .pin = (bank * 32) + _pin, \ 671 #define PINMUX_GPIO(_pin) \ 672 [GPIO_##_pin] = { \ 674 .name = __stringify(GPIO_##_pin), \ 675 .enum_id = _pin##_DATA, \ 679 #define SH_PFC_PIN_CFG(_pin, cfgs) { \ 680 .pin = _pin, \ 681 .name = __stringify(PORT##_pin), \ 682 .enum_id = PORT##_pin##_DAT [all...] |
H A D | pinctrl-rzv2m.c | 458 unsigned int _pin, 463 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; 480 port = RZV2M_PIN_ID_TO_PORT(_pin); 481 bit = RZV2M_PIN_ID_TO_PIN(_pin); 483 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) 561 unsigned int _pin, 566 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; 584 port = RZV2M_PIN_ID_TO_PORT(_pin); 585 bit = RZV2M_PIN_ID_TO_PIN(_pin); 587 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bi 457 rzv2m_pinctrl_pinconf_get(struct pinctrl_dev *pctldev, unsigned int _pin, unsigned long *config) argument 560 rzv2m_pinctrl_pinconf_set(struct pinctrl_dev *pctldev, unsigned int _pin, unsigned long *_configs, unsigned int num_configs) argument [all...] |
H A D | pinctrl-rzg2l.c | 1076 unsigned int _pin, 1082 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; 1097 bit = RZG2L_PIN_ID_TO_PIN(_pin); 1099 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) 1113 arg = rzg2l_read_oen(pctrl, cfg, _pin, bit); 1119 ret = rzg2l_get_power_source(pctrl, _pin, cfg); 1148 ret = rzg2l_get_power_source(pctrl, _pin, cfg); 1178 unsigned int _pin, 1183 const struct pinctrl_pin_desc *pin = &pctrl->desc.pins[_pin]; 1185 struct rzg2l_pinctrl_pin_settings settings = pctrl->settings[_pin]; 1075 rzg2l_pinctrl_pinconf_get(struct pinctrl_dev *pctldev, unsigned int _pin, unsigned long *config) argument 1177 rzg2l_pinctrl_pinconf_set(struct pinctrl_dev *pctldev, unsigned int _pin, unsigned long *_configs, unsigned int num_configs) argument [all...] |
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-pistachio.c | 635 #define PIN_GROUP(_pin, _name) \ 638 .pin = PISTACHIO_PIN_##_pin, \ 649 #define MFIO_PIN_GROUP(_pin, _func) \ 651 .name = "mfio" #_pin, \ 652 .pin = PISTACHIO_PIN_MFIO(_pin), \ 663 #define MFIO_MUX_PIN_GROUP(_pin, _f0, _f1, _f2, _reg, _shift, _mask) \ 665 .name = "mfio" #_pin, \ 666 .pin = PISTACHIO_PIN_MFIO(_pin), \
|
H A D | pinctrl-pic32.c | 372 #define PIC32_PINCTRL_GROUP(_pin, _name, ...) \ 375 .pin = _pin, \
|
/linux-master/drivers/pinctrl/cirrus/ |
H A D | pinctrl-lochnagar.c | 53 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-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.h | 128 #define E810T_CGU_INPUT_C827(_phy, _pin) ((_phy) * ICE_E810_RCLK_PINS_NUM + \ 129 (_pin) + ZL_REF1P)
|
/linux-master/drivers/iio/proximity/ |
H A D | sx9324.c | 76 #define SX9324_REG_AFE_PH0_PIN_MASK(_pin) \ 77 GENMASK(2 * (_pin) + 1, 2 * (_pin))
|
/linux-master/drivers/clk/qcom/ |
H A D | clk-smd-rpm.c | 153 __DEFINE_CLK_SMD_RPM_BRANCH(_name##_pin, _name##_a##_pin, \
|
/linux-master/drivers/pinctrl/realtek/ |
H A D | pinctrl-rtd1315e.c | 231 #define DECLARE_RTD1315E_PIN(_pin, _name) \ 232 static const unsigned int rtd1315e_## _name ##_pins[] __maybe_unused = { _pin }
|
H A D | pinctrl-rtd1319d.c | 237 #define DECLARE_RTD1319D_PIN(_pin, _name) \ 238 static const unsigned int rtd1319d_## _name ##_pins[] __maybe_unused = { _pin }
|
H A D | pinctrl-rtd1619b.c | 246 #define DECLARE_RTD1619B_PIN(_pin, _name) \ 247 static const unsigned int rtd1619b_## _name ##_pins[] = { _pin }
|
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm281xx.c | 369 { .number = a, .name = b, .drv_data = &c##_pin }
|
/linux-master/fs/bcachefs/ |
H A D | btree_write_buffer.c | 453 struct journal_entry_pin *_pin, u64 seq) 452 bch2_btree_write_buffer_journal_flush(struct journal *j, struct journal_entry_pin *_pin, u64 seq) argument
|
H A D | btree_trans_commit.c | 815 struct journal_entry_pin *_pin, u64 seq) 814 bch2_trans_commit_journal_pin_flush(struct journal *j, struct journal_entry_pin *_pin, u64 seq) argument
|
/linux-master/drivers/soc/tegra/ |
H A D | pmc.c | 327 #define TEGRA_WAKE_GPIO(_name, _id, _instance, _pin) \ 334 .pin = _pin, \
|