Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/tools/perf/bench/
Dfutex.h35 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ argument
36 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
43 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait() argument
45 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
53 futex_wake(u_int32_t *uaddr, int nr_wake, int opflags) in futex_wake() argument
55 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake()
64 int opflags) in futex_lock_pi() argument
66 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi()
73 futex_unlock_pi(u_int32_t *uaddr, int opflags) in futex_unlock_pi() argument
75 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi()
[all …]
/linux-4.4.14/drivers/i2c/busses/
Di2c-qup.c134 u32 opflags; in qup_i2c_interrupt() local
138 opflags = readl(qup->base + QUP_OPERATIONAL); in qup_i2c_interrupt()
161 if (opflags & QUP_IN_SVC_FLAG) in qup_i2c_interrupt()
164 if (opflags & QUP_OUT_SVC_FLAG) in qup_i2c_interrupt()
227 u32 opflags; in qup_i2c_wait_writeready() local
233 opflags = readl(qup->base + QUP_OPERATIONAL); in qup_i2c_wait_writeready()
236 if (!(opflags & QUP_OUT_NOT_EMPTY) && in qup_i2c_wait_writeready()
268 u32 opflags; in qup_i2c_issue_write() local
282 opflags = readl(qup->base + QUP_OPERATIONAL); in qup_i2c_issue_write()
283 if (opflags & QUP_OUT_FULL) in qup_i2c_issue_write()
[all …]
/linux-4.4.14/drivers/spi/
Dspi-qup.c382 u32 opflags, qup_err, spi_err; in spi_qup_qup_irq() local
393 opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
397 writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); in spi_qup_qup_irq()
401 qup_err, spi_err, opflags); in spi_qup_qup_irq()
428 if (opflags & QUP_OP_IN_SERVICE_FLAG) in spi_qup_qup_irq()
431 if (opflags & QUP_OP_OUT_SERVICE_FLAG) in spi_qup_qup_irq()