Lines Matching refs:mem_width
604 unsigned int mem_width; in dw_axi_dma_set_hw_desc() local
613 mem_width = __ffs(data_width | mem_addr | len); in dw_axi_dma_set_hw_desc()
614 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in dw_axi_dma_set_hw_desc()
615 mem_width = DWAXIDMAC_TRANS_WIDTH_32; in dw_axi_dma_set_hw_desc()
627 mem_width << CH_CTL_L_SRC_WIDTH_POS | in dw_axi_dma_set_hw_desc()
630 block_ts = len >> mem_width; in dw_axi_dma_set_hw_desc()
636 mem_width << CH_CTL_L_DST_WIDTH_POS | in dw_axi_dma_set_hw_desc()
687 u32 data_width, reg_width, mem_width; in calculate_block_len() local
695 mem_width = __ffs(data_width | dma_addr | buf_len); in calculate_block_len()
696 if (mem_width > DWAXIDMAC_TRANS_WIDTH_32) in calculate_block_len()
697 mem_width = DWAXIDMAC_TRANS_WIDTH_32; in calculate_block_len()
699 block_len = axi_block_ts << mem_width; in calculate_block_len()