Lines Matching refs:size
528 const char *buf, size_t size) \
542 return size; \
577 size_t size)
588 size = -EBUSY;
596 return size;
748 * period size in THRESHOLD mode, otherwise use McBSP threshold = 1
772 int size;
775 size = mcbsp->pdata->buffer_size;
777 frames.min = size / channels->min;
795 * This means that the size of the FIFO depends on the sample format.
797 * 16bit samples: size is 128 * 2 = 256 bytes
798 * 32bit samples: size is 128 * 4 = 512 bytes
802 * 1 channel (mono): size is 128 frames (128 words)
803 * 2 channels (stereo): size is 128 / 2 = 64 frames (2 * 64 words)
804 * 4 channels: size is 128 / 4 = 32 frames (4 * 32 words)
808 * Rule for the buffer size. We should not allow
809 * smaller buffer than the FIFO size to avoid underruns.
819 /* Make sure, that the period size is always even */
965 * If period words less than the FIFO size the packet
966 * size is set to the number of period words, otherwise
968 * the period size evenly.
1041 * by _counting_ BCLKs. Calculate frame size in BCLKs */
1392 if (!of_property_read_u32(node, "ti,buffer-size", &buffer_size))