Searched refs:CIRC_ADD (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | tid_rdma.h | 13 #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)
|
D | ipoib_tx.c | 20 #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()
|
D | tid_rdma.c | 2125 CIRC_ADD(req->clear_tail, in tid_rdma_rcv_error()
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_debugfs.c | 26 #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/ |
D | 0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch | 1502 + 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/ |
D | 0005_linux_include.patch | 9006 +#define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1))
|