Lines Matching defs:agc
415 static int SetCfgIfAgc(struct drx397xD_state *s, struct drx397xD_CfgIfAgc *agc)
417 u16 w06 = agc->w06;
418 u16 w08 = agc->w08;
419 u16 w0A = agc->w0A;
420 u16 w0C = agc->w0C;
425 if (agc->w04 > 0x3ff)
428 if (agc->d00 == 1) {
432 return WR16(s, 0x0c20030, agc->w04 & 0x7ff);
435 if (agc->d00 != 0)
476 static int SetCfgRfAgc(struct drx397xD_state *s, struct drx397xD_CfgRfAgc *agc)
478 u16 w04 = agc->w04;
479 u16 w06 = agc->w06;
482 pr_debug("%s %d 0x%x 0x%x\n", __func__, agc->d00, w04, w06);
487 switch (agc->d00) {