Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dring.c26 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_setup_desc()
27 SET_BITS(PKT_SIZE, SLOT_EMPTY)); in xge_setup_desc()
29 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, next_dma) | in xge_setup_desc()
30 SET_BITS(NEXT_DESC_ADDRH, dma_h)); in xge_setup_desc()
H A Dmain.c99 SET_BITS(NEXT_DESC_ADDRH, addr_hi) | in xge_refill_buffers()
100 SET_BITS(PKT_ADDRH, in xge_refill_buffers()
104 raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | in xge_refill_buffers()
105 SET_BITS(E, 1)); in xge_refill_buffers()
206 SET_BITS(NEXT_DESC_ADDRH, addr_hi) | in xge_start_xmit()
207 SET_BITS(PKT_ADDRH, in xge_start_xmit()
216 raw_desc->m0 = cpu_to_le64(SET_BITS(PKT_ADDRL, dma_addr) | in xge_start_xmit()
217 SET_BITS(PKT_SIZE, len) | in xge_start_xmit()
218 SET_BITS(E, 0)); in xge_start_xmit()
272 raw_desc->m0 = cpu_to_le64(SET_BITS(E, 1) | in xge_txc_poll()
[all …]
H A Dring.h95 #define SET_BITS(field, val) \ macro
/openbmc/linux/drivers/watchdog/
H A Drc32434_wdt.c68 #define SET_BITS(addr, or, nand) \ macro
104 SET_BITS(wdt_reg->errcs, or, nand); in rc32434_wdt_start()
113 SET_BITS(wdt_reg->wtc, or, nand); in rc32434_wdt_start()
124 SET_BITS(wdt_reg->wtc, 0, 1 << RC32434_WTC_EN); in rc32434_wdt_stop()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-common.h1481 SET_BITS((_var), \
1516 SET_BITS(reg_val, \
1542 SET_BITS(reg_val, \
1566 SET_BITS(reg_val, \
1624 SET_BITS(reg_val, \
1644 SET_BITS(reg_val, \
1667 SET_BITS(reg_val, \
1682 SET_BITS((_var), \
1700 SET_BITS(reg_val, \
1715 SET_BITS((_var), \
[all …]