Searched refs:sgdma_descroffs (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_sgdma.c | 254 csrwr8(0, desc, sgdma_descroffs(status)); in sgdma_rx_status() 281 sts, csrrd8(desc, sgdma_descroffs(status)), in sgdma_rx_status() 307 csrwr8(ctrl, ndesc, sgdma_descroffs(control)); 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() 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() [all …]
|
H A D | altera_sgdmahw.h | 95 #define sgdma_descroffs(a) (offsetof(struct sgdma_descrip, a)) macro
|