Searched refs:GET_BITS (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/apm/xgene-v2/ |
D | main.c | 96 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 97 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers() 165 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available() 166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available() 203 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit() 204 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit() 229 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done() 230 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done() 252 if (!GET_BITS(TXPKTCOUNT, data)) in xge_txc_poll() 303 if (!GET_BITS(RXPKTCOUNT, data)) in xge_rx_poll() [all …]
|
D | ring.h | 98 #define GET_BITS(field, src) \ macro
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-common.h | 1448 #define GET_BITS(_var, _index, _width) \ macro 1476 GET_BITS((_var), \ 1506 GET_BITS(XGMAC_IOREAD((_pdata), _reg), \ 1531 GET_BITS(XGMAC_MTL_IOREAD((_pdata), (_n), _reg), \ 1556 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \ 1576 GET_BITS((_var), \ 1601 GET_BITS((_var), \ 1614 GET_BITS(XSIR0_IOREAD((_pdata), _reg), \ 1634 GET_BITS(XSIR1_IOREAD((_pdata), _reg), \ 1657 GET_BITS(XRXTX_IOREAD((_pdata), _reg), \ [all …]
|
D | xgbe-dev.c | 3325 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()
|