Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/apm/xgene-v2/
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()
Dmain.c98 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | in xge_refill_buffers()
99 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()
205 raw_desc->m1 = cpu_to_le64(SET_BITS(NEXT_DESC_ADDRL, addr_lo) | in xge_start_xmit()
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()
[all …]
Dring.h95 #define SET_BITS(field, val) \ macro
/linux-6.12.1/drivers/watchdog/
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()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1451 #define SET_BITS(_var, _index, _width, _val) \ macro
1481 SET_BITS((_var), \
1516 SET_BITS(reg_val, \
1542 SET_BITS(reg_val, \
1566 SET_BITS(reg_val, \
1581 SET_BITS((_var), \
1606 SET_BITS((_var), \
1624 SET_BITS(reg_val, \
1644 SET_BITS(reg_val, \
1667 SET_BITS(reg_val, \
[all …]