Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/futex/include/
Dfutextest.h70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
71 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
78 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument
80 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
88 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
90 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
99 u_int32_t bitset, int opflags) in futex_wait_bitset() argument
102 opflags); in futex_wait_bitset()
110 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() argument
113 opflags); in futex_wake_bitset()
[all …]
/Linux-v5.4/tools/perf/bench/
Dfutex.h36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
37 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
44 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
46 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
54 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
56 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
65 return futex(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi()
72 futex_unlock_pi(u_int32_t *uaddr, int opflags) in futex_unlock_pi() argument
74 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi()
[all …]
/Linux-v5.4/drivers/bus/
Dhisi_lpc.c32 unsigned int opflags; member
115 if (!(para->opflags & FG_INCRADDR_LPC)) { in hisi_lpc_target_in()
169 if (!(para->opflags & FG_INCRADDR_LPC)) { in hisi_lpc_target_out()
220 iopara.opflags = FG_INCRADDR_LPC; in hisi_lpc_comm_in()
256 iopara.opflags = FG_INCRADDR_LPC; in hisi_lpc_comm_out()
284 iopara.opflags = 0; in hisi_lpc_comm_ins()
286 iopara.opflags |= FG_INCRADDR_LPC; in hisi_lpc_comm_ins()
323 iopara.opflags = 0; in hisi_lpc_comm_outs()
325 iopara.opflags |= FG_INCRADDR_LPC; in hisi_lpc_comm_outs()
/Linux-v5.4/drivers/spi/
Dspi-qup.c262 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read() argument
310 *opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_read()
311 if (is_block_mode && *opflags & QUP_OP_MAX_INPUT_DONE_FLAG) in spi_qup_read()
595 u32 opflags, qup_err, spi_err; in spi_qup_qup_irq() local
601 opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
634 writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
636 if (opflags & QUP_OP_IN_SERVICE_FLAG) in spi_qup_qup_irq()
637 spi_qup_read(controller, &opflags); in spi_qup_qup_irq()
639 if (opflags & QUP_OP_OUT_SERVICE_FLAG) in spi_qup_qup_irq()
649 if (opflags & QUP_OP_MAX_INPUT_DONE_FLAG) { in spi_qup_qup_irq()
/Linux-v5.4/drivers/i2c/busses/
Di2c-qup.c291 u32 opflags; in qup_i2c_interrupt() local
295 opflags = readl(qup->base + QUP_OPERATIONAL); in qup_i2c_interrupt()
335 if (opflags & QUP_OUT_SVC_FLAG) { in qup_i2c_interrupt()
338 if (opflags & OUT_BLOCK_WRITE_REQ) { in qup_i2c_interrupt()
347 if (opflags & QUP_IN_SVC_FLAG) { in qup_i2c_interrupt()
353 } else if (opflags & IN_BLOCK_READ_REQ) { in qup_i2c_interrupt()
370 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt()