Searched refs:reg_en (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | pwm-fan.c | 44 struct regulator *reg_en; member 124 if (!ctx->reg_en) in pwm_fan_switch_power() 128 ret = regulator_enable(ctx->reg_en); in pwm_fan_switch_power() 132 ret = regulator_disable(ctx->reg_en); in pwm_fan_switch_power() 500 ctx->reg_en = devm_regulator_get_optional(dev, "fan"); in pwm_fan_probe() 501 if (IS_ERR(ctx->reg_en)) { in pwm_fan_probe() 502 if (PTR_ERR(ctx->reg_en) != -ENODEV) in pwm_fan_probe() 503 return PTR_ERR(ctx->reg_en); in pwm_fan_probe() 505 ctx->reg_en = NULL; in pwm_fan_probe()
|
/linux-6.1.9/drivers/pinctrl/vt8500/ |
D | pinctrl-wmt.c | 89 u32 reg_en = data->banks[bank].reg_en; in wmt_set_pinmux() local 104 if (reg_en != NO_REG) in wmt_set_pinmux() 105 wmt_setbits(data, reg_en, BIT(bit)); in wmt_set_pinmux() 109 if (reg_en != NO_REG) in wmt_set_pinmux() 110 wmt_setbits(data, reg_en, BIT(bit)); in wmt_set_pinmux() 114 if (reg_en == NO_REG) { in wmt_set_pinmux() 119 wmt_clearbits(data, reg_en, BIT(bit)); in wmt_set_pinmux()
|
D | pinctrl-wmt.h | 15 .reg_en = __en, \ 36 u32 reg_en; member
|
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 350 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_dump_regs() local 358 reg_en = RD_CH_EN(ch); in ade_rdma_dump_regs() 372 val = readl(base + reg_en); in ade_rdma_dump_regs() 552 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local 568 reg_en = RD_CH_EN(ch); in ade_rdma_set() 578 writel(ADE_ENABLE, base + reg_en); in ade_rdma_set() 584 u32 reg_en; in ade_rdma_disable() local 587 reg_en = RD_CH_EN(ch); in ade_rdma_disable() 588 writel(0, base + reg_en); in ade_rdma_disable()
|