Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-common.h1413 #define SET_BITS(_var, _index, _width, _val) \ macro
1443 SET_BITS((_var), \
1478 SET_BITS(reg_val, \
1504 SET_BITS(reg_val, \
1528 SET_BITS(reg_val, \
1543 SET_BITS((_var), \
1568 SET_BITS((_var), \
1586 SET_BITS(reg_val, \
1606 SET_BITS(reg_val, \
1629 SET_BITS(reg_val, \
[all …]