Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/apm/xgene-v2/
A 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()
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()
309 if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) in xge_rx_poll()
317 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
321 rx_error = GET_BITS(D, le64_to_cpu(raw_desc->m2)); in xge_rx_poll()
[all …]
A Dring.h98 #define GET_BITS(field, src) \ macro
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-common.h1408 #define GET_BITS(_var, _index, _width) \ macro
1436 GET_BITS((_var), \
1466 GET_BITS(XGMAC_IOREAD((_pdata), _reg), \
1516 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \
1574 GET_BITS(XSIR0_IOREAD((_pdata), _reg), \
1594 GET_BITS(XSIR1_IOREAD((_pdata), _reg), \
1617 GET_BITS(XRXTX_IOREAD((_pdata), _reg), \
1637 GET_BITS((_var), \
1650 GET_BITS(XP_IOREAD((_pdata), (_reg)), \
1670 GET_BITS((_var), \
[all …]
A Dxgbe-dev.c3268 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()
/linux/arch/ia64/kernel/
A 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()

Completed in 26 milliseconds