Home
last modified time | relevance | path

Searched refs:rsel (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv50.c57 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-6.6.21/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.c672 const struct mtk_pin_rsel *rsel; in mtk_hw_pin_rsel_lookup() local
676 rsel = hw->soc->pin_rsel; in mtk_hw_pin_rsel_lookup()
679 if (desc->number >= rsel[check].s_pin && in mtk_hw_pin_rsel_lookup()
680 desc->number <= rsel[check].e_pin) { in mtk_hw_pin_rsel_lookup()
682 if (rsel[check].up_rsel == arg) { in mtk_hw_pin_rsel_lookup()
684 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup()
688 if (rsel[check].down_rsel == arg) { in mtk_hw_pin_rsel_lookup()
690 *rsel_val = rsel[check].rsel_index; in mtk_hw_pin_rsel_lookup()
785 const struct mtk_pin_rsel *rsel; in mtk_rsel_get_si_unit() local
788 rsel = hw->soc->pin_rsel; in mtk_rsel_get_si_unit()
[all …]
Dpinctrl-paris.c643 int pinmux, pullup = 0, pullen = 0, len = 0, r1 = -1, r0 = -1, rsel = -1; in mtk_pctrl_show_one_pin() local
664 rsel = pullen; in mtk_pctrl_show_one_pin()
689 rsel = pullen - MTK_PULL_SET_RSEL_000; in mtk_pctrl_show_one_pin()
708 else if (rsel != -1) in mtk_pctrl_show_one_pin()
709 len += scnprintf(buf + len, buf_len - len, " (%1d)", rsel); in mtk_pctrl_show_one_pin()
/linux-6.6.21/drivers/media/dvb-frontends/
Dmb86a16.c35 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-6.6.21/drivers/rtc/
Drtc-sunplus.c183 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-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dmediatek,mt8186-pinctrl.yaml61 mediatek,rsel-resistance-in-si-unit:
130 "mediatek,rsel-resistance-in-si-unit".
146 mediatek,rsel-resistance-in-si-unit;
175 "mediatek,rsel-resistance-in-si-unit".
182 mediatek,rsel-resistance-in-si-unit;
Dmediatek,mt8195-pinctrl.yaml54 mediatek,rsel-resistance-in-si-unit:
123 "mediatek,rsel-resistance-in-si-unit".
142 mediatek,rsel-resistance-in-si-unit;
171 "mediatek,rsel-resistance-in-si-unit".
190 mediatek,rsel-resistance-in-si-unit;
Dmediatek,mt8188-pinctrl.yaml60 mediatek,rsel-resistance-in-si-unit:
118 "mediatek,rsel-resistance-in-si-unit". It can support
144 "mediatek,rsel-resistance-in-si-unit". It can support
/linux-6.6.21/drivers/scsi/
Dsun3_scsi.c82 unsigned short rsel; /* select regs to load */ member
288 udc_regs->rsel = UDC_RSEL_SEND; in sun3scsi_dma_setup()
291 udc_regs->rsel = UDC_RSEL_RECV; in sun3scsi_dma_setup()
/linux-6.6.21/drivers/power/supply/
Drt9467-charger.c352 enum rt9467_ranges rsel, in rt9467_get_value_from_ranges() argument
355 const struct linear_range *range = rt9467_ranges + rsel; in rt9467_get_value_from_ranges()
368 enum rt9467_ranges rsel, in rt9467_set_value_from_ranges() argument
371 const struct linear_range *range = rt9467_ranges + rsel; in rt9467_set_value_from_ranges()
376 if (rsel == RT9467_RANGE_VMIVR) { in rt9467_set_value_from_ranges()
/linux-6.6.21/drivers/media/platform/chips-media/
Dcoda-common.c1025 struct v4l2_rect r, *rsel; in coda_g_selection() local
1035 rsel = &q_data->rect; in coda_g_selection()
1040 rsel = &r; in coda_g_selection()
1049 rsel = &r; in coda_g_selection()
1061 s->r = *rsel; in coda_g_selection()
/linux-6.6.21/arch/parisc/kernel/
Dmodule.c104 #define rsel(v,a) (((v)+(a))&0x7ff) macro
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt8195-cherry.dtsi479 mediatek,rsel-resistance-in-si-unit;