Searched refs:MAX_DESCRIPTORS (Results 1 – 1 of 1) sorted by relevance
342 #define MAX_DESCRIPTORS (BAM_DESC_FIFO_SIZE / sizeof(struct bam_desc_hw) - 1) macro345 MAX_DESCRIPTORS + 1) == 0)856 avail = CIRC_CNT(offset, bchan->head, MAX_DESCRIPTORS + 1); in process_channel_irqs()869 bchan->head %= MAX_DESCRIPTORS; in process_channel_irqs()1051 MAX_DESCRIPTORS + 1); in bam_start_dma()1081 if (bchan->tail + async_desc->xfer_len > MAX_DESCRIPTORS) { in bam_start_dma()1082 u32 partial = MAX_DESCRIPTORS - bchan->tail; in bam_start_dma()1096 bchan->tail %= MAX_DESCRIPTORS; in bam_start_dma()