Home
last modified time | relevance | path

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

/linux-6.1.9/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.c21 #define CIRC_ADD(val, add, size) (((val) + (add)) & ((size) - 1)) macro
22 #define CIRC_NEXT(val, size) CIRC_ADD(val, 1, size)
23 #define CIRC_PREV(val, size) CIRC_ADD(val, -1, size)
Dtid_rdma.c2132 CIRC_ADD(req->clear_tail, in tid_rdma_rcv_error()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_debugfs.c26 #define CIRC_ADD(idx, size, value) (((idx) + (value)) & ((size) - 1)) macro
106 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work()
164 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read()