/linux-4.4.14/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.h | 47 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument 49 .pin = _pin, \ 115 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ argument 117 .pin = _pin, \ 140 #define MTK_PIN_PUPD_SPEC_SR(_pin, _offset, _pupd, _r1, _r0) \ argument 142 .pin = _pin, \
|
D | pinctrl-mt8135.c | 44 #define SPEC_PULL(_pin, _pupd_offset, _pupd_bit, _r0_offset, \ argument 47 .pin = _pin, \
|
/linux-4.4.14/drivers/pinctrl/sh-pfc/ |
D | sh_pfc.h | 250 #define _GP_GPIO(bank, _pin, _name, sfx, cfg) \ argument 252 .pin = (bank * 32) + _pin, \ 288 #define PINMUX_GPIO(_pin) \ argument 289 [GPIO_##_pin] = { \ 291 .name = __stringify(GPIO_##_pin), \ 292 .enum_id = _pin##_DATA, \ 296 #define SH_PFC_PIN_CFG(_pin, cfgs) \ argument 298 .pin = _pin, \ 299 .name = __stringify(PORT##_pin), \ 300 .enum_id = PORT##_pin##_DATA, \
|
D | pinctrl.c | 478 static bool sh_pfc_pinconf_validate(struct sh_pfc *pfc, unsigned int _pin, in sh_pfc_pinconf_validate() argument 481 int idx = sh_pfc_get_pin_index(pfc, _pin); in sh_pfc_pinconf_validate() 502 static int sh_pfc_pinconf_get(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_get() argument 510 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_get() 523 bias = pfc->info->ops->get_bias(pfc, _pin); in sh_pfc_pinconf_get() 540 ret = pfc->info->ops->get_io_voltage(pfc, _pin); in sh_pfc_pinconf_get() 557 static int sh_pfc_pinconf_set(struct pinctrl_dev *pctldev, unsigned _pin, in sh_pfc_pinconf_set() argument 569 if (!sh_pfc_pinconf_validate(pfc, _pin, param)) in sh_pfc_pinconf_set() 580 pfc->info->ops->set_bias(pfc, _pin, param); in sh_pfc_pinconf_set() 594 ret = pfc->info->ops->set_io_voltage(pfc, _pin, arg); in sh_pfc_pinconf_set()
|
/linux-4.4.14/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 132 #define SUNXI_PIN(_pin, ...) \ argument 134 .pin = _pin, \
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-pistachio.c | 638 #define PIN_GROUP(_pin, _name) \ argument 641 .pin = PISTACHIO_PIN_##_pin, \ 652 #define MFIO_PIN_GROUP(_pin, _func) \ argument 654 .name = "mfio" #_pin, \ 655 .pin = PISTACHIO_PIN_MFIO(_pin), \ 666 #define MFIO_MUX_PIN_GROUP(_pin, _f0, _f1, _f2, _reg, _shift, _mask) \ argument 668 .name = "mfio" #_pin, \ 669 .pin = PISTACHIO_PIN_MFIO(_pin), \
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | exynos3250-pinctrl.dtsi | 24 #define PIN_SLP(_pin, _mode, _pull) \ argument 25 _pin { \ 26 samsung,pins = #_pin; \
|
D | exynos4x12-pinctrl.dtsi | 24 #define PIN_SLP(_pin, _mode, _pull) \ argument 25 _pin { \ 26 samsung,pins = #_pin; \
|
/linux-4.4.14/drivers/pinctrl/bcm/ |
D | pinctrl-bcm281xx.c | 375 { .number = a, .name = b, .drv_data = &c##_pin }
|