Lines Matching full:burst
258 /** Source burst length in bytes */
260 /** Destination burst length in bytes */
750 * @brief Look-up generic burst index to be used in registers
758 * @param burst: number of bytes to be sent in a single burst
762 static inline uint32_t dma_burst_index(uint32_t burst)
764 /* Check boundaries (max supported burst length is 256) */
765 if (burst < 1 || burst > 256) {
766 return 0; /* Zero is the default (1 burst length) */
769 /* Ensure burst is a power of 2 */
770 if (!(burst & (burst - 1))) {
771 return 0; /* Zero is the default (1 burst length) */
775 return find_msb_set(burst);