| /kernel/linux/linux-6.6/drivers/pinctrl/ |
| D | pinctrl-stmfx.c | 173 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local 176 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd() 180 return !!(pupd & mask); in stmfx_pinconf_get_pupd() 184 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() argument 189 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd() 222 int ret, dir, type, pupd; in stmfx_pinconf_get() local 241 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get() 242 if (pupd < 0) in stmfx_pinconf_get() 243 return pupd; in stmfx_pinconf_get() 247 if ((!dir && (!type || !pupd)) || (dir && !type)) in stmfx_pinconf_get() [all …]
|
| D | pinctrl-da850-pupd.c | 177 { .compatible = "ti,da850-pupd" }, 184 .name = "ti-da850-pupd",
|
| D | Makefile | 21 obj-$(CONFIG_PINCTRL_DA850_PUPD) += pinctrl-da850-pupd.o
|
| /kernel/linux/linux-5.10/drivers/pinctrl/ |
| D | pinctrl-stmfx.c | 172 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local 175 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd() 179 return !!(pupd & mask); in stmfx_pinconf_get_pupd() 183 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() argument 188 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd() 221 int ret, dir, type, pupd; in stmfx_pinconf_get() local 240 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get() 241 if (pupd < 0) in stmfx_pinconf_get() 242 return pupd; in stmfx_pinconf_get() 246 if ((!dir && (!type || !pupd)) || (dir && !type)) in stmfx_pinconf_get() [all …]
|
| D | pinctrl-da850-pupd.c | 182 { .compatible = "ti,da850-pupd" }, 189 .name = "ti-da850-pupd",
|
| D | Makefile | 18 obj-$(CONFIG_PINCTRL_DA850_PUPD) += pinctrl-da850-pupd.o
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | mediatek,mt6795-pinctrl.yaml | 101 description: mt6795 pull down PUPD/R0/R1 type define value. 104 values; When pull down type is PUPD/R0/R1, adding R1R0 defines 111 description: mt6795 pull up PUPD/R0/R1 type define value. 114 values; When pull up type is PUPD/R0/R1, adding R1R0 defines will
|
| D | mediatek,mt8188-pinctrl.yaml | 104 description: mt8188 pull down PUPD/R0/R1 type define value. 112 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 130 description: mt8188 pull up PUPD/R0/R1 type define value. 138 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to set
|
| D | mediatek,mt8195-pinctrl.yaml | 109 description: mt8195 pull down PUPD/R0/R1 type define value. 117 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 157 description: mt8195 pull up PUPD/R0/R1 type define value. 165 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
| D | mediatek,mt8186-pinctrl.yaml | 116 description: mt8186 pull down PUPD/R0/R1 type define value. 124 For pull down type is PUPD/R0/R1 type, it can add R1R0 define to 161 description: mt8186 pull up PUPD/R0/R1 type define value. 169 For pull up type is PUPD/R0/R1 type, it can add R1R0 define to
|
| D | ti,da850-pupd.txt | 8 - compatible: Must be "ti,da850-pupd" 31 compatible = "ti,da850-pupd";
|
| D | mediatek,mt8192-pinctrl.yaml | 92 description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_ 103 description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_
|
| D | mediatek,mt7986-pinctrl.yaml | 303 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in 312 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
|
| D | mediatek,mt7981-pinctrl.yaml | 357 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in 366 PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0 defines in
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | ti,da850-pupd.txt | 8 - compatible: Must be "ti,da850-pupd" 31 compatible = "ti,da850-pupd";
|
| /kernel/linux/linux-5.10/drivers/pinctrl/tegra/ |
| D | pinctrl-tegra194.c | 82 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, e_input, \ argument 108 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_lpbk, \ argument 120 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, \
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | tps80031.c | 227 const struct tps80031_pupd_data *pupd = in tps80031_pupd_init() local 230 u8 update_mask = pupd->pulldown_bit | pupd->pullup_bit; in tps80031_pupd_init() 233 update_value = pupd->pulldown_bit; in tps80031_pupd_init() 235 update_value = pupd->pullup_bit; in tps80031_pupd_init() 237 tps80031_update(tps80031->dev, TPS80031_SLAVE_ID1, pupd->reg, in tps80031_pupd_init()
|
| /kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
| D | pinctrl-mtk-common-v2.c | 573 * 3. PUPD + R0 + R1 654 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_set_pupd_r1_r0() 724 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_get_pupd_r1_r0() 925 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_set() 953 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_get()
|
| /kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
| D | pinctrl-mtk-common-v2.c | 572 * 3. PUPD + R0 + R1 653 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_set_pupd_r1_r0() 906 /* MTK HW PUPD bit: 1 for pull-down, 0 for pull-up */ in mtk_pinconf_bias_get_pupd_r1_r0() 1103 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_set() 1131 /* If PUPD register is not supported for that pin, let's fallback to in mtk_pinconf_adv_pull_get()
|
| /kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
| D | pinctrl-rzv2m.c | 90 #define PUPD(n) (0x24 + (n) * 0x40) macro 496 /* PUPD uses 2-bits per pin */ in rzv2m_pinctrl_pinconf_get() 499 switch ((readl(pctrl->base + PUPD(port)) >> bit) & PUPD_MASK) { in rzv2m_pinctrl_pinconf_get() 600 /* PUPD uses 2-bits per pin */ in rzv2m_pinctrl_pinconf_set() 614 rzv2m_rmw_pin_config(pctrl, PUPD(port), bit, PUPD_MASK, val); in rzv2m_pinctrl_pinconf_set()
|
| /kernel/linux/linux-6.6/drivers/pinctrl/tegra/ |
| D | pinctrl-tegra234.c | 1425 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \ argument 1434 .pupd_reg = PINGROUP_REG_##pupd(r), \ 1615 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_… argument 1627 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \
|
| D | pinctrl-tegra194.c | 1324 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \ argument 1334 .pupd_reg = PINGROUP_REG_##pupd(r), \ 1571 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_… argument 1583 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8195-cherry.dtsi | 1014 pins-low-power-pupd {
|
| /kernel/linux/linux-5.10/drivers/media/radio/ |
| D | radio-wl1273.c | 1846 dev_err(dev, "%s: Get PUPD fails.\n", __func__); in wl1273_fm_vidioc_log_status() 1848 dev_info(dev, "PUPD: 0x%04x\n", val); in wl1273_fm_vidioc_log_status()
|
| /kernel/linux/linux-6.6/drivers/media/radio/ |
| D | radio-wl1273.c | 1846 dev_err(dev, "%s: Get PUPD fails.\n", __func__); in wl1273_fm_vidioc_log_status() 1848 dev_info(dev, "PUPD: 0x%04x\n", val); in wl1273_fm_vidioc_log_status()
|