Lines Matching defs:shadow
125 /* shadow register set */
126 audiocmd shadow;
163 chip->shadow.bytes[1] = val;
173 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
182 chip->shadow.bytes[subaddr+1] = val;
204 val = (chip->shadow.bytes[1] & ~mask) | (val & mask);
206 if (subaddr + 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
213 val = (chip->shadow.bytes[subaddr+1] & ~mask) | (val & mask);
281 if (cmd->count + cmd->bytes[0] - 1 >= ARRAY_SIZE(chip->shadow.bytes)) {
288 /* FIXME: it seems that the shadow bytes are wrong below !*/
290 /* update our shadow register set; print bytes if (debug > 0) */
296 chip->shadow.bytes[i+cmd->bytes[0]] = cmd->bytes[i];
441 int t = chip->shadow.bytes[TDA9840_SW + 1] & ~0x7e;
606 int c6 = chip->shadow.bytes[TDA985x_C6+1] & 0x3f;
772 int sw_data = chip->shadow.bytes[TDA9873_SW+1] & ~ TDA9873_TR_MASK;
773 /* int adj_data = chip->shadow.bytes[TDA9873_AD+1] ; */
782 "tda9873_setaudmode(): chip->shadow.bytes[%d] = %d\n",
783 TDA9873_SW+1, chip->shadow.bytes[TDA9873_SW+1]);
975 chip->shadow.bytes[MAXREGS-2] = dsr;
976 chip->shadow.bytes[MAXREGS-1] = nsr;
1011 if(chip->shadow.bytes[MAXREGS-2] & 0x20) /* DSR.RSSF=1 */
1343 int s1 = chip->shadow.bytes[TDA8425_S1+1] & 0xe1;
1987 chip->shadow.count = desc->registers+1;