• Home
  • Raw
  • Download

Lines Matching refs:rptr

800 	union cmdret rptr = CMDRET_ZERO;  in writearm()  local
804 SEND_RMEM(cif, 0x02, addr, &rptr); in writearm()
805 rptr.retlongs[0] &= (~mask); in writearm()
809 SEND_WMEM(cif, 0x02, (rptr.retlongs[0] | data)); in writearm()
810 SEND_RMEM(cif, 0x02, addr, &rptr); in writearm()
811 if ((rptr.retlongs[0] & data) == data) { in writearm()
815 rptr.retlongs[0] &= ~mask; in writearm()
926 union cmdret rptr = CMDRET_ZERO; in setmixer() local
932 SEND_RDGV(cif, num, num, &rptr); in setmixer()
933 if (rptr.retwords[0] == lval && rptr.retwords[1] == rval) in setmixer()
960 union cmdret rptr = CMDRET_ZERO; in getsourcesink() local
962 if (SEND_RSSV(cif, source, sink, &rptr) && in getsourcesink()
963 SEND_RSSV(cif, source, sink, &rptr)) in getsourcesink()
965 *a = rptr.retbytes[0]; in getsourcesink()
966 *b = rptr.retbytes[1]; in getsourcesink()
977 union cmdret rptr = CMDRET_ZERO; in getsamplerate() local
982 if (SEND_RSRC(cif, *s, &rptr) && in getsamplerate()
983 SEND_RSRC(cif, *s, &rptr)) in getsamplerate()
985 p[i] += rptr.retwords[1]; in getsamplerate()
986 p[i] *= rptr.retwords[2]; in getsamplerate()
987 p[i] += rptr.retwords[3]; in getsamplerate()
1029 union cmdret rptr = CMDRET_ZERO; in setsamplerate() local
1042 SEND_RSRC(cif, *intdec, &rptr); in setsamplerate()
1043 } while (rptr.retwords[1] != D && in setsamplerate()
1044 rptr.retwords[2] != M && in setsamplerate()
1045 rptr.retwords[3] != N && in setsamplerate()
1062 union cmdret rptr = CMDRET_ZERO; in getmixer() local
1064 if (SEND_RDGV(cif, num, num, &rptr) && SEND_RDGV(cif, num, num, &rptr)) in getmixer()
1066 *rval = rptr.retwords[0]; in getmixer()
1067 *lval = rptr.retwords[1]; in getmixer()
1240 union cmdret rptr = CMDRET_ZERO; in riptide_reset() local
1261 SEND_RACR(cif, AC97_RESET, &rptr); in riptide_reset()
1262 snd_printdd("AC97: 0x%x 0x%x\n", rptr.retlongs[0], rptr.retlongs[1]); in riptide_reset()
1350 union cmdret rptr = CMDRET_ZERO; in snd_riptide_pointer() local
1353 SEND_GPOS(cif, 0, data->id, &rptr); in snd_riptide_pointer()
1357 data->id, rptr.retlongs[1], rptr.retlongs[1] % data->size, in snd_riptide_pointer()
1358 bytes_to_frames(runtime, rptr.retlongs[1]), in snd_riptide_pointer()
1360 rptr.retlongs[1]) % runtime->period_size); in snd_riptide_pointer()
1361 if (rptr.retlongs[1] > data->pointer) in snd_riptide_pointer()
1364 rptr.retlongs[1] % data->size); in snd_riptide_pointer()
1383 union cmdret rptr = CMDRET_ZERO; in snd_riptide_trigger() local
1410 i = rptr.retlongs[1]; in snd_riptide_trigger()
1411 SEND_GPOS(cif, 0, data->id, &rptr); in snd_riptide_trigger()
1413 } while (i != rptr.retlongs[1] && j++ < MAX_WRITE_RETRY); in snd_riptide_trigger()
1728 union cmdret rptr = CMDRET_ZERO; in snd_riptide_codec_write() local
1737 SEND_RACR(cif, reg, &rptr); in snd_riptide_codec_write()
1738 } while (rptr.retwords[1] != val && i++ < MAX_WRITE_RETRY); in snd_riptide_codec_write()
1748 union cmdret rptr = CMDRET_ZERO; in snd_riptide_codec_read() local
1753 if (SEND_RACR(cif, reg, &rptr) != 0) in snd_riptide_codec_read()
1754 SEND_RACR(cif, reg, &rptr); in snd_riptide_codec_read()
1755 snd_printdd("Read AC97 reg 0x%x got 0x%x\n", reg, rptr.retwords[1]); in snd_riptide_codec_read()
1756 return rptr.retwords[1]; in snd_riptide_codec_read()