/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8195-pinctrl.yaml | 54 mediatek,rsel-resistance-in-si-unit: 57 Identifying i2c pins pull up/down type which is RSEL. It can support RSEL 111 description: mt8195 pull down RSEL type define value. 113 description: mt8195 pull down RSEL type si unit value(ohm). 115 For pull down type is normal, it don't need add RSEL & R1R0 define 121 For pull down type is RSEL, it can add RSEL define & resistance 123 "mediatek,rsel-resistance-in-si-unit". 131 An example of using RSEL define: 142 mediatek,rsel-resistance-in-si-unit; 159 description: mt8195 pull up RSEL type define value. [all …]
|
H A D | mediatek,mt8186-pinctrl.yaml | 61 mediatek,rsel-resistance-in-si-unit: 64 Identifying i2c pins pull up/down type which is RSEL. It can support RSEL 118 description: mt8186 pull down RSEL type define value. 120 description: mt8186 pull down RSEL type si unit value(ohm). 122 For pull down type is normal, it don't need add RSEL & R1R0 define 128 For pull down type is RSEL, it can add RSEL define & resistance 130 "mediatek,rsel-resistance-in-si-unit". 135 An example of using RSEL define: 146 mediatek,rsel-resistance-in-si-unit; 163 description: mt8186 pull up RSEL type define value. [all …]
|
H A D | mediatek,mt8188-pinctrl.yaml | 60 mediatek,rsel-resistance-in-si-unit: 64 pull down. The first is by RSEL definition value, another one is by 106 description: mt8188 pull down RSEL type define value. 108 description: mt8188 pull down RSEL type si unit value(ohm). 110 For pull down type is normal, it doesn't need add RSEL & R1R0 116 For pull down type is RSEL, it can add RSEL define & resistance 118 "mediatek,rsel-resistance-in-si-unit". It can support 132 description: mt8188 pull up RSEL type define value. 134 description: mt8188 pull up RSEL type si unit value(ohm). 136 For pull up type is normal, it don't need add RSEL & R1R0 define [all …]
|
H A D | mediatek,mt8189-pinctrl.yaml | 109 description: mt8189 pull down RSEL type si unit value(ohm). 119 For pull down type is PD/RSEL, it can add resistance value(ohm) 121 "mediatek,rsel-resistance-in-si-unit". 129 description: mt8189 pull up RSEL type si unit value(ohm). 139 For pull up type is PU/RSEL, it can add resistance value(ohm) 141 "mediatek,rsel-resistance-in-si-unit".
|
H A D | mediatek,mt8196-pinctrl.yaml | 126 description: mt8196 pull down RSEL type si unit value(ohm). 134 For pull down type is PD/RSEL, it can add resistance value(ohm) 136 "mediatek,rsel-resistance-in-si-unit". It can support resistance 145 description: mt8196 pull up RSEL type si unit value(ohm). 153 For pull up type is PU/RSEL, it can add resistance value(ohm) 155 "mediatek,rsel-resistance-in-si-unit". It can support resistance
|
H A D | mediatek,mt6893-pinctrl.yaml | 102 description: Pull down RSEL type resistance values (in ohms) 106 For RSEL pull down type a resistance value (in ohms) can be added. 112 description: Pull up RSEL type resistance values (in ohms) 116 For RSEL pull up type a resistance value (in ohms) can be added.
|
H A D | mediatek,mt8192-pinctrl.yaml | 95 description: RSEL pull down type. See MTK_PULL_SET_RSEL_ defines 106 description: RSEL pull up type. See MTK_PULL_SET_RSEL_ defines
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common-v2.c | 698 const struct mtk_pin_rsel *rsel; in mtk_hw_pin_rsel_lookup() local 702 rsel = hw->soc->pin_rsel; in mtk_hw_pin_rsel_lookup() 705 if (desc->number >= rsel[check].s_pin && in mtk_hw_pin_rsel_lookup() 706 desc->number <= rsel[check].e_pin) { in mtk_hw_pin_rsel_lookup() 708 if (rsel[check].up_rsel == arg) { in mtk_hw_pin_rsel_lookup() 710 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup() 714 if (rsel[check].down_rsel == arg) { in mtk_hw_pin_rsel_lookup() 716 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup() 724 dev_err(hw->dev, "Not support rsel value %d Ohm for pin = %d (%s)\n", in mtk_hw_pin_rsel_lookup() 820 const struct mtk_pin_rsel *rsel; in mtk_rsel_get_si_unit() local [all …]
|
H A D | pinctrl-paris.c | 627 int pinmux, pullup = 0, pullen = 0, len = 0, r1 = -1, r0 = -1, rsel = -1; in mtk_pctrl_show_one_pin() local 648 rsel = pullen; in mtk_pctrl_show_one_pin() 670 /* Case for: RSEL */ in mtk_pctrl_show_one_pin() 673 rsel = pullen - MTK_PULL_SET_RSEL_000; in mtk_pctrl_show_one_pin() 692 else if (rsel != -1) in mtk_pctrl_show_one_pin() 693 len += scnprintf(buf + len, buf_len - len, " (%1d)", rsel); in mtk_pctrl_show_one_pin() 1033 "mediatek,rsel-resistance-in-si-unit"); in mtk_paris_pinctrl_probe()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 57 u32 rsel = nvkm_rd32(device, 0x00e18c); in read_pll_src() local 65 case 0x4028: id = !!(rsel & 0x00000004); break; in read_pll_src() 66 case 0x4008: id = !!(rsel & 0x00000008); break; in read_pll_src() 90 rsel = nvkm_rd32(device, 0x00c050); in read_pll_src() 92 case 0x4020: rsel = (rsel & 0x00000003) >> 0; break; in read_pll_src() 93 case 0x4008: rsel = (rsel & 0x0000000c) >> 2; break; in read_pll_src() 94 case 0x4028: rsel = (rsel & 0x00001800) >> 11; break; in read_pll_src() 95 case 0x4030: rsel = 3; break; in read_pll_src() 101 switch (rsel) { in read_pll_src()
|
/linux/drivers/rtc/ |
H A D | rtc-sunplus.c | 183 u32 ohms, rsel; in sp_rtc_set_trickle_charger() local 194 rsel = BAT_CHARGE_RSEL_2K_OHM; in sp_rtc_set_trickle_charger() 197 rsel = BAT_CHARGE_RSEL_250_OHM; in sp_rtc_set_trickle_charger() 200 rsel = BAT_CHARGE_RSEL_50_OHM; in sp_rtc_set_trickle_charger() 203 rsel = BAT_CHARGE_RSEL_0_OHM; in sp_rtc_set_trickle_charger() 210 writel(BAT_CHARGE_RSEL_MASK_BIT | rsel, sp_rtc->reg_base + RTC_BATT_CHARGE_CTRL); in sp_rtc_set_trickle_charger()
|
/linux/drivers/media/dvb-frontends/ |
H A D | mb86a16.c | 35 int rsel; member 148 state->rsel) < 0) in smrt_set() 344 state->deci = 0; state->csel = 0; state->rsel = 0; in smrt_info_get() 346 state->deci = 0; state->csel = 0; state->rsel = 1; in smrt_info_get() 348 state->deci = 0; state->csel = 1; state->rsel = 0; in smrt_info_get() 350 state->deci = 0; state->csel = 1; state->rsel = 1; in smrt_info_get() 352 state->deci = 1; state->csel = 0; state->rsel = 0; in smrt_info_get() 354 state->deci = 1; state->csel = 0; state->rsel = 1; in smrt_info_get() 356 state->deci = 1; state->csel = 1; state->rsel = 0; in smrt_info_get() 358 state->deci = 1; state->csel = 1; state->rsel = 1; in smrt_info_get() [all …]
|
/linux/drivers/regulator/ |
H A D | da9055-regulator.c | 423 struct gpio_desc *rsel; in da9055_gpio_init() local 458 rsel = devm_gpiod_get_optional(dev, "regulator-select", GPIOD_IN); in da9055_gpio_init() 459 if (IS_ERR(rsel)) in da9055_gpio_init() 460 return PTR_ERR(rsel); in da9055_gpio_init() 462 if (rsel) { in da9055_gpio_init() 469 gpiod_set_consumer_name(rsel, "DA9055 rsel GPI"); in da9055_gpio_init()
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8195-cherry-tomato-r2.dts | 27 pins-low-power-hdmi-rsel-disable {
|
H A D | mt8195-cherry-tomato-r3.dts | 28 pins-low-power-hdmi-rsel-disable {
|
H A D | mt8195-cherry-dojo-r1.dts | 90 pins-low-power-hdmi-rsel-disable {
|
H A D | mt8395-radxa-nio-12l.dts | 537 mediatek,rsel-resistance-in-si-unit;
|
H A D | mt8195-cherry.dtsi | 769 mediatek,rsel-resistance-in-si-unit;
|
/linux/drivers/clk/ |
H A D | clk-cs2000-cp.c | 41 #define RSEL(x) (((x) & 0x3) << 3) macro 42 #define RSEL_MASK RSEL(0x3) 281 ret = regmap_update_bits(priv->regmap, DEVICE_CFG1, RSEL_MASK, RSEL(ch)); in cs2000_ratio_select()
|
/linux/arch/parisc/kernel/ |
H A D | module.c | 102 /* rsel: select right 11 bits */ 103 #define rsel(v,a) (((v)+(a))&0x7ff) macro
|
/linux/drivers/scsi/ |
H A D | FlashPoint.c | 495 #define RSEL BIT(1) macro 1764 (BUS_FREE | RSEL))) ; in FlashPoint_HandleInterrupt() 1805 (BUS_FREE | RSEL)) in FlashPoint_HandleInterrupt() 1818 (BUS_FREE | RSEL))) { in FlashPoint_HandleInterrupt() 1830 else if (hp_int & RSEL) { in FlashPoint_HandleInterrupt() 1833 (PROG_HLT | RSEL | PHASE | BUS_FREE)); in FlashPoint_HandleInterrupt() 3761 (BUS_FREE | RSEL))) ; in FPT_sxfrp() 4462 (RDW_HARPOON((port + hp_intstat)) & RSEL)) { in FPT_phaseBusFree() 6426 FPT_default_intena = RESET | RSEL | PROG_HLT | TIMEOUT | in FPT_XbowInit()
|