Home
last modified time | relevance | path

Searched refs:sgdma_descroffs (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/altera/
Daltera_sgdma.c218 ((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 …]
Daltera_sgdmahw.h105 #define sgdma_descroffs(a) (offsetof(struct sgdma_descrip, a)) macro