Lines Matching refs:sgdma_descroffs
205 ((csrrd8(priv->tx_dma_desc, sgdma_descroffs(control)) in sgdma_tx_completions()
247 pktlength = csrrd16(desc, sgdma_descroffs(bytes_xferred)); in sgdma_rx_status()
248 pktstatus = csrrd8(desc, sgdma_descroffs(status)); in sgdma_rx_status()
254 csrwr8(0, desc, sgdma_descroffs(status)); in sgdma_rx_status()
281 sts, csrrd8(desc, sgdma_descroffs(status)), in sgdma_rx_status()
305 u32 ctrl = csrrd8(ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip()
307 csrwr8(ctrl, ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip()
315 csrwr32(lower_32_bits(raddr), desc, sgdma_descroffs(raddr)); in sgdma_setup_descrip()
316 csrwr32(lower_32_bits(waddr), desc, sgdma_descroffs(waddr)); in sgdma_setup_descrip()
318 csrwr32(0, desc, sgdma_descroffs(pad1)); in sgdma_setup_descrip()
319 csrwr32(0, desc, sgdma_descroffs(pad2)); in sgdma_setup_descrip()
320 csrwr32(lower_32_bits(ndesc_phys), desc, sgdma_descroffs(next)); in sgdma_setup_descrip()
322 csrwr8(ctrl, desc, sgdma_descroffs(control)); in sgdma_setup_descrip()
323 csrwr8(0, desc, sgdma_descroffs(status)); in sgdma_setup_descrip()
324 csrwr8(0, desc, sgdma_descroffs(wburst)); in sgdma_setup_descrip()
325 csrwr8(0, desc, sgdma_descroffs(rburst)); in sgdma_setup_descrip()
326 csrwr16(length, desc, sgdma_descroffs(bytes)); in sgdma_setup_descrip()
327 csrwr16(0, desc, sgdma_descroffs(bytes_xferred)); in sgdma_setup_descrip()