Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtid_rdma.h13 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) macro
14 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size)
15 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
Dipoib_tx.c20 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) macro
21 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size)
22 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
204 smp_store_release(&tx_ring->head, CIRC_ADD(head, 1, max_tx)); in hfi1_ipoib_add_tx()
Dtid_rdma.c2125 CIRC_ADD(req->clear_tail, in tid_rdma_rcv_error()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_debugfs.c26 #define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1)) macro
105 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work()
163 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch1502 + cb->tail = CIRC_ADD(cb->tail, PAGE_SIZE, 4);
1627 + cb->head = CIRC_ADD(cb->head, PAGE_SIZE, 4);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch9006 +#define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1))