Home
last modified time | relevance | path

Searched refs:GET_BITS (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c96 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 …]
Dring.h98 #define GET_BITS(field, src) \ macro
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1410 #define GET_BITS(_var, _index, _width) \ macro
1438 GET_BITS((_var), \
1468 GET_BITS(XGMAC_IOREAD((_pdata), _reg), \
1493 GET_BITS(XGMAC_MTL_IOREAD((_pdata), (_n), _reg), \
1518 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \
1538 GET_BITS((_var), \
1563 GET_BITS((_var), \
1576 GET_BITS(XSIR0_IOREAD((_pdata), _reg), \
1596 GET_BITS(XSIR1_IOREAD((_pdata), _reg), \
1619 GET_BITS(XRXTX_IOREAD((_pdata), _reg), \
[all …]
Dxgbe-dev.c3268 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()
/linux-5.19.10/arch/ia64/kernel/
Dptrace.c75 # 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()