Lines Matching refs:PCH_DMA_TRANS_SIZE
101 #define PCH_DMA_TRANS_SIZE 12 macro
958 if (data->bpw_len > PCH_DMA_TRANS_SIZE) { in pch_spi_handle_dma()
959 if (data->bpw_len % PCH_DMA_TRANS_SIZE) { in pch_spi_handle_dma()
960 num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1; in pch_spi_handle_dma()
961 rem = data->bpw_len % PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
963 num = data->bpw_len / PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
964 rem = PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
966 size = PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
1031 head = PCH_MAX_FIFO_DEPTH - PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
1032 if (data->bpw_len % PCH_DMA_TRANS_SIZE > 4) { in pch_spi_handle_dma()
1033 num = data->bpw_len / PCH_DMA_TRANS_SIZE + 1; in pch_spi_handle_dma()
1034 rem = data->bpw_len % PCH_DMA_TRANS_SIZE - head; in pch_spi_handle_dma()
1036 num = data->bpw_len / PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()
1037 rem = data->bpw_len % PCH_DMA_TRANS_SIZE + in pch_spi_handle_dma()
1038 PCH_DMA_TRANS_SIZE - head; in pch_spi_handle_dma()
1040 size = PCH_DMA_TRANS_SIZE; in pch_spi_handle_dma()