Searched refs:GET_BITS (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/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-v6.6/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()
|
/Linux-v6.6/arch/ia64/kernel/ |
D | ptrace.c | 75 # define GET_BITS(first, last, unat) \ in ia64_get_scratch_nat_bits() macro 94 val = GET_BITS( 1, 1, scratch_unat); in ia64_get_scratch_nat_bits() 95 val |= GET_BITS( 2, 3, scratch_unat); in ia64_get_scratch_nat_bits() 96 val |= GET_BITS(12, 13, scratch_unat); in ia64_get_scratch_nat_bits() 97 val |= GET_BITS(14, 14, scratch_unat); in ia64_get_scratch_nat_bits() 98 val |= GET_BITS(15, 15, scratch_unat); in ia64_get_scratch_nat_bits() 99 val |= GET_BITS( 8, 11, scratch_unat); in ia64_get_scratch_nat_bits() 100 val |= GET_BITS(16, 31, scratch_unat); in ia64_get_scratch_nat_bits() 103 # undef GET_BITS in ia64_get_scratch_nat_bits()
|