Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/altera/
H A Daltera_sgdma.c205 ((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()
[all …]
H A Daltera_sgdmahw.h95 #define sgdma_descroffs(a) (offsetof(struct sgdma_descrip, a)) macro