Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/futex/include/
Dfutextest.h74 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
75 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
82 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait() argument
84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
92 futex_wake(futex_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
94 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
103 u_int32_t bitset, int opflags) in futex_wait_bitset() argument
106 opflags); in futex_wait_bitset()
114 futex_wake_bitset(futex_t *uaddr, int nr_wake, u_int32_t bitset, int opflags) in futex_wake_bitset() argument
117 opflags); in futex_wake_bitset()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/spi/
Dspi-qup.c270 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read() argument
313 *opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_read()
314 if (is_block_mode && *opflags & QUP_OP_MAX_INPUT_DONE_FLAG) in spi_qup_read()
581 u32 opflags, qup_err, spi_err; in spi_qup_qup_irq() local
586 opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
614 writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
616 if (opflags & QUP_OP_IN_SERVICE_FLAG) in spi_qup_qup_irq()
617 spi_qup_read(controller, &opflags); in spi_qup_qup_irq()
619 if (opflags & QUP_OP_OUT_SERVICE_FLAG) in spi_qup_qup_irq()
623 if ((opflags & QUP_OP_MAX_INPUT_DONE_FLAG) || error) in spi_qup_qup_irq()
/Linux-v4.19/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()