/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 59 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 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() 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 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, u_int32_t bitset, int opflags) futex_wait_bitset() argument 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) futex_lock_pi() argument 131 futex_unlock_pi(futex_t *uaddr, int opflags) futex_unlock_pi() argument 140 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, int wake_op, int opflags) futex_wake_op() argument 156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_requeue() argument 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue() argument 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument 200 futex_cmp_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue_pi() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/futex/include/ |
H A D | futextest.h | 59 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 70 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 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() 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 98 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, u_int32_t bitset, int opflags) futex_wait_bitset() argument 121 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) futex_lock_pi() argument 131 futex_unlock_pi(futex_t *uaddr, int opflags) futex_unlock_pi() argument 140 futex_wake_op(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_wake2, int wake_op, int opflags) futex_wake_op() argument 156 futex_requeue(futex_t *uaddr, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_requeue() argument 169 futex_cmp_requeue(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue() argument 185 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument 200 futex_cmp_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue_pi() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | futex.h | 39 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 50 volatile u_int32_t *uaddr2, int val3, int opflags) in futex_syscall() 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() 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 49 futex_syscall(volatile u_int32_t *uaddr, int op, u_int32_t val, struct timespec *timeout, volatile u_int32_t *uaddr2, int val3, int opflags) futex_syscall() argument 56 futex_syscall_nr_requeue(volatile u_int32_t *uaddr, int op, u_int32_t val, int nr_requeue, volatile u_int32_t *uaddr2, int val3, int opflags) futex_syscall_nr_requeue() argument 95 futex_unlock_pi(u_int32_t *uaddr, int opflags) futex_unlock_pi() argument 106 futex_cmp_requeue(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue() argument 122 futex_wait_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, struct timespec *timeout, int opflags) futex_wait_requeue_pi() argument 139 futex_cmp_requeue_pi(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_requeue, int opflags) futex_cmp_requeue_pi() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | futex.h | 25 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG 36 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ 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 83 futex_cmp_requeue(u_int32_t *uaddr, u_int32_t val, u_int32_t *uaddr2, int nr_wake, int nr_requeue, int opflags) futex_cmp_requeue() argument [all...] |
/kernel/linux/linux-5.10/drivers/bus/ |
H A D | hisi_lpc.c | 32 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()
|
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | hisi_lpc.c | 32 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()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-qup.c | 262 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read() argument 305 * to refresh opflags value because MAX_INPUT_DONE_FLAG may now be in spi_qup_read() 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 in spi_qup_qup_irq() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-qup.c | 261 static void spi_qup_read(struct spi_qup *controller, u32 *opflags) in spi_qup_read() argument 304 * to refresh opflags value because MAX_INPUT_DONE_FLAG may now be in spi_qup_read() 309 *opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_read() 310 if (is_block_mode && *opflags & QUP_OP_MAX_INPUT_DONE_FLAG) in spi_qup_read() 594 u32 opflags, qup_err, spi_err; in spi_qup_qup_irq() local 599 opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq() 632 writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq() 634 if (opflags & QUP_OP_IN_SERVICE_FLAG) in spi_qup_qup_irq() 635 spi_qup_read(controller, &opflags); in spi_qup_qup_irq() 637 if (opflags in spi_qup_qup_irq() [all...] |
/kernel/linux/linux-6.6/fs/iomap/ |
H A D | direct-io.c | 261 blk_opf_t opflags = REQ_SYNC | REQ_IDLE; in iomap_dio_bio_opflags() local 266 opflags |= REQ_OP_WRITE; in iomap_dio_bio_opflags() 268 opflags |= REQ_FUA; in iomap_dio_bio_opflags() 272 return opflags; in iomap_dio_bio_opflags()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-qup.c | 286 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()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-qup.c | 286 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()
|