Lines Matching refs:bus_width
113 enum bus_width { enum
148 enum dma_smartbond_bus_width bus_width; member
553 data->channel_data[channel].bus_width = cfg->source_data_size; in dma_smartbond_config()
678 if (src % data->channel_data[channel].bus_width) { in dma_smartbond_reload()
689 if (dst % data->channel_data[channel].bus_width) { in dma_smartbond_reload()
701 data->channel_data[channel].bus_width)) { in dma_smartbond_reload()
706 regs->DMA_LEN_REG = (size / data->channel_data[channel].bus_width) - 1; in dma_smartbond_reload()
709 regs->DMA_INT_REG = (size / data->channel_data[channel].bus_width) - 1; in dma_smartbond_reload()
804 uint8_t bus_width; in dma_smartbond_get_status() local
836 bus_width = DMA_CTRL_REG_GET_FIELD(BW, dma_ctrl_reg); in dma_smartbond_get_status()
837 if (bus_width == BUS_WIDTH_1B) { in dma_smartbond_get_status()
838 bus_width = 1; in dma_smartbond_get_status()
840 bus_width <<= 1; in dma_smartbond_get_status()
844 stat->total_copied = dma_idx_reg * bus_width; in dma_smartbond_get_status()
845 stat->pending_length = (dma_len_reg - dma_idx_reg) * bus_width; in dma_smartbond_get_status()