Searched refs:rsel (Results 1 – 9 of 9) sorted by relevance
57 u32 rsel = nvkm_rd32(device, 0x00e18c); in read_pll_src() local65 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()
698 const struct mtk_pin_rsel *rsel; in mtk_hw_pin_rsel_lookup() local702 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()820 const struct mtk_pin_rsel *rsel; in mtk_rsel_get_si_unit() local823 rsel = hw->soc->pin_rsel; in mtk_rsel_get_si_unit()[all …]
35 int rsel; member148 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 …]
183 u32 ohms, rsel; in sp_rtc_set_trickle_charger() local194 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()
423 struct gpio_desc *rsel; in da9055_gpio_init() local458 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()
28 pins-low-power-hdmi-rsel-disable {
90 pins-low-power-hdmi-rsel-disable {
1026 struct v4l2_rect r, *rsel; in coda_g_selection() local1036 rsel = &q_data->rect; in coda_g_selection()1041 rsel = &r; in coda_g_selection()1050 rsel = &r; in coda_g_selection()1062 s->r = *rsel; in coda_g_selection()
103 #define rsel(v,a) (((v)+(a))&0x7ff) macro