Lines Matching refs:size
527 const char *buf, size_t size) \
541 return size; \
576 size_t size)
587 size = -EBUSY;
595 return size;
737 * period size in THRESHOLD mode, otherwise use McBSP threshold = 1
761 int size;
764 size = mcbsp->pdata->buffer_size;
766 frames.min = size / channels->min;
784 * This means that the size of the FIFO depends on the sample format.
786 * 16bit samples: size is 128 * 2 = 256 bytes
787 * 32bit samples: size is 128 * 4 = 512 bytes
791 * 1 channel (mono): size is 128 frames (128 words)
792 * 2 channels (stereo): size is 128 / 2 = 64 frames (2 * 64 words)
793 * 4 channels: size is 128 / 4 = 32 frames (4 * 32 words)
797 * Rule for the buffer size. We should not allow
798 * smaller buffer than the FIFO size to avoid underruns.
808 /* Make sure, that the period size is always even */
954 * If period words less than the FIFO size the packet
955 * size is set to the number of period words, otherwise
957 * the period size evenly.
1030 * by _counting_ BCLKs. Calculate frame size in BCLKs */
1382 if (!of_property_read_u32(node, "ti,buffer-size", &buffer_size))