Lines Matching defs:prog
55 uint16 prog; /* Subregion programmed bits */
73 oi->prog = (uint16)(R_REG(oi->osh, &cc->otpstatus) & OTPS_GUP_MASK);
74 OTP_MSG(("otp_rgn: hwprot %x prog %x\n", oi->hwprot, oi->prog));
82 if (oi->prog & OTPS_GUP_HW) {
90 if (oi->prog & OTPS_GUP_SW) {
193 if (!(oi->prog & OTPS_GUP_HW)) {
205 if (!(oi->prog & OTPS_GUP_SW)) {
217 if (!(oi->prog & OTPS_GUP_CI)) {
229 if (!(oi->prog & OTPS_GUP_FUSE)) {
260 return (int)(oi->hwprot | oi->prog);
336 if (oi->prog & OTPS_GUP_HW) {
348 if (oi->prog & OTPS_GUP_SW) {
360 if (oi->prog & OTPS_GUP_CI) {
372 if (oi->prog & OTPS_GUP_FUSE) {
921 OTP_MSG(("otp prog failed. wn=%d, bit=%d, ppret=%d, ret=%d\n",