Lines Matching refs:data

16  *   data time multiplexer with ISDN support (aka T7259)
32 * devices (short pipes, no. 16-31), or simply send a fixed data to a serial
39 * The mmcodec is connected via the CHI bus and needs the data & some
43 * Looking at the CS4215 data sheet it is easy to set up 2 or 4 codecs on
127 __u8 data[4]; /* Data mode: Time slots 5-8 */
199 /* Read only here and the same as the in data mode */
286 volatile __u32 *recv_fixed_ptr; /* Ptr to receive fixed data */
312 struct dbri_pipe pipes[DBRI_NO_PIPES]; /* DBRI's 32 data pipes */
389 /* Pipe data MODE */
483 #define D_INTR_FXDT 10 /* Fixed data change */
506 #define D_P_4 4 /* CHI send data */
507 #define D_P_5 5 /* CHI receive data */
543 #define DBRI_TD_UNR (1 << 3) /* Underrun: transmitter is out of data */
559 #define DBRI_RD_OVRN (1 << 3) /* Overrun: data lost */
574 * Short data pipes transmit LSB first. The CS4215 receives MSB first. Grrr.
799 ************************** DBRI data pipe management ***********************
803 main data path takes the form of data pipes, which can be short (command
876 * every time its data changes
925 * - DBRI data sheet, page 11
987 * Transmit/receive data on a "fixed" pipe - i.e, one whose contents are not
989 * The DBRI only interrupts us when the data changes (receive pipes),
990 * or only changes the data when this function is called (transmit pipes).
991 * Only short pipes (numbers 16-31) can be used in fixed data mode.
1001 static void xmit_fixed(struct snd_dbri *dbri, int pipe, unsigned int data)
1031 data = reverse_bytes(data, dbri->pipes[pipe].length);
1036 *(cmd++) = data;
1071 * Setup transmit/receive data on a "long" pipe - i.e, one associated
1076 * This function takes a stream number pointing to a data buffer,
1078 * data buffers. Buffers too large for a single descriptor will
1229 The CHI is a four-wire (clock, frame sync, data in, data out) time-division
1324 * Pipe 4: Send timeslots 1-4 (audio data)
1325 * Pipe 20: Send timeslots 5-8 (part of ctrl data)
1326 * Pipe 6: Receive timeslots 1-4 (audio data)
1328 * interrupt, and the rest of the data (slot 5 and 8) is
1359 mm->data[0] = CS4215_LO(0x20) | CS4215_HE | CS4215_LE;
1360 mm->data[1] = CS4215_RO(0x20) | CS4215_SE;
1361 mm->data[2] = CS4215_LG(0x8) | CS4215_IS | CS4215_PIO0 | CS4215_PIO1;
1362 mm->data[3] = CS4215_RG(0x8) | CS4215_MA(0xf);
1387 dbri->mm.data[0] |= 63;
1388 dbri->mm.data[1] |= 63;
1389 dbri->mm.data[2] &= ~15;
1390 dbri->mm.data[3] &= ~15;
1397 dbri->mm.data[0] &= ~0x3f; /* Reset the volume bits */
1398 dbri->mm.data[1] &= ~0x3f;
1399 dbri->mm.data[0] |= (DBRI_MAX_VOLUME - left_gain);
1400 dbri->mm.data[1] |= (DBRI_MAX_VOLUME - right_gain);
1406 dbri->mm.data[2] |= CS4215_LG(left_gain);
1407 dbri->mm.data[3] |= CS4215_RG(right_gain);
1410 xmit_fixed(dbri, 20, *(int *)dbri->mm.data);
1414 * Set the CS4215 to data mode.
1434 * Pipe 4: Send timeslots 1-4 (audio data)
1435 * Pipe 20: Send timeslots 5-8 (part of ctrl data)
1436 * Pipe 6: Receive timeslots 1-4 (audio data)
1438 * interrupt, and the rest of the data (slot 5 and 8) is
1450 /* Switch CS4215 to data mode - set PIO3 to 1 */
1508 * that its data stream is synchronous with its codec.
1565 /* Terminate CS4215 control mode - data sheet says
1582 * As part of the process we resend the settings for the data
1634 cs4215_open(dbri); /* set codec to data mode */
1704 * For playback, ALSA has filled the DMA memory with new data (we hope).
1893 /* FXDT - Fixed data change */
2346 (dbri->mm.data[elem] >> shift) & mask;
2377 dbri->mm.data[elem] = (dbri->mm.data[elem] &
2379 changed = (val != dbri->mm.data[elem]);
2389 dbri->mm.data[elem & 3]);
2402 /* Entries 0-3 map to the 4 data timeslots, entries 4-7 map to the 4 control