Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/tools/perf/bench/
Dfutex.h50 volatile u_int32_t *uaddr2, int val3, int opflags) in futex_syscall() argument
52 return syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3); in futex_syscall()
57 volatile u_int32_t *uaddr2, int val3, int opflags) in futex_syscall_nr_requeue() argument
59 return syscall(SYS_futex, uaddr, op | opflags, val, nr_requeue, uaddr2, val3); in futex_syscall_nr_requeue()
67 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
69 return futex_syscall(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
77 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
79 return futex_syscall(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
86 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int opflags) in futex_lock_pi() argument
88 return futex_syscall(uaddr, FUTEX_LOCK_PI, 0, timeout, NULL, 0, opflags); in futex_lock_pi()
[all …]
/linux-5.19.10/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()
255 iopara.opflags = FG_INCRADDR_LPC; in hisi_lpc_comm_out()
283 iopara.opflags = 0; in hisi_lpc_comm_ins()
285 iopara.opflags |= FG_INCRADDR_LPC; in hisi_lpc_comm_ins()
322 iopara.opflags = 0; in hisi_lpc_comm_outs()
324 iopara.opflags |= FG_INCRADDR_LPC; in hisi_lpc_comm_outs()
/linux-5.19.10/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
600 opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
633 writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
635 if (opflags & QUP_OP_IN_SERVICE_FLAG) in spi_qup_qup_irq()
636 spi_qup_read(controller, &opflags); in spi_qup_qup_irq()
638 if (opflags & QUP_OP_OUT_SERVICE_FLAG) in spi_qup_qup_irq()
648 if (opflags & QUP_OP_MAX_INPUT_DONE_FLAG) { in spi_qup_qup_irq()
/linux-5.19.10/fs/iomap/
Ddirect-io.c218 unsigned int opflags = REQ_SYNC | REQ_IDLE; in iomap_dio_bio_opflags() local
226 opflags |= REQ_OP_ZONE_APPEND; in iomap_dio_bio_opflags()
228 opflags |= REQ_OP_WRITE; in iomap_dio_bio_opflags()
231 opflags |= REQ_FUA; in iomap_dio_bio_opflags()
235 return opflags; in iomap_dio_bio_opflags()
/linux-5.19.10/drivers/i2c/busses/
Di2c-qup.c286 u32 opflags; in qup_i2c_interrupt() local
290 opflags = readl(qup->base + QUP_OPERATIONAL); in qup_i2c_interrupt()
330 if (opflags & QUP_OUT_SVC_FLAG) { in qup_i2c_interrupt()
333 if (opflags & OUT_BLOCK_WRITE_REQ) { in qup_i2c_interrupt()
342 if (opflags & QUP_IN_SVC_FLAG) { in qup_i2c_interrupt()
348 } else if (opflags & IN_BLOCK_READ_REQ) { in qup_i2c_interrupt()
365 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt()