Lines Matching refs:osh
50 osl_t *osh;
72 oi->hwprot = (uint16)(R_REG(oi->osh, &cc->otpstatus) & OTPS_OL_MASK);
73 oi->prog = (uint16)(R_REG(oi->osh, &cc->otpstatus) & OTPS_GUP_MASK);
116 oi->osh = sb_osh(sbh);
149 if (!(R_REG(oi->osh, &cc->min_res_mask) & PMURES_BIT(RES4325_LNLDO2_PU))) {
179 return R_REG(oi->osh, &cc->otp[wn]);
293 W_REG(oi->osh, &cc->otpprog, otpp);
296 ((st = R_REG(oi->osh, &cc->otpprog)) & OTPP_START_BUSY) && (k < OTPP_TRIES);
392 OR_REG(oi->osh, &cc->otpcontrol, OTPC_PROGEN);
419 AND_REG(oi->osh, &cc->otpcontrol, ~OTPC_PROGEN);
452 W_REG(oi->osh, &cc->otpprog, otpp);
455 ((st = R_REG(oi->osh, &cc->otpprog)) & OTPP_START_BUSY) && (k < OTPP_TRIES);
608 osl_t *osh;
614 osh = sb_osh(oi->sbh);
617 return (R_REG(osh, &ptr[wn]));
624 osl_t *osh;
631 osh = sb_osh(oi->sbh);
635 return (R_REG(osh, &ptr[(oi->size / 2) + woff]));
646 osl_t *osh;
654 osh = sb_osh(oi->sbh);
658 cap = R_REG(osh, &cc->capabilities);
675 oi->hwprot = (int)(R_REG(osh, &cc->otpstatus) & OTPS_PROTECT);
896 W_REG(osh, &cc->otpcontrol, otpc | pwait);
897 W_REG(osh, &cc->otpprog, otpp);
898 pst = R_REG(osh, &cc->otpprog);
900 pst = R_REG(osh, &cc->otpprog);
906 st = R_REG(osh, &cc->otpstatus);
1189 osl_t *osh;
1192 osh = sb_osh(oi->sbh);
1203 W_REG(osh, &cc->otpprog, otpp);
1204 st = R_REG(osh, &cc->otpprog);
1206 st = R_REG(osh, &cc->otpprog);