Lines Matching refs:reg_width
744 unsigned int reg_width; in atc_prep_slave_sg() local
766 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_slave_sg()
767 ctrla |= ATC_DST_WIDTH(reg_width); in atc_prep_slave_sg()
806 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_slave_sg()
807 ctrla |= ATC_SRC_WIDTH(reg_width); in atc_prep_slave_sg()
838 | len >> reg_width; in atc_prep_slave_sg()
858 first->tx_width = reg_width; in atc_prep_slave_sg()
859 prev->tx_width = reg_width; in atc_prep_slave_sg()
1016 atc_dma_cyclic_check_values(unsigned int reg_width, dma_addr_t buf_addr, in atc_dma_cyclic_check_values() argument
1019 if (period_len > (ATC_BTSIZE_MAX << reg_width)) in atc_dma_cyclic_check_values()
1021 if (unlikely(period_len & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values()
1023 if (unlikely(buf_addr & ((1 << reg_width) - 1))) in atc_dma_cyclic_check_values()
1038 unsigned int reg_width, size_t period_len, in atc_dma_cyclic_fill_desc() argument
1048 | ATC_DST_WIDTH(reg_width) in atc_dma_cyclic_fill_desc()
1049 | ATC_SRC_WIDTH(reg_width) in atc_dma_cyclic_fill_desc()
1050 | period_len >> reg_width; in atc_dma_cyclic_fill_desc()
1104 unsigned int reg_width; in atc_prep_dma_cyclic() local
1128 reg_width = convert_buswidth(sconfig->dst_addr_width); in atc_prep_dma_cyclic()
1130 reg_width = convert_buswidth(sconfig->src_addr_width); in atc_prep_dma_cyclic()
1133 if (atc_dma_cyclic_check_values(reg_width, buf_addr, period_len)) in atc_prep_dma_cyclic()
1145 reg_width, period_len, direction)) in atc_prep_dma_cyclic()
1157 first->tx_width = reg_width; in atc_prep_dma_cyclic()