Searched refs:sgdma_descroffs (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/altera/ |
D | altera_sgdma.c | 218 ((csrrd8(priv->tx_dma_desc, sgdma_descroffs(control)) in sgdma_tx_completions() 260 pktlength = csrrd16(desc, sgdma_descroffs(bytes_xferred)); in sgdma_rx_status() 261 pktstatus = csrrd8(desc, sgdma_descroffs(status)); in sgdma_rx_status() 267 csrwr8(0, desc, sgdma_descroffs(status)); in sgdma_rx_status() 294 sts, csrrd8(desc, sgdma_descroffs(status)), in sgdma_rx_status() 318 u32 ctrl = csrrd8(ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip() 320 csrwr8(ctrl, ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip() 328 csrwr32(lower_32_bits(raddr), desc, sgdma_descroffs(raddr)); in sgdma_setup_descrip() 329 csrwr32(lower_32_bits(waddr), desc, sgdma_descroffs(waddr)); in sgdma_setup_descrip() 331 csrwr32(0, desc, sgdma_descroffs(pad1)); in sgdma_setup_descrip() [all …]
|
D | altera_sgdmahw.h | 105 #define sgdma_descroffs(a) (offsetof(struct sgdma_descrip, a)) macro
|