cif 274 drivers/infiniband/ulp/srpt/ib_srpt.c struct ib_class_port_info *cif; cif 276 drivers/infiniband/ulp/srpt/ib_srpt.c cif = (struct ib_class_port_info *)mad->data; cif 277 drivers/infiniband/ulp/srpt/ib_srpt.c memset(cif, 0, sizeof(*cif)); cif 278 drivers/infiniband/ulp/srpt/ib_srpt.c cif->base_version = 1; cif 279 drivers/infiniband/ulp/srpt/ib_srpt.c cif->class_version = 1; cif 281 drivers/infiniband/ulp/srpt/ib_srpt.c ib_set_cpi_resp_time(cif, 20); cif 57 sound/pci/ice1712/ak4xxx.c if (priv->cif) { cif 94 sound/pci/ice1712/ak4xxx.c if (priv->cif) { cif 445 sound/pci/ice1712/delta.c .cif = 0, cif 466 sound/pci/ice1712/delta.c .cif = 0, cif 488 sound/pci/ice1712/delta.c .cif = 0, /* the default level of the CIF pin from AK4524 */ cif 510 sound/pci/ice1712/delta.c .cif = 0, /* the default level of the CIF pin from AK4524 */ cif 533 sound/pci/ice1712/delta.c .cif = 0, /* the default level of the CIF pin from AK4524 */ cif 555 sound/pci/ice1712/delta.c .cif = 0, cif 345 sound/pci/ice1712/ews.c .cif = 1, /* CIF high */ cif 366 sound/pci/ice1712/ews.c .cif = 1, /* CIF high */ cif 387 sound/pci/ice1712/ews.c .cif = 1, /* CIF high */ cif 289 sound/pci/ice1712/hoontech.c .cif = 1, /* CIF high */ cif 252 sound/pci/ice1712/ice1712.h unsigned int cif:1; /* CIF mode */ cif 99 sound/pci/ice1712/phase.c .cif = 1, cif 235 sound/pci/ice1712/revo.c .cif = 0, cif 257 sound/pci/ice1712/revo.c .cif = 0, cif 278 sound/pci/ice1712/revo.c .cif = 0, cif 296 sound/pci/ice1712/revo.c .cif = 0, cif 346 sound/pci/ice1712/revo.c .cif = 0, cif 420 sound/pci/riptide/riptide.c struct cmdif *cif; cif 486 sound/pci/riptide/riptide.c static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm, cif 488 sound/pci/riptide/riptide.c static int getsourcesink(struct cmdif *cif, unsigned char source, cif 492 sound/pci/riptide/riptide.c static int riptide_reset(struct cmdif *cif, struct snd_riptide *chip); cif 670 sound/pci/riptide/riptide.c static int senddata(struct cmdif *cif, const unsigned char *in, u32 offset) cif 679 sound/pci/riptide/riptide.c if (SEND_SMEM(cif, 0, addr) != 0) cif 684 sound/pci/riptide/riptide.c if (SEND_WMEM(cif, 2, cif 694 sound/pci/riptide/riptide.c static int loadfirmware(struct cmdif *cif, const unsigned char *img, cif 708 sound/pci/riptide/riptide.c err = senddata(cif, in, laddr + saddr); cif 718 sound/pci/riptide/riptide.c if (SEND_GOTO(cif, val) != 0) cif 739 sound/pci/riptide/riptide.c alloclbuspath(struct cmdif *cif, unsigned char source, cif 748 sound/pci/riptide/riptide.c SEND_PSEL(cif, source, sink); cif 772 sound/pci/riptide/riptide.c alloclbuspath(cif, source + 1, ++npath, mixer, s); cif 778 sound/pci/riptide/riptide.c freelbuspath(struct cmdif *cif, unsigned char source, unsigned char *path) cif 786 sound/pci/riptide/riptide.c SEND_PCLR(cif, source, sink); cif 794 sound/pci/riptide/riptide.c freelbuspath(cif, source + 1, ++npath); cif 799 sound/pci/riptide/riptide.c static int writearm(struct cmdif *cif, u32 addr, u32 data, u32 mask) cif 805 sound/pci/riptide/riptide.c SEND_RMEM(cif, 0x02, addr, &rptr); cif 809 sound/pci/riptide/riptide.c SEND_SMEM(cif, 0x01, addr); cif 810 sound/pci/riptide/riptide.c SEND_WMEM(cif, 0x02, (rptr.retlongs[0] | data)); cif 811 sound/pci/riptide/riptide.c SEND_RMEM(cif, 0x02, addr, &rptr); cif 823 sound/pci/riptide/riptide.c static int sendcmd(struct cmdif *cif, u32 flags, u32 cmd, u32 parm, cif 833 sound/pci/riptide/riptide.c if (snd_BUG_ON(!cif)) cif 836 sound/pci/riptide/riptide.c hwport = cif->hwport; cif 837 sound/pci/riptide/riptide.c if (cif->errcnt > MAX_ERROR_COUNT) { cif 838 sound/pci/riptide/riptide.c if (cif->is_reset) { cif 841 sound/pci/riptide/riptide.c if (riptide_reset(cif, NULL) == 0) { cif 842 sound/pci/riptide/riptide.c cif->errcnt = 0; cif 854 sound/pci/riptide/riptide.c spin_lock_irqsave(&cif->lock, irqflags); cif 855 sound/pci/riptide/riptide.c while (i++ < CMDIF_TIMEOUT && !IS_READY(cif->hwport)) cif 897 sound/pci/riptide/riptide.c spin_unlock_irqrestore(&cif->lock, irqflags); cif 899 sound/pci/riptide/riptide.c cif->cmdcnt++; /* update command statistics */ cif 900 sound/pci/riptide/riptide.c cif->cmdtime += time; cif 901 sound/pci/riptide/riptide.c if (time > cif->cmdtimemax) cif 902 sound/pci/riptide/riptide.c cif->cmdtimemax = time; cif 903 sound/pci/riptide/riptide.c if (time < cif->cmdtimemin) cif 904 sound/pci/riptide/riptide.c cif->cmdtimemin = time; cif 905 sound/pci/riptide/riptide.c if ((cif->cmdcnt) % 1000 == 0) cif 908 sound/pci/riptide/riptide.c cif->cmdcnt, cif->cmdtime, cif->cmdtimemin, cif 909 sound/pci/riptide/riptide.c cif->cmdtimemax, cif->errcnt); cif 913 sound/pci/riptide/riptide.c cif->errcnt++; cif 914 sound/pci/riptide/riptide.c spin_unlock_irqrestore(&cif->lock, irqflags); cif 917 sound/pci/riptide/riptide.c cif->cmdcnt, (int)((void *)&(cmdport->stat) - (void *)hwport), cif 925 sound/pci/riptide/riptide.c setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval) cif 932 sound/pci/riptide/riptide.c SEND_SDGV(cif, num, num, rval, lval); cif 933 sound/pci/riptide/riptide.c SEND_RDGV(cif, num, num, &rptr); cif 941 sound/pci/riptide/riptide.c static int getpaths(struct cmdif *cif, unsigned char *o) cif 948 sound/pci/riptide/riptide.c getsourcesink(cif, i, i, &src[i], &sink[i]); cif 958 sound/pci/riptide/riptide.c getsourcesink(struct cmdif *cif, unsigned char source, unsigned char sink, cif 963 sound/pci/riptide/riptide.c if (SEND_RSSV(cif, source, sink, &rptr) && cif 964 sound/pci/riptide/riptide.c SEND_RSSV(cif, source, sink, &rptr)) cif 973 sound/pci/riptide/riptide.c getsamplerate(struct cmdif *cif, unsigned char *intdec, unsigned int *rate) cif 983 sound/pci/riptide/riptide.c if (SEND_RSRC(cif, *s, &rptr) && cif 984 sound/pci/riptide/riptide.c SEND_RSRC(cif, *s, &rptr)) cif 1004 sound/pci/riptide/riptide.c setsampleformat(struct cmdif *cif, cif 1018 sound/pci/riptide/riptide.c if (SEND_SETF(cif, mixer, w, ch, order, sig, id) && cif 1019 sound/pci/riptide/riptide.c SEND_SETF(cif, mixer, w, ch, order, sig, id)) { cif 1027 sound/pci/riptide/riptide.c setsamplerate(struct cmdif *cif, unsigned char *intdec, unsigned int rate) cif 1042 sound/pci/riptide/riptide.c SEND_SSRC(cif, *intdec, D, M, N); cif 1043 sound/pci/riptide/riptide.c SEND_RSRC(cif, *intdec, &rptr); cif 1060 sound/pci/riptide/riptide.c getmixer(struct cmdif *cif, short num, unsigned short *rval, cif 1065 sound/pci/riptide/riptide.c if (SEND_RDGV(cif, num, num, &rptr) && SEND_RDGV(cif, num, num, &rptr)) cif 1076 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1085 sound/pci/riptide/riptide.c if (!cif) cif 1122 sound/pci/riptide/riptide.c READ_AUDIO_STATUS(cif->hwport), cif 1169 sound/pci/riptide/riptide.c static int try_to_load_firmware(struct cmdif *cif, struct snd_riptide *chip) cif 1175 sound/pci/riptide/riptide.c WRITE_PORT_ULONG(cif->hwport->port[i].data1, 0); cif 1176 sound/pci/riptide/riptide.c WRITE_PORT_ULONG(cif->hwport->port[i].data2, 0); cif 1178 sound/pci/riptide/riptide.c SET_GRESET(cif->hwport); cif 1180 sound/pci/riptide/riptide.c UNSET_GRESET(cif->hwport); cif 1184 sound/pci/riptide/riptide.c if (IS_READY(cif->hwport) && !IS_GERR(cif->hwport)) cif 1191 sound/pci/riptide/riptide.c READ_AUDIO_STATUS(cif->hwport), cif 1192 sound/pci/riptide/riptide.c IS_READY(cif->hwport), IS_GERR(cif->hwport)); cif 1197 sound/pci/riptide/riptide.c READ_AUDIO_STATUS(cif->hwport), cif 1198 sound/pci/riptide/riptide.c IS_READY(cif->hwport), IS_GERR(cif->hwport)); cif 1201 sound/pci/riptide/riptide.c SEND_GETV(cif, &firmware.ret); cif 1225 sound/pci/riptide/riptide.c err = loadfirmware(cif, chip->fw_entry->data, chip->fw_entry->size); cif 1237 sound/pci/riptide/riptide.c static int riptide_reset(struct cmdif *cif, struct snd_riptide *chip) cif 1242 sound/pci/riptide/riptide.c if (!cif) cif 1245 sound/pci/riptide/riptide.c cif->cmdcnt = 0; cif 1246 sound/pci/riptide/riptide.c cif->cmdtime = 0; cif 1247 sound/pci/riptide/riptide.c cif->cmdtimemax = 0; cif 1248 sound/pci/riptide/riptide.c cif->cmdtimemin = 0xffffffff; cif 1249 sound/pci/riptide/riptide.c cif->errcnt = 0; cif 1250 sound/pci/riptide/riptide.c cif->is_reset = 0; cif 1254 sound/pci/riptide/riptide.c err = try_to_load_firmware(cif, chip); cif 1259 sound/pci/riptide/riptide.c SEND_SACR(cif, 0, AC97_RESET); cif 1260 sound/pci/riptide/riptide.c SEND_RACR(cif, AC97_RESET, &rptr); cif 1263 sound/pci/riptide/riptide.c SEND_PLST(cif, 0); cif 1264 sound/pci/riptide/riptide.c SEND_SLST(cif, 0); cif 1265 sound/pci/riptide/riptide.c SEND_DLST(cif, 0); cif 1266 sound/pci/riptide/riptide.c SEND_ALST(cif, 0); cif 1267 sound/pci/riptide/riptide.c SEND_KDMA(cif); cif 1269 sound/pci/riptide/riptide.c writearm(cif, 0x301F8, 1, 1); cif 1270 sound/pci/riptide/riptide.c writearm(cif, 0x301F4, 1, 1); cif 1272 sound/pci/riptide/riptide.c SEND_LSEL(cif, MODEM_CMD, 0, 0, MODEM_INTDEC, MODEM_MERGER, cif 1274 sound/pci/riptide/riptide.c setmixer(cif, MODEM_MIXER, 0x7fff, 0x7fff); cif 1275 sound/pci/riptide/riptide.c alloclbuspath(cif, ARM2LBUS_FIFO13, lbus_play_modem, NULL, NULL); cif 1277 sound/pci/riptide/riptide.c SEND_LSEL(cif, FM_CMD, 0, 0, FM_INTDEC, FM_MERGER, FM_SPLITTER, cif 1279 sound/pci/riptide/riptide.c setmixer(cif, FM_MIXER, 0x7fff, 0x7fff); cif 1280 sound/pci/riptide/riptide.c writearm(cif, 0x30648 + FM_MIXER * 4, 0x01, 0x00000005); cif 1281 sound/pci/riptide/riptide.c writearm(cif, 0x301A8, 0x02, 0x00000002); cif 1282 sound/pci/riptide/riptide.c writearm(cif, 0x30264, 0x08, 0xffffffff); cif 1283 sound/pci/riptide/riptide.c alloclbuspath(cif, OPL3_SAMPLE, lbus_play_opl3, NULL, NULL); cif 1285 sound/pci/riptide/riptide.c SEND_SSRC(cif, I2S_INTDEC, 48000, cif 1288 sound/pci/riptide/riptide.c SEND_LSEL(cif, I2S_CMD0, 0, 0, I2S_INTDEC, I2S_MERGER, I2S_SPLITTER, cif 1290 sound/pci/riptide/riptide.c SEND_SI2S(cif, 1); cif 1291 sound/pci/riptide/riptide.c alloclbuspath(cif, ARM2LBUS_FIFO0, lbus_play_i2s, NULL, NULL); cif 1292 sound/pci/riptide/riptide.c alloclbuspath(cif, DIGITAL_MIXER_OUT0, lbus_play_out, NULL, NULL); cif 1293 sound/pci/riptide/riptide.c alloclbuspath(cif, DIGITAL_MIXER_OUT0, lbus_play_outhp, NULL, NULL); cif 1295 sound/pci/riptide/riptide.c SET_AIACK(cif->hwport); cif 1296 sound/pci/riptide/riptide.c SET_AIE(cif->hwport); cif 1297 sound/pci/riptide/riptide.c SET_AIACK(cif->hwport); cif 1298 sound/pci/riptide/riptide.c cif->is_reset = 1; cif 1348 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1352 sound/pci/riptide/riptide.c SEND_GPOS(cif, 0, data->id, &rptr); cif 1381 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1389 sound/pci/riptide/riptide.c SEND_SSTR(cif, data->id, data->sgdlist.addr); cif 1390 sound/pci/riptide/riptide.c SET_AIE(cif->hwport); cif 1393 sound/pci/riptide/riptide.c setmixer(cif, data->mixer, 0x7fff, 0x7fff); cif 1402 sound/pci/riptide/riptide.c setmixer(cif, data->mixer, 0, 0); cif 1403 sound/pci/riptide/riptide.c setmixer(cif, data->mixer, 0, 0); cif 1404 sound/pci/riptide/riptide.c SEND_KSTR(cif, data->id); cif 1410 sound/pci/riptide/riptide.c SEND_GPOS(cif, 0, data->id, &rptr); cif 1418 sound/pci/riptide/riptide.c SEND_PSTR(cif, data->id); cif 1425 sound/pci/riptide/riptide.c SEND_SSTR(cif, data->id, data->sgdlist.addr); cif 1443 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1449 sound/pci/riptide/riptide.c if (snd_BUG_ON(!cif || !data)) cif 1518 sound/pci/riptide/riptide.c freelbuspath(cif, data->source, data->lbuspath); cif 1519 sound/pci/riptide/riptide.c alloclbuspath(cif, data->source, lbuspath, cif 1530 sound/pci/riptide/riptide.c (cif, data->mixer, data->id, channels, format) cif 1531 sound/pci/riptide/riptide.c || setsamplerate(cif, data->intdec, rate)) cif 1569 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1571 sound/pci/riptide/riptide.c if (cif && data) { cif 1573 sound/pci/riptide/riptide.c freelbuspath(cif, data->source, data->lbuspath); cif 1707 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1709 sound/pci/riptide/riptide.c if (cif) { cif 1711 sound/pci/riptide/riptide.c if (IS_EOBIRQ(cif->hwport) || IS_EOSIRQ(cif->hwport) || cif 1712 sound/pci/riptide/riptide.c IS_EOCIRQ(cif->hwport)) { cif 1716 sound/pci/riptide/riptide.c if (chip->rmidi && IS_MPUIRQ(cif->hwport)) { cif 1721 sound/pci/riptide/riptide.c SET_AIACK(cif->hwport); cif 1731 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1735 sound/pci/riptide/riptide.c if (snd_BUG_ON(!cif)) cif 1740 sound/pci/riptide/riptide.c SEND_SACR(cif, val, reg); cif 1741 sound/pci/riptide/riptide.c SEND_RACR(cif, reg, &rptr); cif 1751 sound/pci/riptide/riptide.c struct cmdif *cif = chip->cif; cif 1754 sound/pci/riptide/riptide.c if (snd_BUG_ON(!cif)) cif 1757 sound/pci/riptide/riptide.c if (SEND_RACR(cif, reg, &rptr) != 0) cif 1758 sound/pci/riptide/riptide.c SEND_RACR(cif, reg, &rptr); cif 1765 sound/pci/riptide/riptide.c struct cmdif *cif; cif 1772 sound/pci/riptide/riptide.c cif = chip->cif; cif 1773 sound/pci/riptide/riptide.c if (!cif) { cif 1774 sound/pci/riptide/riptide.c if ((cif = kzalloc(sizeof(struct cmdif), GFP_KERNEL)) == NULL) cif 1776 sound/pci/riptide/riptide.c cif->hwport = (struct riptideport *)chip->port; cif 1777 sound/pci/riptide/riptide.c spin_lock_init(&cif->lock); cif 1778 sound/pci/riptide/riptide.c chip->cif = cif; cif 1780 sound/pci/riptide/riptide.c cif->is_reset = 0; cif 1781 sound/pci/riptide/riptide.c if ((err = riptide_reset(cif, chip)) != 0) cif 1789 sound/pci/riptide/riptide.c SEND_SETDPLL(cif); cif 1794 sound/pci/riptide/riptide.c SET_EMPUIRQ(cif->hwport); cif 1800 sound/pci/riptide/riptide.c struct cmdif *cif; cif 1805 sound/pci/riptide/riptide.c if ((cif = chip->cif)) { cif 1806 sound/pci/riptide/riptide.c SET_GRESET(cif->hwport); cif 1808 sound/pci/riptide/riptide.c UNSET_GRESET(cif->hwport); cif 1809 sound/pci/riptide/riptide.c kfree(chip->cif); cif 1851 sound/pci/riptide/riptide.c chip->cif = NULL; cif 1896 sound/pci/riptide/riptide.c struct cmdif *cif = NULL; cif 1910 sound/pci/riptide/riptide.c if ((cif = chip->cif)) { cif 1919 sound/pci/riptide/riptide.c getmixer(cif, i, &rval, &lval); cif 1924 sound/pci/riptide/riptide.c cif->cmdcnt, cif->errcnt, cif 1925 sound/pci/riptide/riptide.c cif->cmdtime, cif->cmdtimemax, cif->cmdtimemin); cif 1937 sound/pci/riptide/riptide.c if (!(getsamplerate(cif, data->intdec, &rate))) cif 1948 sound/pci/riptide/riptide.c if (!(getsamplerate(cif, data->intdec, &rate))) cif 1952 sound/pci/riptide/riptide.c i = getpaths(cif, p);