Searched refs:TX_DESC (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 848 u64 mactx = TX_DESC(txring, i); in pasemi_mac_clean_tx() 857 TX_DESC(txring, i) = 0; in pasemi_mac_clean_tx() 858 TX_DESC(txring, i+1) = 0; in pasemi_mac_clean_tx() 883 TX_DESC(txring, i) = 0; in pasemi_mac_clean_tx() 884 TX_DESC(txring, i+1) = 0; in pasemi_mac_clean_tx() 1415 TX_DESC(txring, fill++) = CTRL_CMD_T | CTRL_CMD_META_EVT | CTRL_CMD_O | in pasemi_mac_queue_csdesc() 1417 TX_DESC(txring, fill++) = 0; in pasemi_mac_queue_csdesc() 1418 TX_DESC(txring, fill++) = CTRL_CMD_T | CTRL_CMD_META_EVT | CTRL_CMD_O | in pasemi_mac_queue_csdesc() 1420 TX_DESC(txring, fill++) = 0; in pasemi_mac_queue_csdesc() 1505 TX_DESC(txring, fill) = mactx; in pasemi_mac_start_tx() [all …]
|
H A D | pasemi_mac.h | 94 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)]) macro
|