Lines Matching defs:reg
29 struct HiPwmRegs *reg;
91 if (hp == NULL || hp->reg == NULL || config == NULL) {
92 HDF_LOGE("%s: hp reg or config is null", __func__);
111 HiPwmDisable(hp->reg);
113 HiPwmSetPolarity(hp->reg, config->polarity);
117 HiPwmSetPeriod(hp->reg, config->period);
121 HiPwmSetDuty(hp->reg, config->duty);
126 HiPwmAlwaysOutput(hp->reg);
129 HiPwmOutputNumberSquareWaves(hp->reg, config->number);
178 hp->reg = (struct HiPwmRegs *)hp->base;