Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmain.c110 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
111 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
179 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
180 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
217 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
218 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
243 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done()
244 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
266 if (!GET_BITS(TXPKTCOUNT, data)) in xge_txc_poll()
317 if (!GET_BITS(RXPKTCOUNT, data)) in xge_rx_poll()
[all …]
Dring.h110 #define GET_BITS(field, src) \ macro
/Linux-v4.19/tools/testing/selftests/x86/
Dmpx-hw.h74 static inline unsigned long GET_BITS(unsigned long val, int bottombit, int topbit) in GET_BITS() function
83 return GET_BITS((unsigned long)vaddr, MPX_BOUNDS_TABLE_BOTTOM_BIT, in __vaddr_bounds_table_index()
89 return GET_BITS((unsigned long)vaddr, MPX_BOUNDS_DIR_BOTTOM_BIT, in __vaddr_bounds_directory_index()
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1388 #define GET_BITS(_var, _index, _width) \ macro
1416 GET_BITS((_var), \
1446 GET_BITS(XGMAC_IOREAD((_pdata), _reg), \
1471 GET_BITS(XGMAC_MTL_IOREAD((_pdata), (_n), _reg), \
1496 GET_BITS(XGMAC_DMA_IOREAD((_channel), _reg), \
1516 GET_BITS((_var), \
1541 GET_BITS((_var), \
1554 GET_BITS(XSIR0_IOREAD((_pdata), _reg), \
1574 GET_BITS(XSIR1_IOREAD((_pdata), _reg), \
1597 GET_BITS(XRXTX_IOREAD((_pdata), _reg), \
[all …]
Dxgbe-dev.c3258 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()
/Linux-v4.19/arch/ia64/kernel/
Dptrace.c79 # define GET_BITS(first, last, unat) \ in ia64_get_scratch_nat_bits() macro
98 val = GET_BITS( 1, 1, scratch_unat); in ia64_get_scratch_nat_bits()
99 val |= GET_BITS( 2, 3, scratch_unat); in ia64_get_scratch_nat_bits()
100 val |= GET_BITS(12, 13, scratch_unat); in ia64_get_scratch_nat_bits()
101 val |= GET_BITS(14, 14, scratch_unat); in ia64_get_scratch_nat_bits()
102 val |= GET_BITS(15, 15, scratch_unat); in ia64_get_scratch_nat_bits()
103 val |= GET_BITS( 8, 11, scratch_unat); in ia64_get_scratch_nat_bits()
104 val |= GET_BITS(16, 31, scratch_unat); in ia64_get_scratch_nat_bits()
107 # undef GET_BITS in ia64_get_scratch_nat_bits()