Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgm200.c27 gm200_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gm200_sor_dp_drive() argument
34 pu &= 0x0f; in gm200_sor_dp_drive()
39 if ((data[2] & 0x00000f00) < (pu << 8) || ln == 0) in gm200_sor_dp_drive()
40 data[2] = (data[2] & ~0x00000f00) | (pu << 8); in gm200_sor_dp_drive()
Dsornv50.c47 nv50_sor_power(struct nvkm_ior *sor, bool normal, bool pu, in nv50_sor_power() argument
53 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift; in nv50_sor_power()
Ddacnv50.c66 nv50_dac_power(struct nvkm_ior *dac, bool normal, bool pu, in nv50_dac_power() argument
72 const u32 state = 0x80000000 | (0x00000040 * ! pu | in nv50_dac_power()
Dsorgf119.c71 gf119_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gf119_sor_dp_drive() argument
81 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in gf119_sor_dp_drive()
82 data[2] = (data[2] & ~0x0000ff00) | (pu << 8); in gf119_sor_dp_drive()
Dpiornv50.c58 nv50_pior_power(struct nvkm_ior *pior, bool normal, bool pu, in nv50_pior_power() argument
64 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift; in nv50_pior_power()
Dsorg94.c58 g94_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in g94_sor_dp_drive() argument
68 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in g94_sor_dp_drive()
69 data[2] = (data[2] & ~0x0000ff00) | (pu << 8); in g94_sor_dp_drive()
Dior.h58 void (*power)(struct nvkm_ior *, bool normal, bool pu,
/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.c578 int err, pu, pd; in mtk_pinconf_bias_set_pu_pd() local
581 pu = 0; in mtk_pinconf_bias_set_pu_pd()
584 pu = 1; in mtk_pinconf_bias_set_pu_pd()
587 pu = 0; in mtk_pinconf_bias_set_pu_pd()
594 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, pu); in mtk_pinconf_bias_set_pu_pd()
672 int err, pu, pd; in mtk_pinconf_bias_get_pu_pd() local
674 err = mtk_hw_get_value(hw, desc, PINCTRL_PIN_REG_PU, &pu); in mtk_pinconf_bias_get_pu_pd()
682 if (pu == 0 && pd == 0) { in mtk_pinconf_bias_get_pu_pd()
685 } else if (pu == 1 && pd == 0) { in mtk_pinconf_bias_get_pu_pd()
688 } else if (pu == 0 && pd == 1) { in mtk_pinconf_bias_get_pu_pd()
/drivers/pinctrl/
Dpinctrl-st.c229 struct regmap_field *alt, *oe, *pu, *od; member
244 const int alt, oe, pu, od, rt; member
346 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100,
357 .pu = -1, /* Not Available */
387 struct regmap_field *pull_up = pc->pu; in st_pinconf_set_config()
584 if (pc->pu) { in st_pinconf_get_direction()
585 regmap_field_read(pc->pu, &pu_value); in st_pinconf_get_direction()
1155 pc->pu = st_pc_get_value(dev, regmap, bank/4, data->pu, lsb, msb); in st_parse_syscfgs()
/drivers/regulator/
Dmax77620-regulator.c170 int pu = rpdata->active_fps_pu_slot; in max77620_regulator_set_fps_slots() local
178 pu = rpdata->suspend_fps_pu_slot; in max77620_regulator_set_fps_slots()
183 if (pu >= 0) { in max77620_regulator_set_fps_slots()
184 val |= (pu << MAX77620_FPS_PU_PERIOD_SHIFT); in max77620_regulator_set_fps_slots()
/drivers/of/
Dproperty.c527 u32 *pu) in of_prop_next_u32() argument
544 *pu = be32_to_cpup(curv); in of_prop_next_u32()
/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c170 #define NS2_PIN_DESC(p, n, b, o, s, i, pu, d) \ argument
179 .pull_shift = pu, \
/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c1723 u32 ie, oe, pu, pd; in npcm7xx_config_get() local
1730 pu = ioread32(bank->base + NPCM7XX_GP_N_PU) & pinmask; in npcm7xx_config_get()
1733 rc = (!pu && !pd); in npcm7xx_config_get()
1735 rc = (pu && !pd); in npcm7xx_config_get()
1737 rc = (!pu && pd); in npcm7xx_config_get()