op 42 arch/alpha/include/asm/atomic.h #define ATOMIC_OP(op, asm_op) \ op 43 arch/alpha/include/asm/atomic.h static __inline__ void atomic_##op(int i, atomic_t * v) \ op 58 arch/alpha/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, asm_op) \ op 59 arch/alpha/include/asm/atomic.h static inline int atomic_##op##_return_relaxed(int i, atomic_t *v) \ op 77 arch/alpha/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, asm_op) \ op 78 arch/alpha/include/asm/atomic.h static inline int atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ op 95 arch/alpha/include/asm/atomic.h #define ATOMIC64_OP(op, asm_op) \ op 96 arch/alpha/include/asm/atomic.h static __inline__ void atomic64_##op(s64 i, atomic64_t * v) \ op 111 arch/alpha/include/asm/atomic.h #define ATOMIC64_OP_RETURN(op, asm_op) \ op 112 arch/alpha/include/asm/atomic.h static __inline__ s64 atomic64_##op##_return_relaxed(s64 i, atomic64_t * v) \ op 130 arch/alpha/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, asm_op) \ op 131 arch/alpha/include/asm/atomic.h static __inline__ s64 atomic64_fetch_##op##_relaxed(s64 i, atomic64_t * v) \ op 148 arch/alpha/include/asm/atomic.h #define ATOMIC_OPS(op) \ op 149 arch/alpha/include/asm/atomic.h ATOMIC_OP(op, op##l) \ op 150 arch/alpha/include/asm/atomic.h ATOMIC_OP_RETURN(op, op##l) \ op 151 arch/alpha/include/asm/atomic.h ATOMIC_FETCH_OP(op, op##l) \ op 152 arch/alpha/include/asm/atomic.h ATOMIC64_OP(op, op##q) \ op 153 arch/alpha/include/asm/atomic.h ATOMIC64_OP_RETURN(op, op##q) \ op 154 arch/alpha/include/asm/atomic.h ATOMIC64_FETCH_OP(op, op##q) op 173 arch/alpha/include/asm/atomic.h #define ATOMIC_OPS(op, asm) \ op 174 arch/alpha/include/asm/atomic.h ATOMIC_OP(op, asm) \ op 175 arch/alpha/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm) \ op 176 arch/alpha/include/asm/atomic.h ATOMIC64_OP(op, asm) \ op 177 arch/alpha/include/asm/atomic.h ATOMIC64_FETCH_OP(op, asm) op 29 arch/alpha/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 36 arch/alpha/include/asm/futex.h switch (op) { op 761 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE5(osf_getsysinfo, unsigned long, op, void __user *, buffer, op 767 arch/alpha/kernel/osf_sys.c switch (op) { op 818 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer, op 821 arch/alpha/kernel/osf_sys.c switch (op) { op 553 arch/alpha/kernel/setup.c struct sysrq_key_op *op = __sysrq_get_key_op('b'); op 554 arch/alpha/kernel/setup.c op->handler = (void *) machine_halt; op 27 arch/arc/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 28 arch/arc/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 43 arch/arc/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 44 arch/arc/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 69 arch/arc/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 70 arch/arc/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 132 arch/arc/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 133 arch/arc/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 142 arch/arc/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 143 arch/arc/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 160 arch/arc/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 161 arch/arc/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 179 arch/arc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 180 arch/arc/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 181 arch/arc/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 182 arch/arc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 191 arch/arc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 192 arch/arc/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 193 arch/arc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 223 arch/arc/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 224 arch/arc/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 235 arch/arc/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 236 arch/arc/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 259 arch/arc/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 260 arch/arc/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 281 arch/arc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 282 arch/arc/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 283 arch/arc/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 284 arch/arc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 292 arch/arc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 293 arch/arc/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 294 arch/arc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 361 arch/arc/include/asm/atomic.h #define ATOMIC64_OP(op, op1, op2) \ op 362 arch/arc/include/asm/atomic.h static inline void atomic64_##op(s64 a, atomic64_t *v) \ op 378 arch/arc/include/asm/atomic.h #define ATOMIC64_OP_RETURN(op, op1, op2) \ op 379 arch/arc/include/asm/atomic.h static inline s64 atomic64_##op##_return(s64 a, atomic64_t *v) \ op 401 arch/arc/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, op1, op2) \ op 402 arch/arc/include/asm/atomic.h static inline s64 atomic64_fetch_##op(s64 a, atomic64_t *v) \ op 424 arch/arc/include/asm/atomic.h #define ATOMIC64_OPS(op, op1, op2) \ op 425 arch/arc/include/asm/atomic.h ATOMIC64_OP(op, op1, op2) \ op 426 arch/arc/include/asm/atomic.h ATOMIC64_OP_RETURN(op, op1, op2) \ op 427 arch/arc/include/asm/atomic.h ATOMIC64_FETCH_OP(op, op1, op2) op 28 arch/arc/include/asm/bitops.h #define BIT_OP(op, c_op, asm_op) \ op 29 arch/arc/include/asm/bitops.h static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\ op 59 arch/arc/include/asm/bitops.h #define TEST_N_BIT_OP(op, c_op, asm_op) \ op 60 arch/arc/include/asm/bitops.h static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ op 106 arch/arc/include/asm/bitops.h #define BIT_OP(op, c_op, asm_op) \ op 107 arch/arc/include/asm/bitops.h static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\ op 123 arch/arc/include/asm/bitops.h #define TEST_N_BIT_OP(op, c_op, asm_op) \ op 124 arch/arc/include/asm/bitops.h static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ op 141 arch/arc/include/asm/bitops.h #define BIT_OP(op, c_op, asm_op) \ op 142 arch/arc/include/asm/bitops.h static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\ op 159 arch/arc/include/asm/bitops.h #define TEST_N_BIT_OP(op, c_op, asm_op) \ op 160 arch/arc/include/asm/bitops.h static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ op 193 arch/arc/include/asm/bitops.h #define __BIT_OP(op, c_op, asm_op) \ op 194 arch/arc/include/asm/bitops.h static inline void __##op##_bit(unsigned long nr, volatile unsigned long *m) \ op 203 arch/arc/include/asm/bitops.h #define __TEST_N_BIT_OP(op, c_op, asm_op) \ op 204 arch/arc/include/asm/bitops.h static inline int __test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ op 215 arch/arc/include/asm/bitops.h #define BIT_OPS(op, c_op, asm_op) \ op 218 arch/arc/include/asm/bitops.h BIT_OP(op, c_op, asm_op) \ op 221 arch/arc/include/asm/bitops.h TEST_N_BIT_OP(op, c_op, asm_op) \ op 224 arch/arc/include/asm/bitops.h __BIT_OP(op, c_op, asm_op) \ op 227 arch/arc/include/asm/bitops.h __TEST_N_BIT_OP(op, c_op, asm_op) op 73 arch/arc/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 83 arch/arc/include/asm/futex.h switch (op) { op 305 arch/arc/include/asm/pgtable.h #define PTE_BIT_FUNC(fn, op) \ op 306 arch/arc/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } op 75 arch/arc/include/asm/uaccess.h #define __arc_get_user_one(dst, src, op, ret) \ op 77 arch/arc/include/asm/uaccess.h "1: "op" %1,[%2]\n" \ op 130 arch/arc/include/asm/uaccess.h #define __arc_put_user_one(src, dst, op, ret) \ op 132 arch/arc/include/asm/uaccess.h "1: "op" %1,[%2]\n" \ op 32 arch/arc/mm/cache.c unsigned long sz, const int op, const int full_page); op 251 arch/arc/mm/cache.c unsigned long sz, const int op, const int full_page) op 256 arch/arc/mm/cache.c if (op == OP_INV_IC) { op 260 arch/arc/mm/cache.c aux_cmd = op & OP_INV ? ARC_REG_DC_IVDL : ARC_REG_DC_FLDL; op 296 arch/arc/mm/cache.c unsigned long sz, const int op, const int full_page) op 301 arch/arc/mm/cache.c if (op == OP_INV_IC) { op 305 arch/arc/mm/cache.c aux_cmd = op & OP_INV ? ARC_REG_DC_IVDL : ARC_REG_DC_FLDL; op 336 arch/arc/mm/cache.c if (is_pae40_enabled() && op == OP_INV_IC) op 367 arch/arc/mm/cache.c unsigned long sz, const int op, const int full_page) op 372 arch/arc/mm/cache.c if (op == OP_INV_IC) { op 376 arch/arc/mm/cache.c aux_cmd = op & OP_INV ? ARC_REG_DC_IVDL : ARC_REG_DC_FLDL; op 398 arch/arc/mm/cache.c if (op == OP_INV_IC) op 421 arch/arc/mm/cache.c unsigned long sz, const int op, const int full_page) op 426 arch/arc/mm/cache.c if (op == OP_INV_IC) { op 448 arch/arc/mm/cache.c if (op == OP_INV_IC) op 482 arch/arc/mm/cache.c static inline void __before_dc_op(const int op) op 484 arch/arc/mm/cache.c if (op == OP_FLUSH_N_INV) { op 497 arch/arc/mm/cache.c static inline void __before_dc_op(const int op) op 502 arch/arc/mm/cache.c if (op == OP_FLUSH_N_INV) { op 506 arch/arc/mm/cache.c if (op != OP_INV_IC) { op 512 arch/arc/mm/cache.c if (op & OP_INV) op 521 arch/arc/mm/cache.c static inline void __after_dc_op(const int op) op 523 arch/arc/mm/cache.c if (op & OP_FLUSH) { op 532 arch/arc/mm/cache.c if (op == OP_FLUSH_N_INV) op 543 arch/arc/mm/cache.c static inline void __dc_entire_op(const int op) op 547 arch/arc/mm/cache.c __before_dc_op(op); op 549 arch/arc/mm/cache.c if (op & OP_INV) /* Inv or flush-n-inv use same cmd reg */ op 556 arch/arc/mm/cache.c __after_dc_op(op); op 575 arch/arc/mm/cache.c #define __dc_line_op_k(p, sz, op) __dc_line_op(p, p, sz, op) op 581 arch/arc/mm/cache.c unsigned long sz, const int op) op 588 arch/arc/mm/cache.c __before_dc_op(op); op 590 arch/arc/mm/cache.c __cache_line_loop(paddr, vaddr, sz, op, full_page); op 592 arch/arc/mm/cache.c __after_dc_op(op); op 599 arch/arc/mm/cache.c #define __dc_entire_op(op) op 602 arch/arc/mm/cache.c #define __dc_line_op(paddr, vaddr, sz, op) op 603 arch/arc/mm/cache.c #define __dc_line_op_k(paddr, sz, op) op 666 arch/arc/mm/cache.c noinline void slc_op_rgn(phys_addr_t paddr, unsigned long sz, const int op) op 692 arch/arc/mm/cache.c if (!(op & OP_FLUSH)) /* i.e. OP_INV */ op 697 arch/arc/mm/cache.c if (op & OP_INV) op 729 arch/arc/mm/cache.c noinline void slc_op_line(phys_addr_t paddr, unsigned long sz, const int op) op 751 arch/arc/mm/cache.c if (!(op & OP_FLUSH)) /* i.e. OP_INV */ op 758 arch/arc/mm/cache.c cmd = op & OP_INV ? ARC_AUX_SLC_IVDL : ARC_AUX_SLC_FLDL; op 779 arch/arc/mm/cache.c #define slc_op(paddr, sz, op) slc_op_rgn(paddr, sz, op) op 781 arch/arc/mm/cache.c noinline static void slc_entire_op(const int op) op 787 arch/arc/mm/cache.c if (!(op & OP_FLUSH)) /* i.e. OP_INV */ op 794 arch/arc/mm/cache.c if (op & OP_INV) /* Inv or flush-n-inv use same cmd reg */ op 38 arch/arm/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 39 arch/arm/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 45 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic_" #op "\n" \ op 56 arch/arm/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 57 arch/arm/include/asm/atomic.h static inline int atomic_##op##_return_relaxed(int i, atomic_t *v) \ op 64 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic_" #op "_return\n" \ op 77 arch/arm/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 78 arch/arm/include/asm/atomic.h static inline int atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ op 85 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic_fetch_" #op "\n" \ op 164 arch/arm/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 165 arch/arm/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 174 arch/arm/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 175 arch/arm/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 188 arch/arm/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 189 arch/arm/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 220 arch/arm/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 221 arch/arm/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 222 arch/arm/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 223 arch/arm/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 231 arch/arm/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 232 arch/arm/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 233 arch/arm/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 306 arch/arm/include/asm/atomic.h #define ATOMIC64_OP(op, op1, op2) \ op 307 arch/arm/include/asm/atomic.h static inline void atomic64_##op(s64 i, atomic64_t *v) \ op 313 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic64_" #op "\n" \ op 325 arch/arm/include/asm/atomic.h #define ATOMIC64_OP_RETURN(op, op1, op2) \ op 327 arch/arm/include/asm/atomic.h atomic64_##op##_return_relaxed(s64 i, atomic64_t *v) \ op 334 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic64_" #op "_return\n" \ op 348 arch/arm/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, op1, op2) \ op 350 arch/arm/include/asm/atomic.h atomic64_fetch_##op##_relaxed(s64 i, atomic64_t *v) \ op 357 arch/arm/include/asm/atomic.h __asm__ __volatile__("@ atomic64_fetch_" #op "\n" \ op 371 arch/arm/include/asm/atomic.h #define ATOMIC64_OPS(op, op1, op2) \ op 372 arch/arm/include/asm/atomic.h ATOMIC64_OP(op, op1, op2) \ op 373 arch/arm/include/asm/atomic.h ATOMIC64_OP_RETURN(op, op1, op2) \ op 374 arch/arm/include/asm/atomic.h ATOMIC64_FETCH_OP(op, op1, op2) op 385 arch/arm/include/asm/atomic.h #define ATOMIC64_OPS(op, op1, op2) \ op 386 arch/arm/include/asm/atomic.h ATOMIC64_OP(op, op1, op2) \ op 387 arch/arm/include/asm/atomic.h ATOMIC64_FETCH_OP(op, op1, op2) op 64 arch/arm/include/asm/firmware.h #define call_firmware_op(op, ...) \ op 65 arch/arm/include/asm/firmware.h ((firmware_ops->op) ? firmware_ops->op(__VA_ARGS__) : (-ENOSYS)) op 133 arch/arm/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 142 arch/arm/include/asm/futex.h switch (op) { op 223 arch/arm/include/asm/pgtable-3level.h #define PMD_BIT_FUNC(fn,op) \ op 224 arch/arm/include/asm/pgtable-3level.h static inline pmd_t pmd_##fn(pmd_t pmd) { pmd_val(pmd) op; return pmd; } op 251 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_epoll_ctl(int epfd, int op, int fd, op 259 arch/arm/kernel/sys_oabi-compat.c if (op == EPOLL_CTL_DEL) op 260 arch/arm/kernel/sys_oabi-compat.c return sys_epoll_ctl(epfd, op, fd, NULL); op 267 arch/arm/kernel/sys_oabi-compat.c ret = sys_epoll_ctl(epfd, op, fd, &kernel); op 99 arch/arm/mach-imx/mxc.h extern struct cpu_op *(*get_cpu_op)(int *op); op 123 arch/arm/mach-prima2/pm.c static int sirfsoc_memc_probe(struct platform_device *op) op 125 arch/arm/mach-prima2/pm.c struct device_node *np = op->dev.of_node; op 151 arch/arm/mach-prima2/rtciobrg.c static int sirfsoc_rtciobrg_probe(struct platform_device *op) op 153 arch/arm/mach-prima2/rtciobrg.c struct device_node *np = op->dev.of_node; op 57 arch/arm/mm/cache-uniphier.c #define UNIPHIER_SSCOQM_S_IS_RANGE(op) \ op 58 arch/arm/mm/cache-uniphier.c ((op & UNIPHIER_SSCOQM_S_MASK) == UNIPHIER_SSCOQM_S_RANGE) op 889 arch/arm/mm/dma-mapping.c void (*op)(const void *, size_t, int)) op 915 arch/arm/mm/dma-mapping.c op(vaddr + offset, len, dir); op 920 arch/arm/mm/dma-mapping.c op(vaddr + offset, len, dir); op 926 arch/arm/mm/dma-mapping.c op(vaddr, len, dir); op 299 arch/arm/net/bpf_jit_32.c static u32 arm_bpf_ldst_imm12(u32 op, u8 rt, u8 rn, s16 imm12) op 301 arch/arm/net/bpf_jit_32.c op |= rt << 12 | rn << 16; op 303 arch/arm/net/bpf_jit_32.c op |= ARM_INST_LDST__U; op 306 arch/arm/net/bpf_jit_32.c return op | (imm12 & ARM_INST_LDST__IMM12); op 309 arch/arm/net/bpf_jit_32.c static u32 arm_bpf_ldst_imm8(u32 op, u8 rt, u8 rn, s16 imm8) op 311 arch/arm/net/bpf_jit_32.c op |= rt << 12 | rn << 16; op 313 arch/arm/net/bpf_jit_32.c op |= ARM_INST_LDST__U; op 316 arch/arm/net/bpf_jit_32.c return op | (imm8 & 0xf0) << 4 | (imm8 & 0x0f); op 465 arch/arm/net/bpf_jit_32.c static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op) op 471 arch/arm/net/bpf_jit_32.c if (op == BPF_DIV) op 499 arch/arm/net/bpf_jit_32.c emit_mov_i(ARM_IP, op == BPF_DIV ? op 655 arch/arm/net/bpf_jit_32.c const bool hi, const u8 op, struct jit_ctx *ctx){ op 656 arch/arm/net/bpf_jit_32.c switch (BPF_OP(op)) { op 701 arch/arm/net/bpf_jit_32.c const bool hi, const u8 op) { op 708 arch/arm/net/bpf_jit_32.c emit_alu_r(rd, rn, is64, hi, op, ctx); op 715 arch/arm/net/bpf_jit_32.c const u8 op) { op 727 arch/arm/net/bpf_jit_32.c emit_alu_r(rd[1], rs[1], true, false, op, ctx); op 728 arch/arm/net/bpf_jit_32.c emit_alu_r(rd[0], rs[0], true, true, op, ctx); op 735 arch/arm/net/bpf_jit_32.c emit_alu_r(rd[1], rs, true, false, op, ctx); op 784 arch/arm/net/bpf_jit_32.c struct jit_ctx *ctx, const u8 op) { op 791 arch/arm/net/bpf_jit_32.c switch (op) { op 1104 arch/arm/net/bpf_jit_32.c const u8 rn, struct jit_ctx *ctx, u8 op, op 1106 arch/arm/net/bpf_jit_32.c switch (op) { op 159 arch/arm/net/bpf_jit_32.h #define _AL3_R(op, rd, rn, rm) ((op ## _R) | (rd) << 12 | (rn) << 16 | (rm)) op 161 arch/arm/net/bpf_jit_32.h #define _AL3_I(op, rd, rn, imm) ((op ## _I) | (rd) << 12 | (rn) << 16 | (imm)) op 119 arch/arm/probes/kprobes/opt-arm.c int arch_check_optimized_kprobe(struct optimized_kprobe *op) op 140 arch/arm/probes/kprobes/opt-arm.c __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty) op 142 arch/arm/probes/kprobes/opt-arm.c if (op->optinsn.insn) { op 143 arch/arm/probes/kprobes/opt-arm.c free_optinsn_slot(op->optinsn.insn, dirty); op 144 arch/arm/probes/kprobes/opt-arm.c op->optinsn.insn = NULL; op 151 arch/arm/probes/kprobes/opt-arm.c optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) op 154 arch/arm/probes/kprobes/opt-arm.c struct kprobe *p = &op->kp; op 158 arch/arm/probes/kprobes/opt-arm.c regs->ARM_pc = (unsigned long)op->kp.addr; op 165 arch/arm/probes/kprobes/opt-arm.c kprobes_inc_nmissed_count(&op->kp); op 167 arch/arm/probes/kprobes/opt-arm.c __this_cpu_write(current_kprobe, &op->kp); op 169 arch/arm/probes/kprobes/opt-arm.c opt_pre_handler(&op->kp, regs); op 178 arch/arm/probes/kprobes/opt-arm.c op->kp.ainsn.insn_singlestep(p->opcode, &p->ainsn, regs); op 184 arch/arm/probes/kprobes/opt-arm.c int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *orig) op 254 arch/arm/probes/kprobes/opt-arm.c val = (unsigned long)op; op 266 arch/arm/probes/kprobes/opt-arm.c (unsigned long)(op->kp.addr) + 4); op 287 arch/arm/probes/kprobes/opt-arm.c op->optinsn.insn = code; op 293 arch/arm/probes/kprobes/opt-arm.c struct optimized_kprobe *op, *tmp; op 295 arch/arm/probes/kprobes/opt-arm.c list_for_each_entry_safe(op, tmp, oplist, list) { op 297 arch/arm/probes/kprobes/opt-arm.c WARN_ON(kprobe_disabled(&op->kp)); op 303 arch/arm/probes/kprobes/opt-arm.c memcpy(op->optinsn.copied_insn, op->kp.addr, op 306 arch/arm/probes/kprobes/opt-arm.c insn = arm_gen_branch((unsigned long)op->kp.addr, op 307 arch/arm/probes/kprobes/opt-arm.c (unsigned long)op->optinsn.insn); op 315 arch/arm/probes/kprobes/opt-arm.c op->optinsn.copied_insn[0]) & 0xf0000000) | op 323 arch/arm/probes/kprobes/opt-arm.c kprobes_remove_breakpoint(op->kp.addr, insn); op 325 arch/arm/probes/kprobes/opt-arm.c list_del_init(&op->list); op 329 arch/arm/probes/kprobes/opt-arm.c void arch_unoptimize_kprobe(struct optimized_kprobe *op) op 331 arch/arm/probes/kprobes/opt-arm.c arch_arm_kprobe(&op->kp); op 341 arch/arm/probes/kprobes/opt-arm.c struct optimized_kprobe *op, *tmp; op 343 arch/arm/probes/kprobes/opt-arm.c list_for_each_entry_safe(op, tmp, oplist, list) { op 344 arch/arm/probes/kprobes/opt-arm.c arch_unoptimize_kprobe(op); op 345 arch/arm/probes/kprobes/opt-arm.c list_move(&op->list, done_list); op 349 arch/arm/probes/kprobes/opt-arm.c int arch_within_optimized_kprobe(struct optimized_kprobe *op, op 352 arch/arm/probes/kprobes/opt-arm.c return ((unsigned long)op->kp.addr <= addr && op 353 arch/arm/probes/kprobes/opt-arm.c (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); op 356 arch/arm/probes/kprobes/opt-arm.c void arch_remove_optimized_kprobe(struct optimized_kprobe *op) op 358 arch/arm/probes/kprobes/opt-arm.c __arch_remove_optimized_kprobe(op, 1); op 57 arch/arm/probes/kprobes/test-arm.c #define _DATA_PROCESSING_DNM(op,s,val) \ op 58 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "eq" s " r0, r",1, VAL1,", r",2, val, "") \ op 59 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "ne" s " r1, r",1, VAL1,", r",2, val, ", lsl #3") \ op 60 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "cs" s " r2, r",3, VAL1,", r",2, val, ", lsr #4") \ op 61 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "cc" s " r3, r",3, VAL1,", r",2, val, ", asr #5") \ op 62 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "mi" s " r4, r",5, VAL1,", r",2, N(val),", asr #6") \ op 63 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "pl" s " r5, r",5, VAL1,", r",2, val, ", ror #7") \ op 64 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "vs" s " r6, r",7, VAL1,", r",2, val, ", rrx") \ op 65 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vc" s " r6, r",7, VAL1,", pc, lsl #3") \ op 66 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vc" s " r6, r",7, VAL1,", sp, lsr #4") \ op 67 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vc" s " r6, pc, r",7, VAL1,", asr #5") \ op 68 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vc" s " r6, sp, r",7, VAL1,", ror #6") \ op 69 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "hi" s " r8, r",9, VAL1,", r",14,val, ", lsl r",0, 3,"")\ op 70 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "ls" s " r9, r",9, VAL1,", r",14,val, ", lsr r",7, 4,"")\ op 71 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "ge" s " r10, r",11,VAL1,", r",14,val, ", asr r",7, 5,"")\ op 72 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "lt" s " r11, r",11,VAL1,", r",14,N(val),", asr r",7, 6,"")\ op 73 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "gt" s " r12, r13" ", r",14,val, ", ror r",14,7,"")\ op 74 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "le" s " r14, r",0, val, ", r13" ", lsl r",14,8,"")\ op 75 arch/arm/probes/kprobes/test-arm.c TEST_R( op "eq" s " r0, r",11,VAL1,", #0xf5") \ op 76 arch/arm/probes/kprobes/test-arm.c TEST_R( op "ne" s " r11, r",0, VAL1,", #0xf5000000") \ op 77 arch/arm/probes/kprobes/test-arm.c TEST_R( op s " r7, r",8, VAL2,", #0x000af000") \ op 78 arch/arm/probes/kprobes/test-arm.c TEST( op s " r4, pc" ", #0x00005a00") op 80 arch/arm/probes/kprobes/test-arm.c #define DATA_PROCESSING_DNM(op,val) \ op 81 arch/arm/probes/kprobes/test-arm.c _DATA_PROCESSING_DNM(op,"",val) \ op 82 arch/arm/probes/kprobes/test-arm.c _DATA_PROCESSING_DNM(op,"s",val) op 84 arch/arm/probes/kprobes/test-arm.c #define DATA_PROCESSING_NM(op,val) \ op 85 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "ne r",1, VAL1,", r",2, val, "") \ op 86 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "eq r",1, VAL1,", r",2, val, ", lsl #3") \ op 87 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "cc r",3, VAL1,", r",2, val, ", lsr #4") \ op 88 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "cs r",3, VAL1,", r",2, val, ", asr #5") \ op 89 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "pl r",5, VAL1,", r",2, N(val),", asr #6") \ op 90 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "mi r",5, VAL1,", r",2, val, ", ror #7") \ op 91 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "vc r",7, VAL1,", r",2, val, ", rrx") \ op 92 arch/arm/probes/kprobes/test-arm.c TEST_R ( op "vs r",7, VAL1,", pc, lsl #3") \ op 93 arch/arm/probes/kprobes/test-arm.c TEST_R ( op "vs r",7, VAL1,", sp, lsr #4") \ op 94 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vs pc, r",7, VAL1,", asr #5") \ op 95 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vs sp, r",7, VAL1,", ror #6") \ op 96 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "ls r",9, VAL1,", r",14,val, ", lsl r",0, 3,"") \ op 97 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "hi r",9, VAL1,", r",14,val, ", lsr r",7, 4,"") \ op 98 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "lt r",11,VAL1,", r",14,val, ", asr r",7, 5,"") \ op 99 arch/arm/probes/kprobes/test-arm.c TEST_RRR( op "ge r",11,VAL1,", r",14,N(val),", asr r",7, 6,"") \ op 100 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "le r13" ", r",14,val, ", ror r",14,7,"") \ op 101 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "gt r",0, val, ", r13" ", lsl r",14,8,"") \ op 102 arch/arm/probes/kprobes/test-arm.c TEST_R( op "eq r",11,VAL1,", #0xf5") \ op 103 arch/arm/probes/kprobes/test-arm.c TEST_R( op "ne r",0, VAL1,", #0xf5000000") \ op 104 arch/arm/probes/kprobes/test-arm.c TEST_R( op " r",8, VAL2,", #0x000af000") op 106 arch/arm/probes/kprobes/test-arm.c #define _DATA_PROCESSING_DM(op,s,val) \ op 107 arch/arm/probes/kprobes/test-arm.c TEST_R( op "eq" s " r0, r",1, val, "") \ op 108 arch/arm/probes/kprobes/test-arm.c TEST_R( op "ne" s " r1, r",1, val, ", lsl #3") \ op 109 arch/arm/probes/kprobes/test-arm.c TEST_R( op "cs" s " r2, r",3, val, ", lsr #4") \ op 110 arch/arm/probes/kprobes/test-arm.c TEST_R( op "cc" s " r3, r",3, val, ", asr #5") \ op 111 arch/arm/probes/kprobes/test-arm.c TEST_R( op "mi" s " r4, r",5, N(val),", asr #6") \ op 112 arch/arm/probes/kprobes/test-arm.c TEST_R( op "pl" s " r5, r",5, val, ", ror #7") \ op 113 arch/arm/probes/kprobes/test-arm.c TEST_R( op "vs" s " r6, r",10,val, ", rrx") \ op 114 arch/arm/probes/kprobes/test-arm.c TEST( op "vs" s " r7, pc, lsl #3") \ op 115 arch/arm/probes/kprobes/test-arm.c TEST( op "vs" s " r7, sp, lsr #4") \ op 116 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "vc" s " r8, r",7, val, ", lsl r",0, 3,"") \ op 117 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "hi" s " r9, r",9, val, ", lsr r",7, 4,"") \ op 118 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "ls" s " r10, r",9, val, ", asr r",7, 5,"") \ op 119 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "ge" s " r11, r",11,N(val),", asr r",7, 6,"") \ op 120 arch/arm/probes/kprobes/test-arm.c TEST_RR( op "lt" s " r12, r",11,val, ", ror r",14,7,"") \ op 121 arch/arm/probes/kprobes/test-arm.c TEST_R( op "gt" s " r14, r13" ", lsl r",14,8,"") \ op 122 arch/arm/probes/kprobes/test-arm.c TEST( op "eq" s " r0, #0xf5") \ op 123 arch/arm/probes/kprobes/test-arm.c TEST( op "ne" s " r11, #0xf5000000") \ op 124 arch/arm/probes/kprobes/test-arm.c TEST( op s " r7, #0x000af000") \ op 125 arch/arm/probes/kprobes/test-arm.c TEST( op s " r4, #0x00005a00") op 127 arch/arm/probes/kprobes/test-arm.c #define DATA_PROCESSING_DM(op,val) \ op 128 arch/arm/probes/kprobes/test-arm.c _DATA_PROCESSING_DM(op,"",val) \ op 129 arch/arm/probes/kprobes/test-arm.c _DATA_PROCESSING_DM(op,"s",val) op 91 arch/arm/probes/kprobes/test-thumb.c #define DATA_PROCESSING16(op,val) \ op 92 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op" r",0,VAL1,", r",7,val,"") \ op 93 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op" r",7,VAL2,", r",0,val,"") op 478 arch/arm/probes/kprobes/test-thumb.c #define _DATA_PROCESSING32_DNM(op,s,val) \ op 479 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s".w r0, r",1, VAL1,", r",2, val, "") \ op 480 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r1, r",1, VAL1,", r",2, val, ", lsl #3") \ op 481 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r2, r",3, VAL1,", r",2, val, ", lsr #4") \ op 482 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r3, r",3, VAL1,", r",2, val, ", asr #5") \ op 483 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r4, r",5, VAL1,", r",2, N(val),", asr #6") \ op 484 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r5, r",5, VAL1,", r",2, val, ", ror #7") \ op 485 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op s" r8, r",9, VAL1,", r",10,val, ", rrx") \ op 486 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r0, r",11,VAL1,", #0x00010001") \ op 487 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r11, r",0, VAL1,", #0xf5000000") \ op 488 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r7, r",8, VAL2,", #0x000af000") op 490 arch/arm/probes/kprobes/test-thumb.c #define DATA_PROCESSING32_DNM(op,val) \ op 491 arch/arm/probes/kprobes/test-thumb.c _DATA_PROCESSING32_DNM(op,"",val) \ op 492 arch/arm/probes/kprobes/test-thumb.c _DATA_PROCESSING32_DNM(op,"s",val) op 494 arch/arm/probes/kprobes/test-thumb.c #define DATA_PROCESSING32_NM(op,val) \ op 495 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op".w r",1, VAL1,", r",2, val, "") \ op 496 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",1, VAL1,", r",2, val, ", lsl #3") \ op 497 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",3, VAL1,", r",2, val, ", lsr #4") \ op 498 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",3, VAL1,", r",2, val, ", asr #5") \ op 499 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",5, VAL1,", r",2, N(val),", asr #6") \ op 500 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",5, VAL1,", r",2, val, ", ror #7") \ op 501 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r",9, VAL1,", r",10,val, ", rrx") \ op 502 arch/arm/probes/kprobes/test-thumb.c TEST_R( op" r",11,VAL1,", #0x00010001") \ op 503 arch/arm/probes/kprobes/test-thumb.c TEST_R( op" r",0, VAL1,", #0xf5000000") \ op 504 arch/arm/probes/kprobes/test-thumb.c TEST_R( op" r",8, VAL2,", #0x000af000") op 506 arch/arm/probes/kprobes/test-thumb.c #define _DATA_PROCESSING32_DM(op,s,val) \ op 507 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s".w r0, r",14, val, "") \ op 508 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r1, r",12, val, ", lsl #3") \ op 509 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r2, r",11, val, ", lsr #4") \ op 510 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r3, r",10, val, ", asr #5") \ op 511 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r4, r",9, N(val),", asr #6") \ op 512 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r5, r",8, val, ", ror #7") \ op 513 arch/arm/probes/kprobes/test-thumb.c TEST_R( op s" r8, r",7,val, ", rrx") \ op 514 arch/arm/probes/kprobes/test-thumb.c TEST( op s" r0, #0x00010001") \ op 515 arch/arm/probes/kprobes/test-thumb.c TEST( op s" r11, #0xf5000000") \ op 516 arch/arm/probes/kprobes/test-thumb.c TEST( op s" r7, #0x000af000") \ op 517 arch/arm/probes/kprobes/test-thumb.c TEST( op s" r4, #0x00005a00") op 519 arch/arm/probes/kprobes/test-thumb.c #define DATA_PROCESSING32_DM(op,val) \ op 520 arch/arm/probes/kprobes/test-thumb.c _DATA_PROCESSING32_DM(op,"",val) \ op 521 arch/arm/probes/kprobes/test-thumb.c _DATA_PROCESSING32_DM(op,"s",val) op 934 arch/arm/probes/kprobes/test-thumb.c #define SHIFTS32(op) \ op 935 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r0, r",1, VAL1,", r",2, 3, "") \ op 936 arch/arm/probes/kprobes/test-thumb.c TEST_RR(op" r14, r",12,VAL2,", r",11,10,"") op 986 arch/arm/probes/kprobes/test-thumb.c #define PARALLEL_ADD_SUB(op) \ op 987 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"add16 r0, r",0, HH1,", r",1, HH2,"") \ op 988 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"add16 r14, r",12,HH2,", r",10,HH1,"") \ op 989 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"asx r0, r",0, HH1,", r",1, HH2,"") \ op 990 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"asx r14, r",12,HH2,", r",10,HH1,"") \ op 991 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sax r0, r",0, HH1,", r",1, HH2,"") \ op 992 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sax r14, r",12,HH2,", r",10,HH1,"") \ op 993 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sub16 r0, r",0, HH1,", r",1, HH2,"") \ op 994 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sub16 r14, r",12,HH2,", r",10,HH1,"") \ op 995 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"add8 r0, r",0, HH1,", r",1, HH2,"") \ op 996 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"add8 r14, r",12,HH2,", r",10,HH1,"") \ op 997 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sub8 r0, r",0, HH1,", r",1, HH2,"") \ op 998 arch/arm/probes/kprobes/test-thumb.c TEST_RR( op"sub8 r14, r",12,HH2,", r",10,HH1,"") op 661 arch/arm/vfp/vfpdouble.c static struct op fops_ext[32] = { op 1112 arch/arm/vfp/vfpdouble.c static struct op fops[16] = { op 1129 arch/arm/vfp/vfpdouble.c u32 op = inst & FOP_MASK; op 1135 arch/arm/vfp/vfpdouble.c struct op *fop; op 1139 arch/arm/vfp/vfpdouble.c fop = (op == FOP_EXT) ? &fops_ext[FEXT_TO_IDX(inst)] : &fops[FOP_TO_IDX(op)]; op 1178 arch/arm/vfp/vfpdouble.c if (op == FOP_EXT) op 1185 arch/arm/vfp/vfpdouble.c type, dest, dn, FOP_TO_IDX(op), dm); op 706 arch/arm/vfp/vfpsingle.c static struct op fops_ext[32] = { op 1157 arch/arm/vfp/vfpsingle.c static struct op fops[16] = { op 1174 arch/arm/vfp/vfpsingle.c u32 op = inst & FOP_MASK; op 1180 arch/arm/vfp/vfpsingle.c struct op *fop; op 1184 arch/arm/vfp/vfpsingle.c fop = (op == FOP_EXT) ? &fops_ext[FEXT_TO_IDX(inst)] : &fops[FOP_TO_IDX(op)]; op 1218 arch/arm/vfp/vfpsingle.c if (op == FOP_EXT) op 1225 arch/arm/vfp/vfpsingle.c FOP_TO_IDX(op), sm, m); op 99 arch/arm/xen/enlighten.c struct xen_platform_op op; op 114 arch/arm/xen/enlighten.c op.cmd = XENPF_settime64; op 115 arch/arm/xen/enlighten.c op.u.settime64.mbz = 0; op 116 arch/arm/xen/enlighten.c op.u.settime64.secs = now.tv_sec; op 117 arch/arm/xen/enlighten.c op.u.settime64.nsecs = now.tv_nsec; op 118 arch/arm/xen/enlighten.c op.u.settime64.system_time = timespec64_to_ns(&system_time); op 119 arch/arm/xen/enlighten.c (void)HYPERVISOR_platform_op(&op); op 44 arch/arm/xen/mm.c static void dma_cache_maint(dma_addr_t handle, size_t size, u32 op) op 50 arch/arm/xen/mm.c cflush.op = op; op 143 arch/arm/xen/mm.c cflush.op = 0; op 376 arch/arm64/include/asm/assembler.h .macro __dcache_op_workaround_clean_cache, op, kaddr op 384 arch/arm64/include/asm/assembler.h .macro dcache_by_line_op op, domain, kaddr, size, tmp1, tmp2 op 646 arch/arm64/include/asm/assembler.h .macro __frame_regs, reg1, reg2, op, num op 654 arch/arm64/include/asm/assembler.h .macro __frame, op, regcount, extra=0 op 19 arch/arm64/include/asm/atomic.h #define ATOMIC_OP(op) \ op 20 arch/arm64/include/asm/atomic.h static inline void arch_##op(int i, atomic_t *v) \ op 22 arch/arm64/include/asm/atomic.h __lse_ll_sc_body(op, i, v); \ op 34 arch/arm64/include/asm/atomic.h #define ATOMIC_FETCH_OP(name, op) \ op 35 arch/arm64/include/asm/atomic.h static inline int arch_##op##name(int i, atomic_t *v) \ op 37 arch/arm64/include/asm/atomic.h return __lse_ll_sc_body(op##name, i, v); \ op 40 arch/arm64/include/asm/atomic.h #define ATOMIC_FETCH_OPS(op) \ op 41 arch/arm64/include/asm/atomic.h ATOMIC_FETCH_OP(_relaxed, op) \ op 42 arch/arm64/include/asm/atomic.h ATOMIC_FETCH_OP(_acquire, op) \ op 43 arch/arm64/include/asm/atomic.h ATOMIC_FETCH_OP(_release, op) \ op 44 arch/arm64/include/asm/atomic.h ATOMIC_FETCH_OP( , op) op 58 arch/arm64/include/asm/atomic.h #define ATOMIC64_OP(op) \ op 59 arch/arm64/include/asm/atomic.h static inline void arch_##op(long i, atomic64_t *v) \ op 61 arch/arm64/include/asm/atomic.h __lse_ll_sc_body(op, i, v); \ op 73 arch/arm64/include/asm/atomic.h #define ATOMIC64_FETCH_OP(name, op) \ op 74 arch/arm64/include/asm/atomic.h static inline long arch_##op##name(long i, atomic64_t *v) \ op 76 arch/arm64/include/asm/atomic.h return __lse_ll_sc_body(op##name, i, v); \ op 79 arch/arm64/include/asm/atomic.h #define ATOMIC64_FETCH_OPS(op) \ op 80 arch/arm64/include/asm/atomic.h ATOMIC64_FETCH_OP(_relaxed, op) \ op 81 arch/arm64/include/asm/atomic.h ATOMIC64_FETCH_OP(_acquire, op) \ op 82 arch/arm64/include/asm/atomic.h ATOMIC64_FETCH_OP(_release, op) \ op 83 arch/arm64/include/asm/atomic.h ATOMIC64_FETCH_OP( , op) op 38 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC_OP(op, asm_op, constraint) \ op 40 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic_##op(int i, atomic_t *v) \ op 45 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic_" #op "\n" \ op 56 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ op 58 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic_##op##_return##name(int i, atomic_t *v) \ op 63 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic_" #op "_return" #name "\n" \ op 78 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ op 80 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic_fetch_##op##name(int i, atomic_t *v) \ op 85 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic_fetch_" #op #name "\n" \ op 137 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC64_OP(op, asm_op, constraint) \ op 139 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic64_##op(s64 i, atomic64_t *v) \ op 144 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic64_" #op "\n" \ op 155 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ op 157 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic64_##op##_return##name(s64 i, atomic64_t *v) \ op 162 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic64_" #op "_return" #name "\n" \ op 177 arch/arm64/include/asm/atomic_ll_sc.h #define ATOMIC64_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint)\ op 179 arch/arm64/include/asm/atomic_ll_sc.h __ll_sc_atomic64_fetch_##op##name(s64 i, atomic64_t *v) \ op 184 arch/arm64/include/asm/atomic_ll_sc.h asm volatile("// atomic64_fetch_" #op #name "\n" \ op 13 arch/arm64/include/asm/atomic_lse.h #define ATOMIC_OP(op, asm_op) \ op 14 arch/arm64/include/asm/atomic_lse.h static inline void __lse_atomic_##op(int i, atomic_t *v) \ op 30 arch/arm64/include/asm/atomic_lse.h #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ op 31 arch/arm64/include/asm/atomic_lse.h static inline int __lse_atomic_fetch_##op##name(int i, atomic_t *v) \ op 43 arch/arm64/include/asm/atomic_lse.h #define ATOMIC_FETCH_OPS(op, asm_op) \ op 44 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \ op 45 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP(_acquire, a, op, asm_op, "memory") \ op 46 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP(_release, l, op, asm_op, "memory") \ op 47 arch/arm64/include/asm/atomic_lse.h ATOMIC_FETCH_OP( , al, op, asm_op, "memory") op 166 arch/arm64/include/asm/atomic_lse.h #define ATOMIC64_OP(op, asm_op) \ op 167 arch/arm64/include/asm/atomic_lse.h static inline void __lse_atomic64_##op(s64 i, atomic64_t *v) \ op 183 arch/arm64/include/asm/atomic_lse.h #define ATOMIC64_FETCH_OP(name, mb, op, asm_op, cl...) \ op 184 arch/arm64/include/asm/atomic_lse.h static inline long __lse_atomic64_fetch_##op##name(s64 i, atomic64_t *v)\ op 196 arch/arm64/include/asm/atomic_lse.h #define ATOMIC64_FETCH_OPS(op, asm_op) \ op 197 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP(_relaxed, , op, asm_op) \ op 198 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP(_acquire, a, op, asm_op, "memory") \ op 199 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP(_release, l, op, asm_op, "memory") \ op 200 arch/arm64/include/asm/atomic_lse.h ATOMIC64_FETCH_OP( , al, op, asm_op, "memory") op 46 arch/arm64/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *_uaddr) op 53 arch/arm64/include/asm/futex.h switch (op) { op 373 arch/arm64/include/asm/insn.h u32 aarch64_insn_gen_hint(enum aarch64_insn_hint_op op); op 28 arch/arm64/include/asm/lse.h #define __lse_ll_sc_body(op, ...) \ op 31 arch/arm64/include/asm/lse.h __lse_##op(__VA_ARGS__) : \ op 32 arch/arm64/include/asm/lse.h __ll_sc_##op(__VA_ARGS__); \ op 43 arch/arm64/include/asm/lse.h #define __lse_ll_sc_body(op, ...) __ll_sc_##op(__VA_ARGS__) op 140 arch/arm64/include/asm/percpu.h #define _pcp_protect(op, pcp, ...) \ op 143 arch/arm64/include/asm/percpu.h op(raw_cpu_ptr(&(pcp)), __VA_ARGS__); \ op 147 arch/arm64/include/asm/percpu.h #define _pcp_protect_return(op, pcp, args...) \ op 151 arch/arm64/include/asm/percpu.h __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \ op 30 arch/arm64/include/asm/tlbflush.h #define __TLBI_0(op, arg) asm ("tlbi " #op "\n" \ op 32 arch/arm64/include/asm/tlbflush.h "dsb ish\n tlbi " #op, \ op 37 arch/arm64/include/asm/tlbflush.h #define __TLBI_1(op, arg) asm ("tlbi " #op ", %0\n" \ op 39 arch/arm64/include/asm/tlbflush.h "dsb ish\n tlbi " #op ", %0", \ op 44 arch/arm64/include/asm/tlbflush.h #define __TLBI_N(op, arg, n, ...) __TLBI_##n(op, arg) op 46 arch/arm64/include/asm/tlbflush.h #define __tlbi(op, ...) __TLBI_N(op, ##__VA_ARGS__, 1, 0) op 48 arch/arm64/include/asm/tlbflush.h #define __tlbi_user(op, arg) do { \ op 50 arch/arm64/include/asm/tlbflush.h __tlbi(op, (arg) | USER_ASID_FLAG); \ op 563 arch/arm64/kernel/insn.c u32 __kprobes aarch64_insn_gen_hint(enum aarch64_insn_hint_op op) op 565 arch/arm64/kernel/insn.c return aarch64_insn_get_hint_value() | op; op 88 arch/arm64/kernel/module.c static int reloc_data(enum aarch64_reloc_op op, void *place, u64 val, int len) op 90 arch/arm64/kernel/module.c s64 sval = do_reloc(op, place, val); op 107 arch/arm64/kernel/module.c switch (op) { op 117 arch/arm64/kernel/module.c pr_err("Invalid 16-bit data relocation (%d)\n", op); op 123 arch/arm64/kernel/module.c switch (op) { op 133 arch/arm64/kernel/module.c pr_err("Invalid 32-bit data relocation (%d)\n", op); op 152 arch/arm64/kernel/module.c static int reloc_insn_movw(enum aarch64_reloc_op op, __le32 *place, u64 val, op 159 arch/arm64/kernel/module.c sval = do_reloc(op, place, val); op 193 arch/arm64/kernel/module.c static int reloc_insn_imm(enum aarch64_reloc_op op, __le32 *place, u64 val, op 201 arch/arm64/kernel/module.c sval = do_reloc(op, place, val); op 38 arch/csky/include/asm/atomic.h #define ATOMIC_OP(op, c_op) \ op 39 arch/csky/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 45 arch/csky/include/asm/atomic.h " " #op " %0, %1 \n" \ op 53 arch/csky/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 54 arch/csky/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 61 arch/csky/include/asm/atomic.h " " #op " %0, %2 \n" \ op 73 arch/csky/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 74 arch/csky/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 82 arch/csky/include/asm/atomic.h " " #op " %0, %2 \n" \ op 121 arch/csky/include/asm/atomic.h #define ATOMIC_OP(op, c_op) \ op 122 arch/csky/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 130 arch/csky/include/asm/atomic.h " " #op " %0, %1 \n" \ op 139 arch/csky/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 140 arch/csky/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 148 arch/csky/include/asm/atomic.h " " #op " %0, %2 \n" \ op 160 arch/csky/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 161 arch/csky/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 170 arch/csky/include/asm/atomic.h " " #op " %0, %2 \n" \ op 20 arch/h8300/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 21 arch/h8300/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 32 arch/h8300/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 33 arch/h8300/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 45 arch/h8300/include/asm/atomic.h #define ATOMIC_OP(op, c_op) \ op 46 arch/h8300/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 58 arch/h8300/include/asm/atomic.h #define ATOMIC_OPS(op, c_op) \ op 59 arch/h8300/include/asm/atomic.h ATOMIC_OP(op, c_op) \ op 60 arch/h8300/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op) op 163 arch/h8300/kernel/ptrace_h.c const struct optable *op, op 171 arch/h8300/kernel/ptrace_h.c switch (op->type) { op 173 arch/h8300/kernel/ptrace_h.c return (unsigned short *)pc + op->length; op 214 arch/h8300/kernel/ptrace_h.c const struct optable *op; op 219 arch/h8300/kernel/ptrace_h.c op = optables[0].ptr; op 224 arch/h8300/kernel/ptrace_h.c if ((inst & op->bitmask) == op->bitpattern) { op 225 arch/h8300/kernel/ptrace_h.c if (op->length < 0) { op 226 arch/h8300/kernel/ptrace_h.c op = optables[-op->length].ptr; op 227 arch/h8300/kernel/ptrace_h.c op_len = optables[-op->length].size + 1; op 230 arch/h8300/kernel/ptrace_h.c return decode(child, op, fetch_p, pc, inst); op 232 arch/h8300/kernel/ptrace_h.c op++; op 85 arch/hexagon/include/asm/atomic.h #define ATOMIC_OP(op) \ op 86 arch/hexagon/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 92 arch/hexagon/include/asm/atomic.h " %0 = "#op "(%0,%2);\n" \ op 101 arch/hexagon/include/asm/atomic.h #define ATOMIC_OP_RETURN(op) \ op 102 arch/hexagon/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 108 arch/hexagon/include/asm/atomic.h " %0 = "#op "(%0,%2);\n" \ op 118 arch/hexagon/include/asm/atomic.h #define ATOMIC_FETCH_OP(op) \ op 119 arch/hexagon/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 125 arch/hexagon/include/asm/atomic.h " %1 = "#op "(%0,%3);\n" \ op 135 arch/hexagon/include/asm/atomic.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) op 141 arch/hexagon/include/asm/atomic.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) op 35 arch/hexagon/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 41 arch/hexagon/include/asm/futex.h switch (op) { op 77 arch/hexagon/include/asm/hexagon_vm.h long __vmcache(enum VM_CACHE_OPS op, unsigned long addr, unsigned long len); op 31 arch/ia64/include/asm/atomic.h #define ATOMIC_OP(op, c_op) \ op 33 arch/ia64/include/asm/atomic.h ia64_atomic_##op (int i, atomic_t *v) \ op 46 arch/ia64/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 48 arch/ia64/include/asm/atomic.h ia64_atomic_fetch_##op (int i, atomic_t *v) \ op 61 arch/ia64/include/asm/atomic.h #define ATOMIC_OPS(op, c_op) \ op 62 arch/ia64/include/asm/atomic.h ATOMIC_OP(op, c_op) \ op 63 arch/ia64/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op) op 126 arch/ia64/include/asm/atomic.h #define ATOMIC64_OP(op, c_op) \ op 128 arch/ia64/include/asm/atomic.h ia64_atomic64_##op (s64 i, atomic64_t *v) \ op 141 arch/ia64/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, c_op) \ op 143 arch/ia64/include/asm/atomic.h ia64_atomic64_fetch_##op (s64 i, atomic64_t *v) \ op 156 arch/ia64/include/asm/atomic.h #define ATOMIC64_OPS(op, c_op) \ op 157 arch/ia64/include/asm/atomic.h ATOMIC64_OP(op, c_op) \ op 158 arch/ia64/include/asm/atomic.h ATOMIC64_FETCH_OP(op, c_op) op 49 arch/ia64/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 55 arch/ia64/include/asm/futex.h switch (op) { op 488 arch/ia64/include/asm/pal.h u64 op : 4, /* Type of cache op 549 arch/ia64/include/asm/pal.h op : 4, /* Cache operation */ op 611 arch/ia64/include/asm/pal.h op : 4, /* Type of register op 635 arch/ia64/include/asm/pal.h op : 4, /* Type of op 701 arch/ia64/include/asm/pal.h #define pmci_proc_operation pme_processor.op op 722 arch/ia64/include/asm/pal.h #define pmci_cache_operation pme_cache.op op 633 arch/ia64/kernel/mca_drv.c if (ptci->op == PAL_TLB_CHECK_OP_PURGE op 145 arch/ia64/kernel/smp.c send_IPI_single (int dest_cpu, int op) op 147 arch/ia64/kernel/smp.c set_bit(op, &per_cpu(ipi_operation, dest_cpu)); op 155 arch/ia64/kernel/smp.c send_IPI_allbutself (int op) op 161 arch/ia64/kernel/smp.c send_IPI_single(i, op); op 169 arch/ia64/kernel/smp.c send_IPI_mask(const struct cpumask *mask, int op) op 174 arch/ia64/kernel/smp.c send_IPI_single(cpu, op); op 182 arch/ia64/kernel/smp.c send_IPI_all (int op) op 187 arch/ia64/kernel/smp.c send_IPI_single(i, op); op 195 arch/ia64/kernel/smp.c send_IPI_self (int op) op 197 arch/ia64/kernel/smp.c send_IPI_single(smp_processor_id(), op); op 178 arch/ia64/kernel/unaligned.c unsigned long op:4; /* [37:40] */ op 784 arch/ia64/kernel/unaligned.c if (ld.op == 0x5 || ld.m) op 785 arch/ia64/kernel/unaligned.c emulate_load_updates(ld.op == 0x5 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa); op 914 arch/ia64/kernel/unaligned.c if (ld.op == 0x5) { op 1191 arch/ia64/kernel/unaligned.c if (ld.op == 0x7 || ld.m) op 1192 arch/ia64/kernel/unaligned.c emulate_load_updates(ld.op == 0x7 ? UPD_IMMEDIATE: UPD_REG, ld, regs, ifa); op 1257 arch/ia64/kernel/unaligned.c if (ld.op == 0x7) { op 1392 arch/ia64/kernel/unaligned.c u.insn.r3, u.insn.x, u.insn.hint, u.insn.x6_sz, u.insn.m, u.insn.op); op 206 arch/m68k/apollo/config.c int dn_dummy_hwclk(int op, struct rtc_time *t) { op 209 arch/m68k/apollo/config.c if(!op) { /* read */ op 139 arch/m68k/atari/time.c int atari_mste_hwclk( int op, struct rtc_time *t ) op 149 arch/m68k/atari/time.c if (op) { op 198 arch/m68k/atari/time.c int atari_tt_hwclk( int op, struct rtc_time *t ) op 208 arch/m68k/atari/time.c if (op) { op 262 arch/m68k/atari/time.c if (!op) { op 283 arch/m68k/atari/time.c if (!op) { op 289 arch/m68k/bvme6000/config.c int bvme6000_hwclk(int op, struct rtc_time *t) op 296 arch/m68k/bvme6000/config.c if (op) op 203 arch/m68k/hp300/config.c static int hp300_hwclk(int op, struct rtc_time *t) op 205 arch/m68k/hp300/config.c if (!op) { /* read */ op 18235 arch/m68k/ifpsp060/src/fpsp.S # if the bit string is a zero, then the operation is a no-op op 4284 arch/m68k/ifpsp060/src/pfpsp.S # if the bit string is a zero, then the operation is a no-op op 34 arch/m68k/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 35 arch/m68k/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 42 arch/m68k/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 43 arch/m68k/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 57 arch/m68k/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 58 arch/m68k/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 74 arch/m68k/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 75 arch/m68k/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t * v) \ op 87 arch/m68k/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 88 arch/m68k/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t * v) \ op 103 arch/m68k/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 104 arch/m68k/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 105 arch/m68k/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 106 arch/m68k/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 112 arch/m68k/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 113 arch/m68k/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 114 arch/m68k/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 610 arch/m68k/mac/misc.c int mac_hwclk(int op, struct rtc_time *t) op 614 arch/m68k/mac/misc.c if (!op) { /* read */ op 173 arch/m68k/mvme147/config.c int mvme147_hwclk(int op, struct rtc_time *t) op 176 arch/m68k/mvme147/config.c if (!op) { op 438 arch/m68k/mvme16x/config.c int mvme16x_hwclk(int op, struct rtc_time *t) op 441 arch/m68k/mvme16x/config.c if (!op) { op 217 arch/m68k/q40/config.c static int q40_hwclk(int op, struct rtc_time *t) op 219 arch/m68k/q40/config.c if (op) { op 33 arch/microblaze/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 39 arch/microblaze/include/asm/futex.h switch (op) { op 104 arch/microblaze/kernel/cpu/cache.c #define CACHE_ALL_LOOP(cache_size, line_length, op) \ op 110 arch/microblaze/kernel/cpu/cache.c __asm__ __volatile__ (" 1: " #op " %0, r0;" \ op 125 arch/microblaze/kernel/cpu/cache.c #define CACHE_RANGE_LOOP_2(start, end, line_length, op) \ op 134 arch/microblaze/kernel/cpu/cache.c __asm__ __volatile__ (" 1: " #op " %0, %1;" \ op 142 arch/microblaze/kernel/cpu/cache.c #define CACHE_RANGE_LOOP_1(start, end, line_length, op) \ op 149 arch/microblaze/kernel/cpu/cache.c __asm__ __volatile__ (" 1: " #op " %1, r0;" \ op 59 arch/mips/fw/arc/file.c ArcMount(char *name, enum linux_mountops op) op 61 arch/mips/fw/arc/file.c return ARC_CALL2(mount, name, op); op 104 arch/mips/fw/arc/tree.c traverse(pcomponent *p, int op) op 109 arch/mips/fw/arc/tree.c if(ArcGetPeer(p) && op) op 17 arch/mips/include/asm/asm-eva.h #define kernel_cache(op, base) "cache " op ", " base "\n" op 54 arch/mips/include/asm/asm-eva.h #define user_cache(op, base) __BUILD_EVA_INSN("cachee", op, base) op 76 arch/mips/include/asm/asm-eva.h #define user_cache(op, base) kernel_cache(op, base) op 104 arch/mips/include/asm/asm-eva.h #define kernel_cache(op, base) cache op, base op 141 arch/mips/include/asm/asm-eva.h #define user_cache(op, base) __BUILD_EVA_INSN(cachee, op, base) op 162 arch/mips/include/asm/asm-eva.h #define user_cache(op, base) kernel_cache(op, base) op 55 arch/mips/include/asm/atomic.h #define ATOMIC_OP(op, c_op, asm_op) \ op 56 arch/mips/include/asm/atomic.h static __inline__ void atomic_##op(int i, atomic_t * v) \ op 65 arch/mips/include/asm/atomic.h "1: ll %0, %1 # atomic_" #op " \n" \ op 81 arch/mips/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 82 arch/mips/include/asm/atomic.h static __inline__ int atomic_##op##_return_relaxed(int i, atomic_t * v) \ op 93 arch/mips/include/asm/atomic.h "1: ll %1, %2 # atomic_" #op "_return \n" \ op 115 arch/mips/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ op 116 arch/mips/include/asm/atomic.h static __inline__ int atomic_fetch_##op##_relaxed(int i, atomic_t * v) \ op 127 arch/mips/include/asm/atomic.h "1: ll %1, %2 # atomic_fetch_" #op " \n" \ op 148 arch/mips/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 149 arch/mips/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 150 arch/mips/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op, asm_op) \ op 151 arch/mips/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 162 arch/mips/include/asm/atomic.h #define ATOMIC_OPS(op, c_op, asm_op) \ op 163 arch/mips/include/asm/atomic.h ATOMIC_OP(op, c_op, asm_op) \ op 164 arch/mips/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op, asm_op) op 257 arch/mips/include/asm/atomic.h #define ATOMIC64_OP(op, c_op, asm_op) \ op 258 arch/mips/include/asm/atomic.h static __inline__ void atomic64_##op(s64 i, atomic64_t * v) \ op 267 arch/mips/include/asm/atomic.h "1: lld %0, %1 # atomic64_" #op " \n" \ op 283 arch/mips/include/asm/atomic.h #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ op 284 arch/mips/include/asm/atomic.h static __inline__ s64 atomic64_##op##_return_relaxed(s64 i, atomic64_t * v) \ op 295 arch/mips/include/asm/atomic.h "1: lld %1, %2 # atomic64_" #op "_return\n" \ op 317 arch/mips/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, c_op, asm_op) \ op 318 arch/mips/include/asm/atomic.h static __inline__ s64 atomic64_fetch_##op##_relaxed(s64 i, atomic64_t * v) \ op 329 arch/mips/include/asm/atomic.h "1: lld %1, %2 # atomic64_fetch_" #op "\n" \ op 350 arch/mips/include/asm/atomic.h #define ATOMIC64_OPS(op, c_op, asm_op) \ op 351 arch/mips/include/asm/atomic.h ATOMIC64_OP(op, c_op, asm_op) \ op 352 arch/mips/include/asm/atomic.h ATOMIC64_OP_RETURN(op, c_op, asm_op) \ op 353 arch/mips/include/asm/atomic.h ATOMIC64_FETCH_OP(op, c_op, asm_op) op 364 arch/mips/include/asm/atomic.h #define ATOMIC64_OPS(op, c_op, asm_op) \ op 365 arch/mips/include/asm/atomic.h ATOMIC64_OP(op, c_op, asm_op) \ op 366 arch/mips/include/asm/atomic.h ATOMIC64_FETCH_OP(op, c_op, asm_op) op 87 arch/mips/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 93 arch/mips/include/asm/futex.h switch (op) { op 117 arch/mips/include/asm/octeon/cvmx-asm.h #define CVMX_CACHE(op, address, offset) \ op 118 arch/mips/include/asm/octeon/cvmx-asm.h asm volatile ("cache " CVMX_TMP_STR(op) ", " CVMX_TMP_STR(offset) "(%[rbase])" \ op 3510 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t op:4; op 3528 arch/mips/include/asm/octeon/cvmx-mio-defs.h uint64_t op:4; op 192 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_pow_tag_op_t op:4; op 227 arch/mips/include/asm/octeon/cvmx-pow.h cvmx_pow_tag_op_t op:4; op 1566 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_SWTAG; op 1677 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_SWTAG_FULL; op 1756 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_SWTAG; op 1820 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_ADDWQ; op 1977 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_SWTAG_DESCH; op 2080 arch/mips/include/asm/octeon/cvmx-pow.h tag_req.s.op = CVMX_POW_TAG_OP_DESCH; op 984 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t op:1; op 988 arch/mips/include/asm/octeon/cvmx-sriox-defs.h uint64_t op:1; op 456 arch/mips/include/asm/octeon/cvmx.h #define CVMX_WAIT_FOR_FIELD64(address, type, field, op, value, timeout_usec)\ op 466 arch/mips/include/asm/octeon/cvmx.h if ((c.s.field) op(value)) { \ op 42 arch/mips/include/asm/r4kcache.h #define cache_op(op,addr) \ op 50 arch/mips/include/asm/r4kcache.h : "i" (op), "R" (*(unsigned char *)(addr))) op 100 arch/mips/include/asm/r4kcache.h #define protected_cache_op(op,addr) \ op 118 arch/mips/include/asm/r4kcache.h : "i" (op), "r" (addr), "i" (-EFAULT)); \ op 123 arch/mips/include/asm/r4kcache.h #define protected_cachee_op(op,addr) \ op 142 arch/mips/include/asm/r4kcache.h : "i" (op), "r" (addr), "i" (-EFAULT)); \ op 197 arch/mips/include/asm/r4kcache.h #define cache16_unroll32(base,op) \ op 221 arch/mips/include/asm/r4kcache.h "i" (op)); op 223 arch/mips/include/asm/r4kcache.h #define cache32_unroll32(base,op) \ op 247 arch/mips/include/asm/r4kcache.h "i" (op)); op 249 arch/mips/include/asm/r4kcache.h #define cache64_unroll32(base,op) \ op 273 arch/mips/include/asm/r4kcache.h "i" (op)); op 275 arch/mips/include/asm/r4kcache.h #define cache128_unroll32(base,op) \ op 299 arch/mips/include/asm/r4kcache.h "i" (op)); op 307 arch/mips/include/asm/r4kcache.h #define cache16_unroll32(base,op) \ op 333 arch/mips/include/asm/r4kcache.h "i" (op)); op 335 arch/mips/include/asm/r4kcache.h #define cache32_unroll32(base,op) \ op 363 arch/mips/include/asm/r4kcache.h "i" (op)); op 365 arch/mips/include/asm/r4kcache.h #define cache64_unroll32(base,op) \ op 397 arch/mips/include/asm/r4kcache.h "i" (op)); op 399 arch/mips/include/asm/r4kcache.h #define cache128_unroll32(base,op) \ op 441 arch/mips/include/asm/r4kcache.h "i" (op)); op 448 arch/mips/include/asm/r4kcache.h #define cache16_unroll32_user(base,op) \ op 473 arch/mips/include/asm/r4kcache.h "i" (op)); op 475 arch/mips/include/asm/r4kcache.h #define cache32_unroll32_user(base, op) \ op 500 arch/mips/include/asm/r4kcache.h "i" (op)); op 502 arch/mips/include/asm/r4kcache.h #define cache64_unroll32_user(base, op) \ op 527 arch/mips/include/asm/r4kcache.h "i" (op)); op 24 arch/mips/include/asm/uasm.h #define Ip_u1u2u3(op) \ op 25 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) op 27 arch/mips/include/asm/uasm.h #define Ip_u2u1u3(op) \ op 28 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) op 30 arch/mips/include/asm/uasm.h #define Ip_u3u2u1(op) \ op 31 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) op 33 arch/mips/include/asm/uasm.h #define Ip_u3u1u2(op) \ op 34 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c) op 36 arch/mips/include/asm/uasm.h #define Ip_u1u2s3(op) \ op 37 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c) op 39 arch/mips/include/asm/uasm.h #define Ip_u2s3u1(op) \ op 40 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, signed int b, unsigned int c) op 42 arch/mips/include/asm/uasm.h #define Ip_s3s1s2(op) \ op 43 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, int a, int b, int c) op 45 arch/mips/include/asm/uasm.h #define Ip_u2u1s3(op) \ op 46 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c) op 48 arch/mips/include/asm/uasm.h #define Ip_u2u1msbu3(op) \ op 49 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c, \ op 52 arch/mips/include/asm/uasm.h #define Ip_u1u2(op) \ op 53 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b) op 55 arch/mips/include/asm/uasm.h #define Ip_u2u1(op) \ op 56 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, unsigned int b) op 58 arch/mips/include/asm/uasm.h #define Ip_u1s2(op) \ op 59 arch/mips/include/asm/uasm.h void uasm_i##op(u32 **buf, unsigned int a, signed int b) op 61 arch/mips/include/asm/uasm.h #define Ip_u1(op) void uasm_i##op(u32 **buf, unsigned int a) op 63 arch/mips/include/asm/uasm.h #define Ip_0(op) void uasm_i##op(u32 **buf) op 772 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 5, op 818 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 2, op 825 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 5, op 838 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 8, op 850 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 3, op 860 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 7, op 881 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int op : 5, op 195 arch/mips/kernel/pm-cps.c unsigned op, int lbl) op 220 arch/mips/kernel/pm-cps.c uasm_i_cache(pp, op, 0, t0); op 223 arch/mips/kernel/pm-cps.c uasm_i_cache(pp, op, i * cache->linesz, t0); op 238 arch/mips/kernel/syscall.c SYSCALL_DEFINE3(cachectl, char *, addr, int, nbytes, int, op) op 938 arch/mips/kernel/unaligned.c switch (insn.dsp_format.op) { op 1686 arch/mips/kvm/emulate.c u32 op, rt; op 1689 arch/mips/kvm/emulate.c op = inst.i_format.opcode; op 1711 arch/mips/kvm/emulate.c switch (op) { op 1803 arch/mips/kvm/emulate.c u32 cache, op_inst, op, base; op 1825 arch/mips/kvm/emulate.c op = op_inst & CacheOp_Op; op 1830 arch/mips/kvm/emulate.c cache, op, base, arch->gprs[base], offset); op 1837 arch/mips/kvm/emulate.c if (op == Index_Writeback_Inv) { op 1839 arch/mips/kvm/emulate.c vcpu->arch.pc, vcpu->arch.gprs[31], cache, op, base, op 1916 arch/mips/kvm/emulate.c cache, op, base, arch->gprs[base], offset); op 306 arch/mips/kvm/mmu.c #define BUILD_PTE_RANGE_OP(name, op) \ op 321 arch/mips/kvm/mmu.c new = op(old); \ op 203 arch/mips/kvm/trace.h TP_PROTO(struct kvm_vcpu *vcpu, unsigned int op, unsigned int reg, op 205 arch/mips/kvm/trace.h TP_ARGS(vcpu, op, reg, val), op 209 arch/mips/kvm/trace.h __field(u8, op) op 215 arch/mips/kvm/trace.h __entry->op = op; op 219 arch/mips/kvm/trace.h __print_symbolic(__entry->op, op 253 arch/mips/kvm/trace.h TP_PROTO(struct kvm_vcpu *vcpu, unsigned int op, op 255 arch/mips/kvm/trace.h TP_ARGS(vcpu, op, state), op 258 arch/mips/kvm/trace.h __field(u8, op) op 264 arch/mips/kvm/trace.h __entry->op = op; op 269 arch/mips/kvm/trace.h __print_symbolic(__entry->op, op 865 arch/mips/kvm/vz.c static unsigned long mips_process_maar(unsigned int op, unsigned long val) op 876 arch/mips/kvm/vz.c if (op == mtc_op) { op 879 arch/mips/kvm/vz.c } else if (op == dmtc_op) { op 1069 arch/mips/kvm/vz.c u32 cache, op_inst, op, base; op 1090 arch/mips/kvm/vz.c op = op_inst & CacheOp_Op; op 1095 arch/mips/kvm/vz.c cache, op, base, arch->gprs[base], offset); op 1124 arch/mips/kvm/vz.c curr_pc, vcpu->arch.gprs[31], cache, op, base, arch->gprs[base], op 86 arch/mips/math-emu/cp1emu.c int func, fmt, op; op 130 arch/mips/math-emu/cp1emu.c op = insn.mm_fp0_format.func; op 131 arch/mips/math-emu/cp1emu.c if (op == mm_32f_01_op) op 133 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_11_op) op 135 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_02_op) op 137 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_12_op) op 139 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_41_op) op 141 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_51_op) op 143 arch/mips/math-emu/cp1emu.c else if (op == mm_32f_42_op) op 156 arch/mips/math-emu/cp1emu.c op = insn.mm_fp5_format.op & 0x7; op 157 arch/mips/math-emu/cp1emu.c if (op == mm_ldxc1_op) op 159 arch/mips/math-emu/cp1emu.c else if (op == mm_sdxc1_op) op 161 arch/mips/math-emu/cp1emu.c else if (op == mm_lwxc1_op) op 163 arch/mips/math-emu/cp1emu.c else if (op == mm_swxc1_op) op 179 arch/mips/math-emu/cp1emu.c op = -1; /* Invalid */ op 180 arch/mips/math-emu/cp1emu.c if (insn.mm_fp2_format.op == mm_fmovt_op) op 181 arch/mips/math-emu/cp1emu.c op = 1; op 182 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp2_format.op == mm_fmovf_op) op 183 arch/mips/math-emu/cp1emu.c op = 0; op 184 arch/mips/math-emu/cp1emu.c if (op != -1) { op 189 arch/mips/math-emu/cp1emu.c (insn.mm_fp2_format.cc<<2) + op; op 200 arch/mips/math-emu/cp1emu.c if (insn.mm_fp0_format.op == mm_fadd_op) op 202 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp0_format.op == mm_fsub_op) op 204 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp0_format.op == mm_fmul_op) op 206 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp0_format.op == mm_fdiv_op) op 224 arch/mips/math-emu/cp1emu.c if (insn.mm_fp0_format.op == mm_fmovn_op) op 226 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp0_format.op == mm_fmovz_op) op 243 arch/mips/math-emu/cp1emu.c switch (insn.mm_fp1_format.op) { op 248 arch/mips/math-emu/cp1emu.c if ((insn.mm_fp1_format.op & 0x7f) == op 250 arch/mips/math-emu/cp1emu.c op = 0; op 252 arch/mips/math-emu/cp1emu.c op = 1; op 256 arch/mips/math-emu/cp1emu.c (insn.mm_fp4_format.cc << 2) + op; op 265 arch/mips/math-emu/cp1emu.c if ((insn.mm_fp1_format.op & 0x7f) == op 288 arch/mips/math-emu/cp1emu.c if ((insn.mm_fp1_format.op & 0x7f) == op 291 arch/mips/math-emu/cp1emu.c else if ((insn.mm_fp1_format.op & 0x7f) == op 316 arch/mips/math-emu/cp1emu.c if (insn.mm_fp1_format.op == mm_ffloorl_op) op 318 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_ffloorw_op) op 320 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_fceill_op) op 322 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_fceilw_op) op 324 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_ftruncl_op) op 326 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_ftruncw_op) op 328 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_froundl_op) op 330 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_froundw_op) op 332 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_fcvtl_op) op 349 arch/mips/math-emu/cp1emu.c if (insn.mm_fp1_format.op == mm_frsqrt_op) op 351 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_fsqrt_op) op 371 arch/mips/math-emu/cp1emu.c if (insn.mm_fp1_format.op == mm_mfc1_op) op 372 arch/mips/math-emu/cp1emu.c op = mfc_op; op 373 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_mtc1_op) op 374 arch/mips/math-emu/cp1emu.c op = mtc_op; op 375 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_cfc1_op) op 376 arch/mips/math-emu/cp1emu.c op = cfc_op; op 377 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_ctc1_op) op 378 arch/mips/math-emu/cp1emu.c op = ctc_op; op 379 arch/mips/math-emu/cp1emu.c else if (insn.mm_fp1_format.op == mm_mfhc1_op) op 380 arch/mips/math-emu/cp1emu.c op = mfhc_op; op 382 arch/mips/math-emu/cp1emu.c op = mthc_op; op 384 arch/mips/math-emu/cp1emu.c mips32_insn.fp1_format.op = op; op 160 arch/mips/mm/uasm-micromips.c u32 op; op 169 arch/mips/mm/uasm-micromips.c op = ip->match; op 174 arch/mips/mm/uasm-micromips.c op |= build_rt(va_arg(ap, u32)); op 176 arch/mips/mm/uasm-micromips.c op |= build_rs(va_arg(ap, u32)); op 181 arch/mips/mm/uasm-micromips.c op |= build_rs(va_arg(ap, u32)); op 183 arch/mips/mm/uasm-micromips.c op |= build_rt(va_arg(ap, u32)); op 186 arch/mips/mm/uasm-micromips.c op |= build_rd(va_arg(ap, u32)); op 188 arch/mips/mm/uasm-micromips.c op |= build_re(va_arg(ap, u32)); op 190 arch/mips/mm/uasm-micromips.c op |= build_simm(va_arg(ap, s32)); op 192 arch/mips/mm/uasm-micromips.c op |= build_uimm(va_arg(ap, u32)); op 194 arch/mips/mm/uasm-micromips.c op |= build_bimm(va_arg(ap, s32)); op 196 arch/mips/mm/uasm-micromips.c op |= build_jimm(va_arg(ap, u32)); op 198 arch/mips/mm/uasm-micromips.c op |= build_func(va_arg(ap, u32)); op 200 arch/mips/mm/uasm-micromips.c op |= build_set(va_arg(ap, u32)); op 202 arch/mips/mm/uasm-micromips.c op |= build_scimm(va_arg(ap, u32)); op 206 arch/mips/mm/uasm-micromips.c **buf = ((op & 0xffff) << 16) | (op >> 16); op 208 arch/mips/mm/uasm-micromips.c **buf = op; op 234 arch/mips/mm/uasm-mips.c u32 op; op 243 arch/mips/mm/uasm-mips.c op = ip->match; op 246 arch/mips/mm/uasm-mips.c op |= build_rs(va_arg(ap, u32)); op 248 arch/mips/mm/uasm-mips.c op |= build_rt(va_arg(ap, u32)); op 250 arch/mips/mm/uasm-mips.c op |= build_rd(va_arg(ap, u32)); op 252 arch/mips/mm/uasm-mips.c op |= build_re(va_arg(ap, u32)); op 254 arch/mips/mm/uasm-mips.c op |= build_simm(va_arg(ap, s32)); op 256 arch/mips/mm/uasm-mips.c op |= build_uimm(va_arg(ap, u32)); op 258 arch/mips/mm/uasm-mips.c op |= build_bimm(va_arg(ap, s32)); op 260 arch/mips/mm/uasm-mips.c op |= build_jimm(va_arg(ap, u32)); op 262 arch/mips/mm/uasm-mips.c op |= build_func(va_arg(ap, u32)); op 264 arch/mips/mm/uasm-mips.c op |= build_set(va_arg(ap, u32)); op 266 arch/mips/mm/uasm-mips.c op |= build_scimm(va_arg(ap, u32)); op 268 arch/mips/mm/uasm-mips.c op |= build_scimm9(va_arg(ap, u32)); op 271 arch/mips/mm/uasm-mips.c **buf = op; op 152 arch/mips/mm/uasm.c #define I_u1u2u3(op) \ op 153 arch/mips/mm/uasm.c Ip_u1u2u3(op) \ op 155 arch/mips/mm/uasm.c build_insn(buf, insn##op, a, b, c); \ op 157 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 159 arch/mips/mm/uasm.c #define I_s3s1s2(op) \ op 160 arch/mips/mm/uasm.c Ip_s3s1s2(op) \ op 162 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, c, a); \ op 164 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 166 arch/mips/mm/uasm.c #define I_u2u1u3(op) \ op 167 arch/mips/mm/uasm.c Ip_u2u1u3(op) \ op 169 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, c); \ op 171 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 173 arch/mips/mm/uasm.c #define I_u3u2u1(op) \ op 174 arch/mips/mm/uasm.c Ip_u3u2u1(op) \ op 176 arch/mips/mm/uasm.c build_insn(buf, insn##op, c, b, a); \ op 178 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 180 arch/mips/mm/uasm.c #define I_u3u1u2(op) \ op 181 arch/mips/mm/uasm.c Ip_u3u1u2(op) \ op 183 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, c, a); \ op 185 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 187 arch/mips/mm/uasm.c #define I_u1u2s3(op) \ op 188 arch/mips/mm/uasm.c Ip_u1u2s3(op) \ op 190 arch/mips/mm/uasm.c build_insn(buf, insn##op, a, b, c); \ op 192 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 194 arch/mips/mm/uasm.c #define I_u2s3u1(op) \ op 195 arch/mips/mm/uasm.c Ip_u2s3u1(op) \ op 197 arch/mips/mm/uasm.c build_insn(buf, insn##op, c, a, b); \ op 199 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 201 arch/mips/mm/uasm.c #define I_u2u1s3(op) \ op 202 arch/mips/mm/uasm.c Ip_u2u1s3(op) \ op 204 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, c); \ op 206 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 208 arch/mips/mm/uasm.c #define I_u2u1msbu3(op) \ op 209 arch/mips/mm/uasm.c Ip_u2u1msbu3(op) \ op 211 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, c+d-1, c); \ op 213 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 215 arch/mips/mm/uasm.c #define I_u2u1msb32u3(op) \ op 216 arch/mips/mm/uasm.c Ip_u2u1msbu3(op) \ op 218 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, c+d-33, c); \ op 220 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 222 arch/mips/mm/uasm.c #define I_u2u1msb32msb3(op) \ op 223 arch/mips/mm/uasm.c Ip_u2u1msbu3(op) \ op 225 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, c+d-33, c-32); \ op 227 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 229 arch/mips/mm/uasm.c #define I_u2u1msbdu3(op) \ op 230 arch/mips/mm/uasm.c Ip_u2u1msbu3(op) \ op 232 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a, d-1, c); \ op 234 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 236 arch/mips/mm/uasm.c #define I_u1u2(op) \ op 237 arch/mips/mm/uasm.c Ip_u1u2(op) \ op 239 arch/mips/mm/uasm.c build_insn(buf, insn##op, a, b); \ op 241 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 243 arch/mips/mm/uasm.c #define I_u2u1(op) \ op 244 arch/mips/mm/uasm.c Ip_u1u2(op) \ op 246 arch/mips/mm/uasm.c build_insn(buf, insn##op, b, a); \ op 248 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 250 arch/mips/mm/uasm.c #define I_u1s2(op) \ op 251 arch/mips/mm/uasm.c Ip_u1s2(op) \ op 253 arch/mips/mm/uasm.c build_insn(buf, insn##op, a, b); \ op 255 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 257 arch/mips/mm/uasm.c #define I_u1(op) \ op 258 arch/mips/mm/uasm.c Ip_u1(op) \ op 260 arch/mips/mm/uasm.c build_insn(buf, insn##op, a); \ op 262 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 264 arch/mips/mm/uasm.c #define I_0(op) \ op 265 arch/mips/mm/uasm.c Ip_0(op) \ op 267 arch/mips/mm/uasm.c build_insn(buf, insn##op); \ op 269 arch/mips/mm/uasm.c UASM_EXPORT_SYMBOL(uasm_i##op); op 65 arch/nds32/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 71 arch/nds32/include/asm/futex.h switch (op) { op 271 arch/nds32/include/asm/pgtable.h #define PTE_BIT_FUNC(fn,op) \ op 272 arch/nds32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } op 7 arch/nds32/include/asm/syscalls.h asmlinkage long sys_cacheflush(unsigned long addr, unsigned long len, unsigned int op); op 13 arch/nds32/kernel/ftrace.c struct ftrace_ops *op, struct pt_regs *regs) op 41 arch/nds32/kernel/ftrace.c struct ftrace_ops *op, struct pt_regs *regs) op 407 arch/nds32/mm/proc.c static inline void cpu_l2cache_op(unsigned long start, unsigned long end, unsigned long op) op 419 arch/nds32/mm/proc.c (p_start & ~(line_size - 1)) | op | op 434 arch/nds32/mm/proc.c #define cpu_l2cache_op(start,end,op) do { } while (0) op 9 arch/nios2/include/asm/syscalls.h unsigned int op); op 22 arch/nios2/kernel/sys_nios2.c unsigned int op) op 30 arch/nios2/kernel/sys_nios2.c if (op) op 15 arch/openrisc/include/asm/atomic.h #define ATOMIC_OP(op) \ op 16 arch/openrisc/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 22 arch/openrisc/include/asm/atomic.h " l." #op " %0,%0,%2 \n" \ op 32 arch/openrisc/include/asm/atomic.h #define ATOMIC_OP_RETURN(op) \ op 33 arch/openrisc/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 39 arch/openrisc/include/asm/atomic.h " l." #op " %0,%0,%2 \n" \ op 51 arch/openrisc/include/asm/atomic.h #define ATOMIC_FETCH_OP(op) \ op 52 arch/openrisc/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 58 arch/openrisc/include/asm/atomic.h " l." #op " %1,%0,%3 \n" \ op 34 arch/openrisc/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 40 arch/openrisc/include/asm/futex.h switch (op) { op 131 arch/openrisc/include/asm/uaccess.h #define __put_user_asm(x, addr, err, op) \ op 133 arch/openrisc/include/asm/uaccess.h "1: "op" 0(%2),%1\n" \ op 197 arch/openrisc/include/asm/uaccess.h #define __get_user_asm(x, addr, err, op) \ op 199 arch/openrisc/include/asm/uaccess.h "1: "op" %1,0(%2)\n" \ op 281 arch/openrisc/kernel/traps.c unsigned int op, insn; op 284 arch/openrisc/kernel/traps.c op = insn >> 26; op 285 arch/openrisc/kernel/traps.c switch (op) { op 304 arch/openrisc/kernel/traps.c unsigned int rb, op, jmp; op 312 arch/openrisc/kernel/traps.c op = jmp >> 26; op 314 arch/openrisc/kernel/traps.c switch (op) { op 444 arch/openrisc/kernel/traps.c unsigned int op; op 447 arch/openrisc/kernel/traps.c op = insn >> 26; op 449 arch/openrisc/kernel/traps.c switch (op) { op 80 arch/parisc/include/asm/atomic.h #define ATOMIC_OP(op, c_op) \ op 81 arch/parisc/include/asm/atomic.h static __inline__ void atomic_##op(int i, atomic_t *v) \ op 90 arch/parisc/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 91 arch/parisc/include/asm/atomic.h static __inline__ int atomic_##op##_return(int i, atomic_t *v) \ op 103 arch/parisc/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 104 arch/parisc/include/asm/atomic.h static __inline__ int atomic_fetch_##op(int i, atomic_t *v) \ op 117 arch/parisc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op) \ op 118 arch/parisc/include/asm/atomic.h ATOMIC_OP(op, c_op) \ op 119 arch/parisc/include/asm/atomic.h ATOMIC_OP_RETURN(op, c_op) \ op 120 arch/parisc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op) op 126 arch/parisc/include/asm/atomic.h #define ATOMIC_OPS(op, c_op) \ op 127 arch/parisc/include/asm/atomic.h ATOMIC_OP(op, c_op) \ op 128 arch/parisc/include/asm/atomic.h ATOMIC_FETCH_OP(op, c_op) op 145 arch/parisc/include/asm/atomic.h #define ATOMIC64_OP(op, c_op) \ op 146 arch/parisc/include/asm/atomic.h static __inline__ void atomic64_##op(s64 i, atomic64_t *v) \ op 155 arch/parisc/include/asm/atomic.h #define ATOMIC64_OP_RETURN(op, c_op) \ op 156 arch/parisc/include/asm/atomic.h static __inline__ s64 atomic64_##op##_return(s64 i, atomic64_t *v) \ op 168 arch/parisc/include/asm/atomic.h #define ATOMIC64_FETCH_OP(op, c_op) \ op 169 arch/parisc/include/asm/atomic.h static __inline__ s64 atomic64_fetch_##op(s64 i, atomic64_t *v) \ op 182 arch/parisc/include/asm/atomic.h #define ATOMIC64_OPS(op, c_op) \ op 183 arch/parisc/include/asm/atomic.h ATOMIC64_OP(op, c_op) \ op 184 arch/parisc/include/asm/atomic.h ATOMIC64_OP_RETURN(op, c_op) \ op 185 arch/parisc/include/asm/atomic.h ATOMIC64_FETCH_OP(op, c_op) op 191 arch/parisc/include/asm/atomic.h #define ATOMIC64_OPS(op, c_op) \ op 192 arch/parisc/include/asm/atomic.h ATOMIC64_OP(op, c_op) \ op 193 arch/parisc/include/asm/atomic.h ATOMIC64_FETCH_OP(op, c_op) op 36 arch/parisc/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 52 arch/parisc/include/asm/futex.h switch (op) { op 188 arch/parisc/kernel/smp.c ipi_send(int cpu, enum ipi_message_type op) op 195 arch/parisc/kernel/smp.c p->pending_ipi |= 1 << op; op 201 arch/parisc/kernel/smp.c send_IPI_mask(const struct cpumask *mask, enum ipi_message_type op) op 206 arch/parisc/kernel/smp.c ipi_send(cpu, op); op 210 arch/parisc/kernel/smp.c send_IPI_single(int dest_cpu, enum ipi_message_type op) op 214 arch/parisc/kernel/smp.c ipi_send(dest_cpu, op); op 218 arch/parisc/kernel/smp.c send_IPI_allbutself(enum ipi_message_type op) op 224 arch/parisc/kernel/smp.c send_IPI_single(i, op); op 305 arch/parisc/math-emu/dbl_float.h #define Dbl_setwrapped_exponent(dbl_value,exponent,op) \ op 306 arch/parisc/math-emu/dbl_float.h Deposit_dexponent(dbl_value,(exponent op DBL_WRAP)) op 103 arch/parisc/math-emu/fpudispatch.c #define get_major(op) extru(op,fpmajorpos,6) op 108 arch/parisc/math-emu/fpudispatch.c #define get_class(op) extru(op,fpclasspos,2) op 113 arch/parisc/math-emu/fpudispatch.c #define get_subop(op) extru(op,fpsubpos,3) op 118 arch/parisc/math-emu/fpudispatch.c #define get_subop1_PA1_1(op) extru(op,fpclass1subpos,2) /* PA89 (1.1) fmt */ op 119 arch/parisc/math-emu/fpudispatch.c #define get_subop1_PA2_0(op) extru(op,fpclass1subpos,3) /* PA 2.0 fmt */ op 182 arch/parisc/math-emu/sgl_float.h #define Sgl_setwrapped_exponent(sgl_value,exponent,op) \ op 183 arch/parisc/math-emu/sgl_float.h Deposit_sexponent(sgl_value,(exponent op SGL_WRAP)) op 80 arch/powerpc/boot/cpm-serial.c static void (*do_cmd)(int op); op 88 arch/powerpc/boot/cpm-serial.c static void cpm1_cmd(int op) op 93 arch/powerpc/boot/cpm-serial.c out_be16(cpcr, (op << 8) | cpm_cmd | 1); op 99 arch/powerpc/boot/cpm-serial.c static void cpm2_cmd(int op) op 104 arch/powerpc/boot/cpm-serial.c out_be32(cpcr, op | cpm_cmd | 0x10000); op 42 arch/powerpc/include/asm/atomic.h #define ATOMIC_OP(op, asm_op) \ op 43 arch/powerpc/include/asm/atomic.h static __inline__ void atomic_##op(int a, atomic_t *v) \ op 48 arch/powerpc/include/asm/atomic.h "1: lwarx %0,0,%3 # atomic_" #op "\n" \ op 58 arch/powerpc/include/asm/atomic.h #define ATOMIC_OP_RETURN_RELAXED(op, asm_op) \ op 59 arch/powerpc/include/asm/atomic.h static inline int atomic_##op##_return_relaxed(int a, atomic_t *v) \ op 64 arch/powerpc/include/asm/atomic.h "1: lwarx %0,0,%3 # atomic_" #op "_return_relaxed\n" \ op 76 arch/powerpc/include/asm/atomic.h #define ATOMIC_FETCH_OP_RELAXED(op, asm_op) \ op 77 arch/powerpc/include/asm/atomic.h static inline int atomic_fetch_##op##_relaxed(int a, atomic_t *v) \ op 82 arch/powerpc/include/asm/atomic.h "1: lwarx %0,0,%4 # atomic_fetch_" #op "_relaxed\n" \ op 94 arch/powerpc/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op) \ op 95 arch/powerpc/include/asm/atomic.h ATOMIC_OP(op, asm_op) \ op 96 arch/powerpc/include/asm/atomic.h ATOMIC_OP_RETURN_RELAXED(op, asm_op) \ op 97 arch/powerpc/include/asm/atomic.h ATOMIC_FETCH_OP_RELAXED(op, asm_op) op 109 arch/powerpc/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op) \ op 110 arch/powerpc/include/asm/atomic.h ATOMIC_OP(op, asm_op) \ op 111 arch/powerpc/include/asm/atomic.h ATOMIC_FETCH_OP_RELAXED(op, asm_op) op 314 arch/powerpc/include/asm/atomic.h #define ATOMIC64_OP(op, asm_op) \ op 315 arch/powerpc/include/asm/atomic.h static __inline__ void atomic64_##op(s64 a, atomic64_t *v) \ op 320 arch/powerpc/include/asm/atomic.h "1: ldarx %0,0,%3 # atomic64_" #op "\n" \ op 329 arch/powerpc/include/asm/atomic.h #define ATOMIC64_OP_RETURN_RELAXED(op, asm_op) \ op 331 arch/powerpc/include/asm/atomic.h atomic64_##op##_return_relaxed(s64 a, atomic64_t *v) \ op 336 arch/powerpc/include/asm/atomic.h "1: ldarx %0,0,%3 # atomic64_" #op "_return_relaxed\n" \ op 347 arch/powerpc/include/asm/atomic.h #define ATOMIC64_FETCH_OP_RELAXED(op, asm_op) \ op 349 arch/powerpc/include/asm/atomic.h atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \ op 354 arch/powerpc/include/asm/atomic.h "1: ldarx %0,0,%4 # atomic64_fetch_" #op "_relaxed\n" \ op 365 arch/powerpc/include/asm/atomic.h #define ATOMIC64_OPS(op, asm_op) \ op 366 arch/powerpc/include/asm/atomic.h ATOMIC64_OP(op, asm_op) \ op 367 arch/powerpc/include/asm/atomic.h ATOMIC64_OP_RETURN_RELAXED(op, asm_op) \ op 368 arch/powerpc/include/asm/atomic.h ATOMIC64_FETCH_OP_RELAXED(op, asm_op) op 380 arch/powerpc/include/asm/atomic.h #define ATOMIC64_OPS(op, asm_op) \ op 381 arch/powerpc/include/asm/atomic.h ATOMIC64_OP(op, asm_op) \ op 382 arch/powerpc/include/asm/atomic.h ATOMIC64_FETCH_OP_RELAXED(op, asm_op) op 66 arch/powerpc/include/asm/bitops.h #define DEFINE_BITOP(fn, op, prefix) \ op 75 arch/powerpc/include/asm/bitops.h stringify_in_c(op) "%0,%0,%2\n" \ op 111 arch/powerpc/include/asm/bitops.h #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ op 121 arch/powerpc/include/asm/bitops.h stringify_in_c(op) "%1,%0,%2\n" \ op 33 arch/powerpc/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 41 arch/powerpc/include/asm/futex.h switch (op) { op 424 arch/powerpc/include/asm/io.h #define __do_in_asm(name, op) \ op 430 arch/powerpc/include/asm/io.h "0:" op " %0,0,%1\n" \ op 449 arch/powerpc/include/asm/io.h #define __do_out_asm(name, op) \ op 454 arch/powerpc/include/asm/io.h "0:" op " %0,0,%1\n" \ op 30 arch/powerpc/include/asm/local.h #define LOCAL_OP(op, c_op) \ op 31 arch/powerpc/include/asm/local.h static __inline__ void local_##op(long i, local_t *l) \ op 40 arch/powerpc/include/asm/local.h #define LOCAL_OP_RETURN(op, c_op) \ op 41 arch/powerpc/include/asm/local.h static __inline__ long local_##op##_return(long a, local_t *l) \ op 53 arch/powerpc/include/asm/local.h #define LOCAL_OPS(op, c_op) \ op 54 arch/powerpc/include/asm/local.h LOCAL_OP(op, c_op) \ op 55 arch/powerpc/include/asm/local.h LOCAL_OP_RETURN(op, c_op) op 182 arch/powerpc/include/asm/opal.h int64_t opal_manage_flash(uint8_t op); op 301 arch/powerpc/include/asm/opal.h s64 opal_mpipl_update(enum opal_mpipl_ops op, u64 src, u64 dest, u64 size); op 134 arch/powerpc/include/asm/sstep.h extern int analyse_instr(struct instruction_op *op, const struct pt_regs *regs, op 141 arch/powerpc/include/asm/sstep.h void emulate_update_regs(struct pt_regs *reg, struct instruction_op *op); op 161 arch/powerpc/include/asm/sstep.h extern int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op); op 163 arch/powerpc/include/asm/sstep.h extern void emulate_vsx_load(struct instruction_op *op, union vsx_reg *reg, op 165 arch/powerpc/include/asm/sstep.h extern void emulate_vsx_store(struct instruction_op *op, op 110 arch/powerpc/include/asm/uaccess.h #define __put_user_asm(x, addr, err, op) \ op 112 arch/powerpc/include/asm/uaccess.h "1: " op " %1,0(%2) # put_user\n" \ op 205 arch/powerpc/include/asm/uaccess.h #define __get_user_asm(x, addr, err, op) \ op 207 arch/powerpc/include/asm/uaccess.h "1: "op" %1,0(%2) # get_user\n" \ op 139 arch/powerpc/include/asm/vio.h extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op); op 297 arch/powerpc/kernel/align.c struct instruction_op op; op 337 arch/powerpc/kernel/align.c r = analyse_instr(&op, regs, instr); op 341 arch/powerpc/kernel/align.c type = GETTYPE(op.type); op 343 arch/powerpc/kernel/align.c if (op.type != CACHEOP + DCBZ) op 346 arch/powerpc/kernel/align.c r = emulate_dcbz(op.ea, regs); op 351 arch/powerpc/kernel/align.c r = emulate_loadstore(regs, &op); op 201 arch/powerpc/kernel/hw_breakpoint.c struct instruction_op op; op 203 arch/powerpc/kernel/hw_breakpoint.c ret = analyse_instr(&op, regs, instr); op 204 arch/powerpc/kernel/hw_breakpoint.c type = GETTYPE(op.type); op 370 arch/powerpc/kernel/mce_power.c struct instruction_op op; op 377 arch/powerpc/kernel/mce_power.c if (!analyse_instr(&op, &tmp, instr)) { op 378 arch/powerpc/kernel/mce_power.c pfn = addr_to_pfn(regs, op.ea); op 379 arch/powerpc/kernel/mce_power.c *addr = op.ea; op 66 arch/powerpc/kernel/optprobes.c struct instruction_op op; op 103 arch/powerpc/kernel/optprobes.c analyse_instr(&op, ®s, *p->ainsn.insn) == 1) { op 104 arch/powerpc/kernel/optprobes.c emulate_update_regs(®s, &op); op 111 arch/powerpc/kernel/optprobes.c static void optimized_callback(struct optimized_kprobe *op, op 115 arch/powerpc/kernel/optprobes.c if (kprobe_disabled(&op->kp)) op 121 arch/powerpc/kernel/optprobes.c kprobes_inc_nmissed_count(&op->kp); op 123 arch/powerpc/kernel/optprobes.c __this_cpu_write(current_kprobe, &op->kp); op 124 arch/powerpc/kernel/optprobes.c regs->nip = (unsigned long)op->kp.addr; op 126 arch/powerpc/kernel/optprobes.c opt_pre_handler(&op->kp, regs); op 134 arch/powerpc/kernel/optprobes.c void arch_remove_optimized_kprobe(struct optimized_kprobe *op) op 136 arch/powerpc/kernel/optprobes.c if (op->optinsn.insn) { op 137 arch/powerpc/kernel/optprobes.c free_ppc_optinsn_slot(op->optinsn.insn, 1); op 138 arch/powerpc/kernel/optprobes.c op->optinsn.insn = NULL; op 190 arch/powerpc/kernel/optprobes.c int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *p) op 242 arch/powerpc/kernel/optprobes.c patch_imm64_load_insns((unsigned long)op, buff + TMPL_OP_IDX); op 281 arch/powerpc/kernel/optprobes.c op->optinsn.insn = buff; op 301 arch/powerpc/kernel/optprobes.c int arch_check_optimized_kprobe(struct optimized_kprobe *op) op 308 arch/powerpc/kernel/optprobes.c struct optimized_kprobe *op; op 311 arch/powerpc/kernel/optprobes.c list_for_each_entry_safe(op, tmp, oplist, list) { op 316 arch/powerpc/kernel/optprobes.c memcpy(op->optinsn.copied_insn, op->kp.addr, op 318 arch/powerpc/kernel/optprobes.c patch_instruction(op->kp.addr, op 319 arch/powerpc/kernel/optprobes.c create_branch((unsigned int *)op->kp.addr, op 320 arch/powerpc/kernel/optprobes.c (unsigned long)op->optinsn.insn, 0)); op 321 arch/powerpc/kernel/optprobes.c list_del_init(&op->list); op 325 arch/powerpc/kernel/optprobes.c void arch_unoptimize_kprobe(struct optimized_kprobe *op) op 327 arch/powerpc/kernel/optprobes.c arch_arm_kprobe(&op->kp); op 333 arch/powerpc/kernel/optprobes.c struct optimized_kprobe *op; op 336 arch/powerpc/kernel/optprobes.c list_for_each_entry_safe(op, tmp, oplist, list) { op 337 arch/powerpc/kernel/optprobes.c arch_unoptimize_kprobe(op); op 338 arch/powerpc/kernel/optprobes.c list_move(&op->list, done_list); op 342 arch/powerpc/kernel/optprobes.c int arch_within_optimized_kprobe(struct optimized_kprobe *op, op 345 arch/powerpc/kernel/optprobes.c return ((unsigned long)op->kp.addr <= addr && op 346 arch/powerpc/kernel/optprobes.c (unsigned long)op->kp.addr + RELATIVEJUMP_SIZE > addr); op 374 arch/powerpc/kernel/rtas_flash.c static void manage_flash(struct rtas_manage_flash_t *args_buf, unsigned int op) op 380 arch/powerpc/kernel/rtas_flash.c NULL, op); op 408 arch/powerpc/kernel/rtas_flash.c int op, rc; op 415 arch/powerpc/kernel/rtas_flash.c op = -1; op 422 arch/powerpc/kernel/rtas_flash.c op = RTAS_REJECT_TMP_IMG; op 424 arch/powerpc/kernel/rtas_flash.c op = RTAS_COMMIT_TMP_IMG; op 427 arch/powerpc/kernel/rtas_flash.c if (op == -1) { /* buf is empty, or contains invalid string */ op 432 arch/powerpc/kernel/rtas_flash.c manage_flash(args_buf, op); op 1256 arch/powerpc/kernel/signal_32.c struct sig_dbg_op op; op 1264 arch/powerpc/kernel/signal_32.c if (copy_from_user(&op, dbg + i, sizeof(op))) op 1266 arch/powerpc/kernel/signal_32.c switch (op.dbg_type) { op 1269 arch/powerpc/kernel/signal_32.c if (op.dbg_value) { op 1281 arch/powerpc/kernel/signal_32.c if (op.dbg_value) op 1291 arch/powerpc/kernel/signal_32.c if (op.dbg_value) op 46 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 51 arch/powerpc/kernel/trace/ftrace.c op = create_branch((unsigned int *)ip, addr, link ? 1 : 0); op 53 arch/powerpc/kernel/trace/ftrace.c return op; op 98 arch/powerpc/kernel/trace/ftrace.c static int is_bl_op(unsigned int op) op 100 arch/powerpc/kernel/trace/ftrace.c return (op & 0xfc000003) == 0x48000001; op 103 arch/powerpc/kernel/trace/ftrace.c static int is_b_op(unsigned int op) op 105 arch/powerpc/kernel/trace/ftrace.c return (op & 0xfc000003) == 0x48000000; op 108 arch/powerpc/kernel/trace/ftrace.c static unsigned long find_bl_target(unsigned long ip, unsigned int op) op 112 arch/powerpc/kernel/trace/ftrace.c offset = (op & 0x03fffffc); op 128 arch/powerpc/kernel/trace/ftrace.c unsigned int op, pop; op 131 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)ip, sizeof(int))) { op 137 arch/powerpc/kernel/trace/ftrace.c if (!is_bl_op(op)) { op 138 arch/powerpc/kernel/trace/ftrace.c pr_err("Not expected bl: opcode is %x\n", op); op 143 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); op 165 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)(ip - 4), 4)) { op 171 arch/powerpc/kernel/trace/ftrace.c if (op != PPC_INST_MFLR && op != PPC_INST_STD_LR) { op 172 arch/powerpc/kernel/trace/ftrace.c pr_err("Unexpected instruction %08x around bl _mcount\n", op); op 196 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)(ip+4), MCOUNT_INSN_SIZE)) { op 201 arch/powerpc/kernel/trace/ftrace.c if (op != PPC_INST_LD_TOC) { op 202 arch/powerpc/kernel/trace/ftrace.c pr_err("Expected %08x found %08x\n", PPC_INST_LD_TOC, op); op 220 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 225 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)ip, MCOUNT_INSN_SIZE)) op 229 arch/powerpc/kernel/trace/ftrace.c if (!is_bl_op(op)) { op 230 arch/powerpc/kernel/trace/ftrace.c pr_err("Not expected bl: opcode is %x\n", op); op 235 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); op 277 arch/powerpc/kernel/trace/ftrace.c op = PPC_INST_NOP; op 279 arch/powerpc/kernel/trace/ftrace.c if (patch_instruction((unsigned int *)ip, op)) op 325 arch/powerpc/kernel/trace/ftrace.c int i, op; op 344 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)tramp, sizeof(int))) { op 350 arch/powerpc/kernel/trace/ftrace.c if (!is_b_op(op)) { op 356 arch/powerpc/kernel/trace/ftrace.c ptr = find_bl_target(tramp, op); op 391 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 394 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)ip, sizeof(int))) { op 400 arch/powerpc/kernel/trace/ftrace.c if (!is_bl_op(op)) { op 401 arch/powerpc/kernel/trace/ftrace.c pr_err("Not expected bl: opcode is %x\n", op); op 406 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); op 513 arch/powerpc/kernel/trace/ftrace.c unsigned int op[2]; op 519 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(op, ip, sizeof(op))) op 522 arch/powerpc/kernel/trace/ftrace.c if (!expected_nop_sequence(ip, op[0], op[1])) { op 524 arch/powerpc/kernel/trace/ftrace.c ip, op[0], op[1]); op 577 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 581 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)ip, MCOUNT_INSN_SIZE)) op 585 arch/powerpc/kernel/trace/ftrace.c if (op != PPC_INST_NOP) { op 586 arch/powerpc/kernel/trace/ftrace.c pr_err("Expected NOP but have %x\n", op); op 597 arch/powerpc/kernel/trace/ftrace.c op = create_branch((unsigned int *)ip, op 599 arch/powerpc/kernel/trace/ftrace.c if (!op) { op 606 arch/powerpc/kernel/trace/ftrace.c if (patch_instruction((unsigned int *)ip, op)) op 616 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 637 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, ip, sizeof(op))) { op 642 arch/powerpc/kernel/trace/ftrace.c if (op != PPC_INST_NOP) { op 643 arch/powerpc/kernel/trace/ftrace.c pr_err("Unexpected call sequence at %p: %x\n", ip, op); op 703 arch/powerpc/kernel/trace/ftrace.c unsigned int op; op 715 arch/powerpc/kernel/trace/ftrace.c if (probe_kernel_read(&op, (void *)ip, sizeof(int))) { op 721 arch/powerpc/kernel/trace/ftrace.c if (!is_bl_op(op)) { op 722 arch/powerpc/kernel/trace/ftrace.c pr_err("Not expected bl: opcode is %x\n", op); op 727 arch/powerpc/kernel/trace/ftrace.c tramp = find_bl_target(ip, op); op 78 arch/powerpc/kvm/emulate_loadstore.c struct instruction_op op; op 98 arch/powerpc/kvm/emulate_loadstore.c if (analyse_instr(&op, &vcpu->arch.regs, inst) == 0) { op 99 arch/powerpc/kvm/emulate_loadstore.c int type = op.type & INSTR_TYPE_MASK; op 100 arch/powerpc/kvm/emulate_loadstore.c int size = GETSIZE(op.type); op 104 arch/powerpc/kvm/emulate_loadstore.c int instr_byte_swap = op.type & BYTEREV; op 106 arch/powerpc/kvm/emulate_loadstore.c if (op.type & SIGNEXT) op 108 arch/powerpc/kvm/emulate_loadstore.c op.reg, size, !instr_byte_swap); op 111 arch/powerpc/kvm/emulate_loadstore.c op.reg, size, !instr_byte_swap); op 113 arch/powerpc/kvm/emulate_loadstore.c if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) op 114 arch/powerpc/kvm/emulate_loadstore.c kvmppc_set_gpr(vcpu, op.update_reg, op.ea); op 123 arch/powerpc/kvm/emulate_loadstore.c if (op.type & FPCONV) op 126 arch/powerpc/kvm/emulate_loadstore.c if (op.type & SIGNEXT) op 128 arch/powerpc/kvm/emulate_loadstore.c KVM_MMIO_REG_FPR|op.reg, size, 1); op 131 arch/powerpc/kvm/emulate_loadstore.c KVM_MMIO_REG_FPR|op.reg, size, 1); op 133 arch/powerpc/kvm/emulate_loadstore.c if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) op 134 arch/powerpc/kvm/emulate_loadstore.c kvmppc_set_gpr(vcpu, op.update_reg, op.ea); op 168 arch/powerpc/kvm/emulate_loadstore.c vcpu, KVM_MMIO_REG_VMX|op.reg, op 173 arch/powerpc/kvm/emulate_loadstore.c KVM_MMIO_REG_VMX|op.reg, op 182 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_CHECK_VEC) { op 190 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_FPCONV) op 193 arch/powerpc/kvm/emulate_loadstore.c if (op.element_size == 8) { op 194 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_SPLAT) op 200 arch/powerpc/kvm/emulate_loadstore.c } else if (op.element_size == 4) { op 201 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_SPLAT) op 210 arch/powerpc/kvm/emulate_loadstore.c if (size < op.element_size) { op 216 arch/powerpc/kvm/emulate_loadstore.c size/op.element_size; op 217 arch/powerpc/kvm/emulate_loadstore.c io_size_each = op.element_size; op 221 arch/powerpc/kvm/emulate_loadstore.c KVM_MMIO_REG_VSX|op.reg, io_size_each, op 222 arch/powerpc/kvm/emulate_loadstore.c 1, op.type & SIGNEXT); op 230 arch/powerpc/kvm/emulate_loadstore.c emulated = kvmppc_handle_store(run, vcpu, op.val, op 233 arch/powerpc/kvm/emulate_loadstore.c if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) op 234 arch/powerpc/kvm/emulate_loadstore.c kvmppc_set_gpr(vcpu, op.update_reg, op.ea); op 250 arch/powerpc/kvm/emulate_loadstore.c if (op.type & FPCONV) op 254 arch/powerpc/kvm/emulate_loadstore.c VCPU_FPR(vcpu, op.reg), size, 1); op 256 arch/powerpc/kvm/emulate_loadstore.c if ((op.type & UPDATE) && (emulated != EMULATE_FAIL)) op 257 arch/powerpc/kvm/emulate_loadstore.c kvmppc_set_gpr(vcpu, op.update_reg, op.ea); op 294 arch/powerpc/kvm/emulate_loadstore.c vcpu, op.reg, 8, 1); op 298 arch/powerpc/kvm/emulate_loadstore.c vcpu, op.reg, size, 1); op 307 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_CHECK_VEC) { op 319 arch/powerpc/kvm/emulate_loadstore.c if (op.vsx_flags & VSX_FPCONV) op 322 arch/powerpc/kvm/emulate_loadstore.c if (op.element_size == 8) op 325 arch/powerpc/kvm/emulate_loadstore.c else if (op.element_size == 4) op 331 arch/powerpc/kvm/emulate_loadstore.c if (size < op.element_size) { op 337 arch/powerpc/kvm/emulate_loadstore.c size/op.element_size; op 338 arch/powerpc/kvm/emulate_loadstore.c io_size_each = op.element_size; op 342 arch/powerpc/kvm/emulate_loadstore.c op.reg, io_size_each, 1); op 84 arch/powerpc/lib/sstep.c struct instruction_op *op) op 91 arch/powerpc/lib/sstep.c op->type |= DECCTR; op 458 arch/powerpc/lib/sstep.c static int do_fp_load(struct instruction_op *op, unsigned long ea, op 471 arch/powerpc/lib/sstep.c nb = GETSIZE(op->type); op 474 arch/powerpc/lib/sstep.c rn = op->reg; op 485 arch/powerpc/lib/sstep.c if (op->type & FPCONV) op 487 arch/powerpc/lib/sstep.c else if (op->type & SIGNEXT) op 509 arch/powerpc/lib/sstep.c static int do_fp_store(struct instruction_op *op, unsigned long ea, op 521 arch/powerpc/lib/sstep.c nb = GETSIZE(op->type); op 524 arch/powerpc/lib/sstep.c rn = op->reg; op 531 arch/powerpc/lib/sstep.c if (op->type & FPCONV) op 656 arch/powerpc/lib/sstep.c void emulate_vsx_load(struct instruction_op *op, union vsx_reg *reg, op 665 arch/powerpc/lib/sstep.c size = GETSIZE(op->type); op 668 arch/powerpc/lib/sstep.c switch (op->element_size) { op 674 arch/powerpc/lib/sstep.c if (IS_LE && (op->vsx_flags & VSX_LDLEFT)) op 687 arch/powerpc/lib/sstep.c if (op->type & SIGNEXT) { op 690 arch/powerpc/lib/sstep.c } else if (op->vsx_flags & VSX_FPCONV) { op 700 arch/powerpc/lib/sstep.c } else if (op->vsx_flags & VSX_SPLAT) op 711 arch/powerpc/lib/sstep.c if (op->vsx_flags & VSX_SPLAT) { op 740 arch/powerpc/lib/sstep.c void emulate_vsx_store(struct instruction_op *op, const union vsx_reg *reg, op 750 arch/powerpc/lib/sstep.c size = GETSIZE(op->type); op 752 arch/powerpc/lib/sstep.c switch (op->element_size) { op 757 arch/powerpc/lib/sstep.c if (IS_LE && (op->vsx_flags & VSX_LDLEFT)) op 771 arch/powerpc/lib/sstep.c if (size < 8 && op->vsx_flags & VSX_FPCONV) { op 816 arch/powerpc/lib/sstep.c static nokprobe_inline int do_vsx_load(struct instruction_op *op, op 820 arch/powerpc/lib/sstep.c int reg = op->reg; op 823 arch/powerpc/lib/sstep.c int size = GETSIZE(op->type); op 828 arch/powerpc/lib/sstep.c emulate_vsx_load(op, &buf, mem, cross_endian); op 848 arch/powerpc/lib/sstep.c static nokprobe_inline int do_vsx_store(struct instruction_op *op, op 852 arch/powerpc/lib/sstep.c int reg = op->reg; op 855 arch/powerpc/lib/sstep.c int size = GETSIZE(op->type); op 876 arch/powerpc/lib/sstep.c emulate_vsx_store(op, &buf, mem, cross_endian); op 907 arch/powerpc/lib/sstep.c #define __put_user_asmx(x, addr, err, op, cr) \ op 909 arch/powerpc/lib/sstep.c "1: " op " %2,0,%3\n" \ op 920 arch/powerpc/lib/sstep.c #define __get_user_asmx(x, addr, err, op) \ op 922 arch/powerpc/lib/sstep.c "1: "op" %1,0,%2\n" \ op 932 arch/powerpc/lib/sstep.c #define __cacheop_user_asmx(addr, err, op) \ op 934 arch/powerpc/lib/sstep.c "1: "op" 0,%1\n" \ op 945 arch/powerpc/lib/sstep.c struct instruction_op *op) op 947 arch/powerpc/lib/sstep.c long val = op->val; op 949 arch/powerpc/lib/sstep.c op->type |= SETCC; op 950 arch/powerpc/lib/sstep.c op->ccval = (regs->ccr & 0x0fffffff) | ((regs->xer >> 3) & 0x10000000); op 956 arch/powerpc/lib/sstep.c op->ccval |= 0x80000000; op 958 arch/powerpc/lib/sstep.c op->ccval |= 0x40000000; op 960 arch/powerpc/lib/sstep.c op->ccval |= 0x20000000; op 963 arch/powerpc/lib/sstep.c static nokprobe_inline void set_ca32(struct instruction_op *op, bool val) op 967 arch/powerpc/lib/sstep.c op->xerval |= XER_CA32; op 969 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA32; op 974 arch/powerpc/lib/sstep.c struct instruction_op *op, int rd, op 982 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG + SETXER; op 983 arch/powerpc/lib/sstep.c op->reg = rd; op 984 arch/powerpc/lib/sstep.c op->val = val; op 991 arch/powerpc/lib/sstep.c op->xerval = regs->xer; op 993 arch/powerpc/lib/sstep.c op->xerval |= XER_CA; op 995 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA; op 997 arch/powerpc/lib/sstep.c set_ca32(op, (unsigned int)val < (unsigned int)val1 || op 1002 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1007 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETCC; op 1016 arch/powerpc/lib/sstep.c op->ccval = (regs->ccr & ~(0xf << shift)) | (crval << shift); op 1020 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1026 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETCC; op 1035 arch/powerpc/lib/sstep.c op->ccval = (regs->ccr & ~(0xf << shift)) | (crval << shift); op 1039 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1051 arch/powerpc/lib/sstep.c op->val = out_val; op 1059 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1070 arch/powerpc/lib/sstep.c op->val = out; op 1076 arch/powerpc/lib/sstep.c op->val = out & 0x0000003f0000003fULL; op 1081 arch/powerpc/lib/sstep.c op->val = out; /* popcntd */ op 1086 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1099 arch/powerpc/lib/sstep.c op->val = perm; op 1107 arch/powerpc/lib/sstep.c struct instruction_op *op, op 1114 arch/powerpc/lib/sstep.c op->val = res & 0x0000000100000001ULL; op 1119 arch/powerpc/lib/sstep.c op->val = res & 1; /*prtyd */ op 1165 arch/powerpc/lib/sstep.c int analyse_instr(struct instruction_op *op, const struct pt_regs *regs, op 1174 arch/powerpc/lib/sstep.c op->type = COMPUTE; op 1179 arch/powerpc/lib/sstep.c op->type = BRANCH; op 1183 arch/powerpc/lib/sstep.c op->val = truncate_if_32bit(regs->msr, imm); op 1185 arch/powerpc/lib/sstep.c op->type |= SETLK; op 1186 arch/powerpc/lib/sstep.c if (branch_taken(instr, regs, op)) op 1187 arch/powerpc/lib/sstep.c op->type |= BRTAKEN; op 1192 arch/powerpc/lib/sstep.c op->type = SYSCALL; op 1194 arch/powerpc/lib/sstep.c op->type = UNKNOWN; op 1198 arch/powerpc/lib/sstep.c op->type = BRANCH | BRTAKEN; op 1204 arch/powerpc/lib/sstep.c op->val = truncate_if_32bit(regs->msr, imm); op 1206 arch/powerpc/lib/sstep.c op->type |= SETLK; op 1211 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETCC; op 1217 arch/powerpc/lib/sstep.c op->ccval = (regs->ccr & ~(0xfUL << rd)) | (val << rd); op 1222 arch/powerpc/lib/sstep.c op->type = BRANCH; op 1224 arch/powerpc/lib/sstep.c op->val = truncate_if_32bit(regs->msr, imm); op 1226 arch/powerpc/lib/sstep.c op->type |= SETLK; op 1227 arch/powerpc/lib/sstep.c if (branch_taken(instr, regs, op)) op 1228 arch/powerpc/lib/sstep.c op->type |= BRTAKEN; op 1234 arch/powerpc/lib/sstep.c op->type = RFI; op 1238 arch/powerpc/lib/sstep.c op->type = BARRIER | BARRIER_ISYNC; op 1249 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETCC; op 1256 arch/powerpc/lib/sstep.c op->ccval = (regs->ccr & ~(1UL << (31 - rd))) | op 1264 arch/powerpc/lib/sstep.c op->type = BARRIER + BARRIER_SYNC; op 1268 arch/powerpc/lib/sstep.c op->type = BARRIER + BARRIER_LWSYNC; op 1271 arch/powerpc/lib/sstep.c op->type = BARRIER + BARRIER_PTESYNC; op 1278 arch/powerpc/lib/sstep.c op->type = BARRIER + BARRIER_EIEIO; op 1313 arch/powerpc/lib/sstep.c "=r" (op->val) : "r" (regs->gpr[ra]), op 1319 arch/powerpc/lib/sstep.c "=r" (op->val) : "r" (regs->gpr[ra]), op 1325 arch/powerpc/lib/sstep.c "=r" (op->val) : "r" (regs->gpr[ra]), op 1338 arch/powerpc/lib/sstep.c op->val = regs->gpr[ra] * (short) instr; op 1343 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, ~regs->gpr[ra], imm, 1); op 1353 arch/powerpc/lib/sstep.c do_cmp_unsigned(regs, op, val, imm, rd >> 2); op 1363 arch/powerpc/lib/sstep.c do_cmp_signed(regs, op, val, imm, rd >> 2); op 1368 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], imm, 0); op 1373 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], imm, 0); op 1374 arch/powerpc/lib/sstep.c set_cr0(regs, op); op 1381 arch/powerpc/lib/sstep.c op->val = imm; op 1388 arch/powerpc/lib/sstep.c op->val = imm; op 1396 arch/powerpc/lib/sstep.c op->val = regs->nip + (imm << 16) + 4; op 1399 arch/powerpc/lib/sstep.c op->type = UNKNOWN; op 1407 arch/powerpc/lib/sstep.c op->val = (regs->gpr[ra] & ~imm) | (ROTATE(val, rb) & imm); op 1414 arch/powerpc/lib/sstep.c op->val = ROTATE(val, rb) & MASK32(mb, me); op 1422 arch/powerpc/lib/sstep.c op->val = ROTATE(val, rb) & MASK32(mb, me); op 1426 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] | (unsigned short) instr; op 1431 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] | (imm << 16); op 1435 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] ^ (unsigned short) instr; op 1440 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] ^ (imm << 16); op 1444 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] & (unsigned short) instr; op 1445 arch/powerpc/lib/sstep.c set_cr0(regs, op); op 1450 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] & (imm << 16); op 1451 arch/powerpc/lib/sstep.c set_cr0(regs, op); op 1476 arch/powerpc/lib/sstep.c op->val = val; op 1483 arch/powerpc/lib/sstep.c op->val = val & MASK64_L(mb); op 1486 arch/powerpc/lib/sstep.c op->val = val & MASK64_R(mb); op 1491 arch/powerpc/lib/sstep.c op->type = UNKNOWN; /* illegal instruction */ op 1501 arch/powerpc/lib/sstep.c op->val = (val) ? val2 : regs->gpr[rb]; op 1521 arch/powerpc/lib/sstep.c op->type = MFMSR; op 1522 arch/powerpc/lib/sstep.c op->reg = rd; op 1527 arch/powerpc/lib/sstep.c op->type = MTMSR; op 1528 arch/powerpc/lib/sstep.c op->reg = rd; op 1529 arch/powerpc/lib/sstep.c op->val = 0xffffffff & ~(MSR_ME | MSR_LE); op 1535 arch/powerpc/lib/sstep.c op->type = MTMSR; op 1536 arch/powerpc/lib/sstep.c op->reg = rd; op 1540 arch/powerpc/lib/sstep.c op->val = imm; op 1554 arch/powerpc/lib/sstep.c op->val = regs->ccr & imm; op 1558 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETCC; op 1561 arch/powerpc/lib/sstep.c op->ccval = regs->ccr; op 1564 arch/powerpc/lib/sstep.c op->ccval = (op->ccval & ~imm) | op 1572 arch/powerpc/lib/sstep.c op->type = MFSPR; op 1573 arch/powerpc/lib/sstep.c op->reg = rd; op 1574 arch/powerpc/lib/sstep.c op->spr = spr; op 1582 arch/powerpc/lib/sstep.c op->type = MTSPR; op 1583 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd]; op 1584 arch/powerpc/lib/sstep.c op->spr = spr; op 1603 arch/powerpc/lib/sstep.c do_cmp_signed(regs, op, val, val2, rd >> 2); op 1616 arch/powerpc/lib/sstep.c do_cmp_unsigned(regs, op, val, val2, rd >> 2); op 1620 arch/powerpc/lib/sstep.c do_cmpb(regs, op, regs->gpr[rd], regs->gpr[rb]); op 1627 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, ~regs->gpr[ra], op 1632 arch/powerpc/lib/sstep.c asm("mulhdu %0,%1,%2" : "=r" (op->val) : op 1637 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], op 1642 arch/powerpc/lib/sstep.c asm("mulhwu %0,%1,%2" : "=r" (op->val) : op 1647 arch/powerpc/lib/sstep.c op->val = regs->gpr[rb] - regs->gpr[ra]; op 1651 arch/powerpc/lib/sstep.c asm("mulhd %0,%1,%2" : "=r" (op->val) : op 1656 arch/powerpc/lib/sstep.c asm("mulhw %0,%1,%2" : "=r" (op->val) : op 1661 arch/powerpc/lib/sstep.c op->val = -regs->gpr[ra]; op 1665 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, ~regs->gpr[ra], op 1670 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], op 1675 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, ~regs->gpr[ra], 0L, op 1680 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], 0L, op 1685 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, ~regs->gpr[ra], -1L, op 1690 arch/powerpc/lib/sstep.c op->val = regs->gpr[ra] * regs->gpr[rb]; op 1694 arch/powerpc/lib/sstep.c add_with_carry(regs, op, rd, regs->gpr[ra], -1L, op 1699 arch/powerpc/lib/sstep.c op->val = (long)(int) regs->gpr[ra] * op 1707 arch/powerpc/lib/sstep.c op->val = regs->gpr[ra] % regs->gpr[rb]; op 1711 arch/powerpc/lib/sstep.c op->val = regs->gpr[ra] + regs->gpr[rb]; op 1717 arch/powerpc/lib/sstep.c op->val = (unsigned int) regs->gpr[ra] % op 1722 arch/powerpc/lib/sstep.c op->val = regs->gpr[ra] / regs->gpr[rb]; op 1726 arch/powerpc/lib/sstep.c op->val = (unsigned int) regs->gpr[ra] / op 1731 arch/powerpc/lib/sstep.c op->val = (long int) regs->gpr[ra] / op 1736 arch/powerpc/lib/sstep.c op->val = (int) regs->gpr[ra] / op 1746 arch/powerpc/lib/sstep.c asm volatile(PPC_DARN(%0, 0) : "=r" (op->val)); op 1751 arch/powerpc/lib/sstep.c asm volatile(PPC_DARN(%0, 1) : "=r" (op->val)); op 1756 arch/powerpc/lib/sstep.c asm volatile(PPC_DARN(%0, 2) : "=r" (op->val)); op 1765 arch/powerpc/lib/sstep.c op->val = (long int) regs->gpr[ra] % op 1772 arch/powerpc/lib/sstep.c op->val = (int) regs->gpr[ra] % op 1782 arch/powerpc/lib/sstep.c op->val = ( val ? __builtin_clz(val) : 32 ); op 1787 arch/powerpc/lib/sstep.c op->val = ( val ? __builtin_clzl(val) : 64 ); op 1791 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] & regs->gpr[rb]; op 1795 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] & ~regs->gpr[rb]; op 1799 arch/powerpc/lib/sstep.c do_popcnt(regs, op, regs->gpr[rd], 8); op 1803 arch/powerpc/lib/sstep.c op->val = ~(regs->gpr[rd] | regs->gpr[rb]); op 1807 arch/powerpc/lib/sstep.c do_prty(regs, op, regs->gpr[rd], 32); op 1811 arch/powerpc/lib/sstep.c do_prty(regs, op, regs->gpr[rd], 64); op 1815 arch/powerpc/lib/sstep.c do_bpermd(regs, op, regs->gpr[rd], regs->gpr[rb]); op 1819 arch/powerpc/lib/sstep.c op->val = ~(regs->gpr[rd] ^ regs->gpr[rb]); op 1823 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] ^ regs->gpr[rb]; op 1827 arch/powerpc/lib/sstep.c do_popcnt(regs, op, regs->gpr[rd], 32); op 1831 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] | ~regs->gpr[rb]; op 1835 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] | regs->gpr[rb]; op 1839 arch/powerpc/lib/sstep.c op->val = ~(regs->gpr[rd] & regs->gpr[rb]); op 1843 arch/powerpc/lib/sstep.c do_popcnt(regs, op, regs->gpr[rd], 64); op 1850 arch/powerpc/lib/sstep.c op->val = (val ? __builtin_ctz(val) : 32); op 1857 arch/powerpc/lib/sstep.c op->val = (val ? __builtin_ctzl(val) : 64); op 1861 arch/powerpc/lib/sstep.c op->val = (signed short) regs->gpr[rd]; op 1865 arch/powerpc/lib/sstep.c op->val = (signed char) regs->gpr[rd]; op 1869 arch/powerpc/lib/sstep.c op->val = (signed int) regs->gpr[rd]; op 1879 arch/powerpc/lib/sstep.c op->val = (regs->gpr[rd] << sh) & 0xffffffffUL; op 1881 arch/powerpc/lib/sstep.c op->val = 0; op 1887 arch/powerpc/lib/sstep.c op->val = (regs->gpr[rd] & 0xffffffffUL) >> sh; op 1889 arch/powerpc/lib/sstep.c op->val = 0; op 1893 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG + SETXER; op 1896 arch/powerpc/lib/sstep.c op->val = ival >> (sh < 32 ? sh : 31); op 1897 arch/powerpc/lib/sstep.c op->xerval = regs->xer; op 1899 arch/powerpc/lib/sstep.c op->xerval |= XER_CA; op 1901 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA; op 1902 arch/powerpc/lib/sstep.c set_ca32(op, op->xerval & XER_CA); op 1906 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG + SETXER; op 1909 arch/powerpc/lib/sstep.c op->val = ival >> sh; op 1910 arch/powerpc/lib/sstep.c op->xerval = regs->xer; op 1912 arch/powerpc/lib/sstep.c op->xerval |= XER_CA; op 1914 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA; op 1915 arch/powerpc/lib/sstep.c set_ca32(op, op->xerval & XER_CA); op 1922 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] << sh; op 1924 arch/powerpc/lib/sstep.c op->val = 0; op 1930 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd] >> sh; op 1932 arch/powerpc/lib/sstep.c op->val = 0; op 1936 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG + SETXER; op 1939 arch/powerpc/lib/sstep.c op->val = ival >> (sh < 64 ? sh : 63); op 1940 arch/powerpc/lib/sstep.c op->xerval = regs->xer; op 1942 arch/powerpc/lib/sstep.c op->xerval |= XER_CA; op 1944 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA; op 1945 arch/powerpc/lib/sstep.c set_ca32(op, op->xerval & XER_CA); op 1950 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG + SETXER; op 1953 arch/powerpc/lib/sstep.c op->val = ival >> sh; op 1954 arch/powerpc/lib/sstep.c op->xerval = regs->xer; op 1956 arch/powerpc/lib/sstep.c op->xerval |= XER_CA; op 1958 arch/powerpc/lib/sstep.c op->xerval &= ~XER_CA; op 1959 arch/powerpc/lib/sstep.c set_ca32(op, op->xerval & XER_CA); op 1966 arch/powerpc/lib/sstep.c op->type = COMPUTE + SETREG; op 1970 arch/powerpc/lib/sstep.c op->val = ROTATE(val, sh) & MASK64(0, 63 - sh); op 1972 arch/powerpc/lib/sstep.c op->val = val; op 1981 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, DCBST, 0); op 1982 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 1986 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, DCBF, 0); op 1987 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 1991 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, DCBTST, 0); op 1992 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 1993 arch/powerpc/lib/sstep.c op->reg = rd; op 1997 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, DCBTST, 0); op 1998 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 1999 arch/powerpc/lib/sstep.c op->reg = rd; op 2003 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, ICBI, 0); op 2004 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 2008 arch/powerpc/lib/sstep.c op->type = MKOP(CACHEOP, DCBZ, 0); op 2009 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 2018 arch/powerpc/lib/sstep.c op->type = UNKNOWN; op 2019 arch/powerpc/lib/sstep.c op->update_reg = ra; op 2020 arch/powerpc/lib/sstep.c op->reg = rd; op 2021 arch/powerpc/lib/sstep.c op->val = regs->gpr[rd]; op 2023 arch/powerpc/lib/sstep.c op->vsx_flags = 0; op 2028 arch/powerpc/lib/sstep.c op->ea = xform_ea(instr, regs); op 2031 arch/powerpc/lib/sstep.c op->type = MKOP(LARX, 0, 4); op 2035 arch/powerpc/lib/sstep.c op->type = MKOP(STCX, 0, 4); op 2040 arch/powerpc/lib/sstep.c op->type = MKOP(LARX, 0, 8); op 2044 arch/powerpc/lib/sstep.c op->type = MKOP(STCX, 0, 8); op 2048 arch/powerpc/lib/sstep.c op->type = MKOP(LARX, 0, 1); op 2052 arch/powerpc/lib/sstep.c op->type = MKOP(STCX, 0, 1); op 2056 arch/powerpc/lib/sstep.c op->type = MKOP(LARX, 0, 2); op 2060 arch/powerpc/lib/sstep.c op->type = MKOP(STCX, 0, 2); op 2065 arch/powerpc/lib/sstep.c op->type = MKOP(LARX, 0, 16); op 2070 arch/powerpc/lib/sstep.c op->type = MKOP(STCX, 0, 16); op 2076 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 4); op 2081 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 1); op 2090 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VMX, 0, 1); op 2091 arch/powerpc/lib/sstep.c op->element_size = 1; op 2095 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VMX, 0, 2); op 2096 arch/powerpc/lib/sstep.c op->element_size = 2; op 2100 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VMX, 0, 4); op 2101 arch/powerpc/lib/sstep.c op->element_size = 4; op 2106 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VMX, 0, 16); op 2107 arch/powerpc/lib/sstep.c op->element_size = 16; op 2111 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VMX, 0, 1); op 2112 arch/powerpc/lib/sstep.c op->element_size = 1; op 2116 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VMX, 0, 2); op 2117 arch/powerpc/lib/sstep.c op->element_size = 2; op 2121 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VMX, 0, 4); op 2122 arch/powerpc/lib/sstep.c op->element_size = 4; op 2127 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VMX, 0, 16); op 2134 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 8); op 2139 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 8); op 2145 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 4); op 2150 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 1); op 2155 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 2); op 2161 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 4); op 2167 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 2); op 2172 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 2); op 2177 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, BYTEREV, 8); op 2182 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_MULTI, 0, regs->xer & 0x7f); op 2186 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, BYTEREV, 4); op 2192 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_MULTI, 0, rb); op 2193 arch/powerpc/lib/sstep.c op->ea = ra ? regs->gpr[ra] : 0; op 2199 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u | FPCONV, 4); op 2204 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u, 8); op 2209 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u | FPCONV, 4); op 2214 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u, 8); op 2219 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, 0, 16); op 2223 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, SIGNEXT, 4); op 2227 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, 0, 4); op 2231 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, 0, 16); op 2235 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, 0, 4); op 2242 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, BYTEREV, 8); op 2243 arch/powerpc/lib/sstep.c op->val = byterev_8(regs->gpr[rd]); op 2248 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_MULTI, 0, regs->xer & 0x7f); op 2252 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, BYTEREV, 4); op 2253 arch/powerpc/lib/sstep.c op->val = byterev_4(regs->gpr[rd]); op 2259 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_MULTI, 0, rb); op 2260 arch/powerpc/lib/sstep.c op->ea = ra ? regs->gpr[ra] : 0; op 2264 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, BYTEREV, 2); op 2268 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, BYTEREV, 2); op 2269 arch/powerpc/lib/sstep.c op->val = byterev_2(regs->gpr[rd]); op 2274 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2275 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 4); op 2276 arch/powerpc/lib/sstep.c op->element_size = 8; op 2280 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2281 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, SIGNEXT, 4); op 2282 arch/powerpc/lib/sstep.c op->element_size = 8; op 2286 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2287 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 4); op 2288 arch/powerpc/lib/sstep.c op->element_size = 8; op 2292 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2293 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2294 arch/powerpc/lib/sstep.c op->element_size = 16; op 2295 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2301 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2302 arch/powerpc/lib/sstep.c op->ea = ra ? regs->gpr[ra] : 0; op 2306 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, nb); op 2307 arch/powerpc/lib/sstep.c op->element_size = 16; op 2308 arch/powerpc/lib/sstep.c op->vsx_flags = ((instr & 0x20) ? VSX_LDLEFT : 0) | op 2313 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2314 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 8); op 2315 arch/powerpc/lib/sstep.c op->element_size = 8; op 2316 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_SPLAT; op 2320 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2321 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 4); op 2322 arch/powerpc/lib/sstep.c op->element_size = 4; op 2323 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_SPLAT | VSX_CHECK_VEC; op 2327 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2328 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2329 arch/powerpc/lib/sstep.c op->element_size = 16; op 2330 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2336 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2337 arch/powerpc/lib/sstep.c op->ea = ra ? regs->gpr[ra] : 0; op 2341 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, nb); op 2342 arch/powerpc/lib/sstep.c op->element_size = 16; op 2343 arch/powerpc/lib/sstep.c op->vsx_flags = ((instr & 0x20) ? VSX_LDLEFT : 0) | op 2348 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2349 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 4); op 2350 arch/powerpc/lib/sstep.c op->element_size = 8; op 2351 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_FPCONV; op 2355 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2356 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 8); op 2357 arch/powerpc/lib/sstep.c op->element_size = 8; op 2361 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2362 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 4); op 2363 arch/powerpc/lib/sstep.c op->element_size = 8; op 2364 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_FPCONV; op 2368 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2369 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 8); op 2370 arch/powerpc/lib/sstep.c op->element_size = 8; op 2374 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2375 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2376 arch/powerpc/lib/sstep.c op->element_size = 4; op 2380 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2381 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 1); op 2382 arch/powerpc/lib/sstep.c op->element_size = 8; op 2383 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2387 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2388 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2389 arch/powerpc/lib/sstep.c op->element_size = 2; op 2390 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2394 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2395 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 2); op 2396 arch/powerpc/lib/sstep.c op->element_size = 8; op 2397 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2401 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2402 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2403 arch/powerpc/lib/sstep.c op->element_size = 8; op 2407 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2408 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2409 arch/powerpc/lib/sstep.c op->element_size = 1; op 2410 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2414 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2415 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2416 arch/powerpc/lib/sstep.c op->element_size = 4; op 2420 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2421 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 1); op 2422 arch/powerpc/lib/sstep.c op->element_size = 8; op 2423 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2427 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2428 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2429 arch/powerpc/lib/sstep.c op->element_size = 2; op 2430 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2434 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2435 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 2); op 2436 arch/powerpc/lib/sstep.c op->element_size = 8; op 2437 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2441 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2442 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2443 arch/powerpc/lib/sstep.c op->element_size = 8; op 2447 arch/powerpc/lib/sstep.c op->reg = rd | ((instr & 1) << 5); op 2448 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2449 arch/powerpc/lib/sstep.c op->element_size = 1; op 2450 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2459 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 4); op 2460 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2465 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 1); op 2466 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2471 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 4); op 2472 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2477 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 1); op 2478 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2483 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, u, 2); op 2484 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2489 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT | u, 2); op 2490 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2495 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, u, 2); op 2496 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2502 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_MULTI, 0, 4 * (32 - rd)); op 2503 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2507 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_MULTI, 0, 4 * (32 - rd)); op 2508 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2514 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u | FPCONV, 4); op 2515 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2520 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, u, 8); op 2521 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2526 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u | FPCONV, 4); op 2527 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2532 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, u, 8); op 2533 arch/powerpc/lib/sstep.c op->ea = dform_ea(instr, regs); op 2540 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, 0, 16); op 2541 arch/powerpc/lib/sstep.c op->ea = dqform_ea(instr, regs); op 2547 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2552 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_FP, 0, 16); op 2555 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2556 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 8); op 2557 arch/powerpc/lib/sstep.c op->element_size = 8; op 2558 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2561 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2562 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 4); op 2563 arch/powerpc/lib/sstep.c op->element_size = 8; op 2564 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_FPCONV | VSX_CHECK_VEC; op 2572 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2575 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, 0, 8); op 2578 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, UPDATE, 8); op 2581 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD, SIGNEXT, 4); op 2592 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2593 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_FP, 0, 16); op 2597 arch/powerpc/lib/sstep.c op->ea = dqform_ea(instr, regs); op 2599 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2600 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, 16); op 2601 arch/powerpc/lib/sstep.c op->element_size = 16; op 2602 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2607 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2608 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2609 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 8); op 2610 arch/powerpc/lib/sstep.c op->element_size = 8; op 2611 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2616 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2617 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2618 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 4); op 2619 arch/powerpc/lib/sstep.c op->element_size = 8; op 2620 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_FPCONV | VSX_CHECK_VEC; op 2624 arch/powerpc/lib/sstep.c op->ea = dqform_ea(instr, regs); op 2626 arch/powerpc/lib/sstep.c op->reg = rd + 32; op 2627 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, 16); op 2628 arch/powerpc/lib/sstep.c op->element_size = 16; op 2629 arch/powerpc/lib/sstep.c op->vsx_flags = VSX_CHECK_VEC; op 2637 arch/powerpc/lib/sstep.c op->ea = dsform_ea(instr, regs); op 2640 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, 0, 8); op 2643 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, UPDATE, 8); op 2647 arch/powerpc/lib/sstep.c op->type = MKOP(STORE, 0, 16); op 2656 arch/powerpc/lib/sstep.c if ((GETTYPE(op->type) == LOAD_VSX || op 2657 arch/powerpc/lib/sstep.c GETTYPE(op->type) == STORE_VSX) && op 2667 arch/powerpc/lib/sstep.c set_cr0(regs, op); op 2669 arch/powerpc/lib/sstep.c op->reg = ra; op 2670 arch/powerpc/lib/sstep.c op->type |= SETREG; op 2675 arch/powerpc/lib/sstep.c set_cr0(regs, op); op 2677 arch/powerpc/lib/sstep.c op->reg = rd; op 2678 arch/powerpc/lib/sstep.c op->type |= SETREG; op 2682 arch/powerpc/lib/sstep.c op->type = INTERRUPT | 0x700; op 2683 arch/powerpc/lib/sstep.c op->val = SRR1_PROGPRIV; op 2687 arch/powerpc/lib/sstep.c op->type = INTERRUPT | 0x700; op 2688 arch/powerpc/lib/sstep.c op->val = SRR1_PROGTRAP; op 2755 arch/powerpc/lib/sstep.c void emulate_update_regs(struct pt_regs *regs, struct instruction_op *op) op 2760 arch/powerpc/lib/sstep.c switch (GETTYPE(op->type)) { op 2762 arch/powerpc/lib/sstep.c if (op->type & SETREG) op 2763 arch/powerpc/lib/sstep.c regs->gpr[op->reg] = op->val; op 2764 arch/powerpc/lib/sstep.c if (op->type & SETCC) op 2765 arch/powerpc/lib/sstep.c regs->ccr = op->ccval; op 2766 arch/powerpc/lib/sstep.c if (op->type & SETXER) op 2767 arch/powerpc/lib/sstep.c regs->xer = op->xerval; op 2771 arch/powerpc/lib/sstep.c if (op->type & SETLK) op 2773 arch/powerpc/lib/sstep.c if (op->type & BRTAKEN) op 2774 arch/powerpc/lib/sstep.c next_pc = op->val; op 2775 arch/powerpc/lib/sstep.c if (op->type & DECCTR) op 2780 arch/powerpc/lib/sstep.c switch (op->type & BARRIER_MASK) { op 2800 arch/powerpc/lib/sstep.c switch (op->spr) { op 2802 arch/powerpc/lib/sstep.c regs->gpr[op->reg] = regs->xer & 0xffffffffUL; op 2805 arch/powerpc/lib/sstep.c regs->gpr[op->reg] = regs->link; op 2808 arch/powerpc/lib/sstep.c regs->gpr[op->reg] = regs->ctr; op 2816 arch/powerpc/lib/sstep.c switch (op->spr) { op 2818 arch/powerpc/lib/sstep.c regs->xer = op->val & 0xffffffffUL; op 2821 arch/powerpc/lib/sstep.c regs->link = op->val; op 2824 arch/powerpc/lib/sstep.c regs->ctr = op->val; op 2847 arch/powerpc/lib/sstep.c int emulate_loadstore(struct pt_regs *regs, struct instruction_op *op) op 2857 arch/powerpc/lib/sstep.c size = GETSIZE(op->type); op 2858 arch/powerpc/lib/sstep.c type = GETTYPE(op->type); op 2860 arch/powerpc/lib/sstep.c ea = truncate_if_32bit(regs->msr, op->ea); op 2887 arch/powerpc/lib/sstep.c err = do_lqarx(ea, ®s->gpr[op->reg]); op 2898 arch/powerpc/lib/sstep.c regs->gpr[op->reg] = val; op 2910 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stbcx.", cr); op 2913 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stbcx.", cr); op 2917 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stwcx.", cr); op 2921 arch/powerpc/lib/sstep.c __put_user_asmx(op->val, ea, err, "stdcx.", cr); op 2924 arch/powerpc/lib/sstep.c err = do_stqcx(ea, regs->gpr[op->reg], op 2925 arch/powerpc/lib/sstep.c regs->gpr[op->reg + 1], &cr); op 2942 arch/powerpc/lib/sstep.c err = emulate_lq(regs, ea, op->reg, cross_endian); op 2946 arch/powerpc/lib/sstep.c err = read_mem(®s->gpr[op->reg], ea, size, regs); op 2948 arch/powerpc/lib/sstep.c if (op->type & SIGNEXT) op 2949 arch/powerpc/lib/sstep.c do_signext(®s->gpr[op->reg], size); op 2950 arch/powerpc/lib/sstep.c if ((op->type & BYTEREV) == (cross_endian ? 0 : BYTEREV)) op 2951 arch/powerpc/lib/sstep.c do_byterev(®s->gpr[op->reg], size); op 2965 arch/powerpc/lib/sstep.c err = do_fp_load(op, ea, regs, cross_endian); op 2972 arch/powerpc/lib/sstep.c err = do_vec_load(op->reg, ea, size, regs, cross_endian); op 2983 arch/powerpc/lib/sstep.c if (op->reg >= 32 && (op->vsx_flags & VSX_CHECK_VEC)) op 2987 arch/powerpc/lib/sstep.c err = do_vsx_load(op, ea, regs, cross_endian); op 2994 arch/powerpc/lib/sstep.c rd = op->reg; op 3016 arch/powerpc/lib/sstep.c err = emulate_stq(regs, ea, op->reg, cross_endian); op 3020 arch/powerpc/lib/sstep.c if ((op->type & UPDATE) && size == sizeof(long) && op 3021 arch/powerpc/lib/sstep.c op->reg == 1 && op->update_reg == 1 && op 3028 arch/powerpc/lib/sstep.c do_byterev(&op->val, size); op 3029 arch/powerpc/lib/sstep.c err = write_mem(op->val, ea, size, regs); op 3036 arch/powerpc/lib/sstep.c err = do_fp_store(op, ea, regs, cross_endian); op 3043 arch/powerpc/lib/sstep.c err = do_vec_store(op->reg, ea, size, regs, cross_endian); op 3054 arch/powerpc/lib/sstep.c if (op->reg >= 32 && (op->vsx_flags & VSX_CHECK_VEC)) op 3058 arch/powerpc/lib/sstep.c err = do_vsx_store(op, ea, regs, cross_endian); op 3065 arch/powerpc/lib/sstep.c rd = op->reg; op 3090 arch/powerpc/lib/sstep.c if (op->type & UPDATE) op 3091 arch/powerpc/lib/sstep.c regs->gpr[op->update_reg] = op->ea; op 3106 arch/powerpc/lib/sstep.c struct instruction_op op; op 3111 arch/powerpc/lib/sstep.c r = analyse_instr(&op, regs, instr); op 3115 arch/powerpc/lib/sstep.c emulate_update_regs(regs, &op); op 3120 arch/powerpc/lib/sstep.c type = GETTYPE(op.type); op 3123 arch/powerpc/lib/sstep.c err = emulate_loadstore(regs, &op); op 3131 arch/powerpc/lib/sstep.c ea = truncate_if_32bit(regs->msr, op.ea); op 3134 arch/powerpc/lib/sstep.c switch (op.type & CACHEOP_MASK) { op 3142 arch/powerpc/lib/sstep.c if (op.reg == 0) op 3146 arch/powerpc/lib/sstep.c if (op.reg == 0) op 3163 arch/powerpc/lib/sstep.c regs->gpr[op.reg] = regs->msr & MSR_MASK; op 3167 arch/powerpc/lib/sstep.c val = regs->gpr[op.reg]; op 3172 arch/powerpc/lib/sstep.c regs->msr = (regs->msr & ~op.val) | (val & op.val); op 846 arch/powerpc/lib/test_emulate_step.c struct instruction_op op; op 851 arch/powerpc/lib/test_emulate_step.c if (analyse_instr(&op, regs, instr) != 1 || op 852 arch/powerpc/lib/test_emulate_step.c GETTYPE(op.type) != COMPUTE) { op 857 arch/powerpc/lib/test_emulate_step.c emulate_update_regs(regs, &op); op 1802 arch/powerpc/perf/core-book3s.c unsigned long type, op, result; op 1810 arch/powerpc/perf/core-book3s.c op = (config >> 8) & 0xff; op 1814 arch/powerpc/perf/core-book3s.c op >= PERF_COUNT_HW_CACHE_OP_MAX || op 1818 arch/powerpc/perf/core-book3s.c ev = (*ppmu->cache_events)[type][op][result]; op 457 arch/powerpc/perf/core-fsl-emb.c unsigned long type, op, result; op 465 arch/powerpc/perf/core-fsl-emb.c op = (config >> 8) & 0xff; op 469 arch/powerpc/perf/core-fsl-emb.c op >= PERF_COUNT_HW_CACHE_OP_MAX || op 473 arch/powerpc/perf/core-fsl-emb.c ev = (*ppmu->cache_events)[type][op][result]; op 472 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c static int mpc52xx_lpbfifo_probe(struct platform_device *op) op 480 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c lpbfifo.irq = irq_of_parse_and_map(op->dev.of_node, 0); op 484 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c if (of_address_to_resource(op->dev.of_node, 0, &res)) op 487 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c lpbfifo.regs = of_iomap(op->dev.of_node, 0); op 525 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c lpbfifo.dev = &op->dev; op 537 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c dev_err(&op->dev, "mpc52xx_lpbfifo_probe() failed\n"); op 542 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c static int mpc52xx_lpbfifo_remove(struct platform_device *op) op 544 arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c if (lpbfifo.dev != &op->dev) op 225 arch/powerpc/platforms/powernv/opal-flash.c static inline void opal_flash_manage(uint8_t op) op 229 arch/powerpc/platforms/powernv/opal-flash.c args_buf->status = opal_manage_flash(op); op 256 arch/powerpc/platforms/powernv/opal-flash.c uint8_t op; op 259 arch/powerpc/platforms/powernv/opal-flash.c op = FLASH_REJECT_TMP_SIDE; op 262 arch/powerpc/platforms/powernv/opal-flash.c op = FLASH_COMMIT_TMP_SIDE; op 269 arch/powerpc/platforms/powernv/opal-flash.c opal_flash_manage(op); op 276 arch/powerpc/platforms/powernv/opal-flash.c static int opal_flash_update(int op) op 282 arch/powerpc/platforms/powernv/opal-flash.c if (op == FLASH_UPDATE_CANCEL) { op 682 arch/powerpc/platforms/powernv/pci-ioda.c uint8_t op = is_add ? OPAL_ADD_PE_TO_DOMAIN : op 689 arch/powerpc/platforms/powernv/pci-ioda.c child->pe_number, op); op 702 arch/powerpc/platforms/powernv/pci-ioda.c slave->pe_number, op); op 724 arch/powerpc/platforms/ps3/device-init.c const char *op = write ? "write" : "read"; op 736 arch/powerpc/platforms/ps3/device-init.c pr_err("%s:%u: %s failed %d\n", __func__, __LINE__, op, res); op 739 arch/powerpc/platforms/ps3/device-init.c pr_debug("%s:%u: notification %s issued\n", __func__, __LINE__, op); op 746 arch/powerpc/platforms/ps3/device-init.c pr_debug("%s:%u: interrupted %s\n", __func__, __LINE__, op); op 752 arch/powerpc/platforms/ps3/device-init.c __LINE__, op, dev->lv1_status); op 755 arch/powerpc/platforms/ps3/device-init.c pr_debug("%s:%u: notification %s completed\n", __func__, __LINE__, op); op 1106 arch/powerpc/platforms/pseries/vio.c int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op) op 1113 arch/powerpc/platforms/pseries/vio.c if (op->timeout) op 1114 arch/powerpc/platforms/pseries/vio.c deadline = jiffies + msecs_to_jiffies(op->timeout); op 1117 arch/powerpc/platforms/pseries/vio.c hret = plpar_hcall_norets(H_COP, op->flags, op 1119 arch/powerpc/platforms/pseries/vio.c op->in, op->inlen, op->out, op 1120 arch/powerpc/platforms/pseries/vio.c op->outlen, op->csbcpb); op 1125 arch/powerpc/platforms/pseries/vio.c (op->timeout && time_after(deadline, jiffies))) op 1159 arch/powerpc/platforms/pseries/vio.c op->hcall_err = hret; op 72 arch/powerpc/sysdev/fsl_rio.c #define __fsl_read_rio_config(x, addr, err, op) \ op 74 arch/powerpc/sysdev/fsl_rio.c "1: "op" %1,0(%2)\n" \ op 119 arch/powerpc/sysdev/tsi108_pci.c #define __tsi108_read_pci_config(x, addr, op) \ op 121 arch/powerpc/sysdev/tsi108_pci.c " "op" %0,0,%1\n" \ op 2326 arch/powerpc/xmon/ppc-opc.c #define A(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1) | (((unsigned long)(rc)) & 1)) op 2342 arch/powerpc/xmon/ppc-opc.c #define B(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 1) | ((lk) & 1)) op 2346 arch/powerpc/xmon/ppc-opc.c #define BD8(op, aa, lk) (((((unsigned long)(op)) & 0x3f) << 10) | (((aa) & 1) << 9) | (((lk) & 1) << 8)) op 2350 arch/powerpc/xmon/ppc-opc.c #define BD8IO(op) ((((unsigned long)(op)) & 0x1f) << 11) op 2354 arch/powerpc/xmon/ppc-opc.c #define EBD8IO(op, bo, bi) (BD8IO ((op)) | ((bo) << 10) | ((bi) << 8)) op 2363 arch/powerpc/xmon/ppc-opc.c #define BD15(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 0xf) << 22) | ((lk) & 1)) op 2367 arch/powerpc/xmon/ppc-opc.c #define EBD15(op, aa, bo, lk) (((op) & 0x3f) << 26) | (((aa) & 0xf) << 22) | (((bo) & 0x3) << 20) | ((lk) & 1) op 2371 arch/powerpc/xmon/ppc-opc.c #define EBD15BI(op, aa, bo, bi, lk) (((op) & 0x3f) << 26) \ op 2379 arch/powerpc/xmon/ppc-opc.c #define BD24(op, aa, lk) (OP (op) | ((((unsigned long)(aa)) & 1) << 25) | ((lk) & 1)) op 2383 arch/powerpc/xmon/ppc-opc.c #define BBO(op, bo, aa, lk) (B ((op), (aa), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21)) op 2397 arch/powerpc/xmon/ppc-opc.c #define BBOCB(op, bo, cb, aa, lk) \ op 2398 arch/powerpc/xmon/ppc-opc.c (BBO ((op), (bo), (aa), (lk)) | ((((unsigned long)(cb)) & 0x3) << 16)) op 2417 arch/powerpc/xmon/ppc-opc.c #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) op 2421 arch/powerpc/xmon/ppc-opc.c #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) op 2428 arch/powerpc/xmon/ppc-opc.c #define DQX(op, xop) (OP (op) | ((xop) & 0x7)) op 2432 arch/powerpc/xmon/ppc-opc.c #define DSO(op, xop) (OP (op) | ((xop) & 0x3)) op 2436 arch/powerpc/xmon/ppc-opc.c #define DX(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1)) op 2440 arch/powerpc/xmon/ppc-opc.c #define EVSEL(op, xop) (OP (op) | (((unsigned long)(xop)) & 0xff) << 3) op 2444 arch/powerpc/xmon/ppc-opc.c #define IA16(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f) << 11) op 2448 arch/powerpc/xmon/ppc-opc.c #define I16A(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f) << 11) op 2452 arch/powerpc/xmon/ppc-opc.c #define I16L(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f) << 11) op 2456 arch/powerpc/xmon/ppc-opc.c #define IM7(op) ((((unsigned long)(op)) & 0x1f) << 11) op 2460 arch/powerpc/xmon/ppc-opc.c #define M(op, rc) (OP (op) | ((rc) & 1)) op 2464 arch/powerpc/xmon/ppc-opc.c #define LI20(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1) << 15) op 2468 arch/powerpc/xmon/ppc-opc.c #define MME(op, me, rc) (M ((op), (rc)) | ((((unsigned long)(me)) & 0x1f) << 1)) op 2477 arch/powerpc/xmon/ppc-opc.c #define MD(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x7) << 2) | ((rc) & 1)) op 2487 arch/powerpc/xmon/ppc-opc.c #define MDS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0xf) << 1) | ((rc) & 1)) op 2494 arch/powerpc/xmon/ppc-opc.c #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1)) op 2498 arch/powerpc/xmon/ppc-opc.c #define SCI8(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 11)) op 2502 arch/powerpc/xmon/ppc-opc.c #define SCI8BF(op, fop, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 11) | (((fop) & 7) << 23)) op 2506 arch/powerpc/xmon/ppc-opc.c #define SD4(op) ((((unsigned long)(op)) & 0xf) << 12) op 2510 arch/powerpc/xmon/ppc-opc.c #define SE_IM5(op, xop) (((((unsigned long)(op)) & 0x3f) << 10) | (((xop) & 0x1) << 9)) op 2514 arch/powerpc/xmon/ppc-opc.c #define SE_R(op, xop) (((((unsigned long)(op)) & 0x3f) << 10) | (((xop) & 0x3f) << 4)) op 2518 arch/powerpc/xmon/ppc-opc.c #define SE_RR(op, xop) (((((unsigned long)(op)) & 0x3f) << 10) | (((xop) & 0x3) << 8)) op 2522 arch/powerpc/xmon/ppc-opc.c #define VX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) op 2555 arch/powerpc/xmon/ppc-opc.c #define VXA(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x03f)) op 2564 arch/powerpc/xmon/ppc-opc.c #define VXR(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | (((unsigned long)(xop)) & 0x3ff)) op 2570 arch/powerpc/xmon/ppc-opc.c #define VXVA(op, xop, vaop) (VX(op,xop) | (((vaop) & 0x1f) << 16)) op 2572 arch/powerpc/xmon/ppc-opc.c #define VXASH(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1)) op 2576 arch/powerpc/xmon/ppc-opc.c #define X(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1)) op 2579 arch/powerpc/xmon/ppc-opc.c #define XVA(op, xop, vaop) (X(op,xop) | (((vaop) & 0x1f) << 16)) op 2582 arch/powerpc/xmon/ppc-opc.c #define EX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7ff)) op 2588 arch/powerpc/xmon/ppc-opc.c #define XX2(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 2)) op 2591 arch/powerpc/xmon/ppc-opc.c #define XX2VA(op, xop, vaop) (XX2(op,xop) | (((vaop) & 0x1f) << 16)) op 2594 arch/powerpc/xmon/ppc-opc.c #define XX3(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0xff) << 3)) op 2597 arch/powerpc/xmon/ppc-opc.c #define XX3RC(op, xop, rc) (OP (op) | (((rc) & 1) << 10) | ((((unsigned long)(xop)) & 0x7f) << 3)) op 2600 arch/powerpc/xmon/ppc-opc.c #define XX4(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3) << 4)) op 2603 arch/powerpc/xmon/ppc-opc.c #define Z(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1)) op 2606 arch/powerpc/xmon/ppc-opc.c #define XRC(op, xop, rc) (X ((op), (xop)) | ((rc) & 1)) op 2609 arch/powerpc/xmon/ppc-opc.c #define XVARC(op, xop, vaop, rc) (XVA ((op), (xop), (vaop)) | ((rc) & 1)) op 2612 arch/powerpc/xmon/ppc-opc.c #define XMMF(op, xop, mop0, mop1) (X ((op), (xop)) | ((mop0) & 3) << 19 | ((mop1) & 7) << 16) op 2615 arch/powerpc/xmon/ppc-opc.c #define ZRC(op, xop, rc) (Z ((op), (xop)) | ((rc) & 1)) op 2724 arch/powerpc/xmon/ppc-opc.c #define XOPL(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 1) << 21)) op 2727 arch/powerpc/xmon/ppc-opc.c #define XOPL2(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 3) << 21)) op 2730 arch/powerpc/xmon/ppc-opc.c #define XRCL(op, xop, l, rc) (XRC ((op), (xop), (rc)) | ((((unsigned long)(l)) & 1) << 21)) op 2733 arch/powerpc/xmon/ppc-opc.c #define XRT(op, xop, rt) (X ((op), (xop)) \ op 2737 arch/powerpc/xmon/ppc-opc.c #define XRTRA(op, xop, rt, ra) (X ((op), (xop)) \ op 2749 arch/powerpc/xmon/ppc-opc.c #define XTO(op, xop, to) (X ((op), (xop)) | ((((unsigned long)(to)) & 0x1f) << 21)) op 2753 arch/powerpc/xmon/ppc-opc.c #define XTLB(op, xop, sh) (X ((op), (xop)) | ((((unsigned long)(sh)) & 0x1f) << 11)) op 2757 arch/powerpc/xmon/ppc-opc.c #define XSYNC(op, xop, l) (X ((op), (xop)) | ((((unsigned long)(l)) & 3) << 21)) op 2769 arch/powerpc/xmon/ppc-opc.c #define XDSS(op, xop, a) (X ((op), (xop)) | ((((unsigned long)(a)) & 1) << 25)) op 2773 arch/powerpc/xmon/ppc-opc.c #define XFL(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1) | (((unsigned long)(rc)) & 1)) op 2777 arch/powerpc/xmon/ppc-opc.c #define XISEL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x1f) << 1)) op 2781 arch/powerpc/xmon/ppc-opc.c #define XL(op, xop) (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1)) op 2784 arch/powerpc/xmon/ppc-opc.c #define XLLK(op, xop, lk) (XL ((op), (xop)) | ((lk) & 1)) op 2793 arch/powerpc/xmon/ppc-opc.c #define XLO(op, bo, xop, lk) \ op 2794 arch/powerpc/xmon/ppc-opc.c (XLLK ((op), (xop), (lk)) | ((((unsigned long)(bo)) & 0x1f) << 21)) op 2799 arch/powerpc/xmon/ppc-opc.c #define XLYLK(op, xop, y, lk) (XLLK ((op), (xop), (lk)) | ((((unsigned long)(y)) & 1) << 21)) op 2804 arch/powerpc/xmon/ppc-opc.c #define XLOCB(op, bo, cb, xop, lk) \ op 2805 arch/powerpc/xmon/ppc-opc.c (XLO ((op), (bo), (xop), (lk)) | ((((unsigned long)(cb)) & 3) << 16)) op 2823 arch/powerpc/xmon/ppc-opc.c #define XMBAR(op, xop, mo) (X ((op), (xop)) | ((((unsigned long)(mo)) & 1) << 21)) op 2826 arch/powerpc/xmon/ppc-opc.c #define XO(op, xop, oe, rc) \ op 2827 arch/powerpc/xmon/ppc-opc.c (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 1) | ((((unsigned long)(oe)) & 1) << 10) | (((unsigned long)(rc)) & 1)) op 2834 arch/powerpc/xmon/ppc-opc.c #define XOPS(op, xop, rc) \ op 2835 arch/powerpc/xmon/ppc-opc.c (OP (op) | ((((unsigned long)(xop)) & 0x3ff) << 1) | (((unsigned long)(rc)) & 1)) op 2840 arch/powerpc/xmon/ppc-opc.c #define XS(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x1ff) << 2) | (((unsigned long)(rc)) & 1)) op 2847 arch/powerpc/xmon/ppc-opc.c #define XFXM(op, xop, fxm, p4) \ op 2848 arch/powerpc/xmon/ppc-opc.c (X ((op), (xop)) | ((((unsigned long)(fxm)) & 0xff) << 12) \ op 2852 arch/powerpc/xmon/ppc-opc.c #define XSPR(op, xop, spr) \ op 2853 arch/powerpc/xmon/ppc-opc.c (X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << 6)) op 2868 arch/powerpc/xmon/ppc-opc.c #define XUC(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) op 2872 arch/powerpc/xmon/ppc-opc.c #define XW(op, xop, rc) (OP (op) | ((((unsigned long)(xop)) & 0x3f) << 1) | ((rc) & 1)) op 2877 arch/powerpc/xmon/ppc-opc.c #define APU(op, xop, rc) (OP (op) | (((unsigned long)(xop)) & 0x3ff) << 1 | ((rc) & 1)) op 263 arch/powerpc/xmon/ppc.h (unsigned long instruction, long op, ppc_cpu_t dialect, const char **errmsg); op 56 arch/riscv/include/asm/atomic.h #define ATOMIC_OP(op, asm_op, I, asm_type, c_type, prefix) \ op 58 arch/riscv/include/asm/atomic.h void atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \ op 68 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, I) \ op 69 arch/riscv/include/asm/atomic.h ATOMIC_OP (op, asm_op, I, w, int, ) op 71 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, I) \ op 72 arch/riscv/include/asm/atomic.h ATOMIC_OP (op, asm_op, I, w, int, ) \ op 73 arch/riscv/include/asm/atomic.h ATOMIC_OP (op, asm_op, I, d, s64, 64) op 90 arch/riscv/include/asm/atomic.h #define ATOMIC_FETCH_OP(op, asm_op, I, asm_type, c_type, prefix) \ op 92 arch/riscv/include/asm/atomic.h c_type atomic##prefix##_fetch_##op##_relaxed(c_type i, \ op 104 arch/riscv/include/asm/atomic.h c_type atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \ op 115 arch/riscv/include/asm/atomic.h #define ATOMIC_OP_RETURN(op, asm_op, c_op, I, asm_type, c_type, prefix) \ op 117 arch/riscv/include/asm/atomic.h c_type atomic##prefix##_##op##_return_relaxed(c_type i, \ op 120 arch/riscv/include/asm/atomic.h return atomic##prefix##_fetch_##op##_relaxed(i, v) c_op I; \ op 123 arch/riscv/include/asm/atomic.h c_type atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \ op 125 arch/riscv/include/asm/atomic.h return atomic##prefix##_fetch_##op(i, v) c_op I; \ op 129 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, c_op, I) \ op 130 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \ op 131 arch/riscv/include/asm/atomic.h ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) op 133 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, c_op, I) \ op 134 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \ op 135 arch/riscv/include/asm/atomic.h ATOMIC_OP_RETURN(op, asm_op, c_op, I, w, int, ) \ op 136 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP( op, asm_op, I, d, s64, 64) \ op 137 arch/riscv/include/asm/atomic.h ATOMIC_OP_RETURN(op, asm_op, c_op, I, d, s64, 64) op 168 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, I) \ op 169 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) op 171 arch/riscv/include/asm/atomic.h #define ATOMIC_OPS(op, asm_op, I) \ op 172 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) \ op 173 arch/riscv/include/asm/atomic.h ATOMIC_FETCH_OP(op, asm_op, I, d, s64, 64) op 30 arch/riscv/include/asm/bitops.h #define __AMO(op) "amo" #op ".d" op 32 arch/riscv/include/asm/bitops.h #define __AMO(op) "amo" #op ".w" op 37 arch/riscv/include/asm/bitops.h #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ op 42 arch/riscv/include/asm/bitops.h __AMO(op) #ord " %0, %2, %1" \ op 49 arch/riscv/include/asm/bitops.h #define __op_bit_ord(op, mod, nr, addr, ord) \ op 51 arch/riscv/include/asm/bitops.h __AMO(op) #ord " zero, %1, %0" \ op 56 arch/riscv/include/asm/bitops.h #define __test_and_op_bit(op, mod, nr, addr) \ op 57 arch/riscv/include/asm/bitops.h __test_and_op_bit_ord(op, mod, nr, addr, .aqrl) op 58 arch/riscv/include/asm/bitops.h #define __op_bit(op, mod, nr, addr) \ op 59 arch/riscv/include/asm/bitops.h __op_bit_ord(op, mod, nr, addr, ) op 33 arch/riscv/include/asm/futex.h : [op] "Jr" (oparg), [e] "i" (-EFAULT) \ op 39 arch/riscv/include/asm/futex.h arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) op 45 arch/riscv/include/asm/futex.h switch (op) { op 151 arch/riscv/kernel/perf_event.c unsigned int *op, unsigned int *result) op 158 arch/riscv/kernel/perf_event.c unsigned int type, op, result; op 162 arch/riscv/kernel/perf_event.c err = riscv_map_cache_decode(config, &type, &op, &result); op 167 arch/riscv/kernel/perf_event.c op >= PERF_COUNT_HW_CACHE_OP_MAX || op 171 arch/riscv/kernel/perf_event.c code = (*riscv_pmu->cache_events)[type][op][result]; op 84 arch/riscv/kernel/smp.c static void send_ipi_mask(const struct cpumask *mask, enum ipi_message_type op) op 91 arch/riscv/kernel/smp.c set_bit(op, &ipi_data[cpu].bits); op 98 arch/riscv/kernel/smp.c static void send_ipi_single(int cpu, enum ipi_message_type op) op 103 arch/riscv/kernel/smp.c set_bit(op, &ipi_data[cpu].bits); op 62 arch/s390/include/asm/atomic.h #define ATOMIC_OPS(op) \ op 63 arch/s390/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 65 arch/s390/include/asm/atomic.h __atomic_##op(i, &v->counter); \ op 67 arch/s390/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 69 arch/s390/include/asm/atomic.h return __atomic_##op##_barrier(i, &v->counter); \ op 132 arch/s390/include/asm/atomic.h #define ATOMIC64_OPS(op) \ op 133 arch/s390/include/asm/atomic.h static inline void atomic64_##op(s64 i, atomic64_t *v) \ op 135 arch/s390/include/asm/atomic.h __atomic64_##op(i, (long *)&v->counter); \ op 137 arch/s390/include/asm/atomic.h static inline long atomic64_fetch_##op(s64 i, atomic64_t *v) \ op 139 arch/s390/include/asm/atomic.h return __atomic64_##op##_barrier(i, (long *)&v->counter); \ op 373 arch/s390/include/asm/cio.h int chsc_sstpc(void *page, unsigned int op, u16 ctrl, u64 *clock_delta); op 25 arch/s390/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 33 arch/s390/include/asm/futex.h switch (op) { op 22 arch/s390/include/asm/itcw.h struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg, op 27 arch/s390/include/asm/percpu.h #define arch_this_cpu_to_op_simple(pcp, val, op) \ op 37 arch/s390/include/asm/percpu.h new__ = old__ op (val); \ op 93 arch/s390/include/asm/percpu.h #define arch_this_cpu_add_return(pcp, val, op) \ op 101 arch/s390/include/asm/percpu.h op " %[old__],%[val__],%[ptr__]\n" \ op 112 arch/s390/include/asm/percpu.h #define arch_this_cpu_to_op(pcp, val, op) \ op 120 arch/s390/include/asm/percpu.h op " %[old__],%[val__],%[ptr__]\n" \ op 229 arch/s390/kernel/ftrace.c u8 op = 0x04; /* set mask field to zero */ op 231 arch/s390/kernel/ftrace.c s390_kernel_write(__va(ftrace_graph_caller)+1, &op, sizeof(op)); op 237 arch/s390/kernel/ftrace.c u8 op = 0xf4; /* set mask field to all ones */ op 239 arch/s390/kernel/ftrace.c s390_kernel_write(__va(ftrace_graph_caller)+1, &op, sizeof(op)); op 4279 arch/s390/kvm/kvm-s390.c switch (mop->op) { op 132 arch/s390/net/bpf_jit_comp.c #define _EMIT2(op) \ op 135 arch/s390/net/bpf_jit_comp.c *(u16 *) (jit->prg_buf + jit->prg) = op; \ op 139 arch/s390/net/bpf_jit_comp.c #define EMIT2(op, b1, b2) \ op 141 arch/s390/net/bpf_jit_comp.c _EMIT2(op | reg(b1, b2)); \ op 146 arch/s390/net/bpf_jit_comp.c #define _EMIT4(op) \ op 149 arch/s390/net/bpf_jit_comp.c *(u32 *) (jit->prg_buf + jit->prg) = op; \ op 153 arch/s390/net/bpf_jit_comp.c #define EMIT4(op, b1, b2) \ op 155 arch/s390/net/bpf_jit_comp.c _EMIT4(op | reg(b1, b2)); \ op 160 arch/s390/net/bpf_jit_comp.c #define EMIT4_RRF(op, b1, b2, b3) \ op 162 arch/s390/net/bpf_jit_comp.c _EMIT4(op | reg_high(b3) << 8 | reg(b1, b2)); \ op 168 arch/s390/net/bpf_jit_comp.c #define _EMIT4_DISP(op, disp) \ op 171 arch/s390/net/bpf_jit_comp.c _EMIT4(op | __disp); \ op 174 arch/s390/net/bpf_jit_comp.c #define EMIT4_DISP(op, b1, b2, disp) \ op 176 arch/s390/net/bpf_jit_comp.c _EMIT4_DISP(op | reg_high(b1) << 16 | \ op 182 arch/s390/net/bpf_jit_comp.c #define EMIT4_IMM(op, b1, imm) \ op 185 arch/s390/net/bpf_jit_comp.c _EMIT4(op | reg_high(b1) << 16 | __imm); \ op 189 arch/s390/net/bpf_jit_comp.c #define EMIT4_PCREL(op, pcrel) \ op 192 arch/s390/net/bpf_jit_comp.c _EMIT4(op | __pcrel); \ op 254 arch/s390/net/bpf_jit_comp.c #define EMIT6_PCREL_RILB(op, b, target) \ op 257 arch/s390/net/bpf_jit_comp.c _EMIT6(op | reg_high(b) << 16 | rel >> 16, rel & 0xffff); \ op 261 arch/s390/net/bpf_jit_comp.c #define EMIT6_PCREL_RIL(op, target) \ op 264 arch/s390/net/bpf_jit_comp.c _EMIT6(op | rel >> 16, rel & 0xffff); \ op 267 arch/s390/net/bpf_jit_comp.c #define _EMIT6_IMM(op, imm) \ op 270 arch/s390/net/bpf_jit_comp.c _EMIT6(op | (__imm >> 16), __imm & 0xffff); \ op 273 arch/s390/net/bpf_jit_comp.c #define EMIT6_IMM(op, b1, imm) \ op 275 arch/s390/net/bpf_jit_comp.c _EMIT6_IMM(op | reg_high(b1) << 16, imm); \ op 385 arch/s390/net/bpf_jit_comp.c static void save_restore_regs(struct bpf_jit *jit, int op, u32 stack_depth) op 395 arch/s390/net/bpf_jit_comp.c if (op == REGS_SAVE) op 378 arch/s390/pci/pci_insn.c : [op] "+d" (unused)); op 297 arch/sh/drivers/dma/dma-api.c int dma_extend(unsigned int chan, unsigned long op, void *param) op 303 arch/sh/drivers/dma/dma-api.c return info->ops->extend(channel, op, param); op 5 arch/sh/include/asm/atomic-grb.h #define ATOMIC_OP(op) \ op 6 arch/sh/include/asm/atomic-grb.h static inline void atomic_##op(int i, atomic_t *v) \ op 16 arch/sh/include/asm/atomic-grb.h " " #op " %2, %0 \n\t" /* $op */ \ op 25 arch/sh/include/asm/atomic-grb.h #define ATOMIC_OP_RETURN(op) \ op 26 arch/sh/include/asm/atomic-grb.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 36 arch/sh/include/asm/atomic-grb.h " " #op " %2, %0 \n\t" /* $op */ \ op 47 arch/sh/include/asm/atomic-grb.h #define ATOMIC_FETCH_OP(op) \ op 48 arch/sh/include/asm/atomic-grb.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 59 arch/sh/include/asm/atomic-grb.h " " #op " %3, %0 \n\t" /* $op */ \ op 69 arch/sh/include/asm/atomic-grb.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) op 75 arch/sh/include/asm/atomic-grb.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) op 13 arch/sh/include/asm/atomic-irq.h #define ATOMIC_OP(op, c_op) \ op 14 arch/sh/include/asm/atomic-irq.h static inline void atomic_##op(int i, atomic_t *v) \ op 23 arch/sh/include/asm/atomic-irq.h #define ATOMIC_OP_RETURN(op, c_op) \ op 24 arch/sh/include/asm/atomic-irq.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 37 arch/sh/include/asm/atomic-irq.h #define ATOMIC_FETCH_OP(op, c_op) \ op 38 arch/sh/include/asm/atomic-irq.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 50 arch/sh/include/asm/atomic-irq.h #define ATOMIC_OPS(op, c_op) \ op 51 arch/sh/include/asm/atomic-irq.h ATOMIC_OP(op, c_op) \ op 52 arch/sh/include/asm/atomic-irq.h ATOMIC_OP_RETURN(op, c_op) \ op 53 arch/sh/include/asm/atomic-irq.h ATOMIC_FETCH_OP(op, c_op) op 59 arch/sh/include/asm/atomic-irq.h #define ATOMIC_OPS(op, c_op) \ op 60 arch/sh/include/asm/atomic-irq.h ATOMIC_OP(op, c_op) \ op 61 arch/sh/include/asm/atomic-irq.h ATOMIC_FETCH_OP(op, c_op) op 19 arch/sh/include/asm/atomic-llsc.h #define ATOMIC_OP(op) \ op 20 arch/sh/include/asm/atomic-llsc.h static inline void atomic_##op(int i, atomic_t *v) \ op 25 arch/sh/include/asm/atomic-llsc.h "1: movli.l @%2, %0 ! atomic_" #op "\n" \ op 26 arch/sh/include/asm/atomic-llsc.h " " #op " %1, %0 \n" \ op 34 arch/sh/include/asm/atomic-llsc.h #define ATOMIC_OP_RETURN(op) \ op 35 arch/sh/include/asm/atomic-llsc.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 40 arch/sh/include/asm/atomic-llsc.h "1: movli.l @%2, %0 ! atomic_" #op "_return \n" \ op 41 arch/sh/include/asm/atomic-llsc.h " " #op " %1, %0 \n" \ op 52 arch/sh/include/asm/atomic-llsc.h #define ATOMIC_FETCH_OP(op) \ op 53 arch/sh/include/asm/atomic-llsc.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 58 arch/sh/include/asm/atomic-llsc.h "1: movli.l @%3, %0 ! atomic_fetch_" #op " \n" \ op 60 arch/sh/include/asm/atomic-llsc.h " " #op " %2, %0 \n" \ op 71 arch/sh/include/asm/atomic-llsc.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) op 77 arch/sh/include/asm/atomic-llsc.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) op 60 arch/sh/include/asm/dma.h int (*extend)(struct dma_channel *chan, unsigned long op, void *param); op 134 arch/sh/include/asm/dma.h extern int dma_extend(unsigned int chan, unsigned long op, void *param); op 31 arch/sh/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, op 44 arch/sh/include/asm/futex.h switch (op) { op 352 arch/sh/include/asm/pgtable_32.h #define PTE_BIT_FUNC(h,fn,op) \ op 353 arch/sh/include/asm/pgtable_32.h static inline pte_t pte_##fn(pte_t pte) { pte.pte_##h op; return pte; } op 77 arch/sh/kernel/cpu/sh5/unwind.c unsigned long op; op 81 arch/sh/kernel/cpu/sh5/unwind.c op = *(unsigned long *)prologue; op 83 arch/sh/kernel/cpu/sh5/unwind.c major = (op >> 26) & 0x3f; op 84 arch/sh/kernel/cpu/sh5/unwind.c src = (op >> 20) & 0x3f; op 85 arch/sh/kernel/cpu/sh5/unwind.c minor = (op >> 16) & 0xf; op 86 arch/sh/kernel/cpu/sh5/unwind.c disp = (op >> 10) & 0x3f; op 87 arch/sh/kernel/cpu/sh5/unwind.c dest = (op >> 4) & 0x3f; op 132 arch/sh/kernel/cpu/sh5/unwind.c offset_r14 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); op 140 arch/sh/kernel/cpu/sh5/unwind.c offset_r18 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); op 152 arch/sh/kernel/cpu/sh5/unwind.c dest, op); op 159 arch/sh/kernel/cpu/sh5/unwind.c sign_extend64((((u64)op >> 10) & 0xffff), 9); op 169 arch/sh/kernel/cpu/sh5/unwind.c (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); op 296 arch/sh/kernel/disassemble.c struct sh_opcode_info *op = sh_table; op 298 arch/sh/kernel/disassemble.c for (; op->name; op++) { op 308 arch/sh/kernel/disassemble.c int i = op->nibbles[n]; op 379 arch/sh/kernel/disassemble.c printk("%-8s ", op->name); op 380 arch/sh/kernel/disassemble.c lastsp = (op->arg[0] == A_END); op 382 arch/sh/kernel/disassemble.c for (n = 0; n < 6 && op->arg[n] != A_END; n++) { op 383 arch/sh/kernel/disassemble.c if (n && op->arg[1] != A_END) op 385 arch/sh/kernel/disassemble.c switch (op->arg[n]) { op 527 arch/sh/kernel/disassemble.c if (disp_pc && strcmp(op->name, "mova") != 0) { op 20 arch/sh/kernel/kgdb.c #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) op 21 arch/sh/kernel/kgdb.c #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) op 22 arch/sh/kernel/kgdb.c #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ op 23 arch/sh/kernel/kgdb.c (((op) & 0x7f ) << 1)) op 24 arch/sh/kernel/kgdb.c #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) op 25 arch/sh/kernel/kgdb.c #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) op 26 arch/sh/kernel/kgdb.c #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) op 27 arch/sh/kernel/kgdb.c #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ op 28 arch/sh/kernel/kgdb.c (((op) & 0x7ff) << 1)) op 29 arch/sh/kernel/kgdb.c #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) op 30 arch/sh/kernel/kgdb.c #define OPCODE_BRAF_REG(op) (((op) & 0x0f00) >> 8) op 31 arch/sh/kernel/kgdb.c #define OPCODE_BSR(op) (((op) & 0xf000) == 0xb000) op 32 arch/sh/kernel/kgdb.c #define OPCODE_BSR_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ op 33 arch/sh/kernel/kgdb.c (((op) & 0x7ff) << 1)) op 34 arch/sh/kernel/kgdb.c #define OPCODE_BSRF(op) (((op) & 0xf0ff) == 0x0003) op 35 arch/sh/kernel/kgdb.c #define OPCODE_BSRF_REG(op) (((op) >> 8) & 0xf) op 36 arch/sh/kernel/kgdb.c #define OPCODE_JMP(op) (((op) & 0xf0ff) == 0x402b) op 37 arch/sh/kernel/kgdb.c #define OPCODE_JMP_REG(op) (((op) >> 8) & 0xf) op 38 arch/sh/kernel/kgdb.c #define OPCODE_JSR(op) (((op) & 0xf0ff) == 0x400b) op 39 arch/sh/kernel/kgdb.c #define OPCODE_JSR_REG(op) (((op) >> 8) & 0xf) op 40 arch/sh/kernel/kgdb.c #define OPCODE_RTS(op) ((op) == 0xb) op 41 arch/sh/kernel/kgdb.c #define OPCODE_RTE(op) ((op) == 0x2b) op 49 arch/sh/kernel/kgdb.c insn_size_t op = __raw_readw(linux_regs->pc); op 53 arch/sh/kernel/kgdb.c if (OPCODE_BT(op)) { op 55 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); op 61 arch/sh/kernel/kgdb.c else if (OPCODE_BTS(op)) { op 63 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); op 69 arch/sh/kernel/kgdb.c else if (OPCODE_BF(op)) { op 71 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); op 77 arch/sh/kernel/kgdb.c else if (OPCODE_BFS(op)) { op 79 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BTF_DISP(op); op 85 arch/sh/kernel/kgdb.c else if (OPCODE_BRA(op)) op 86 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BRA_DISP(op); op 89 arch/sh/kernel/kgdb.c else if (OPCODE_BRAF(op)) op 91 arch/sh/kernel/kgdb.c + linux_regs->regs[OPCODE_BRAF_REG(op)]; op 94 arch/sh/kernel/kgdb.c else if (OPCODE_BSR(op)) op 95 arch/sh/kernel/kgdb.c addr = linux_regs->pc + 4 + OPCODE_BSR_DISP(op); op 98 arch/sh/kernel/kgdb.c else if (OPCODE_BSRF(op)) op 100 arch/sh/kernel/kgdb.c + linux_regs->regs[OPCODE_BSRF_REG(op)]; op 103 arch/sh/kernel/kgdb.c else if (OPCODE_JMP(op)) op 104 arch/sh/kernel/kgdb.c addr = linux_regs->regs[OPCODE_JMP_REG(op)]; op 107 arch/sh/kernel/kgdb.c else if (OPCODE_JSR(op)) op 108 arch/sh/kernel/kgdb.c addr = linux_regs->regs[OPCODE_JSR_REG(op)]; op 111 arch/sh/kernel/kgdb.c else if (OPCODE_RTS(op)) op 115 arch/sh/kernel/kgdb.c else if (OPCODE_RTE(op)) op 120 arch/sh/kernel/kgdb.c addr = linux_regs->pc + instruction_size(op); op 122 arch/sh/kernel/kgdb.c flush_icache_range(addr, addr + instruction_size(op)); op 93 arch/sh/kernel/perf_event.c unsigned long type, op, result; op 101 arch/sh/kernel/perf_event.c op = (config >> 8) & 0xff; op 105 arch/sh/kernel/perf_event.c op >= PERF_COUNT_HW_CACHE_OP_MAX || op 109 arch/sh/kernel/perf_event.c ev = (*sh_pmu->cache_events)[type][op][result]; op 58 arch/sh/kernel/sys_sh.c asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) op 62 arch/sh/kernel/sys_sh.c if ((op <= 0) || (op > (CACHEFLUSH_D_PURGE|CACHEFLUSH_I))) op 79 arch/sh/kernel/sys_sh.c switch (op & CACHEFLUSH_D_PURGE) { op 91 arch/sh/kernel/sys_sh.c if (op & CACHEFLUSH_I) op 65 arch/sh/math-emu/math.c #define BOTH_PRmn(op,x) \ op 66 arch/sh/math-emu/math.c FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); op 92 arch/sparc/crypto/camellia_glue.c ecb_crypt_op *op; op 96 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_ecb_crypt_3_grand_rounds; op 98 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_ecb_crypt_4_grand_rounds; op 118 arch/sparc/crypto/camellia_glue.c op(src64, dst64, block_len, key); op 155 arch/sparc/crypto/camellia_glue.c cbc_crypt_op *op; op 159 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_cbc_encrypt_3_grand_rounds; op 161 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_cbc_encrypt_4_grand_rounds; op 178 arch/sparc/crypto/camellia_glue.c op(src64, dst64, block_len, key, op 194 arch/sparc/crypto/camellia_glue.c cbc_crypt_op *op; op 198 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_cbc_decrypt_3_grand_rounds; op 200 arch/sparc/crypto/camellia_glue.c op = camellia_sparc64_cbc_decrypt_4_grand_rounds; op 217 arch/sparc/crypto/camellia_glue.c op(src64, dst64, block_len, key, op 24 arch/sparc/include/asm/atomic_64.h #define ATOMIC_OP(op) \ op 25 arch/sparc/include/asm/atomic_64.h void atomic_##op(int, atomic_t *); \ op 26 arch/sparc/include/asm/atomic_64.h void atomic64_##op(s64, atomic64_t *); op 28 arch/sparc/include/asm/atomic_64.h #define ATOMIC_OP_RETURN(op) \ op 29 arch/sparc/include/asm/atomic_64.h int atomic_##op##_return(int, atomic_t *); \ op 30 arch/sparc/include/asm/atomic_64.h s64 atomic64_##op##_return(s64, atomic64_t *); op 32 arch/sparc/include/asm/atomic_64.h #define ATOMIC_FETCH_OP(op) \ op 33 arch/sparc/include/asm/atomic_64.h int atomic_fetch_##op(int, atomic_t *); \ op 34 arch/sparc/include/asm/atomic_64.h s64 atomic64_fetch_##op(s64, atomic64_t *); op 36 arch/sparc/include/asm/atomic_64.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) op 42 arch/sparc/include/asm/atomic_64.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) op 17 arch/sparc/include/asm/device.h struct platform_device *op; op 277 arch/sparc/include/asm/floppy_32.h struct platform_device *op; op 324 arch/sparc/include/asm/floppy_32.h op = NULL; op 326 arch/sparc/include/asm/floppy_32.h op = of_find_device_by_node(dp); op 327 arch/sparc/include/asm/floppy_32.h if (op) op 330 arch/sparc/include/asm/floppy_32.h if (!op) { op 332 arch/sparc/include/asm/floppy_32.h op = of_find_device_by_node(dp); op 333 arch/sparc/include/asm/floppy_32.h if (op) op 337 arch/sparc/include/asm/floppy_32.h if (!op) op 340 arch/sparc/include/asm/floppy_32.h FLOPPY_IRQ = op->archdata.irqs[0]; op 547 arch/sparc/include/asm/floppy_64.h struct platform_device *op; op 555 arch/sparc/include/asm/floppy_64.h op = NULL; op 560 arch/sparc/include/asm/floppy_64.h op = of_find_device_by_node(dp); op 561 arch/sparc/include/asm/floppy_64.h if (op) op 564 arch/sparc/include/asm/floppy_64.h if (op) { op 565 arch/sparc/include/asm/floppy_64.h floppy_op = op; op 566 arch/sparc/include/asm/floppy_64.h FLOPPY_IRQ = op->archdata.irqs[0]; op 584 arch/sparc/include/asm/floppy_64.h op = of_find_device_by_node(dp); op 585 arch/sparc/include/asm/floppy_64.h if (!op) op 588 arch/sparc/include/asm/floppy_64.h state_prop = of_get_property(op->dev.of_node, "status", NULL); op 592 arch/sparc/include/asm/floppy_64.h FLOPPY_IRQ = op->archdata.irqs[0]; op 597 arch/sparc/include/asm/floppy_64.h auxio_reg = (void __iomem *) op->resource[2].start; op 600 arch/sparc/include/asm/floppy_64.h sun_floppy_dev = &op->dev; op 606 arch/sparc/include/asm/floppy_64.h op->resource[1].start; op 620 arch/sparc/include/asm/floppy_64.h sun_fdc = (struct sun_flpy_controller *) op->resource[0].start; op 715 arch/sparc/include/asm/floppy_64.h prop = of_get_property(op->dev.of_node, "status", NULL); op 726 arch/sparc/include/asm/floppy_64.h (op->resource[0].start + op 727 arch/sparc/include/asm/floppy_64.h ((op->resource[0].flags & 0x1ffUL) << 32UL)); op 33 arch/sparc/include/asm/futex_64.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 43 arch/sparc/include/asm/futex_64.h switch (op) { op 109 arch/sparc/include/asm/parport.h static int ecpp_probe(struct platform_device *op) op 111 arch/sparc/include/asm/parport.h unsigned long base = op->resource[0].start; op 112 arch/sparc/include/asm/parport.h unsigned long config = op->resource[1].start; op 113 arch/sparc/include/asm/parport.h unsigned long d_base = op->resource[2].start; op 119 arch/sparc/include/asm/parport.h parent = op->dev.of_node->parent; op 122 arch/sparc/include/asm/parport.h op->archdata.irqs[0], PARPORT_DMA_NOFIFO, op 123 arch/sparc/include/asm/parport.h op->dev.parent->parent, 0); op 126 arch/sparc/include/asm/parport.h dev_set_drvdata(&op->dev, p); op 140 arch/sparc/include/asm/parport.h d_len = (op->resource[2].end - d_base) + 1UL; op 142 arch/sparc/include/asm/parport.h of_ioremap(&op->resource[2], 0, d_len, "ECPP DMA"); op 172 arch/sparc/include/asm/parport.h op->archdata.irqs[0], op 174 arch/sparc/include/asm/parport.h op->dev.parent, op 180 arch/sparc/include/asm/parport.h dev_set_drvdata(&op->dev, p); op 189 arch/sparc/include/asm/parport.h of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len); op 198 arch/sparc/include/asm/parport.h static int ecpp_remove(struct platform_device *op) op 200 arch/sparc/include/asm/parport.h struct parport *p = dev_get_drvdata(&op->dev); op 206 arch/sparc/include/asm/parport.h unsigned long d_base = op->resource[2].start; op 209 arch/sparc/include/asm/parport.h d_len = (op->resource[2].end - d_base) + 1UL; op 213 arch/sparc/include/asm/parport.h of_iounmap(&op->resource[2], op 74 arch/sparc/kernel/apc.c static inline void apc_free(struct platform_device *op) op 76 arch/sparc/kernel/apc.c of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); op 143 arch/sparc/kernel/apc.c static int apc_probe(struct platform_device *op) op 147 arch/sparc/kernel/apc.c regs = of_ioremap(&op->resource[0], 0, op 148 arch/sparc/kernel/apc.c resource_size(&op->resource[0]), APC_OBPNAME); op 157 arch/sparc/kernel/apc.c apc_free(op); op 64 arch/sparc/kernel/central.c static int clock_board_probe(struct platform_device *op) op 74 arch/sparc/kernel/central.c p->clock_freq_regs = of_ioremap(&op->resource[0], 0, op 75 arch/sparc/kernel/central.c resource_size(&op->resource[0]), op 82 arch/sparc/kernel/central.c p->clock_regs = of_ioremap(&op->resource[1], 0, op 83 arch/sparc/kernel/central.c resource_size(&op->resource[1]), op 90 arch/sparc/kernel/central.c if (op->resource[2].flags) { op 91 arch/sparc/kernel/central.c p->clock_ver_reg = of_ioremap(&op->resource[2], 0, op 92 arch/sparc/kernel/central.c resource_size(&op->resource[2]), op 111 arch/sparc/kernel/central.c p->leds_pdev.dev.parent = &op->dev; op 129 arch/sparc/kernel/central.c of_iounmap(&op->resource[2], p->clock_ver_reg, op 130 arch/sparc/kernel/central.c resource_size(&op->resource[2])); op 133 arch/sparc/kernel/central.c of_iounmap(&op->resource[1], p->clock_regs, op 134 arch/sparc/kernel/central.c resource_size(&op->resource[1])); op 137 arch/sparc/kernel/central.c of_iounmap(&op->resource[0], p->clock_freq_regs, op 138 arch/sparc/kernel/central.c resource_size(&op->resource[0])); op 160 arch/sparc/kernel/central.c static int fhc_probe(struct platform_device *op) op 171 arch/sparc/kernel/central.c if (of_node_name_eq(op->dev.of_node->parent, "central")) op 174 arch/sparc/kernel/central.c p->pregs = of_ioremap(&op->resource[0], 0, op 175 arch/sparc/kernel/central.c resource_size(&op->resource[0]), op 186 arch/sparc/kernel/central.c p->board_num = of_getintprop_default(op->dev.of_node, "board#", -1); op 205 arch/sparc/kernel/central.c p->leds_pdev.dev.parent = &op->dev; op 242 arch/sparc/kernel/central.c of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); op 396 arch/sparc/kernel/chmc.c static int jbusmc_probe(struct platform_device *op) op 428 arch/sparc/kernel/chmc.c prop = of_get_property(op->dev.of_node, "portid", &len); op 436 arch/sparc/kernel/chmc.c prop = of_get_property(op->dev.of_node, "memory-control-register-1", &len); op 445 arch/sparc/kernel/chmc.c p->regs = of_ioremap(&op->resource[0], 0, JBUSMC_REGS_SIZE, "jbusmc"); op 452 arch/sparc/kernel/chmc.c ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); op 469 arch/sparc/kernel/chmc.c op->dev.of_node); op 471 arch/sparc/kernel/chmc.c dev_set_drvdata(&op->dev, p); op 479 arch/sparc/kernel/chmc.c of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); op 693 arch/sparc/kernel/chmc.c static int chmc_probe(struct platform_device *op) op 695 arch/sparc/kernel/chmc.c struct device_node *dp = op->dev.of_node; op 733 arch/sparc/kernel/chmc.c p->regs = of_ioremap(&op->resource[0], 0, 0x48, "chmc"); op 755 arch/sparc/kernel/chmc.c dev_set_drvdata(&op->dev, p); op 767 arch/sparc/kernel/chmc.c static int us3mc_probe(struct platform_device *op) op 770 arch/sparc/kernel/chmc.c return chmc_probe(op); op 772 arch/sparc/kernel/chmc.c return jbusmc_probe(op); op 776 arch/sparc/kernel/chmc.c static void chmc_destroy(struct platform_device *op, struct chmc *p) op 779 arch/sparc/kernel/chmc.c of_iounmap(&op->resource[0], p->regs, 0x48); op 783 arch/sparc/kernel/chmc.c static void jbusmc_destroy(struct platform_device *op, struct jbusmc *p) op 786 arch/sparc/kernel/chmc.c of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); op 790 arch/sparc/kernel/chmc.c static int us3mc_remove(struct platform_device *op) op 792 arch/sparc/kernel/chmc.c void *p = dev_get_drvdata(&op->dev); op 796 arch/sparc/kernel/chmc.c chmc_destroy(op, p); op 798 arch/sparc/kernel/chmc.c jbusmc_destroy(op, p); op 181 arch/sparc/kernel/entry.h unsigned long op); op 183 arch/sparc/kernel/entry.h unsigned long op); op 59 arch/sparc/kernel/irq.h unsigned int (*build_device_irq)(struct platform_device *op, op 242 arch/sparc/kernel/leon_kernel.c static unsigned int _leon_build_device_irq(struct platform_device *op, op 246 arch/sparc/kernel/of_device_32.c static void __init build_device_resources(struct platform_device *op, op 260 arch/sparc/kernel/of_device_32.c bus->count_cells(op->dev.of_node, &na, &ns); op 262 arch/sparc/kernel/of_device_32.c preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); op 272 arch/sparc/kernel/of_device_32.c op->resource = op->archdata.resource; op 273 arch/sparc/kernel/of_device_32.c op->num_resources = num_reg; op 275 arch/sparc/kernel/of_device_32.c struct resource *r = &op->resource[index]; op 278 arch/sparc/kernel/of_device_32.c struct device_node *dp = op->dev.of_node; op 328 arch/sparc/kernel/of_device_32.c op->dev.of_node, index, op 336 arch/sparc/kernel/of_device_32.c r->name = op->dev.of_node->full_name; op 343 arch/sparc/kernel/of_device_32.c struct platform_device *op = kzalloc(sizeof(*op), GFP_KERNEL); op 348 arch/sparc/kernel/of_device_32.c if (!op) op 351 arch/sparc/kernel/of_device_32.c sd = &op->dev.archdata; op 352 arch/sparc/kernel/of_device_32.c sd->op = op; op 354 arch/sparc/kernel/of_device_32.c op->dev.of_node = dp; op 358 arch/sparc/kernel/of_device_32.c op->archdata.num_irqs = len / sizeof(struct linux_prom_irqs); op 359 arch/sparc/kernel/of_device_32.c for (i = 0; i < op->archdata.num_irqs; i++) op 360 arch/sparc/kernel/of_device_32.c op->archdata.irqs[i] = op 361 arch/sparc/kernel/of_device_32.c sparc_config.build_device_irq(op, intr[i].pri); op 367 arch/sparc/kernel/of_device_32.c op->archdata.num_irqs = len / sizeof(unsigned int); op 368 arch/sparc/kernel/of_device_32.c for (i = 0; i < op->archdata.num_irqs; i++) op 369 arch/sparc/kernel/of_device_32.c op->archdata.irqs[i] = op 370 arch/sparc/kernel/of_device_32.c sparc_config.build_device_irq(op, irq[i]); op 372 arch/sparc/kernel/of_device_32.c op->archdata.num_irqs = 0; op 376 arch/sparc/kernel/of_device_32.c build_device_resources(op, parent); op 378 arch/sparc/kernel/of_device_32.c op->dev.parent = parent; op 379 arch/sparc/kernel/of_device_32.c op->dev.bus = &platform_bus_type; op 381 arch/sparc/kernel/of_device_32.c dev_set_name(&op->dev, "root"); op 383 arch/sparc/kernel/of_device_32.c dev_set_name(&op->dev, "%08x", dp->phandle); op 385 arch/sparc/kernel/of_device_32.c op->dev.coherent_dma_mask = DMA_BIT_MASK(32); op 386 arch/sparc/kernel/of_device_32.c op->dev.dma_mask = &op->dev.coherent_dma_mask; op 388 arch/sparc/kernel/of_device_32.c if (of_device_register(op)) { op 390 arch/sparc/kernel/of_device_32.c kfree(op); op 391 arch/sparc/kernel/of_device_32.c op = NULL; op 394 arch/sparc/kernel/of_device_32.c return op; op 400 arch/sparc/kernel/of_device_32.c struct platform_device *op = scan_one_device(dp, parent); op 402 arch/sparc/kernel/of_device_32.c if (op) op 403 arch/sparc/kernel/of_device_32.c scan_tree(dp->child, &op->dev); op 316 arch/sparc/kernel/of_device_64.c static void __init build_device_resources(struct platform_device *op, op 330 arch/sparc/kernel/of_device_64.c bus->count_cells(op->dev.of_node, &na, &ns); op 332 arch/sparc/kernel/of_device_64.c preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); op 346 arch/sparc/kernel/of_device_64.c op->dev.of_node, num_reg, PROMREG_MAX); op 350 arch/sparc/kernel/of_device_64.c op->resource = op->archdata.resource; op 351 arch/sparc/kernel/of_device_64.c op->num_resources = num_reg; op 353 arch/sparc/kernel/of_device_64.c struct resource *r = &op->resource[index]; op 356 arch/sparc/kernel/of_device_64.c struct device_node *dp = op->dev.of_node; op 405 arch/sparc/kernel/of_device_64.c op->dev.of_node, index, op 416 arch/sparc/kernel/of_device_64.c r->name = op->dev.of_node->full_name; op 534 arch/sparc/kernel/of_device_64.c static unsigned int __init build_one_device_irq(struct platform_device *op, op 538 arch/sparc/kernel/of_device_64.c struct device_node *dp = op->dev.of_node; op 583 arch/sparc/kernel/of_device_64.c op->dev.of_node, op 601 arch/sparc/kernel/of_device_64.c op->dev.of_node, op 618 arch/sparc/kernel/of_device_64.c irq = ip->irq_trans->irq_build(op->dev.of_node, irq, op 622 arch/sparc/kernel/of_device_64.c op->dev.of_node, ip, orig_irq, irq); op 639 arch/sparc/kernel/of_device_64.c struct platform_device *op = kzalloc(sizeof(*op), GFP_KERNEL); op 644 arch/sparc/kernel/of_device_64.c if (!op) op 647 arch/sparc/kernel/of_device_64.c sd = &op->dev.archdata; op 648 arch/sparc/kernel/of_device_64.c sd->op = op; op 650 arch/sparc/kernel/of_device_64.c op->dev.of_node = dp; op 654 arch/sparc/kernel/of_device_64.c op->archdata.num_irqs = len / 4; op 657 arch/sparc/kernel/of_device_64.c if (op->archdata.num_irqs > PROMINTR_MAX) { op 660 arch/sparc/kernel/of_device_64.c dp, op->archdata.num_irqs, PROMINTR_MAX); op 661 arch/sparc/kernel/of_device_64.c op->archdata.num_irqs = PROMINTR_MAX; op 663 arch/sparc/kernel/of_device_64.c memcpy(op->archdata.irqs, irq, op->archdata.num_irqs * 4); op 665 arch/sparc/kernel/of_device_64.c op->archdata.num_irqs = 0; op 668 arch/sparc/kernel/of_device_64.c build_device_resources(op, parent); op 669 arch/sparc/kernel/of_device_64.c for (i = 0; i < op->archdata.num_irqs; i++) op 670 arch/sparc/kernel/of_device_64.c op->archdata.irqs[i] = build_one_device_irq(op, parent, op->archdata.irqs[i]); op 672 arch/sparc/kernel/of_device_64.c op->dev.parent = parent; op 673 arch/sparc/kernel/of_device_64.c op->dev.bus = &platform_bus_type; op 675 arch/sparc/kernel/of_device_64.c dev_set_name(&op->dev, "root"); op 677 arch/sparc/kernel/of_device_64.c dev_set_name(&op->dev, "%08x", dp->phandle); op 678 arch/sparc/kernel/of_device_64.c op->dev.coherent_dma_mask = DMA_BIT_MASK(32); op 679 arch/sparc/kernel/of_device_64.c op->dev.dma_mask = &op->dev.coherent_dma_mask; op 681 arch/sparc/kernel/of_device_64.c if (of_device_register(op)) { op 683 arch/sparc/kernel/of_device_64.c kfree(op); op 684 arch/sparc/kernel/of_device_64.c op = NULL; op 687 arch/sparc/kernel/of_device_64.c return op; op 693 arch/sparc/kernel/of_device_64.c struct platform_device *op = scan_one_device(dp, parent); op 695 arch/sparc/kernel/of_device_64.c if (op) op 696 arch/sparc/kernel/of_device_64.c scan_tree(dp->child, &op->dev); op 18 arch/sparc/kernel/of_device_common.c struct platform_device *op = of_find_device_by_node(node); op 20 arch/sparc/kernel/of_device_common.c if (!op || index >= op->archdata.num_irqs) op 23 arch/sparc/kernel/of_device_common.c return op->archdata.irqs[index]; op 30 arch/sparc/kernel/of_device_common.c struct platform_device *op = of_find_device_by_node(node); op 32 arch/sparc/kernel/of_device_common.c if (!op || index >= op->num_resources) op 35 arch/sparc/kernel/of_device_common.c memcpy(r, &op->archdata.resource[index], sizeof(*r)); op 42 arch/sparc/kernel/of_device_common.c struct platform_device *op = of_find_device_by_node(node); op 45 arch/sparc/kernel/of_device_common.c if (!op || index >= op->num_resources) op 48 arch/sparc/kernel/of_device_common.c r = &op->archdata.resource[index]; op 64 arch/sparc/kernel/of_device_common.c struct platform_device *op = of_find_device_by_node(dp); op 66 arch/sparc/kernel/of_device_common.c op->dev.archdata.iommu = bus_sd->iommu; op 67 arch/sparc/kernel/of_device_common.c op->dev.archdata.stc = bus_sd->stc; op 68 arch/sparc/kernel/of_device_common.c op->dev.archdata.host_controller = bus_sd->host_controller; op 69 arch/sparc/kernel/of_device_common.c op->dev.archdata.numa_node = bus_sd->numa_node; op 72 arch/sparc/kernel/of_device_common.c of_propagate_archdata(op); op 205 arch/sparc/kernel/pci.c static void pci_parse_of_addrs(struct platform_device *op, op 219 arch/sparc/kernel/pci.c op_res = &op->resource[0]; op 253 arch/sparc/kernel/pci.c struct platform_device *op, op 259 arch/sparc/kernel/pci.c sd->op = op; op 268 arch/sparc/kernel/pci.c struct platform_device *op; op 276 arch/sparc/kernel/pci.c op = of_find_device_by_node(node); op 278 arch/sparc/kernel/pci.c pci_init_dev_archdata(sd, pbm->iommu, &pbm->stc, pbm, op, op 280 arch/sparc/kernel/pci.c sd = &op->dev.archdata; op 286 arch/sparc/kernel/pci.c of_propagate_archdata(op); op 344 arch/sparc/kernel/pci.c dev->irq = sd->op->archdata.irqs[0]; op 352 arch/sparc/kernel/pci.c pci_parse_of_addrs(sd->op, node, dev); op 693 arch/sparc/kernel/pci.c struct device_node *node = pbm->op->dev.of_node; op 1143 arch/sparc/kernel/pci.c node = pbm->op->dev.of_node; op 320 arch/sparc/kernel/pci_common.c const u32 *val = of_get_property(pbm->op->dev.of_node, "bus-range", NULL); op 325 arch/sparc/kernel/pci_common.c val = of_get_property(pbm->op->dev.of_node, "ino-bitmap", NULL); op 334 arch/sparc/kernel/pci_common.c const u32 *vdma = of_get_property(pbm->op->dev.of_node, "virtual-dma", op 366 arch/sparc/kernel/pci_common.c pbm_ranges = of_get_property(pbm->op->dev.of_node, "ranges", &i); op 414 arch/sparc/kernel/pci_fire.c struct platform_device *op, u32 portid) op 417 arch/sparc/kernel/pci_fire.c struct device_node *dp = op->dev.of_node; op 428 arch/sparc/kernel/pci_fire.c pbm->op = op; op 449 arch/sparc/kernel/pci_fire.c pbm->pci_bus = pci_scan_one_pbm(pbm, &op->dev); op 459 arch/sparc/kernel/pci_fire.c static int fire_probe(struct platform_device *op) op 461 arch/sparc/kernel/pci_fire.c struct device_node *dp = op->dev.of_node; op 484 arch/sparc/kernel/pci_fire.c err = pci_fire_pbm_init(pbm, op, portid); op 488 arch/sparc/kernel/pci_fire.c dev_set_drvdata(&op->dev, pbm); op 95 arch/sparc/kernel/pci_impl.h struct platform_device *op; op 326 arch/sparc/kernel/pci_msi.c val = of_get_property(pbm->op->dev.of_node, "#msi-eqs", &len); op 349 arch/sparc/kernel/pci_msi.c val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); op 355 arch/sparc/kernel/pci_msi.c mqp = of_get_property(pbm->op->dev.of_node, op 358 arch/sparc/kernel/pci_msi.c mqp = of_get_property(pbm->op->dev.of_node, op 366 arch/sparc/kernel/pci_msi.c val = of_get_property(pbm->op->dev.of_node, "#msi", &len); op 371 arch/sparc/kernel/pci_msi.c mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); op 376 arch/sparc/kernel/pci_msi.c val = of_get_property(pbm->op->dev.of_node, "msi-data-mask", &len); op 381 arch/sparc/kernel/pci_msi.c val = of_get_property(pbm->op->dev.of_node, "msix-data-width", &len); op 386 arch/sparc/kernel/pci_msi.c arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", op 290 arch/sparc/kernel/pci_psycho.c struct platform_device *op = of_find_device_by_node(pbm->op->dev.of_node); op 295 arch/sparc/kernel/pci_psycho.c if (!op) op 307 arch/sparc/kernel/pci_psycho.c if (op->archdata.num_irqs < 6) op 314 arch/sparc/kernel/pci_psycho.c err = request_irq(op->archdata.irqs[1], psycho_ue_intr, IRQF_SHARED, op 316 arch/sparc/kernel/pci_psycho.c err = request_irq(op->archdata.irqs[2], psycho_ce_intr, IRQF_SHARED, op 323 arch/sparc/kernel/pci_psycho.c err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, IRQF_SHARED, op 488 arch/sparc/kernel/pci_psycho.c struct platform_device *op, int is_pbm_a) op 490 arch/sparc/kernel/pci_psycho.c psycho_pbm_init_common(pbm, op, "PSYCHO", PBM_CHIP_TYPE_PSYCHO); op 492 arch/sparc/kernel/pci_psycho.c psycho_scan_bus(pbm, &op->dev); op 508 arch/sparc/kernel/pci_psycho.c static int psycho_probe(struct platform_device *op) op 511 arch/sparc/kernel/pci_psycho.c struct device_node *dp = op->dev.of_node; op 574 arch/sparc/kernel/pci_psycho.c psycho_pbm_init(pbm, op, is_pbm_a); op 582 arch/sparc/kernel/pci_psycho.c dev_set_drvdata(&op->dev, pbm); op 315 arch/sparc/kernel/pci_sabre.c struct device_node *dp = pbm->op->dev.of_node; op 316 arch/sparc/kernel/pci_sabre.c struct platform_device *op; op 324 arch/sparc/kernel/pci_sabre.c op = of_find_device_by_node(dp); op 325 arch/sparc/kernel/pci_sabre.c if (!op) op 334 arch/sparc/kernel/pci_sabre.c if (op->archdata.num_irqs < 4) op 346 arch/sparc/kernel/pci_sabre.c err = request_irq(op->archdata.irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); op 356 arch/sparc/kernel/pci_sabre.c err = request_irq(op->archdata.irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); op 360 arch/sparc/kernel/pci_sabre.c err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, 0, op 447 arch/sparc/kernel/pci_sabre.c struct platform_device *op) op 449 arch/sparc/kernel/pci_sabre.c psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); op 453 arch/sparc/kernel/pci_sabre.c sabre_scan_bus(pbm, &op->dev); op 457 arch/sparc/kernel/pci_sabre.c static int sabre_probe(struct platform_device *op) op 461 arch/sparc/kernel/pci_sabre.c struct device_node *dp = op->dev.of_node; op 469 arch/sparc/kernel/pci_sabre.c match = of_match_device(sabre_match, &op->dev); op 569 arch/sparc/kernel/pci_sabre.c sabre_pbm_init(pbm, op); op 574 arch/sparc/kernel/pci_sabre.c dev_set_drvdata(&op->dev, pbm); op 850 arch/sparc/kernel/pci_schizo.c struct platform_device *op = of_find_device_by_node(pbm->op->dev.of_node); op 863 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, op 870 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, op 878 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, op 881 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, op 889 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, op 945 arch/sparc/kernel/pci_schizo.c struct platform_device *op = of_find_device_by_node(pbm->op->dev.of_node); op 958 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[1], schizo_ue_intr, 0, op 965 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[2], schizo_ce_intr, 0, op 973 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, op 976 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[0], schizo_pcierr_intr, 0, op 984 arch/sparc/kernel/pci_schizo.c err = request_irq(op->archdata.irqs[3], schizo_safarierr_intr, 0, op 1073 arch/sparc/kernel/pci_schizo.c (of_find_property(pbm->op->dev.of_node, "66mhz-capable", NULL) op 1143 arch/sparc/kernel/pci_schizo.c vdma = of_get_property(pbm->op->dev.of_node, "virtual-dma", NULL); op 1273 arch/sparc/kernel/pci_schizo.c if (!of_find_property(pbm->op->dev.of_node, "no-bus-parking", NULL)) op 1312 arch/sparc/kernel/pci_schizo.c struct platform_device *op, u32 portid, op 1316 arch/sparc/kernel/pci_schizo.c struct device_node *dp = op->dev.of_node; op 1359 arch/sparc/kernel/pci_schizo.c pbm->op = op; op 1389 arch/sparc/kernel/pci_schizo.c schizo_scan_bus(pbm, &op->dev); op 1415 arch/sparc/kernel/pci_schizo.c static int __schizo_init(struct platform_device *op, unsigned long chip_type) op 1417 arch/sparc/kernel/pci_schizo.c struct device_node *dp = op->dev.of_node; op 1442 arch/sparc/kernel/pci_schizo.c if (schizo_pbm_init(pbm, op, portid, chip_type)) op 1448 arch/sparc/kernel/pci_schizo.c dev_set_drvdata(&op->dev, pbm); op 1463 arch/sparc/kernel/pci_schizo.c static int schizo_probe(struct platform_device *op) op 1467 arch/sparc/kernel/pci_schizo.c match = of_match_device(schizo_match, &op->dev); op 1470 arch/sparc/kernel/pci_schizo.c return __schizo_init(op, (unsigned long)match->data); op 702 arch/sparc/kernel/pci_sun4v.c dp = pbm->op->dev.of_node; op 812 arch/sparc/kernel/pci_sun4v.c ranges = of_get_property(pbm->op->dev.of_node, "iommu-address-ranges", op 819 arch/sparc/kernel/pci_sun4v.c page_size = of_get_property(pbm->op->dev.of_node, "iommu-pagesizes", op 875 arch/sparc/kernel/pci_sun4v.c vdma = of_get_property(pbm->op->dev.of_node, "virtual-dma", NULL); op 1171 arch/sparc/kernel/pci_sun4v.c struct platform_device *op, u32 devhandle) op 1173 arch/sparc/kernel/pci_sun4v.c struct device_node *dp = op->dev.of_node; op 1183 arch/sparc/kernel/pci_sun4v.c pbm->op = op; op 1202 arch/sparc/kernel/pci_sun4v.c pci_sun4v_scan_bus(pbm, &op->dev); op 1222 arch/sparc/kernel/pci_sun4v.c static int pci_sun4v_probe(struct platform_device *op) op 1234 arch/sparc/kernel/pci_sun4v.c dp = op->dev.of_node; op 1311 arch/sparc/kernel/pci_sun4v.c err = pci_sun4v_pbm_init(pbm, op, devhandle); op 1315 arch/sparc/kernel/pci_sun4v.c dev_set_drvdata(&op->dev, pbm); op 171 arch/sparc/kernel/pcic.c unsigned int pcic_build_device_irq(struct platform_device *op, op 805 arch/sparc/kernel/pcic.c unsigned int pcic_build_device_irq(struct platform_device *op, op 57 arch/sparc/kernel/pmc.c static int pmc_probe(struct platform_device *op) op 59 arch/sparc/kernel/pmc.c regs = of_ioremap(&op->resource[0], 0, op 60 arch/sparc/kernel/pmc.c resource_size(&op->resource[0]), PMC_OBPNAME); op 37 arch/sparc/kernel/power.c static int power_probe(struct platform_device *op) op 39 arch/sparc/kernel/power.c struct resource *res = &op->resource[0]; op 40 arch/sparc/kernel/power.c unsigned int irq = op->archdata.irqs[0]; op 45 arch/sparc/kernel/power.c op->dev.of_node, res->start); op 47 arch/sparc/kernel/power.c if (has_button_interrupt(irq, op->dev.of_node)) { op 452 arch/sparc/kernel/psycho_common.c void psycho_pbm_init_common(struct pci_pbm_info *pbm, struct platform_device *op, op 455 arch/sparc/kernel/psycho_common.c struct device_node *dp = op->dev.of_node; op 462 arch/sparc/kernel/psycho_common.c pbm->op = op; op 46 arch/sparc/kernel/psycho_common.h struct platform_device *op, op 63 arch/sparc/kernel/sbus.c struct platform_device *op = to_platform_device(dev); op 69 arch/sparc/kernel/sbus.c regs = of_get_property(op->dev.of_node, "reg", NULL); op 72 arch/sparc/kernel/sbus.c op->dev.of_node); op 210 arch/sparc/kernel/sbus.c static unsigned int sbus_build_irq(struct platform_device *op, unsigned int ino) op 212 arch/sparc/kernel/sbus.c struct iommu *iommu = op->dev.archdata.iommu; op 273 arch/sparc/kernel/sbus.c struct platform_device *op = dev_id; op 274 arch/sparc/kernel/sbus.c struct iommu *iommu = op->dev.archdata.iommu; op 293 arch/sparc/kernel/sbus.c portid = of_getintprop_default(op->dev.of_node, "portid", -1); op 347 arch/sparc/kernel/sbus.c struct platform_device *op = dev_id; op 348 arch/sparc/kernel/sbus.c struct iommu *iommu = op->dev.archdata.iommu; op 367 arch/sparc/kernel/sbus.c portid = of_getintprop_default(op->dev.of_node, "portid", -1); op 426 arch/sparc/kernel/sbus.c struct platform_device *op = dev_id; op 427 arch/sparc/kernel/sbus.c struct iommu *iommu = op->dev.archdata.iommu; op 445 arch/sparc/kernel/sbus.c portid = of_getintprop_default(op->dev.of_node, "portid", -1); op 494 arch/sparc/kernel/sbus.c static void __init sysio_register_error_handlers(struct platform_device *op) op 496 arch/sparc/kernel/sbus.c struct iommu *iommu = op->dev.archdata.iommu; op 502 arch/sparc/kernel/sbus.c portid = of_getintprop_default(op->dev.of_node, "portid", -1); op 504 arch/sparc/kernel/sbus.c irq = sbus_build_irq(op, SYSIO_UE_INO); op 506 arch/sparc/kernel/sbus.c "SYSIO_UE", op) < 0) { op 512 arch/sparc/kernel/sbus.c irq = sbus_build_irq(op, SYSIO_CE_INO); op 514 arch/sparc/kernel/sbus.c "SYSIO_CE", op) < 0) { op 520 arch/sparc/kernel/sbus.c irq = sbus_build_irq(op, SYSIO_SBUSERR_INO); op 522 arch/sparc/kernel/sbus.c "SYSIO_SBERR", op) < 0) { op 540 arch/sparc/kernel/sbus.c static void __init sbus_iommu_init(struct platform_device *op) op 543 arch/sparc/kernel/sbus.c struct device_node *dp = op->dev.of_node; op 563 arch/sparc/kernel/sbus.c op->dev.archdata.iommu = iommu; op 564 arch/sparc/kernel/sbus.c op->dev.archdata.stc = strbuf; op 565 arch/sparc/kernel/sbus.c op->dev.archdata.numa_node = NUMA_NO_NODE; op 593 arch/sparc/kernel/sbus.c portid = of_getintprop_default(op->dev.of_node, "portid", -1); op 655 arch/sparc/kernel/sbus.c sysio_register_error_handlers(op); op 669 arch/sparc/kernel/sbus.c struct platform_device *op = of_find_device_by_node(dp); op 671 arch/sparc/kernel/sbus.c sbus_iommu_init(op); op 672 arch/sparc/kernel/sbus.c of_propagate_archdata(op); op 324 arch/sparc/kernel/sun4d_irq.c static unsigned int sun4d_build_device_irq(struct platform_device *op, op 327 arch/sparc/kernel/sun4d_irq.c struct device_node *dp = op->dev.of_node; op 251 arch/sparc/kernel/sun4m_irq.c static unsigned int sun4m_build_device_irq(struct platform_device *op, op 271 arch/sparc/kernel/time_32.c static int clock_probe(struct platform_device *op) op 273 arch/sparc/kernel/time_32.c struct device_node *dp = op->dev.of_node; op 283 arch/sparc/kernel/time_32.c m48t59_rtc.resource = &op->resource[0]; op 286 arch/sparc/kernel/time_32.c m48t59_data.ioaddr = of_ioremap(&op->resource[0], 0, op 290 arch/sparc/kernel/time_32.c m48t59_data.ioaddr = of_ioremap(&op->resource[0], 0, op 444 arch/sparc/kernel/time_64.c static int rtc_probe(struct platform_device *op) op 449 arch/sparc/kernel/time_64.c op->dev.of_node, op->resource[0].start); op 459 arch/sparc/kernel/time_64.c r->name = op->resource[0].name; op 460 arch/sparc/kernel/time_64.c r->start = op->resource[0].start; op 461 arch/sparc/kernel/time_64.c r->end = op->resource[0].end; op 463 arch/sparc/kernel/time_64.c cmos_regs = op->resource[0].start; op 501 arch/sparc/kernel/time_64.c static int bq4802_probe(struct platform_device *op) op 505 arch/sparc/kernel/time_64.c op->dev.of_node, op->resource[0].start); op 507 arch/sparc/kernel/time_64.c rtc_bq4802_device.resource = &op->resource[0]; op 557 arch/sparc/kernel/time_64.c static int mostek_probe(struct platform_device *op) op 559 arch/sparc/kernel/time_64.c struct device_node *dp = op->dev.of_node; op 569 arch/sparc/kernel/time_64.c dp, op->resource[0].start); op 571 arch/sparc/kernel/time_64.c m48t59_rtc.resource = &op->resource[0]; op 2306 arch/sparc/kernel/traps_64.c void hypervisor_tlbop_error(unsigned long err, unsigned long op) op 2309 arch/sparc/kernel/traps_64.c err, op); op 2312 arch/sparc/kernel/traps_64.c void hypervisor_tlbop_error_xcall(unsigned long err, unsigned long op) op 2315 arch/sparc/kernel/traps_64.c err, op); op 59 arch/sparc/kernel/uprobes.c u32 op = (insn >> 30) & 0x3; op 62 arch/sparc/kernel/uprobes.c if (op == 0 && op 31 arch/sparc/lib/atomic32.c #define ATOMIC_FETCH_OP(op, c_op) \ op 32 arch/sparc/lib/atomic32.c int atomic_fetch_##op(int i, atomic_t *v) \ op 44 arch/sparc/lib/atomic32.c EXPORT_SYMBOL(atomic_fetch_##op); op 46 arch/sparc/lib/atomic32.c #define ATOMIC_OP_RETURN(op, c_op) \ op 47 arch/sparc/lib/atomic32.c int atomic_##op##_return(int i, atomic_t *v) \ op 58 arch/sparc/lib/atomic32.c EXPORT_SYMBOL(atomic_##op##_return); op 41 arch/sparc/mm/io-unit.c static void __init iounit_iommu_init(struct platform_device *op) op 60 arch/sparc/mm/io-unit.c xpt = of_ioremap(&op->resource[2], 0, PAGE_SIZE * 16, "XPT"); op 66 arch/sparc/mm/io-unit.c op->dev.archdata.iommu = iounit; op 81 arch/sparc/mm/io-unit.c struct platform_device *op = of_find_device_by_node(dp); op 83 arch/sparc/mm/io-unit.c iounit_iommu_init(op); op 84 arch/sparc/mm/io-unit.c of_propagate_archdata(op); op 57 arch/sparc/mm/iommu.c static void __init sbus_iommu_init(struct platform_device *op) op 72 arch/sparc/mm/iommu.c iommu->regs = of_ioremap(&op->resource[0], 0, PAGE_SIZE * 3, op 131 arch/sparc/mm/iommu.c op->dev.archdata.iommu = iommu; op 139 arch/sparc/mm/iommu.c struct platform_device *op = of_find_device_by_node(dp); op 141 arch/sparc/mm/iommu.c sbus_iommu_init(op); op 142 arch/sparc/mm/iommu.c of_propagate_archdata(op); op 614 arch/um/drivers/mconsole_kern.c char *op = arg; op 615 arch/um/drivers/mconsole_kern.c handle_sysrq(*op); op 31 arch/um/include/asm/processor-generic.h int op; op 60 arch/um/kernel/skas/uaccess.c int (*op)(unsigned long addr, int len, void *arg), void *arg) op 79 arch/um/kernel/skas/uaccess.c n = (*op)(addr, len, arg); op 91 arch/um/kernel/skas/uaccess.c int (*op)(unsigned long, int, void *), void *arg) op 98 arch/um/kernel/skas/uaccess.c n = do_op_one_page(addr, size, is_write, op, arg); op 110 arch/um/kernel/skas/uaccess.c n = do_op_one_page(addr, PAGE_SIZE, is_write, op, arg); op 122 arch/um/kernel/skas/uaccess.c n = do_op_one_page(addr, remain, is_write, op, arg); op 66 arch/um/kernel/tlb.c struct host_vm_op *op; op 70 arch/um/kernel/tlb.c op = &hvc->ops[i]; op 71 arch/um/kernel/tlb.c switch (op->type) { op 74 arch/um/kernel/tlb.c ret = map(&hvc->mm->context.id, op->u.mmap.addr, op 75 arch/um/kernel/tlb.c op->u.mmap.len, op->u.mmap.prot, op 76 arch/um/kernel/tlb.c op->u.mmap.fd, op 77 arch/um/kernel/tlb.c op->u.mmap.offset, finished, op 80 arch/um/kernel/tlb.c map_memory(op->u.mmap.addr, op->u.mmap.offset, op 81 arch/um/kernel/tlb.c op->u.mmap.len, 1, 1, 1); op 86 arch/um/kernel/tlb.c op->u.munmap.addr, op 87 arch/um/kernel/tlb.c op->u.munmap.len, finished, op 91 arch/um/kernel/tlb.c (void *) op->u.munmap.addr, op 92 arch/um/kernel/tlb.c op->u.munmap.len); op 98 arch/um/kernel/tlb.c op->u.mprotect.addr, op 99 arch/um/kernel/tlb.c op->u.mprotect.len, op 100 arch/um/kernel/tlb.c op->u.mprotect.prot, op 104 arch/um/kernel/tlb.c (void *) op->u.mprotect.addr, op 105 arch/um/kernel/tlb.c op->u.mprotect.len, op 110 arch/um/kernel/tlb.c op->type); op 36 arch/um/os-Linux/drivers/ethertap_user.c static void etap_change(int op, unsigned char *addr, unsigned char *netmask, op 43 arch/um/os-Linux/drivers/ethertap_user.c change.what = op; op 336 arch/um/os-Linux/skas/process.c int err, status, op, pid = userspace_pid[0]; op 369 arch/um/os-Linux/skas/process.c op = SELECT_PTRACE_OPERATION(local_using_sysemu, op 372 arch/um/os-Linux/skas/process.c if (ptrace(op, pid, 0, 0)) { op 374 arch/um/os-Linux/skas/process.c "failed, op = %d, errno = %d\n", op, errno); op 182 arch/unicore32/include/asm/pgtable.h #define PTE_BIT_FUNC(fn, op) \ op 183 arch/unicore32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } op 42 arch/x86/include/asm/cmpxchg.h #define __xchg_op(ptr, arg, op, lock) \ op 47 arch/x86/include/asm/cmpxchg.h asm volatile (lock #op "b %b0, %1\n" \ op 52 arch/x86/include/asm/cmpxchg.h asm volatile (lock #op "w %w0, %1\n" \ op 57 arch/x86/include/asm/cmpxchg.h asm volatile (lock #op "l %0, %1\n" \ op 62 arch/x86/include/asm/cmpxchg.h asm volatile (lock #op "q %q0, %1\n" \ op 67 arch/x86/include/asm/cmpxchg.h __ ## op ## _wrong_size(); \ op 213 arch/x86/include/asm/fpu/internal.h #define XSTATE_OP(op, st, lmask, hmask, err) \ op 214 arch/x86/include/asm/fpu/internal.h asm volatile("1:" op "\n\t" \ op 45 arch/x86/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 52 arch/x86/include/asm/futex.h switch (op) { op 341 arch/x86/include/asm/paravirt_types.h #define paravirt_type(op) \ op 342 arch/x86/include/asm/paravirt_types.h [paravirt_typenum] "i" (PARAVIRT_PATCH(op)), \ op 343 arch/x86/include/asm/paravirt_types.h [paravirt_opptr] "i" (&(pv_ops.op)) op 496 arch/x86/include/asm/paravirt_types.h #define PVOP_TEST_NULL(op) BUG_ON(pv_ops.op == NULL) op 498 arch/x86/include/asm/paravirt_types.h #define PVOP_TEST_NULL(op) ((void)pv_ops.op) op 513 arch/x86/include/asm/paravirt_types.h #define ____PVOP_CALL(rettype, op, clbr, call_clbr, extra_clbr, \ op 518 arch/x86/include/asm/paravirt_types.h PVOP_TEST_NULL(op); \ op 526 arch/x86/include/asm/paravirt_types.h : paravirt_type(op), \ op 536 arch/x86/include/asm/paravirt_types.h : paravirt_type(op), \ op 545 arch/x86/include/asm/paravirt_types.h #define __PVOP_CALL(rettype, op, pre, post, ...) \ op 546 arch/x86/include/asm/paravirt_types.h ____PVOP_CALL(rettype, op, CLBR_ANY, PVOP_CALL_CLOBBERS, \ op 549 arch/x86/include/asm/paravirt_types.h #define __PVOP_CALLEESAVE(rettype, op, pre, post, ...) \ op 550 arch/x86/include/asm/paravirt_types.h ____PVOP_CALL(rettype, op.func, CLBR_RET_REG, \ op 555 arch/x86/include/asm/paravirt_types.h #define ____PVOP_VCALL(op, clbr, call_clbr, extra_clbr, pre, post, ...) \ op 558 arch/x86/include/asm/paravirt_types.h PVOP_TEST_NULL(op); \ op 563 arch/x86/include/asm/paravirt_types.h : paravirt_type(op), \ op 569 arch/x86/include/asm/paravirt_types.h #define __PVOP_VCALL(op, pre, post, ...) \ op 570 arch/x86/include/asm/paravirt_types.h ____PVOP_VCALL(op, CLBR_ANY, PVOP_VCALL_CLOBBERS, \ op 574 arch/x86/include/asm/paravirt_types.h #define __PVOP_VCALLEESAVE(op, pre, post, ...) \ op 575 arch/x86/include/asm/paravirt_types.h ____PVOP_VCALL(op.func, CLBR_RET_REG, \ op 581 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL0(rettype, op) \ op 582 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, "", "") op 583 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL0(op) \ op 584 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, "", "") op 586 arch/x86/include/asm/paravirt_types.h #define PVOP_CALLEE0(rettype, op) \ op 587 arch/x86/include/asm/paravirt_types.h __PVOP_CALLEESAVE(rettype, op, "", "") op 588 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALLEE0(op) \ op 589 arch/x86/include/asm/paravirt_types.h __PVOP_VCALLEESAVE(op, "", "") op 592 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL1(rettype, op, arg1) \ op 593 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, "", "", PVOP_CALL_ARG1(arg1)) op 594 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL1(op, arg1) \ op 595 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, "", "", PVOP_CALL_ARG1(arg1)) op 597 arch/x86/include/asm/paravirt_types.h #define PVOP_CALLEE1(rettype, op, arg1) \ op 598 arch/x86/include/asm/paravirt_types.h __PVOP_CALLEESAVE(rettype, op, "", "", PVOP_CALL_ARG1(arg1)) op 599 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALLEE1(op, arg1) \ op 600 arch/x86/include/asm/paravirt_types.h __PVOP_VCALLEESAVE(op, "", "", PVOP_CALL_ARG1(arg1)) op 603 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL2(rettype, op, arg1, arg2) \ op 604 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, "", "", PVOP_CALL_ARG1(arg1), \ op 606 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL2(op, arg1, arg2) \ op 607 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, "", "", PVOP_CALL_ARG1(arg1), \ op 610 arch/x86/include/asm/paravirt_types.h #define PVOP_CALLEE2(rettype, op, arg1, arg2) \ op 611 arch/x86/include/asm/paravirt_types.h __PVOP_CALLEESAVE(rettype, op, "", "", PVOP_CALL_ARG1(arg1), \ op 613 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALLEE2(op, arg1, arg2) \ op 614 arch/x86/include/asm/paravirt_types.h __PVOP_VCALLEESAVE(op, "", "", PVOP_CALL_ARG1(arg1), \ op 618 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL3(rettype, op, arg1, arg2, arg3) \ op 619 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, "", "", PVOP_CALL_ARG1(arg1), \ op 621 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL3(op, arg1, arg2, arg3) \ op 622 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, "", "", PVOP_CALL_ARG1(arg1), \ op 627 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL4(rettype, op, arg1, arg2, arg3, arg4) \ op 628 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, \ op 632 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL4(op, arg1, arg2, arg3, arg4) \ op 633 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, \ op 638 arch/x86/include/asm/paravirt_types.h #define PVOP_CALL4(rettype, op, arg1, arg2, arg3, arg4) \ op 639 arch/x86/include/asm/paravirt_types.h __PVOP_CALL(rettype, op, "", "", \ op 642 arch/x86/include/asm/paravirt_types.h #define PVOP_VCALL4(op, arg1, arg2, arg3, arg4) \ op 643 arch/x86/include/asm/paravirt_types.h __PVOP_VCALL(op, "", "", \ op 90 arch/x86/include/asm/percpu.h #define percpu_to_op(qual, op, var, val) \ op 100 arch/x86/include/asm/percpu.h asm qual (op "b %1,"__percpu_arg(0) \ op 105 arch/x86/include/asm/percpu.h asm qual (op "w %1,"__percpu_arg(0) \ op 110 arch/x86/include/asm/percpu.h asm qual (op "l %1,"__percpu_arg(0) \ op 115 arch/x86/include/asm/percpu.h asm qual (op "q %1,"__percpu_arg(0) \ op 183 arch/x86/include/asm/percpu.h #define percpu_from_op(qual, op, var) \ op 188 arch/x86/include/asm/percpu.h asm qual (op "b "__percpu_arg(1)",%0" \ op 193 arch/x86/include/asm/percpu.h asm qual (op "w "__percpu_arg(1)",%0" \ op 198 arch/x86/include/asm/percpu.h asm qual (op "l "__percpu_arg(1)",%0" \ op 203 arch/x86/include/asm/percpu.h asm qual (op "q "__percpu_arg(1)",%0" \ op 212 arch/x86/include/asm/percpu.h #define percpu_stable_op(op, var) \ op 217 arch/x86/include/asm/percpu.h asm(op "b "__percpu_arg(P1)",%0" \ op 222 arch/x86/include/asm/percpu.h asm(op "w "__percpu_arg(P1)",%0" \ op 227 arch/x86/include/asm/percpu.h asm(op "l "__percpu_arg(P1)",%0" \ op 232 arch/x86/include/asm/percpu.h asm(op "q "__percpu_arg(P1)",%0" \ op 241 arch/x86/include/asm/percpu.h #define percpu_unary_op(qual, op, var) \ op 245 arch/x86/include/asm/percpu.h asm qual (op "b "__percpu_arg(0) \ op 249 arch/x86/include/asm/percpu.h asm qual (op "w "__percpu_arg(0) \ op 253 arch/x86/include/asm/percpu.h asm qual (op "l "__percpu_arg(0) \ op 257 arch/x86/include/asm/percpu.h asm qual (op "q "__percpu_arg(0) \ op 211 arch/x86/include/asm/processor.h static inline unsigned int native_cpuid_##reg(unsigned int op) \ op 213 arch/x86/include/asm/processor.h unsigned int eax = op, ebx, ecx = 0, edx; \ op 589 arch/x86/include/asm/processor.h static inline void cpuid(unsigned int op, op 593 arch/x86/include/asm/processor.h *eax = op; op 599 arch/x86/include/asm/processor.h static inline void cpuid_count(unsigned int op, int count, op 603 arch/x86/include/asm/processor.h *eax = op; op 611 arch/x86/include/asm/processor.h static inline unsigned int cpuid_eax(unsigned int op) op 615 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); op 620 arch/x86/include/asm/processor.h static inline unsigned int cpuid_ebx(unsigned int op) op 624 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); op 629 arch/x86/include/asm/processor.h static inline unsigned int cpuid_ecx(unsigned int op) op 633 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); op 638 arch/x86/include/asm/processor.h static inline unsigned int cpuid_edx(unsigned int op) op 642 arch/x86/include/asm/processor.h cpuid(op, &eax, &ebx, &ecx, &edx); op 45 arch/x86/include/asm/rmwcc.h #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ op 46 arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " " arg0, var, cc, __CLOBBERS_MEM()) op 48 arch/x86/include/asm/rmwcc.h #define GEN_UNARY_RMWcc_3(op, var, cc) \ op 49 arch/x86/include/asm/rmwcc.h GEN_UNARY_RMWcc_4(op, var, cc, "%[var]") op 53 arch/x86/include/asm/rmwcc.h #define GEN_BINARY_RMWcc_6(op, var, cc, vcon, _val, arg0) \ op 54 arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " %[val], " arg0, var, cc, \ op 57 arch/x86/include/asm/rmwcc.h #define GEN_BINARY_RMWcc_5(op, var, cc, vcon, val) \ op 58 arch/x86/include/asm/rmwcc.h GEN_BINARY_RMWcc_6(op, var, cc, vcon, val, "%[var]") op 62 arch/x86/include/asm/rmwcc.h #define GEN_UNARY_SUFFIXED_RMWcc(op, suffix, var, cc, clobbers...) \ op 63 arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " %[var]\n\t" suffix, var, cc, \ op 66 arch/x86/include/asm/rmwcc.h #define GEN_BINARY_SUFFIXED_RMWcc(op, suffix, var, cc, vcon, _val, clobbers...)\ op 67 arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " %[val], %[var]\n\t" suffix, var, cc, \ op 265 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_mmuext_op(struct mmuext_op *op, int count, op 268 arch/x86/include/asm/xen/hypercall.h return _hypercall4(int, mmuext_op, op, count, success_count, domid); op 305 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_platform_op(struct xen_platform_op *op) op 307 arch/x86/include/asm/xen/hypercall.h op->interface_version = XENPF_INTERFACE_VERSION; op 308 arch/x86/include/asm/xen/hypercall.h return _hypercall1(int, platform_op, op); op 420 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_hvm_op(int op, void *arg) op 422 arch/x86/include/asm/xen/hypercall.h return _hypercall2(unsigned long, hvm_op, op, arg); op 427 arch/x86/include/asm/xen/hypercall.h struct tmem_op *op) op 429 arch/x86/include/asm/xen/hypercall.h return _hypercall1(int, tmem_op, op); op 433 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_xenpmu_op(unsigned int op, void *arg) op 435 arch/x86/include/asm/xen/hypercall.h return _hypercall2(int, xenpmu_op, op, arg); op 452 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_fpu_taskswitch; op 462 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_update_va_mapping; op 480 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_update_descriptor; op 500 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_mmu_update; op 510 arch/x86/include/asm/xen/hypercall.h MULTI_mmuext_op(struct multicall_entry *mcl, struct mmuext_op *op, int count, op 513 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_mmuext_op; op 514 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = (unsigned long)op; op 526 arch/x86/include/asm/xen/hypercall.h mcl->op = __HYPERVISOR_stack_switch; op 52 arch/x86/include/asm/xor.h #define BLK64(pf, op, i) \ op 54 arch/x86/include/asm/xor.h op(i, 0) \ op 55 arch/x86/include/asm/xor.h op(i + 1, 1) \ op 56 arch/x86/include/asm/xor.h op(i + 2, 2) \ op 57 arch/x86/include/asm/xor.h op(i + 3, 3) op 92 arch/x86/include/uapi/asm/kvm_para.h __u32 op; op 630 arch/x86/kernel/cpu/cacheinfo.c unsigned int eax, ebx, ecx, edx, op; op 636 arch/x86/kernel/cpu/cacheinfo.c op = 0x8000001d; op 638 arch/x86/kernel/cpu/cacheinfo.c op = 4; op 643 arch/x86/kernel/cpu/cacheinfo.c cpuid_count(op, i, &eax, &ebx, &ecx, &edx); op 63 arch/x86/kernel/ftrace.c unsigned char op; op 74 arch/x86/kernel/ftrace.c ftrace_text_replace(unsigned char op, unsigned long ip, unsigned long addr) op 78 arch/x86/kernel/ftrace.c calc.op = op; op 737 arch/x86/kernel/ftrace.c char op[3]; op 814 arch/x86/kernel/ftrace.c if (WARN_ON(memcmp(op_ptr.op, op_ref, 3) != 0)) op 912 arch/x86/kernel/ftrace.c if (WARN_ON_ONCE(calc.op != 0xe8)) { op 913 arch/x86/kernel/ftrace.c pr_warn("Expected e8, got %x\n", calc.op); op 107 arch/x86/kernel/kprobes/core.c __synthesize_relative_insn(void *dest, void *from, void *to, u8 op) op 110 arch/x86/kernel/kprobes/core.c u8 op; op 116 arch/x86/kernel/kprobes/core.c insn->op = op; op 36 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op; op 45 arch/x86/kernel/kprobes/opt.c op = container_of(kp, struct optimized_kprobe, kp); op 47 arch/x86/kernel/kprobes/opt.c if (list_empty(&op->list)) op 65 arch/x86/kernel/kprobes/opt.c memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); op 68 arch/x86/kernel/kprobes/opt.c memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); op 148 arch/x86/kernel/kprobes/opt.c optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) op 151 arch/x86/kernel/kprobes/opt.c if (kprobe_disabled(&op->kp)) op 156 arch/x86/kernel/kprobes/opt.c kprobes_inc_nmissed_count(&op->kp); op 165 arch/x86/kernel/kprobes/opt.c regs->ip = (unsigned long)op->kp.addr + INT3_SIZE; op 168 arch/x86/kernel/kprobes/opt.c __this_cpu_write(current_kprobe, &op->kp); op 170 arch/x86/kernel/kprobes/opt.c opt_pre_handler(&op->kp, regs); op 310 arch/x86/kernel/kprobes/opt.c int arch_check_optimized_kprobe(struct optimized_kprobe *op) op 315 arch/x86/kernel/kprobes/opt.c for (i = 1; i < op->optinsn.size; i++) { op 316 arch/x86/kernel/kprobes/opt.c p = get_kprobe(op->kp.addr + i); op 325 arch/x86/kernel/kprobes/opt.c int arch_within_optimized_kprobe(struct optimized_kprobe *op, op 328 arch/x86/kernel/kprobes/opt.c return ((unsigned long)op->kp.addr <= addr && op 329 arch/x86/kernel/kprobes/opt.c (unsigned long)op->kp.addr + op->optinsn.size > addr); op 334 arch/x86/kernel/kprobes/opt.c void __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty) op 336 arch/x86/kernel/kprobes/opt.c if (op->optinsn.insn) { op 337 arch/x86/kernel/kprobes/opt.c free_optinsn_slot(op->optinsn.insn, dirty); op 338 arch/x86/kernel/kprobes/opt.c op->optinsn.insn = NULL; op 339 arch/x86/kernel/kprobes/opt.c op->optinsn.size = 0; op 343 arch/x86/kernel/kprobes/opt.c void arch_remove_optimized_kprobe(struct optimized_kprobe *op) op 345 arch/x86/kernel/kprobes/opt.c __arch_remove_optimized_kprobe(op, 1); op 353 arch/x86/kernel/kprobes/opt.c int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, op 360 arch/x86/kernel/kprobes/opt.c if (!can_optimize((unsigned long)op->kp.addr)) op 367 arch/x86/kernel/kprobes/opt.c op->optinsn.insn = slot = get_optinsn_slot(); op 377 arch/x86/kernel/kprobes/opt.c rel = (long)slot - (long)op->kp.addr + RELATIVEJUMP_SIZE; op 387 arch/x86/kernel/kprobes/opt.c ret = copy_optimized_instructions(buf + TMPL_END_IDX, op->kp.addr, op 391 arch/x86/kernel/kprobes/opt.c op->optinsn.size = ret; op 392 arch/x86/kernel/kprobes/opt.c len = TMPL_END_IDX + op->optinsn.size; op 395 arch/x86/kernel/kprobes/opt.c synthesize_set_arg1(buf + TMPL_MOVE_IDX, (unsigned long)op); op 403 arch/x86/kernel/kprobes/opt.c (u8 *)op->kp.addr + op->optinsn.size); op 414 arch/x86/kernel/kprobes/opt.c __arch_remove_optimized_kprobe(op, 0); op 424 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op, *tmp; op 427 arch/x86/kernel/kprobes/opt.c list_for_each_entry_safe(op, tmp, oplist, list) { op 428 arch/x86/kernel/kprobes/opt.c s32 rel = (s32)((long)op->optinsn.insn - op 429 arch/x86/kernel/kprobes/opt.c ((long)op->kp.addr + RELATIVEJUMP_SIZE)); op 431 arch/x86/kernel/kprobes/opt.c WARN_ON(kprobe_disabled(&op->kp)); op 434 arch/x86/kernel/kprobes/opt.c memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_SIZE, op 440 arch/x86/kernel/kprobes/opt.c text_poke_bp(op->kp.addr, insn_buff, RELATIVEJUMP_SIZE, op 441 arch/x86/kernel/kprobes/opt.c op->optinsn.insn); op 443 arch/x86/kernel/kprobes/opt.c list_del_init(&op->list); op 448 arch/x86/kernel/kprobes/opt.c void arch_unoptimize_kprobe(struct optimized_kprobe *op) op 454 arch/x86/kernel/kprobes/opt.c memcpy(insn_buff + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); op 455 arch/x86/kernel/kprobes/opt.c text_poke_bp(op->kp.addr, insn_buff, RELATIVEJUMP_SIZE, op 456 arch/x86/kernel/kprobes/opt.c op->optinsn.insn); op 466 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op, *tmp; op 468 arch/x86/kernel/kprobes/opt.c list_for_each_entry_safe(op, tmp, oplist, list) { op 469 arch/x86/kernel/kprobes/opt.c arch_unoptimize_kprobe(op); op 470 arch/x86/kernel/kprobes/opt.c list_move(&op->list, done_list); op 476 arch/x86/kernel/kprobes/opt.c struct optimized_kprobe *op; op 480 arch/x86/kernel/kprobes/opt.c op = container_of(p, struct optimized_kprobe, kp); op 482 arch/x86/kernel/kprobes/opt.c regs->ip = (unsigned long)op->optinsn.insn + TMPL_END_IDX; op 242 arch/x86/kvm/emulate.c struct opcode op[8]; op 331 arch/x86/kvm/emulate.c #define FOP_START(op) \ op 332 arch/x86/kvm/emulate.c extern void em_##op(struct fastop *fake); \ op 334 arch/x86/kvm/emulate.c ".global em_" #op " \n\t" \ op 336 arch/x86/kvm/emulate.c "em_" #op ":\n\t" op 348 arch/x86/kvm/emulate.c #define FOP1E(op, dst) \ op 349 arch/x86/kvm/emulate.c __FOP_FUNC(#op "_" #dst) \ op 350 arch/x86/kvm/emulate.c "10: " #op " %" #dst " \n\t" \ op 351 arch/x86/kvm/emulate.c __FOP_RET(#op "_" #dst) op 353 arch/x86/kvm/emulate.c #define FOP1EEX(op, dst) \ op 354 arch/x86/kvm/emulate.c FOP1E(op, dst) _ASM_EXTABLE(10b, kvm_fastop_exception) op 356 arch/x86/kvm/emulate.c #define FASTOP1(op) \ op 357 arch/x86/kvm/emulate.c FOP_START(op) \ op 358 arch/x86/kvm/emulate.c FOP1E(op##b, al) \ op 359 arch/x86/kvm/emulate.c FOP1E(op##w, ax) \ op 360 arch/x86/kvm/emulate.c FOP1E(op##l, eax) \ op 361 arch/x86/kvm/emulate.c ON64(FOP1E(op##q, rax)) \ op 365 arch/x86/kvm/emulate.c #define FASTOP1SRC2(op, name) \ op 367 arch/x86/kvm/emulate.c FOP1E(op, cl) \ op 368 arch/x86/kvm/emulate.c FOP1E(op, cx) \ op 369 arch/x86/kvm/emulate.c FOP1E(op, ecx) \ op 370 arch/x86/kvm/emulate.c ON64(FOP1E(op, rcx)) \ op 374 arch/x86/kvm/emulate.c #define FASTOP1SRC2EX(op, name) \ op 376 arch/x86/kvm/emulate.c FOP1EEX(op, cl) \ op 377 arch/x86/kvm/emulate.c FOP1EEX(op, cx) \ op 378 arch/x86/kvm/emulate.c FOP1EEX(op, ecx) \ op 379 arch/x86/kvm/emulate.c ON64(FOP1EEX(op, rcx)) \ op 382 arch/x86/kvm/emulate.c #define FOP2E(op, dst, src) \ op 383 arch/x86/kvm/emulate.c __FOP_FUNC(#op "_" #dst "_" #src) \ op 384 arch/x86/kvm/emulate.c #op " %" #src ", %" #dst " \n\t" \ op 385 arch/x86/kvm/emulate.c __FOP_RET(#op "_" #dst "_" #src) op 387 arch/x86/kvm/emulate.c #define FASTOP2(op) \ op 388 arch/x86/kvm/emulate.c FOP_START(op) \ op 389 arch/x86/kvm/emulate.c FOP2E(op##b, al, dl) \ op 390 arch/x86/kvm/emulate.c FOP2E(op##w, ax, dx) \ op 391 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ op 392 arch/x86/kvm/emulate.c ON64(FOP2E(op##q, rax, rdx)) \ op 396 arch/x86/kvm/emulate.c #define FASTOP2W(op) \ op 397 arch/x86/kvm/emulate.c FOP_START(op) \ op 399 arch/x86/kvm/emulate.c FOP2E(op##w, ax, dx) \ op 400 arch/x86/kvm/emulate.c FOP2E(op##l, eax, edx) \ op 401 arch/x86/kvm/emulate.c ON64(FOP2E(op##q, rax, rdx)) \ op 405 arch/x86/kvm/emulate.c #define FASTOP2CL(op) \ op 406 arch/x86/kvm/emulate.c FOP_START(op) \ op 407 arch/x86/kvm/emulate.c FOP2E(op##b, al, cl) \ op 408 arch/x86/kvm/emulate.c FOP2E(op##w, ax, cl) \ op 409 arch/x86/kvm/emulate.c FOP2E(op##l, eax, cl) \ op 410 arch/x86/kvm/emulate.c ON64(FOP2E(op##q, rax, cl)) \ op 414 arch/x86/kvm/emulate.c #define FASTOP2R(op, name) \ op 416 arch/x86/kvm/emulate.c FOP2E(op##b, dl, al) \ op 417 arch/x86/kvm/emulate.c FOP2E(op##w, dx, ax) \ op 418 arch/x86/kvm/emulate.c FOP2E(op##l, edx, eax) \ op 419 arch/x86/kvm/emulate.c ON64(FOP2E(op##q, rdx, rax)) \ op 422 arch/x86/kvm/emulate.c #define FOP3E(op, dst, src, src2) \ op 423 arch/x86/kvm/emulate.c __FOP_FUNC(#op "_" #dst "_" #src "_" #src2) \ op 424 arch/x86/kvm/emulate.c #op " %" #src2 ", %" #src ", %" #dst " \n\t"\ op 425 arch/x86/kvm/emulate.c __FOP_RET(#op "_" #dst "_" #src "_" #src2) op 428 arch/x86/kvm/emulate.c #define FASTOP3WCL(op) \ op 429 arch/x86/kvm/emulate.c FOP_START(op) \ op 431 arch/x86/kvm/emulate.c FOP3E(op##w, ax, dx, cl) \ op 432 arch/x86/kvm/emulate.c FOP3E(op##l, eax, edx, cl) \ op 433 arch/x86/kvm/emulate.c ON64(FOP3E(op##q, rax, rdx, cl)) \ op 437 arch/x86/kvm/emulate.c #define FOP_SETCC(op) \ op 439 arch/x86/kvm/emulate.c ".type " #op ", @function \n\t" \ op 440 arch/x86/kvm/emulate.c #op ": \n\t" \ op 441 arch/x86/kvm/emulate.c #op " %al \n\t" \ op 442 arch/x86/kvm/emulate.c __FOP_RET(#op) op 1061 arch/x86/kvm/emulate.c static void fetch_register_operand(struct operand *op) op 1063 arch/x86/kvm/emulate.c switch (op->bytes) { op 1065 arch/x86/kvm/emulate.c op->val = *(u8 *)op->addr.reg; op 1068 arch/x86/kvm/emulate.c op->val = *(u16 *)op->addr.reg; op 1071 arch/x86/kvm/emulate.c op->val = *(u32 *)op->addr.reg; op 1074 arch/x86/kvm/emulate.c op->val = *(u64 *)op->addr.reg; op 1226 arch/x86/kvm/emulate.c struct operand *op) op 1234 arch/x86/kvm/emulate.c op->type = OP_XMM; op 1235 arch/x86/kvm/emulate.c op->bytes = 16; op 1236 arch/x86/kvm/emulate.c op->addr.xmm = reg; op 1237 arch/x86/kvm/emulate.c read_sse_reg(ctxt, &op->vec_val, reg); op 1242 arch/x86/kvm/emulate.c op->type = OP_MM; op 1243 arch/x86/kvm/emulate.c op->bytes = 8; op 1244 arch/x86/kvm/emulate.c op->addr.mm = reg; op 1248 arch/x86/kvm/emulate.c op->type = OP_REG; op 1249 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 1250 arch/x86/kvm/emulate.c op->addr.reg = decode_register(ctxt, reg, ctxt->d & ByteOp); op 1252 arch/x86/kvm/emulate.c fetch_register_operand(op); op 1253 arch/x86/kvm/emulate.c op->orig_val = op->val; op 1263 arch/x86/kvm/emulate.c struct operand *op) op 1280 arch/x86/kvm/emulate.c op->type = OP_REG; op 1281 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 1282 arch/x86/kvm/emulate.c op->addr.reg = decode_register(ctxt, ctxt->modrm_rm, op 1285 arch/x86/kvm/emulate.c op->type = OP_XMM; op 1286 arch/x86/kvm/emulate.c op->bytes = 16; op 1287 arch/x86/kvm/emulate.c op->addr.xmm = ctxt->modrm_rm; op 1288 arch/x86/kvm/emulate.c read_sse_reg(ctxt, &op->vec_val, ctxt->modrm_rm); op 1292 arch/x86/kvm/emulate.c op->type = OP_MM; op 1293 arch/x86/kvm/emulate.c op->bytes = 8; op 1294 arch/x86/kvm/emulate.c op->addr.mm = ctxt->modrm_rm & 7; op 1297 arch/x86/kvm/emulate.c fetch_register_operand(op); op 1301 arch/x86/kvm/emulate.c op->type = OP_MEM; op 1391 arch/x86/kvm/emulate.c op->addr.mem.ea = modrm_ea; op 1400 arch/x86/kvm/emulate.c struct operand *op) op 1404 arch/x86/kvm/emulate.c op->type = OP_MEM; op 1407 arch/x86/kvm/emulate.c op->addr.mem.ea = insn_fetch(u16, ctxt); op 1410 arch/x86/kvm/emulate.c op->addr.mem.ea = insn_fetch(u32, ctxt); op 1413 arch/x86/kvm/emulate.c op->addr.mem.ea = insn_fetch(u64, ctxt); op 1834 arch/x86/kvm/emulate.c static void write_register_operand(struct operand *op) op 1836 arch/x86/kvm/emulate.c return assign_register(op->addr.reg, op->val, op->bytes); op 1839 arch/x86/kvm/emulate.c static int writeback(struct x86_emulate_ctxt *ctxt, struct operand *op) op 1841 arch/x86/kvm/emulate.c switch (op->type) { op 1843 arch/x86/kvm/emulate.c write_register_operand(op); op 1848 arch/x86/kvm/emulate.c op->addr.mem, op 1849 arch/x86/kvm/emulate.c &op->orig_val, op 1850 arch/x86/kvm/emulate.c &op->val, op 1851 arch/x86/kvm/emulate.c op->bytes); op 1854 arch/x86/kvm/emulate.c op->addr.mem, op 1855 arch/x86/kvm/emulate.c &op->val, op 1856 arch/x86/kvm/emulate.c op->bytes); op 1860 arch/x86/kvm/emulate.c op->addr.mem, op 1861 arch/x86/kvm/emulate.c op->data, op 1862 arch/x86/kvm/emulate.c op->bytes * op->count); op 1865 arch/x86/kvm/emulate.c write_sse_reg(ctxt, &op->vec_val, op->addr.xmm); op 1868 arch/x86/kvm/emulate.c write_mmx_reg(ctxt, &op->mm_val, op->addr.mm); op 3430 arch/x86/kvm/emulate.c struct operand *op) op 3432 arch/x86/kvm/emulate.c int df = (ctxt->eflags & X86_EFLAGS_DF) ? -op->count : op->count; op 3434 arch/x86/kvm/emulate.c register_address_increment(ctxt, reg, df * op->bytes); op 3435 arch/x86/kvm/emulate.c op->addr.mem.ea = register_address(ctxt, reg); op 4977 arch/x86/kvm/emulate.c static int decode_imm(struct x86_emulate_ctxt *ctxt, struct operand *op, op 4982 arch/x86/kvm/emulate.c op->type = OP_IMM; op 4983 arch/x86/kvm/emulate.c op->bytes = size; op 4984 arch/x86/kvm/emulate.c op->addr.mem.ea = ctxt->_eip; op 4986 arch/x86/kvm/emulate.c switch (op->bytes) { op 4988 arch/x86/kvm/emulate.c op->val = insn_fetch(s8, ctxt); op 4991 arch/x86/kvm/emulate.c op->val = insn_fetch(s16, ctxt); op 4994 arch/x86/kvm/emulate.c op->val = insn_fetch(s32, ctxt); op 4997 arch/x86/kvm/emulate.c op->val = insn_fetch(s64, ctxt); op 5001 arch/x86/kvm/emulate.c switch (op->bytes) { op 5003 arch/x86/kvm/emulate.c op->val &= 0xff; op 5006 arch/x86/kvm/emulate.c op->val &= 0xffff; op 5009 arch/x86/kvm/emulate.c op->val &= 0xffffffff; op 5017 arch/x86/kvm/emulate.c static int decode_operand(struct x86_emulate_ctxt *ctxt, struct operand *op, op 5024 arch/x86/kvm/emulate.c decode_register_operand(ctxt, op); op 5027 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, 1, false); op 5032 arch/x86/kvm/emulate.c *op = ctxt->memop; op 5033 arch/x86/kvm/emulate.c ctxt->memopp = op; op 5036 arch/x86/kvm/emulate.c op->orig_val = op->val; op 5042 arch/x86/kvm/emulate.c op->type = OP_REG; op 5043 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 5044 arch/x86/kvm/emulate.c op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); op 5045 arch/x86/kvm/emulate.c fetch_register_operand(op); op 5046 arch/x86/kvm/emulate.c op->orig_val = op->val; op 5049 arch/x86/kvm/emulate.c op->type = OP_REG; op 5050 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 2 : ctxt->op_bytes; op 5051 arch/x86/kvm/emulate.c op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RAX); op 5052 arch/x86/kvm/emulate.c fetch_register_operand(op); op 5053 arch/x86/kvm/emulate.c op->orig_val = op->val; op 5057 arch/x86/kvm/emulate.c op->type = OP_NONE; op 5060 arch/x86/kvm/emulate.c op->type = OP_REG; op 5061 arch/x86/kvm/emulate.c op->bytes = ctxt->op_bytes; op 5062 arch/x86/kvm/emulate.c op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RDX); op 5063 arch/x86/kvm/emulate.c fetch_register_operand(op); op 5064 arch/x86/kvm/emulate.c op->orig_val = op->val; op 5067 arch/x86/kvm/emulate.c op->type = OP_MEM; op 5068 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 5069 arch/x86/kvm/emulate.c op->addr.mem.ea = op 5071 arch/x86/kvm/emulate.c op->addr.mem.seg = VCPU_SREG_ES; op 5072 arch/x86/kvm/emulate.c op->val = 0; op 5073 arch/x86/kvm/emulate.c op->count = 1; op 5076 arch/x86/kvm/emulate.c op->type = OP_REG; op 5077 arch/x86/kvm/emulate.c op->bytes = 2; op 5078 arch/x86/kvm/emulate.c op->addr.reg = reg_rmw(ctxt, VCPU_REGS_RDX); op 5079 arch/x86/kvm/emulate.c fetch_register_operand(op); op 5082 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5083 arch/x86/kvm/emulate.c op->bytes = 1; op 5084 arch/x86/kvm/emulate.c op->val = reg_read(ctxt, VCPU_REGS_RCX) & 0xff; op 5087 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, 1, true); op 5090 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5091 arch/x86/kvm/emulate.c op->bytes = 1; op 5092 arch/x86/kvm/emulate.c op->val = 1; op 5095 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, imm_size(ctxt), true); op 5098 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, ctxt->op_bytes, true); op 5115 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, 2, false); op 5118 arch/x86/kvm/emulate.c rc = decode_imm(ctxt, op, imm_size(ctxt), false); op 5121 arch/x86/kvm/emulate.c op->type = OP_MEM; op 5122 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 5123 arch/x86/kvm/emulate.c op->addr.mem.ea = op 5125 arch/x86/kvm/emulate.c op->addr.mem.seg = ctxt->seg_override; op 5126 arch/x86/kvm/emulate.c op->val = 0; op 5127 arch/x86/kvm/emulate.c op->count = 1; op 5130 arch/x86/kvm/emulate.c op->type = OP_MEM; op 5131 arch/x86/kvm/emulate.c op->bytes = (ctxt->d & ByteOp) ? 1 : ctxt->op_bytes; op 5132 arch/x86/kvm/emulate.c op->addr.mem.ea = op 5136 arch/x86/kvm/emulate.c op->addr.mem.seg = ctxt->seg_override; op 5137 arch/x86/kvm/emulate.c op->val = 0; op 5140 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5141 arch/x86/kvm/emulate.c op->addr.mem.ea = ctxt->_eip; op 5142 arch/x86/kvm/emulate.c op->bytes = ctxt->op_bytes + 2; op 5143 arch/x86/kvm/emulate.c insn_fetch_arr(op->valptr, op->bytes, ctxt); op 5149 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5150 arch/x86/kvm/emulate.c op->val = VCPU_SREG_ES; op 5153 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5154 arch/x86/kvm/emulate.c op->val = VCPU_SREG_CS; op 5157 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5158 arch/x86/kvm/emulate.c op->val = VCPU_SREG_SS; op 5161 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5162 arch/x86/kvm/emulate.c op->val = VCPU_SREG_DS; op 5165 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5166 arch/x86/kvm/emulate.c op->val = VCPU_SREG_FS; op 5169 arch/x86/kvm/emulate.c op->type = OP_IMM; op 5170 arch/x86/kvm/emulate.c op->val = VCPU_SREG_GS; op 5175 arch/x86/kvm/emulate.c op->type = OP_NONE; /* Disable writeback. */ op 5365 arch/x86/kvm/emulate.c opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7]; op 5519 arch/x86/kvm/emulate.c struct operand *op) op 5521 arch/x86/kvm/emulate.c if (op->type == OP_MM) op 5522 arch/x86/kvm/emulate.c read_mmx_reg(ctxt, &op->mm_val, op->addr.mm); op 203 arch/x86/lib/insn.c insn_byte_t op; op 211 arch/x86/lib/insn.c op = get_next(insn_byte_t, insn); op 212 arch/x86/lib/insn.c opcode->bytes[0] = op; op 220 arch/x86/lib/insn.c insn->attr = inat_get_avx_attribute(op, m, p); op 228 arch/x86/lib/insn.c insn->attr = inat_get_opcode_attribute(op); op 231 arch/x86/lib/insn.c op = get_next(insn_byte_t, insn); op 232 arch/x86/lib/insn.c opcode->bytes[opcode->nbytes++] = op; op 234 arch/x86/lib/insn.c insn->attr = inat_get_escape_attribute(op, pfx_id, insn->attr); op 434 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_div_mod_r(const u8 op, const u8 dst, const u8 src, op 461 arch/x86/net/bpf_jit_comp32.c if (op == BPF_MOD) { op 481 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_shift_r(const u8 op, const u8 dst, const u8 src, op 500 arch/x86/net/bpf_jit_comp32.c switch (op) { op 522 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_alu_r(const bool is64, const bool hi, const u8 op, op 539 arch/x86/net/bpf_jit_comp32.c switch (BPF_OP(op)) { op 576 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_alu_r64(const bool is64, const u8 op, op 583 arch/x86/net/bpf_jit_comp32.c emit_ia32_alu_r(is64, false, op, dst_lo, src_lo, dstk, sstk, &prog); op 585 arch/x86/net/bpf_jit_comp32.c emit_ia32_alu_r(is64, true, op, dst_hi, src_hi, dstk, sstk, op 596 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_alu_i(const bool is64, const bool hi, const u8 op, op 613 arch/x86/net/bpf_jit_comp32.c switch (op) { op 676 arch/x86/net/bpf_jit_comp32.c static inline void emit_ia32_alu_i64(const bool is64, const u8 op, op 687 arch/x86/net/bpf_jit_comp32.c emit_ia32_alu_i(is64, false, op, dst_lo, val, dstk, &prog); op 689 arch/x86/net/bpf_jit_comp32.c emit_ia32_alu_i(is64, true, op, dst_hi, hi, dstk, &prog); op 1393 arch/x86/net/bpf_jit_comp32.c static u8 get_cond_jmp_opcode(const u8 op, bool is_cmp_lo) op 1398 arch/x86/net/bpf_jit_comp32.c switch (op) { op 34 arch/x86/platform/intel/iosf_mbi.c static inline u32 iosf_mbi_form_mcr(u8 op, u8 port, u8 offset) op 36 arch/x86/platform/intel/iosf_mbi.c return (op << 24) | (port << 16) | (offset << 8) | MBI_ENABLE; op 47 arch/x86/xen/apic.c struct xen_platform_op op = { op 68 arch/x86/xen/apic.c ret = HYPERVISOR_platform_op(&op); op 70 arch/x86/xen/apic.c op.u.pcpu_info.apic_id = BAD_APICID; op 72 arch/x86/xen/apic.c return op.u.pcpu_info.apic_id << 24; op 47 arch/x86/xen/efi.c struct xen_platform_op op = { op 54 arch/x86/xen/efi.c union xenpf_efi_info *info = &op.u.firmware_info.u.efi_info; op 56 arch/x86/xen/efi.c if (!xen_initial_domain() || HYPERVISOR_platform_op(&op) < 0) op 65 arch/x86/xen/efi.c op.cmd = XENPF_firmware_info; op 66 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; op 67 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VENDOR; op 71 arch/x86/xen/efi.c if (HYPERVISOR_platform_op(&op) == 0) { op 77 arch/x86/xen/efi.c op.cmd = XENPF_firmware_info; op 78 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; op 79 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_VERSION; op 81 arch/x86/xen/efi.c if (HYPERVISOR_platform_op(&op) == 0) op 84 arch/x86/xen/efi.c op.cmd = XENPF_firmware_info; op 85 arch/x86/xen/efi.c op.u.firmware_info.type = XEN_FW_EFI_INFO; op 86 arch/x86/xen/efi.c op.u.firmware_info.index = XEN_FW_EFI_RT_VERSION; op 88 arch/x86/xen/efi.c if (HYPERVISOR_platform_op(&op) == 0) op 209 arch/x86/xen/enlighten_pv.c struct xen_platform_op op = { op 265 arch/x86/xen/enlighten_pv.c set_xen_guest_handle(op.u.set_pminfo.pdc, buf); op 267 arch/x86/xen/enlighten_pv.c if ((HYPERVISOR_platform_op(&op) == 0) && op 435 arch/x86/xen/enlighten_pv.c struct mmuext_op *op; op 436 arch/x86/xen/enlighten_pv.c struct multicall_space mcs = xen_mc_entry(sizeof(*op)); op 440 arch/x86/xen/enlighten_pv.c op = mcs.args; op 441 arch/x86/xen/enlighten_pv.c op->cmd = MMUEXT_SET_LDT; op 442 arch/x86/xen/enlighten_pv.c op->arg1.linear_addr = (unsigned long)addr; op 443 arch/x86/xen/enlighten_pv.c op->arg2.nr_ents = entries; op 445 arch/x86/xen/enlighten_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); op 1118 arch/x86/xen/enlighten_pv.c struct xen_platform_op op; op 1127 arch/x86/xen/enlighten_pv.c op.cmd = XENPF_firmware_info; op 1129 arch/x86/xen/enlighten_pv.c op.u.firmware_info.type = XEN_FW_DISK_INFO; op 1133 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; op 1135 arch/x86/xen/enlighten_pv.c set_xen_guest_handle(op.u.firmware_info.u.disk_info.edd_params, op 1137 arch/x86/xen/enlighten_pv.c ret = HYPERVISOR_platform_op(&op); op 1141 arch/x86/xen/enlighten_pv.c #define C(x) info->x = op.u.firmware_info.u.disk_info.x op 1152 arch/x86/xen/enlighten_pv.c op.u.firmware_info.type = XEN_FW_DISK_MBR_SIGNATURE; op 1154 arch/x86/xen/enlighten_pv.c op.u.firmware_info.index = nr; op 1155 arch/x86/xen/enlighten_pv.c ret = HYPERVISOR_platform_op(&op); op 1158 arch/x86/xen/enlighten_pv.c mbr_signature[nr] = op.u.firmware_info.u.disk_mbr_signature.mbr_signature; op 1360 arch/x86/xen/enlighten_pv.c struct xen_platform_op op = { op 1372 arch/x86/xen/enlighten_pv.c if (HYPERVISOR_platform_op(&op) == 0) op 1373 arch/x86/xen/enlighten_pv.c boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; op 201 arch/x86/xen/mmu_pv.c static void xen_extend_mmuext_op(const struct mmuext_op *op) op 216 arch/x86/xen/mmu_pv.c *u = *op; op 717 arch/x86/xen/mmu_pv.c struct mmuext_op op; op 719 arch/x86/xen/mmu_pv.c op.cmd = level; op 720 arch/x86/xen/mmu_pv.c op.arg1.mfn = pfn_to_mfn(pfn); op 722 arch/x86/xen/mmu_pv.c xen_extend_mmuext_op(&op); op 1084 arch/x86/xen/mmu_pv.c struct mmuext_op op; op 1086 arch/x86/xen/mmu_pv.c op.cmd = cmd; op 1087 arch/x86/xen/mmu_pv.c op.arg1.mfn = pfn_to_mfn(pfn); op 1088 arch/x86/xen/mmu_pv.c if (HYPERVISOR_mmuext_op(&op, 1, NULL, DOMID_SELF)) op 1312 arch/x86/xen/mmu_pv.c struct mmuext_op *op; op 1317 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); op 1319 arch/x86/xen/mmu_pv.c op = mcs.args; op 1320 arch/x86/xen/mmu_pv.c op->cmd = MMUEXT_TLB_FLUSH_LOCAL; op 1321 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); op 1330 arch/x86/xen/mmu_pv.c struct mmuext_op *op; op 1337 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); op 1338 arch/x86/xen/mmu_pv.c op = mcs.args; op 1339 arch/x86/xen/mmu_pv.c op->cmd = MMUEXT_INVLPG_LOCAL; op 1340 arch/x86/xen/mmu_pv.c op->arg1.linear_addr = addr & PAGE_MASK; op 1341 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); op 1352 arch/x86/xen/mmu_pv.c struct mmuext_op op; op 1356 arch/x86/xen/mmu_pv.c const size_t mc_entry_size = sizeof(args->op) + op 1366 arch/x86/xen/mmu_pv.c args->op.arg2.vcpumask = to_cpumask(args->mask); op 1372 arch/x86/xen/mmu_pv.c args->op.cmd = MMUEXT_TLB_FLUSH_MULTI; op 1375 arch/x86/xen/mmu_pv.c args->op.cmd = MMUEXT_INVLPG_MULTI; op 1376 arch/x86/xen/mmu_pv.c args->op.arg1.linear_addr = info->start; op 1379 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, &args->op, 1, NULL, DOMID_SELF); op 1396 arch/x86/xen/mmu_pv.c struct mmuext_op op; op 1408 arch/x86/xen/mmu_pv.c op.cmd = kernel ? MMUEXT_NEW_BASEPTR : MMUEXT_NEW_USER_BASEPTR; op 1409 arch/x86/xen/mmu_pv.c op.arg1.mfn = mfn; op 1411 arch/x86/xen/mmu_pv.c xen_extend_mmuext_op(&op); op 1610 arch/x86/xen/mmu_pv.c struct mmuext_op *op; op 1612 arch/x86/xen/mmu_pv.c mcs = __xen_mc_entry(sizeof(*op)); op 1613 arch/x86/xen/mmu_pv.c op = mcs.args; op 1614 arch/x86/xen/mmu_pv.c op->cmd = cmd; op 1615 arch/x86/xen/mmu_pv.c op->arg1.mfn = pfn_to_mfn(pfn); op 2665 arch/x86/xen/mmu_pv.c struct mmuext_op *op; op 2670 arch/x86/xen/mmu_pv.c mcs = xen_mc_entry(sizeof(*op)); op 2672 arch/x86/xen/mmu_pv.c op = mcs.args; op 2673 arch/x86/xen/mmu_pv.c op->cmd = MMUEXT_TLB_FLUSH_ALL; op 2674 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, op, 1, NULL, DOMID_SELF); op 88 arch/x86/xen/multicalls.c mc->result = xen_single_call(mc->op, mc->args[0], mc->args[1], op 110 arch/x86/xen/multicalls.c b->debug[i].op, op 117 arch/x86/xen/multicalls.c b->entries[i].op, op 169 arch/x86/xen/multicalls.c struct multicall_space xen_mc_extend_args(unsigned long op, size_t size) op 178 arch/x86/xen/multicalls.c b->entries[b->mcidx - 1].op != op)) { op 179 arch/x86/xen/multicalls.c trace_xen_mc_extend_args(op, size, XEN_MC_XE_BAD_OP); op 184 arch/x86/xen/multicalls.c trace_xen_mc_extend_args(op, size, XEN_MC_XE_NO_SPACE); op 194 arch/x86/xen/multicalls.c trace_xen_mc_extend_args(op, size, XEN_MC_XE_OK); op 67 arch/x86/xen/multicalls.h struct multicall_space xen_mc_extend_args(unsigned long op, size_t arg_size); op 750 arch/x86/xen/setup.c int op; op 764 arch/x86/xen/setup.c op = xen_initial_domain() ? op 767 arch/x86/xen/setup.c rc = HYPERVISOR_memory_op(op, &memmap); op 94 arch/x86/xen/time.c struct xen_platform_op op; op 112 arch/x86/xen/time.c op.cmd = XENPF_settime64; op 113 arch/x86/xen/time.c op.u.settime64.mbz = 0; op 114 arch/x86/xen/time.c op.u.settime64.secs = now.tv_sec; op 115 arch/x86/xen/time.c op.u.settime64.nsecs = now.tv_nsec; op 116 arch/x86/xen/time.c op.u.settime64.system_time = xen_clocksource_read(); op 118 arch/x86/xen/time.c op.cmd = XENPF_settime32; op 119 arch/x86/xen/time.c op.u.settime32.secs = now.tv_sec; op 120 arch/x86/xen/time.c op.u.settime32.nsecs = now.tv_nsec; op 121 arch/x86/xen/time.c op.u.settime32.system_time = xen_clocksource_read(); op 124 arch/x86/xen/time.c ret = HYPERVISOR_platform_op(&op); op 12 arch/x86/xen/trace.c static const char *xen_hypercall_name(unsigned op) op 14 arch/x86/xen/trace.c if (op < ARRAY_SIZE(xen_hypercall_names) && xen_hypercall_names[op] != NULL) op 15 arch/x86/xen/trace.c return xen_hypercall_names[op]; op 60 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP(op) \ op 61 arch/xtensa/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 68 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 78 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP_RETURN(op) \ op 79 arch/xtensa/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 86 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 90 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 99 arch/xtensa/include/asm/atomic.h #define ATOMIC_FETCH_OP(op) \ op 100 arch/xtensa/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 107 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 120 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP(op) \ op 121 arch/xtensa/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t * v) \ op 129 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 138 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP_RETURN(op) \ op 139 arch/xtensa/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t * v) \ op 147 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 150 arch/xtensa/include/asm/atomic.h " " #op " %0, %0, %2\n" \ op 159 arch/xtensa/include/asm/atomic.h #define ATOMIC_FETCH_OP(op) \ op 160 arch/xtensa/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t * v) \ op 168 arch/xtensa/include/asm/atomic.h " " #op " %0, %1, %2\n" \ op 181 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP(op) \ op 182 arch/xtensa/include/asm/atomic.h static inline void atomic_##op(int i, atomic_t * v) \ op 189 arch/xtensa/include/asm/atomic.h " " #op " %0, %0, %1\n" \ op 199 arch/xtensa/include/asm/atomic.h #define ATOMIC_OP_RETURN(op) \ op 200 arch/xtensa/include/asm/atomic.h static inline int atomic_##op##_return(int i, atomic_t * v) \ op 207 arch/xtensa/include/asm/atomic.h " " #op " %0, %0, %1\n" \ op 219 arch/xtensa/include/asm/atomic.h #define ATOMIC_FETCH_OP(op) \ op 220 arch/xtensa/include/asm/atomic.h static inline int atomic_fetch_##op(int i, atomic_t * v) \ op 227 arch/xtensa/include/asm/atomic.h " " #op " %1, %0, %2\n" \ op 241 arch/xtensa/include/asm/atomic.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) ATOMIC_OP_RETURN(op) op 247 arch/xtensa/include/asm/atomic.h #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) op 69 arch/xtensa/include/asm/futex.h static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, op 77 arch/xtensa/include/asm/futex.h switch (op) { op 223 block/bfq-cgroup.c unsigned int op) op 225 block/bfq-cgroup.c blkg_rwstat_add(&bfqg->stats.queued, op, 1); op 231 block/bfq-cgroup.c void bfqg_stats_update_io_remove(struct bfq_group *bfqg, unsigned int op) op 233 block/bfq-cgroup.c blkg_rwstat_add(&bfqg->stats.queued, op, -1); op 236 block/bfq-cgroup.c void bfqg_stats_update_io_merged(struct bfq_group *bfqg, unsigned int op) op 238 block/bfq-cgroup.c blkg_rwstat_add(&bfqg->stats.merged, op, 1); op 242 block/bfq-cgroup.c u64 io_start_time_ns, unsigned int op) op 248 block/bfq-cgroup.c blkg_rwstat_add(&stats->service_time, op, op 251 block/bfq-cgroup.c blkg_rwstat_add(&stats->wait_time, op, op 258 block/bfq-cgroup.c unsigned int op) { } op 259 block/bfq-cgroup.c void bfqg_stats_update_io_remove(struct bfq_group *bfqg, unsigned int op) { } op 260 block/bfq-cgroup.c void bfqg_stats_update_io_merged(struct bfq_group *bfqg, unsigned int op) { } op 262 block/bfq-cgroup.c u64 io_start_time_ns, unsigned int op) { } op 535 block/bfq-iosched.c static void bfq_limit_depth(unsigned int op, struct blk_mq_alloc_data *data) op 539 block/bfq-iosched.c if (op_is_sync(op) && !op_is_write(op)) op 543 block/bfq-iosched.c bfqd->word_depths[!!bfqd->wr_busy_queues][op_is_sync(op)]; op 546 block/bfq-iosched.c __func__, bfqd->wr_busy_queues, op_is_sync(op), op 962 block/bfq-iosched.h unsigned int op); op 963 block/bfq-iosched.h void bfqg_stats_update_io_remove(struct bfq_group *bfqg, unsigned int op); op 964 block/bfq-iosched.h void bfqg_stats_update_io_merged(struct bfq_group *bfqg, unsigned int op); op 966 block/bfq-iosched.h u64 io_start_time_ns, unsigned int op); op 1771 block/bio.c void generic_start_io_acct(struct request_queue *q, int op, op 1774 block/bio.c const int sgrp = op_stat_group(op); op 1781 block/bio.c part_inc_in_flight(q, part, op_is_write(op)); op 152 block/blk-core.c inline const char *blk_op_str(unsigned int op) op 156 block/blk-core.c if (op < ARRAY_SIZE(blk_op_name) && blk_op_name[op]) op 157 block/blk-core.c op_str = blk_op_name[op]; op 577 block/blk-core.c struct request *blk_get_request(struct request_queue *q, unsigned int op, op 582 block/blk-core.c WARN_ON_ONCE(op & REQ_NOWAIT); op 585 block/blk-core.c req = blk_mq_alloc_request(q, op, flags); op 789 block/blk-core.c const int op = bio_op(bio); op 791 block/blk-core.c if (part->policy && op_is_write(op)) { op 31 block/blk-lib.c unsigned int op; op 43 block/blk-lib.c op = REQ_OP_SECURE_ERASE; op 47 block/blk-lib.c op = REQ_OP_DISCARD; op 66 block/blk-lib.c bio_set_op_attrs(bio, op, 0); op 145 block/blk-mq-debugfs.c char opbuf[16] = { }, *op; op 162 block/blk-mq-debugfs.c op = strstrip(opbuf); op 163 block/blk-mq-debugfs.c if (strcmp(op, "run") == 0) { op 165 block/blk-mq-debugfs.c } else if (strcmp(op, "start") == 0) { op 167 block/blk-mq-debugfs.c } else if (strcmp(op, "kick") == 0) { op 170 block/blk-mq-debugfs.c pr_err("%s: unsupported operation '%s'\n", __func__, op); op 327 block/blk-mq-debugfs.c const unsigned int op = req_op(rq); op 328 block/blk-mq-debugfs.c const char *op_str = blk_op_str(op); op 332 block/blk-mq-debugfs.c seq_printf(m, "%u", op); op 295 block/blk-mq.c unsigned int tag, unsigned int op, u64 alloc_time_ns) op 319 block/blk-mq.c rq->cmd_flags = op; op 351 block/blk-mq.c data->ctx->rq_dispatched[op_is_sync(op)]++; op 422 block/blk-mq.c struct request *blk_mq_alloc_request(struct request_queue *q, unsigned int op, op 425 block/blk-mq.c struct blk_mq_alloc_data alloc_data = { .flags = flags, .cmd_flags = op }; op 447 block/blk-mq.c unsigned int op, blk_mq_req_flags_t flags, unsigned int hctx_idx) op 449 block/blk-mq.c struct blk_mq_alloc_data alloc_data = { .flags = flags, .cmd_flags = op }; op 2228 block/blk-throttle.c int op, unsigned long time) op 2234 block/blk-throttle.c !(op == REQ_OP_READ || op == REQ_OP_WRITE) || op 2240 block/blk-throttle.c latency = get_cpu_ptr(td->latency_buckets[op]); op 2243 block/blk-throttle.c put_cpu_ptr(td->latency_buckets[op]); op 674 block/blk-wbt.c const int op = req_op(rq); op 676 block/blk-wbt.c if (op == REQ_OP_READ) op 678 block/blk-wbt.c else if (op_is_write(op)) op 178 block/compat_ioctl.c compat_int_t op; op 192 block/compat_ioctl.c err = get_user(n, &ua32->op); op 193 block/compat_ioctl.c err |= put_user(n, &a->op); op 37 block/ioctl.c switch (a.op) { op 195 block/kyber-iosched.c static unsigned int kyber_sched_domain(unsigned int op) op 197 block/kyber-iosched.c switch (op & REQ_OP_MASK) { op 552 block/kyber-iosched.c static void kyber_limit_depth(unsigned int op, struct blk_mq_alloc_data *data) op 558 block/kyber-iosched.c if (!op_is_sync(op)) { op 887 block/kyber-iosched.c #define KYBER_LAT_ATTR(op) __ATTR(op##_lat_nsec, 0644, kyber_##op##_lat_show, kyber_##op##_lat_store) op 463 crypto/af_alg.c con->op = *(u32 *)CMSG_DATA(cmsg); op 834 crypto/af_alg.c switch (con.op) { op 342 crypto/ahash.c int (*op)(struct ahash_request *)) op 350 crypto/ahash.c err = op(req); op 360 crypto/ahash.c int (*op)(struct ahash_request *)) op 366 crypto/ahash.c return ahash_op_unaligned(req, op); op 368 crypto/ahash.c return op(req); op 728 crypto/asymmetric_keys/asym_tpm.c switch (params->op) { op 220 crypto/asymmetric_keys/public_key.c switch (params->op) { op 83 crypto/asymmetric_keys/signature.c params->op = kernel_pkey_encrypt; op 104 crypto/asymmetric_keys/signature.c params->op = kernel_pkey_decrypt; op 125 crypto/asymmetric_keys/signature.c params->op = kernel_pkey_sign; op 40 crypto/crypto_engine.c enginectx->op.unprepare_request) { op 41 crypto/crypto_engine.c ret = enginectx->op.unprepare_request(engine, req); op 139 crypto/crypto_engine.c if (enginectx->op.prepare_request) { op 140 crypto/crypto_engine.c ret = enginectx->op.prepare_request(engine, async_req); op 148 crypto/crypto_engine.c if (!enginectx->op.do_one_request) { op 153 crypto/crypto_engine.c ret = enginectx->op.do_one_request(engine, async_req); op 1071 crypto/testmgr.c static inline int check_shash_op(const char *op, int err, op 1077 crypto/testmgr.c driver, op, err, vec_name, cfg->name); op 1234 crypto/testmgr.c static int do_ahash_op(int (*op)(struct ahash_request *req), op 1243 crypto/testmgr.c err = op(req); op 1251 crypto/testmgr.c static int check_nonfinal_ahash_op(const char *op, int err, op 1258 crypto/testmgr.c driver, op, err, vec_name, cfg->name); op 1263 crypto/testmgr.c driver, op, vec_name, cfg->name); op 1849 crypto/testmgr.c const char *op = enc ? "encryption" : "decryption"; op 1914 crypto/testmgr.c driver, op, vec_name, cfg->name); op 1942 crypto/testmgr.c driver, op, vec_name, cfg->name); op 1965 crypto/testmgr.c driver, op, vec_name, cfg->name); op 1971 crypto/testmgr.c driver, op, vec_name, cfg->name); op 1981 crypto/testmgr.c driver, op, vec_name, expected_error, err, cfg->name); op 1986 crypto/testmgr.c driver, op, vec_name, expected_error, cfg->name); op 1996 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2001 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2448 crypto/testmgr.c const char *op = enc ? "encryption" : "decryption"; op 2504 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2530 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2551 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2557 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2566 crypto/testmgr.c driver, op, vec_name, vec->crypt_error, err, cfg->name); op 2571 crypto/testmgr.c driver, op, vec_name, vec->crypt_error, cfg->name); op 2580 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2585 crypto/testmgr.c driver, op, vec_name, cfg->name); op 2592 crypto/testmgr.c driver, op, vec_name, cfg->name); op 3670 crypto/testmgr.c const char *op; op 3714 crypto/testmgr.c op = "encrypt"; op 3723 crypto/testmgr.c op = "verify"; op 3753 crypto/testmgr.c pr_err("alg: akcipher: %s test failed. err %d\n", op, err); op 3759 crypto/testmgr.c op); op 3766 crypto/testmgr.c op); op 3787 crypto/testmgr.c op = vecs->siggen_sigver_test ? "sign" : "decrypt"; op 3803 crypto/testmgr.c pr_err("alg: akcipher: %s test failed. err %d\n", op, err); op 3809 crypto/testmgr.c op, out_len); op 3816 crypto/testmgr.c pr_err("alg: akcipher: %s test failed. Invalid output\n", op); op 43 drivers/acpi/acpica/acconvert.h u32 cv_calculate_comment_lengths(union acpi_parse_object *op); op 53 drivers/acpi/acpica/acconvert.h u32 cv_parse_op_block_type(union acpi_parse_object *op); op 57 drivers/acpi/acpica/acconvert.h void cg_write_aml_def_block_comment(union acpi_parse_object *op); op 60 drivers/acpi/acpica/acconvert.h cg_write_one_aml_comment(union acpi_parse_object *op, op 63 drivers/acpi/acpica/acconvert.h void cg_write_aml_comment(union acpi_parse_object *op); op 72 drivers/acpi/acpica/acconvert.h void cv_clear_op_comments(union acpi_parse_object *op); op 77 drivers/acpi/acpica/acconvert.h void cv_label_file_node(union acpi_parse_object *op); op 88 drivers/acpi/acpica/acconvert.h void cv_transfer_comments(union acpi_parse_object *op); op 93 drivers/acpi/acpica/acconvert.h void cv_switch_files(u32 level, union acpi_parse_object *op); op 95 drivers/acpi/acpica/acconvert.h u8 cv_file_has_switched(union acpi_parse_object *op); op 97 drivers/acpi/acpica/acconvert.h void cv_close_paren_write_comment(union acpi_parse_object *op, u32 level); op 99 drivers/acpi/acpica/acconvert.h void cv_close_brace_write_comment(union acpi_parse_object *op, u32 level); op 105 drivers/acpi/acpica/acconvert.h cv_print_one_comment_type(union acpi_parse_object *op, op 53 drivers/acpi/acpica/acdebug.h union acpi_parse_object *op, op 115 drivers/acpi/acpica/acdebug.h union acpi_parse_object *op); op 117 drivers/acpi/acpica/acdebug.h void acpi_db_set_method_call_breakpoint(union acpi_parse_object *op); op 123 drivers/acpi/acpica/acdebug.h void acpi_db_disassemble_aml(char *statements, union acpi_parse_object *op); op 154 drivers/acpi/acpica/acdebug.h void acpi_db_display_method_info(union acpi_parse_object *op); op 238 drivers/acpi/acpica/acdebug.h union acpi_parse_object *op); op 36 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 40 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 47 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 51 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 55 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 59 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 64 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 85 drivers/acpi/acpica/acdispat.h acpi_ds_create_field(union acpi_parse_object *op, op 90 drivers/acpi/acpica/acdispat.h acpi_ds_create_bank_field(union acpi_parse_object *op, op 95 drivers/acpi/acpica/acdispat.h acpi_ds_create_index_field(union acpi_parse_object *op, op 100 drivers/acpi/acpica/acdispat.h acpi_ds_create_buffer_field(union acpi_parse_object *op, op 104 drivers/acpi/acpica/acdispat.h acpi_ds_init_field_objects(union acpi_parse_object *op, op 177 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 207 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 212 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 218 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 224 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 230 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 251 drivers/acpi/acpica/acdispat.h acpi_ds_is_result_used(union acpi_parse_object *op, op 255 drivers/acpi/acpica/acdispat.h acpi_ds_delete_result_if_not_used(union acpi_parse_object *op, op 304 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op, op 342 drivers/acpi/acpica/acdispat.h union acpi_parse_object *op); op 112 drivers/acpi/acpica/acinterp.h acpi_ex_start_trace_opcode(union acpi_parse_object *op, op 116 drivers/acpi/acpica/acinterp.h acpi_ex_stop_trace_opcode(union acpi_parse_object *op, op 148 drivers/acpi/acpica/aclocal.h union acpi_parse_object *op; op 603 drivers/acpi/acpica/aclocal.h union acpi_parse_object *op; /* Current op being parsed */ op 1159 drivers/acpi/acpica/aclocal.h union acpi_parse_object *op; op 435 drivers/acpi/acpica/acobject.h union acpi_parse_object op; op 82 drivers/acpi/acpica/acparser.h union acpi_parse_object *acpi_ps_get_parent(union acpi_parse_object *op); op 91 drivers/acpi/acpica/acparser.h union acpi_parse_object **op); op 99 drivers/acpi/acpica/acparser.h union acpi_parse_object **op, acpi_status status); op 103 drivers/acpi/acpica/acparser.h union acpi_parse_object *op, acpi_status status); op 125 drivers/acpi/acpica/acparser.h union acpi_parse_object *op); op 129 drivers/acpi/acpica/acparser.h union acpi_parse_object *op, op 151 drivers/acpi/acpica/acparser.h union acpi_parse_object **op, u32 *arg_list, u32 *arg_count); op 155 drivers/acpi/acpica/acparser.h union acpi_parse_object *op, op 164 drivers/acpi/acpica/acparser.h acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg); op 169 drivers/acpi/acpica/acparser.h union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn); op 172 drivers/acpi/acpica/acparser.h union acpi_parse_object *op); op 190 drivers/acpi/acpica/acparser.h union acpi_parse_object *op, op 202 drivers/acpi/acpica/acparser.h void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode); op 206 drivers/acpi/acpica/acparser.h void acpi_ps_free_op(union acpi_parse_object *op); op 210 drivers/acpi/acpica/acparser.h u32 acpi_ps_get_name(union acpi_parse_object *op); op 212 drivers/acpi/acpica/acparser.h void acpi_ps_set_name(union acpi_parse_object *op, u32 name); op 219 drivers/acpi/acpica/acparser.h u32 buffer_size, union acpi_parse_object *op); op 223 drivers/acpi/acpica/acparser.h u32 buffer_size, union acpi_parse_object *op); op 225 drivers/acpi/acpica/acparser.h void acpi_ps_show(union acpi_parse_object *op); op 81 drivers/acpi/acpica/acstruct.h union acpi_parse_object *op; /* Current parser op */ op 531 drivers/acpi/acpica/amlresrc.h mp_save_gpio_info(union acpi_parse_object *op, op 536 drivers/acpi/acpica/amlresrc.h mp_save_serial_info(union acpi_parse_object *op, op 543 drivers/acpi/acpica/amlresrc.h char *mp_get_connection_info(union acpi_parse_object *op, op 548 drivers/acpi/acpica/amlresrc.h char *mp_get_parent_device_hid(union acpi_parse_object *op, op 22 drivers/acpi/acpica/dbdisply.c static void acpi_db_dump_parser_descriptor(union acpi_parse_object *op); op 108 drivers/acpi/acpica/dbdisply.c static void acpi_db_dump_parser_descriptor(union acpi_parse_object *op) op 112 drivers/acpi/acpica/dbdisply.c info = acpi_ps_get_opcode_info(op->common.aml_opcode); op 115 drivers/acpi/acpica/dbdisply.c acpi_os_printf("%20.20s : %4.4X\n", "Opcode", op->common.aml_opcode); op 120 drivers/acpi/acpica/dbdisply.c acpi_os_printf("%20.20s : %p\n", "Value/ArgList", op->common.value.arg); op 121 drivers/acpi/acpica/dbdisply.c acpi_os_printf("%20.20s : %p\n", "Parent", op->common.parent); op 122 drivers/acpi/acpica/dbdisply.c acpi_os_printf("%20.20s : %p\n", "NextOp", op->common.next); op 354 drivers/acpi/acpica/dbdisply.c union acpi_parse_object *op; op 384 drivers/acpi/acpica/dbdisply.c op = root_op; op 386 drivers/acpi/acpica/dbdisply.c while (op) { op 387 drivers/acpi/acpica/dbdisply.c if (op == start_op) { op 398 drivers/acpi/acpica/dbdisply.c op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); op 425 drivers/acpi/acpica/dbdisply.c op = acpi_ps_get_depth_next(start_op, op); op 672 drivers/acpi/acpica/dbinput.c union acpi_parse_object *op) op 719 drivers/acpi/acpica/dbinput.c if (op) { op 740 drivers/acpi/acpica/dbinput.c op); op 750 drivers/acpi/acpica/dbinput.c acpi_db_set_method_call_breakpoint(op); op 819 drivers/acpi/acpica/dbinput.c status = acpi_db_command_dispatch(command_line, walk_state, op); op 829 drivers/acpi/acpica/dbinput.c status = acpi_db_command_dispatch(command_line, walk_state, op); op 834 drivers/acpi/acpica/dbinput.c acpi_db_display_method_info(op); op 844 drivers/acpi/acpica/dbinput.c if (op) { op 879 drivers/acpi/acpica/dbinput.c acpi_db_disassemble_aml(acpi_gbl_db_args[1], op); op 1117 drivers/acpi/acpica/dbinput.c if (op) { op 42 drivers/acpi/acpica/dbmethod.c union acpi_parse_object *op) op 47 drivers/acpi/acpica/dbmethod.c if (!op) { op 55 drivers/acpi/acpica/dbmethod.c aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, op 81 drivers/acpi/acpica/dbmethod.c void acpi_db_set_method_call_breakpoint(union acpi_parse_object *op) op 84 drivers/acpi/acpica/dbmethod.c if (!op) { op 234 drivers/acpi/acpica/dbmethod.c void acpi_db_disassemble_aml(char *statements, union acpi_parse_object *op) op 238 drivers/acpi/acpica/dbmethod.c if (!op) { op 247 drivers/acpi/acpica/dbmethod.c acpi_dm_disassemble(NULL, op, num_statements); op 266 drivers/acpi/acpica/dbmethod.c union acpi_parse_object *op; op 284 drivers/acpi/acpica/dbmethod.c op = acpi_ps_create_scope_op(obj_desc->method.aml_start); op 285 drivers/acpi/acpica/dbmethod.c if (!op) { op 291 drivers/acpi/acpica/dbmethod.c walk_state = acpi_ds_create_walk_state(0, op, NULL, NULL); op 296 drivers/acpi/acpica/dbmethod.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, op 324 drivers/acpi/acpica/dbmethod.c (void)acpi_dm_parse_deferred_ops(op); op 329 drivers/acpi/acpica/dbmethod.c acpi_dm_disassemble(NULL, op, 0); op 332 drivers/acpi/acpica/dbmethod.c acpi_ps_delete_parse_tree(op); op 242 drivers/acpi/acpica/dbstats.c if (acpi_ps_is_named_op(op->opcode)) { op 251 drivers/acpi/acpica/dbstats.c op = acpi_ps_get_depth_next(root, op); op 326 drivers/acpi/acpica/dbutils.c union acpi_parse_object *op = root; op 338 drivers/acpi/acpica/dbutils.c while (op) { op 339 drivers/acpi/acpica/dbutils.c if (op->common.aml_opcode == AML_METHOD_OP) { op 340 drivers/acpi/acpica/dbutils.c method = op; op 358 drivers/acpi/acpica/dbutils.c walk_state->parser_state.start_scope = op; op 380 drivers/acpi/acpica/dbutils.c if (op->common.aml_opcode == AML_REGION_OP) { op 394 drivers/acpi/acpica/dbutils.c op = acpi_ps_get_depth_next(root, op); op 21 drivers/acpi/acpica/dbxface.c union acpi_parse_object *op); op 31 drivers/acpi/acpica/dbxface.c *op); op 49 drivers/acpi/acpica/dbxface.c union acpi_parse_object *op) op 80 drivers/acpi/acpica/dbxface.c op); op 140 drivers/acpi/acpica/dbxface.c *op) op 145 drivers/acpi/acpica/dbxface.c display_op = op; op 146 drivers/acpi/acpica/dbxface.c parent_op = op->common.parent; op 203 drivers/acpi/acpica/dbxface.c union acpi_parse_object *op, u32 opcode_class) op 225 drivers/acpi/acpica/dbxface.c aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, op 257 drivers/acpi/acpica/dbxface.c if (op->common.aml_opcode == AML_INT_NAMEDFIELD_OP) { op 291 drivers/acpi/acpica/dbxface.c next = op->common.next; op 292 drivers/acpi/acpica/dbxface.c op->common.next = NULL; op 298 drivers/acpi/acpica/dbxface.c acpi_db_get_display_op(walk_state, op), op 305 drivers/acpi/acpica/dbxface.c acpi_os_printf("AML Opcode: %4.4X %s\n", op->common.aml_opcode, op 306 drivers/acpi/acpica/dbxface.c acpi_ps_get_opcode_name(op->common.aml_opcode)); op 309 drivers/acpi/acpica/dbxface.c if ((op->common.aml_opcode == AML_IF_OP) || op 310 drivers/acpi/acpica/dbxface.c (op->common.aml_opcode == AML_WHILE_OP)) { op 318 drivers/acpi/acpica/dbxface.c } else if (op->common.aml_opcode == AML_ELSE_OP) { op 325 drivers/acpi/acpica/dbxface.c op->common.next = next; op 345 drivers/acpi/acpica/dbxface.c if (op->common.aml_opcode != AML_INT_METHODCALL_OP) { op 361 drivers/acpi/acpica/dbxface.c if (op->common.aml_opcode == AML_INT_METHODCALL_OP) { op 375 drivers/acpi/acpica/dbxface.c status = acpi_db_start_command(walk_state, op); op 48 drivers/acpi/acpica/dsargs.c union acpi_parse_object *op; op 55 drivers/acpi/acpica/dsargs.c op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP, aml_start); op 56 drivers/acpi/acpica/dsargs.c if (!op) { op 62 drivers/acpi/acpica/dsargs.c op->common.node = scope_node; op 72 drivers/acpi/acpica/dsargs.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, op 93 drivers/acpi/acpica/dsargs.c op->common.node = node; op 94 drivers/acpi/acpica/dsargs.c acpi_ps_delete_parse_tree(op); op 98 drivers/acpi/acpica/dsargs.c op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP, aml_start); op 99 drivers/acpi/acpica/dsargs.c if (!op) { op 103 drivers/acpi/acpica/dsargs.c op->common.node = scope_node; op 115 drivers/acpi/acpica/dsargs.c status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, op 128 drivers/acpi/acpica/dsargs.c acpi_ps_delete_parse_tree(op); op 36 drivers/acpi/acpica/dscontrol.c union acpi_parse_object *op) op 44 drivers/acpi/acpica/dscontrol.c op, op->common.aml_opcode, walk_state)); op 46 drivers/acpi/acpica/dscontrol.c switch (op->common.aml_opcode) { op 86 drivers/acpi/acpica/dscontrol.c control_state->control.opcode = op->common.aml_opcode; op 135 drivers/acpi/acpica/dscontrol.c union acpi_parse_object *op) op 142 drivers/acpi/acpica/dscontrol.c switch (op->common.aml_opcode) { op 145 drivers/acpi/acpica/dscontrol.c ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[IF_OP] Op=%p\n", op)); op 169 drivers/acpi/acpica/dscontrol.c ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[WHILE_OP] Op=%p\n", op)); op 202 drivers/acpi/acpica/dscontrol.c "[WHILE_OP] termination! Op=%p\n", op)); op 214 drivers/acpi/acpica/dscontrol.c "[RETURN_OP] Op=%p Arg=%p\n", op, op 215 drivers/acpi/acpica/dscontrol.c op->common.value.arg)); op 222 drivers/acpi/acpica/dscontrol.c if (op->common.value.arg) { op 232 drivers/acpi/acpica/dscontrol.c op->common.value.arg); op 355 drivers/acpi/acpica/dscontrol.c if (op->common.aml_opcode == AML_BREAK_OP) { op 365 drivers/acpi/acpica/dscontrol.c op->common.aml_opcode, op)); op 91 drivers/acpi/acpica/dsdebug.c union acpi_parse_object *op) op 157 drivers/acpi/acpica/dsdebug.c if (op) { op 161 drivers/acpi/acpica/dsdebug.c next = op->common.next; op 162 drivers/acpi/acpica/dsdebug.c op->common.next = NULL; op 171 drivers/acpi/acpica/dsdebug.c acpi_dm_disassemble(next_walk_state, op, op 175 drivers/acpi/acpica/dsdebug.c op->common.next = next; op 200 drivers/acpi/acpica/dsdebug.c union acpi_parse_object *op) op 30 drivers/acpi/acpica/dsfield.c union acpi_parse_object *op, op 61 drivers/acpi/acpica/dsfield.c union acpi_parse_object *op, op 78 drivers/acpi/acpica/dsfield.c acpi_dm_add_op_to_external_list(op, path, ACPI_TYPE_REGION, 0, 0); op 120 drivers/acpi/acpica/dsfield.c acpi_ds_create_buffer_field(union acpi_parse_object *op, op 135 drivers/acpi/acpica/dsfield.c if (op->common.aml_opcode == AML_CREATE_FIELD_OP) { op 139 drivers/acpi/acpica/dsfield.c arg = acpi_ps_get_arg(op, 3); op 143 drivers/acpi/acpica/dsfield.c arg = acpi_ps_get_arg(op, 2); op 193 drivers/acpi/acpica/dsfield.c op->common.node = node; op 223 drivers/acpi/acpica/dsfield.c second_desc->extra.aml_start = op->named.data; op 224 drivers/acpi/acpica/dsfield.c second_desc->extra.aml_length = op->named.length; op 474 drivers/acpi/acpica/dsfield.c acpi_ds_create_field(union acpi_parse_object *op, op 482 drivers/acpi/acpica/dsfield.c ACPI_FUNCTION_TRACE_PTR(ds_create_field, op); op 486 drivers/acpi/acpica/dsfield.c arg = op->common.value.arg; op 547 drivers/acpi/acpica/dsfield.c acpi_ds_init_field_objects(union acpi_parse_object *op, op 556 drivers/acpi/acpica/dsfield.c ACPI_FUNCTION_TRACE_PTR(ds_init_field_objects, op); op 579 drivers/acpi/acpica/dsfield.c arg = acpi_ps_get_arg(op, 2); op 585 drivers/acpi/acpica/dsfield.c arg = acpi_ps_get_arg(op, 4); op 591 drivers/acpi/acpica/dsfield.c arg = acpi_ps_get_arg(op, 3); op 669 drivers/acpi/acpica/dsfield.c acpi_ds_create_bank_field(union acpi_parse_object *op, op 677 drivers/acpi/acpica/dsfield.c ACPI_FUNCTION_TRACE_PTR(ds_create_bank_field, op); op 681 drivers/acpi/acpica/dsfield.c arg = op->common.value.arg; op 741 drivers/acpi/acpica/dsfield.c info.data_register_node = (struct acpi_namespace_node *)op; op 762 drivers/acpi/acpica/dsfield.c acpi_ds_create_index_field(union acpi_parse_object *op, op 770 drivers/acpi/acpica/dsfield.c ACPI_FUNCTION_TRACE_PTR(ds_create_index_field, op); op 774 drivers/acpi/acpica/dsfield.c arg = op->common.value.arg; op 59 drivers/acpi/acpica/dsmethod.c union acpi_parse_object *op = NULL; op 70 drivers/acpi/acpica/dsmethod.c op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); op 71 drivers/acpi/acpica/dsmethod.c if (!op) { op 75 drivers/acpi/acpica/dsmethod.c acpi_ps_set_name(op, node->name.integer); op 76 drivers/acpi/acpica/dsmethod.c op->common.node = node; op 83 drivers/acpi/acpica/dsmethod.c acpi_ps_free_op(op); op 87 drivers/acpi/acpica/dsmethod.c status = acpi_ds_init_aml_walk(walk_state, op, node, op 92 drivers/acpi/acpica/dsmethod.c acpi_ps_free_op(op); op 102 drivers/acpi/acpica/dsmethod.c acpi_ps_delete_parse_tree(op); op 222 drivers/acpi/acpica/dsmethod.c acpi_ds_dump_method_stack(status, walk_state, walk_state->op); op 458 drivers/acpi/acpica/dsmethod.c union acpi_parse_object *op) op 37 drivers/acpi/acpica/dsobject.c union acpi_parse_object *op, op 46 drivers/acpi/acpica/dsobject.c if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) { op 52 drivers/acpi/acpica/dsobject.c if (!op->common.node) { op 56 drivers/acpi/acpica/dsobject.c if ((op->common.parent->common.aml_opcode == op 58 drivers/acpi/acpica/dsobject.c || (op->common.parent->common.aml_opcode == op 69 drivers/acpi/acpica/dsobject.c op->common.value.string, op 78 drivers/acpi/acpica/dsobject.c &(op->common.node))); op 82 drivers/acpi/acpica/dsobject.c op->common.value. op 95 drivers/acpi/acpica/dsobject.c (op->common.aml_opcode))-> op 102 drivers/acpi/acpica/dsobject.c acpi_ds_init_object_from_op(walk_state, op, op->common.aml_opcode, op 113 drivers/acpi/acpica/dsobject.c if ((op->common.parent->common.aml_opcode == AML_PACKAGE_OP) || op 114 drivers/acpi/acpica/dsobject.c (op->common.parent->common.aml_opcode == AML_VARIABLE_PACKAGE_OP)) { op 117 drivers/acpi/acpica/dsobject.c if ((op->common.aml_opcode == AML_INT_NAMEPATH_OP) && op 125 drivers/acpi/acpica/dsobject.c obj_desc->reference.aml = op->common.aml; op 152 drivers/acpi/acpica/dsobject.c union acpi_parse_object *op, op 185 drivers/acpi/acpica/dsobject.c arg = op->common.value.arg; /* skip first arg */ op 234 drivers/acpi/acpica/dsobject.c op->common.node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_desc); op 255 drivers/acpi/acpica/dsobject.c union acpi_parse_object *op) op 260 drivers/acpi/acpica/dsobject.c ACPI_FUNCTION_TRACE_PTR(ds_create_node, op); op 271 drivers/acpi/acpica/dsobject.c if (!op->common.value.arg) { op 281 drivers/acpi/acpica/dsobject.c acpi_ds_build_internal_object(walk_state, op->common.value.arg, op 320 drivers/acpi/acpica/dsobject.c union acpi_parse_object *op, op 349 drivers/acpi/acpica/dsobject.c obj_desc->buffer.aml_start = op->named.data; op 350 drivers/acpi/acpica/dsobject.c obj_desc->buffer.aml_length = op->named.length; op 365 drivers/acpi/acpica/dsobject.c if (!op->named.data) { op 369 drivers/acpi/acpica/dsobject.c obj_desc->package.aml_start = op->named.data; op 370 drivers/acpi/acpica/dsobject.c obj_desc->package.aml_length = op->named.length; op 424 drivers/acpi/acpica/dsobject.c obj_desc->integer.value = op->common.value.integer; op 432 drivers/acpi/acpica/dsobject.c ACPI_FORMAT_UINT64(op->common. op 449 drivers/acpi/acpica/dsobject.c obj_desc->string.pointer = op->common.value.string; op 450 drivers/acpi/acpica/dsobject.c obj_desc->string.length = (u32)strlen(op->common.value.string); op 506 drivers/acpi/acpica/dsobject.c switch (op->common.aml_opcode) { op 511 drivers/acpi/acpica/dsobject.c obj_desc->reference.node = op->common.node; op 513 drivers/acpi/acpica/dsobject.c if (op->common.node) { op 515 drivers/acpi/acpica/dsobject.c op->common.node->object; op 267 drivers/acpi/acpica/dsopcode.c union acpi_parse_object *op) op 274 drivers/acpi/acpica/dsopcode.c ACPI_FUNCTION_TRACE_PTR(ds_eval_buffer_field_operands, op); op 280 drivers/acpi/acpica/dsopcode.c node = op->common.node; op 284 drivers/acpi/acpica/dsopcode.c next_op = op->common.value.arg; op 301 drivers/acpi/acpica/dsopcode.c acpi_ex_resolve_operands(op->common.aml_opcode, ACPI_WALK_OPERANDS, op 305 drivers/acpi/acpica/dsopcode.c acpi_ps_get_opcode_name(op->common.aml_opcode), op 313 drivers/acpi/acpica/dsopcode.c if (op->common.aml_opcode == AML_CREATE_FIELD_OP) { op 318 drivers/acpi/acpica/dsopcode.c acpi_ds_init_buffer_field(op->common.aml_opcode, obj_desc, op 327 drivers/acpi/acpica/dsopcode.c acpi_ds_init_buffer_field(op->common.aml_opcode, obj_desc, op 352 drivers/acpi/acpica/dsopcode.c union acpi_parse_object *op) op 361 drivers/acpi/acpica/dsopcode.c ACPI_FUNCTION_TRACE_PTR(ds_eval_region_operands, op); op 367 drivers/acpi/acpica/dsopcode.c node = op->common.node; op 371 drivers/acpi/acpica/dsopcode.c next_op = op->common.value.arg; op 388 drivers/acpi/acpica/dsopcode.c acpi_ex_resolve_operands(op->common.aml_opcode, ACPI_WALK_OPERANDS, op 459 drivers/acpi/acpica/dsopcode.c union acpi_parse_object *op) op 469 drivers/acpi/acpica/dsopcode.c ACPI_FUNCTION_TRACE_PTR(ds_eval_table_region_operands, op); op 475 drivers/acpi/acpica/dsopcode.c node = op->common.node; op 479 drivers/acpi/acpica/dsopcode.c next_op = op->common.value.arg; op 497 drivers/acpi/acpica/dsopcode.c acpi_ex_resolve_operands(op->common.aml_opcode, ACPI_WALK_OPERANDS, op 567 drivers/acpi/acpica/dsopcode.c union acpi_parse_object *op, op 586 drivers/acpi/acpica/dsopcode.c if (!op->common.value.arg) { op 589 drivers/acpi/acpica/dsopcode.c op->common.aml_opcode, op)); op 593 drivers/acpi/acpica/dsopcode.c status = acpi_ds_create_operand(walk_state, op->common.value.arg, 1); op 623 drivers/acpi/acpica/dsopcode.c switch (op->common.aml_opcode) { op 627 drivers/acpi/acpica/dsopcode.c acpi_ds_build_internal_buffer_obj(walk_state, op, length, op 635 drivers/acpi/acpica/dsopcode.c acpi_ds_build_internal_package_obj(walk_state, op, length, op 650 drivers/acpi/acpica/dsopcode.c if ((!op->common.parent) || op 651 drivers/acpi/acpica/dsopcode.c ((op->common.parent->common.aml_opcode != AML_PACKAGE_OP) && op 652 drivers/acpi/acpica/dsopcode.c (op->common.parent->common.aml_opcode != op 654 drivers/acpi/acpica/dsopcode.c && (op->common.parent->common.aml_opcode != op 679 drivers/acpi/acpica/dsopcode.c union acpi_parse_object *op) op 688 drivers/acpi/acpica/dsopcode.c ACPI_FUNCTION_TRACE_PTR(ds_eval_bank_field_operands, op); op 697 drivers/acpi/acpica/dsopcode.c next_op = op->common.value.arg; op 726 drivers/acpi/acpica/dsopcode.c acpi_ps_get_opcode_name(op->common.aml_opcode), 1); op 735 drivers/acpi/acpica/dsopcode.c arg = acpi_ps_get_arg(op, 4); op 56 drivers/acpi/acpica/dspkginit.c union acpi_parse_object *op, op 79 drivers/acpi/acpica/dspkginit.c parent = op->common.parent; op 129 drivers/acpi/acpica/dspkginit.c arg = op->common.value.arg; op 307 drivers/acpi/acpica/dspkginit.c op->common.node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_desc); op 133 drivers/acpi/acpica/dsutils.c acpi_ds_is_result_used(union acpi_parse_object * op, op 138 drivers/acpi/acpica/dsutils.c ACPI_FUNCTION_TRACE_PTR(ds_is_result_used, op); op 142 drivers/acpi/acpica/dsutils.c if (!op) { op 167 drivers/acpi/acpica/dsutils.c if ((!op->common.parent) || op 168 drivers/acpi/acpica/dsutils.c (op->common.parent->common.aml_opcode == AML_SCOPE_OP)) { op 174 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_name(op->common. op 182 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_info(op->common.parent->common.aml_opcode); op 184 drivers/acpi/acpica/dsutils.c ACPI_ERROR((AE_INFO, "Unknown parent opcode Op=%p", op)); op 197 drivers/acpi/acpica/dsutils.c switch (op->common.parent->common.aml_opcode) { op 213 drivers/acpi/acpica/dsutils.c op)) { op 238 drivers/acpi/acpica/dsutils.c if ((op->common.parent->common.aml_opcode == AML_REGION_OP) || op 239 drivers/acpi/acpica/dsutils.c (op->common.parent->common.aml_opcode == AML_DATA_REGION_OP) op 240 drivers/acpi/acpica/dsutils.c || (op->common.parent->common.aml_opcode == AML_PACKAGE_OP) op 241 drivers/acpi/acpica/dsutils.c || (op->common.parent->common.aml_opcode == AML_BUFFER_OP) op 242 drivers/acpi/acpica/dsutils.c || (op->common.parent->common.aml_opcode == op 244 drivers/acpi/acpica/dsutils.c || (op->common.parent->common.aml_opcode == op 246 drivers/acpi/acpica/dsutils.c || (op->common.parent->common.aml_opcode == op 268 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_name(op->common.aml_opcode), op 269 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_name(op->common.parent->common. op 270 drivers/acpi/acpica/dsutils.c aml_opcode), op)); op 277 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_name(op->common.aml_opcode), op 278 drivers/acpi/acpica/dsutils.c acpi_ps_get_opcode_name(op->common.parent->common. op 279 drivers/acpi/acpica/dsutils.c aml_opcode), op)); op 302 drivers/acpi/acpica/dsutils.c acpi_ds_delete_result_if_not_used(union acpi_parse_object *op, op 311 drivers/acpi/acpica/dsutils.c if (!op) { op 320 drivers/acpi/acpica/dsutils.c if (!acpi_ds_is_result_used(op, walk_state)) { op 748 drivers/acpi/acpica/dsutils.c union acpi_parse_object *op = walk_state->op; op 755 drivers/acpi/acpica/dsutils.c if (!op->common.parent) { op 762 drivers/acpi/acpica/dsutils.c if ((op->common.parent->common.aml_opcode == AML_PACKAGE_OP) || op 763 drivers/acpi/acpica/dsutils.c (op->common.parent->common.aml_opcode == AML_VARIABLE_PACKAGE_OP) || op 764 drivers/acpi/acpica/dsutils.c (op->common.parent->common.aml_opcode == AML_REF_OF_OP)) { op 771 drivers/acpi/acpica/dsutils.c status = acpi_ds_create_operand(walk_state, op, 0); op 776 drivers/acpi/acpica/dsutils.c if (op->common.flags & ACPI_PARSEOP_TARGET) { op 825 drivers/acpi/acpica/dsutils.c op->common.flags |= ACPI_PARSEOP_IN_STACK; op 78 drivers/acpi/acpica/dswexec.c status = acpi_ds_create_operand(walk_state, walk_state->op, 0); op 148 drivers/acpi/acpica/dswexec.c walk_state->op)); op 186 drivers/acpi/acpica/dswexec.c union acpi_parse_object *op; op 192 drivers/acpi/acpica/dswexec.c op = walk_state->op; op 193 drivers/acpi/acpica/dswexec.c if (!op) { op 199 drivers/acpi/acpica/dswexec.c op = *out_op; op 200 drivers/acpi/acpica/dswexec.c walk_state->op = op; op 201 drivers/acpi/acpica/dswexec.c walk_state->opcode = op->common.aml_opcode; op 203 drivers/acpi/acpica/dswexec.c acpi_ps_get_opcode_info(op->common.aml_opcode); op 211 drivers/acpi/acpica/dswexec.c op)); op 220 drivers/acpi/acpica/dswexec.c if (op == walk_state->origin) { op 222 drivers/acpi/acpica/dswexec.c *out_op = op; op 238 drivers/acpi/acpica/dswexec.c op, walk_state)); op 245 drivers/acpi/acpica/dswexec.c walk_state->control_state->control.predicate_op = op; op 252 drivers/acpi/acpica/dswexec.c if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) { op 262 drivers/acpi/acpica/dswexec.c status = acpi_ds_exec_begin_control_op(walk_state, op); op 279 drivers/acpi/acpica/dswexec.c if (op->common.aml_opcode != AML_SCOPE_OP) { op 284 drivers/acpi/acpica/dswexec.c acpi_ds_scope_stack_push(op->named.node, op 285 drivers/acpi/acpica/dswexec.c op->named.node-> op 329 drivers/acpi/acpica/dswexec.c union acpi_parse_object *op; op 342 drivers/acpi/acpica/dswexec.c op = walk_state->op; op 348 drivers/acpi/acpica/dswexec.c op->common.aml_opcode)); op 352 drivers/acpi/acpica/dswexec.c first_arg = op->common.value.arg; op 363 drivers/acpi/acpica/dswexec.c status = acpi_db_single_step(walk_state, op, op_class); op 460 drivers/acpi/acpica/dswexec.c status = acpi_ds_exec_end_control_op(walk_state, op); op 470 drivers/acpi/acpica/dswexec.c if ((op->asl.parent) && op 471 drivers/acpi/acpica/dswexec.c ((op->asl.parent->asl.aml_opcode == AML_PACKAGE_OP) op 472 drivers/acpi/acpica/dswexec.c || (op->asl.parent->asl.aml_opcode == op 476 drivers/acpi/acpica/dswexec.c op)); op 478 drivers/acpi/acpica/dswexec.c op->common.node = (struct acpi_namespace_node *) op 479 drivers/acpi/acpica/dswexec.c op->asl.value.arg->asl.node; op 480 drivers/acpi/acpica/dswexec.c acpi_ut_add_reference(op->asl.value.arg->asl. op 486 drivers/acpi/acpica/dswexec.c "Method invocation, Op=%p\n", op)); op 538 drivers/acpi/acpica/dswexec.c op)); op 546 drivers/acpi/acpica/dswexec.c acpi_ds_eval_buffer_field_operands(walk_state, op); op 556 drivers/acpi/acpica/dswexec.c acpi_ns_get_external_pathname(op->common.node); op 561 drivers/acpi/acpica/dswexec.c op->common. op 579 drivers/acpi/acpica/dswexec.c op, op->named.value.arg, op 580 drivers/acpi/acpica/dswexec.c op->common.parent->common. op 583 drivers/acpi/acpica/dswexec.c switch (op->common.parent->common.aml_opcode) { op 590 drivers/acpi/acpica/dswexec.c op->common.parent->common.node; op 594 drivers/acpi/acpica/dswexec.c op->common.parent-> op 596 drivers/acpi/acpica/dswexec.c op->common.parent); op 608 drivers/acpi/acpica/dswexec.c (walk_state, op, op 609 drivers/acpi/acpica/dswexec.c acpi_ns_get_attached_object(op->common. op 618 drivers/acpi/acpica/dswexec.c (walk_state, op, NULL); op 643 drivers/acpi/acpica/dswexec.c if (op->common.aml_opcode == AML_REGION_OP) { op 646 drivers/acpi/acpica/dswexec.c op)); op 650 drivers/acpi/acpica/dswexec.c op); op 654 drivers/acpi/acpica/dswexec.c } else if (op->common.aml_opcode == AML_DATA_REGION_OP) { op 657 drivers/acpi/acpica/dswexec.c op)); op 661 drivers/acpi/acpica/dswexec.c (walk_state, op); op 665 drivers/acpi/acpica/dswexec.c } else if (op->common.aml_opcode == AML_BANK_FIELD_OP) { op 668 drivers/acpi/acpica/dswexec.c op)); op 672 drivers/acpi/acpica/dswexec.c op); op 682 drivers/acpi/acpica/dswexec.c "Undefined opcode type Op=%p", op)); op 689 drivers/acpi/acpica/dswexec.c walk_state->opcode, op)); op 697 drivers/acpi/acpica/dswexec.c op_class, op_type, op->common.aml_opcode, op 698 drivers/acpi/acpica/dswexec.c op)); op 719 drivers/acpi/acpica/dswexec.c (walk_state->control_state->control.predicate_op == op)) { op 740 drivers/acpi/acpica/dswexec.c acpi_ds_delete_result_if_not_used(op, walk_state->result_obj, op 106 drivers/acpi/acpica/dswload.c union acpi_parse_object *op; op 113 drivers/acpi/acpica/dswload.c ACPI_FUNCTION_TRACE_PTR(ds_load1_begin_op, walk_state->op); op 115 drivers/acpi/acpica/dswload.c op = walk_state->op; op 116 drivers/acpi/acpica/dswload.c ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, op 121 drivers/acpi/acpica/dswload.c if (op) { op 123 drivers/acpi/acpica/dswload.c *out_op = op; op 129 drivers/acpi/acpica/dswload.c if (op->common.node) { op 130 drivers/acpi/acpica/dswload.c *out_op = op; op 142 drivers/acpi/acpica/dswload.c "State=%p Op=%p [%s]\n", walk_state, op, op 163 drivers/acpi/acpica/dswload.c acpi_dm_add_op_to_external_list(op, path, op 352 drivers/acpi/acpica/dswload.c if (!op) { op 356 drivers/acpi/acpica/dswload.c op = acpi_ps_alloc_op(walk_state->opcode, walk_state->aml); op 357 drivers/acpi/acpica/dswload.c if (!op) { op 365 drivers/acpi/acpica/dswload.c op->named.path = path; op 373 drivers/acpi/acpica/dswload.c op->common.node = node; op 374 drivers/acpi/acpica/dswload.c op->named.name = node->name.integer; op 378 drivers/acpi/acpica/dswload.c op); op 379 drivers/acpi/acpica/dswload.c *out_op = op; op 398 drivers/acpi/acpica/dswload.c union acpi_parse_object *op; op 407 drivers/acpi/acpica/dswload.c op = walk_state->op; op 408 drivers/acpi/acpica/dswload.c ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, op 428 drivers/acpi/acpica/dswload.c status = acpi_ds_create_buffer_field(op, walk_state); op 452 drivers/acpi/acpica/dswload.c acpi_ds_init_field_objects(op, walk_state); op 463 drivers/acpi/acpica/dswload.c if (op->common.aml_opcode == AML_REGION_OP) { op 465 drivers/acpi/acpica/dswload.c acpi_ex_create_region(op->named.data, op 466 drivers/acpi/acpica/dswload.c op->named.length, op 468 drivers/acpi/acpica/dswload.c ((op->common.value.arg)-> op 474 drivers/acpi/acpica/dswload.c } else if (op->common.aml_opcode == AML_DATA_REGION_OP) { op 476 drivers/acpi/acpica/dswload.c acpi_ex_create_region(op->named.data, op 477 drivers/acpi/acpica/dswload.c op->named.length, op 486 drivers/acpi/acpica/dswload.c if (op->common.aml_opcode == AML_NAME_OP) { op 490 drivers/acpi/acpica/dswload.c if (op->common.value.arg) { op 491 drivers/acpi/acpica/dswload.c object_type = (acpi_ps_get_opcode_info((op->common. op 499 drivers/acpi/acpica/dswload.c if (op->common.node) { op 500 drivers/acpi/acpica/dswload.c op->common.node->type = (u8) object_type; op 510 drivers/acpi/acpica/dswload.c op->common.node && op->common.aml_opcode == AML_EXTERNAL_OP) { op 517 drivers/acpi/acpica/dswload.c (u8)op->common.value.arg->common.next->common.value.integer; op 518 drivers/acpi/acpica/dswload.c object_type = (u8)op->common.value.arg->common.value.integer; op 519 drivers/acpi/acpica/dswload.c op->common.node->flags |= ANOBJ_IS_EXTERNAL; op 520 drivers/acpi/acpica/dswload.c op->common.node->type = (u8)object_type; op 523 drivers/acpi/acpica/dswload.c &op->common.node, op 530 drivers/acpi/acpica/dswload.c acpi_dm_add_op_to_external_list(op, op->named.path, op 542 drivers/acpi/acpica/dswload.c if (op->common.aml_opcode == AML_METHOD_OP) { op 553 drivers/acpi/acpica/dswload.c walk_state, op, op->named.node)); op 555 drivers/acpi/acpica/dswload.c if (!acpi_ns_get_attached_object(op->named.node)) { op 557 drivers/acpi/acpica/dswload.c ACPI_CAST_PTR(void, op->named.node); op 562 drivers/acpi/acpica/dswload.c op->common.value. op 566 drivers/acpi/acpica/dswload.c acpi_ex_create_method(op->named. op 568 drivers/acpi/acpica/dswload.c op->named. op 586 drivers/acpi/acpica/dswload.c op->common.aml_opcode != AML_EXTERNAL_OP && op 590 drivers/acpi/acpica/dswload.c acpi_ut_get_type_name(object_type), op)); op 41 drivers/acpi/acpica/dswload2.c union acpi_parse_object *op; op 50 drivers/acpi/acpica/dswload2.c op = walk_state->op; op 51 drivers/acpi/acpica/dswload2.c ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, op 54 drivers/acpi/acpica/dswload2.c if (op) { op 79 drivers/acpi/acpica/dswload2.c buffer_ptr = op->common.value.string; op 89 drivers/acpi/acpica/dswload2.c buffer_ptr = ACPI_CAST_PTR(char, &op->named.name); op 103 drivers/acpi/acpica/dswload2.c "State=%p Op=%p Type=%X\n", walk_state, op, op 131 drivers/acpi/acpica/dswload2.c if (op && (op->named.node == acpi_gbl_root_node)) { op 132 drivers/acpi/acpica/dswload2.c node = op->named.node; op 237 drivers/acpi/acpica/dswload2.c if (op && op->common.node) { op 241 drivers/acpi/acpica/dswload2.c node = op->common.node; op 331 drivers/acpi/acpica/dswload2.c if (!op) { op 335 drivers/acpi/acpica/dswload2.c op = acpi_ps_alloc_op(walk_state->opcode, walk_state->aml); op 336 drivers/acpi/acpica/dswload2.c if (!op) { op 343 drivers/acpi/acpica/dswload2.c op->named.name = node->name.integer; op 345 drivers/acpi/acpica/dswload2.c *out_op = op; op 352 drivers/acpi/acpica/dswload2.c op->common.node = node; op 371 drivers/acpi/acpica/dswload2.c union acpi_parse_object *op; op 386 drivers/acpi/acpica/dswload2.c op = walk_state->op; op 388 drivers/acpi/acpica/dswload2.c walk_state->op_info->name, op, walk_state)); op 396 drivers/acpi/acpica/dswload2.c if (op->common.aml_opcode == AML_SCOPE_OP) { op 398 drivers/acpi/acpica/dswload2.c "Ending scope Op=%p State=%p\n", op, op 408 drivers/acpi/acpica/dswload2.c node = op->common.node; op 420 drivers/acpi/acpica/dswload2.c (op->common.aml_opcode != AML_INT_METHODCALL_OP)) { op 423 drivers/acpi/acpica/dswload2.c acpi_ut_get_type_name(object_type), op)); op 461 drivers/acpi/acpica/dswload2.c acpi_ps_get_opcode_name(op->common.aml_opcode), op 462 drivers/acpi/acpica/dswload2.c walk_state, op, node)); op 466 drivers/acpi/acpica/dswload2.c arg = op->common.value.arg; op 475 drivers/acpi/acpica/dswload2.c status = acpi_ds_create_buffer_field(op, walk_state); op 488 drivers/acpi/acpica/dswload2.c status = acpi_ds_init_field_objects(op, walk_state); op 491 drivers/acpi/acpica/dswload2.c switch (op->common.aml_opcode) { op 495 drivers/acpi/acpica/dswload2.c acpi_ds_create_index_field(op, op 503 drivers/acpi/acpica/dswload2.c acpi_ds_create_bank_field(op, arg->common.node, op 510 drivers/acpi/acpica/dswload2.c acpi_ds_create_field(op, arg->common.node, op 528 drivers/acpi/acpica/dswload2.c switch (op->common.aml_opcode) { op 573 drivers/acpi/acpica/dswload2.c switch (op->common.aml_opcode) { op 577 drivers/acpi/acpica/dswload2.c if (op->common.aml_opcode == AML_REGION_OP) { op 579 drivers/acpi/acpica/dswload2.c ((op->common.value.arg)->common.value. op 602 drivers/acpi/acpica/dswload2.c status = acpi_ex_create_region(op->named.data, op 603 drivers/acpi/acpica/dswload2.c op->named.length, op 618 drivers/acpi/acpica/dswload2.c status = acpi_ds_create_node(walk_state, node, op); op 655 drivers/acpi/acpica/dswload2.c walk_state, op, op->named.node)); op 657 drivers/acpi/acpica/dswload2.c if (!acpi_ns_get_attached_object(op->named.node)) { op 659 drivers/acpi/acpica/dswload2.c ACPI_CAST_PTR(void, op->named.node); op 664 drivers/acpi/acpica/dswload2.c op->common.value. op 668 drivers/acpi/acpica/dswload2.c acpi_ex_create_method(op->named. op 670 drivers/acpi/acpica/dswload2.c op->named. op 700 drivers/acpi/acpica/dswload2.c walk_state, op, node)); op 726 drivers/acpi/acpica/dswload2.c op->common.node = new_node; op 566 drivers/acpi/acpica/dswstate.c union acpi_parse_object *op, op 593 drivers/acpi/acpica/dswstate.c status = acpi_ps_init_scope(&walk_state->parser_state, op); op 226 drivers/acpi/acpica/excreate.c node = walk_state->op->common.node; op 279 drivers/acpi/acpica/extrace.c acpi_ex_start_trace_opcode(union acpi_parse_object *op, op 288 drivers/acpi/acpica/extrace.c op->common.aml, op->common.aml_op_name); op 307 drivers/acpi/acpica/extrace.c acpi_ex_stop_trace_opcode(union acpi_parse_object *op, op 316 drivers/acpi/acpica/extrace.c op->common.aml, op->common.aml_op_name); op 308 drivers/acpi/acpica/psargs.c else if (walk_state->op->common.aml_opcode == op 33 drivers/acpi/acpica/psloop.c u8 * aml_op_start, union acpi_parse_object *op); op 51 drivers/acpi/acpica/psloop.c u8 * aml_op_start, union acpi_parse_object *op) op 60 drivers/acpi/acpica/psloop.c op->common.aml_op_name)); op 62 drivers/acpi/acpica/psloop.c switch (op->common.aml_opcode) { op 74 drivers/acpi/acpica/psloop.c op); op 81 drivers/acpi/acpica/psloop.c op, op 98 drivers/acpi/acpica/psloop.c switch (op->common.aml_opcode) { op 123 drivers/acpi/acpica/psloop.c acpi_ps_append_arg(op, arg); op 136 drivers/acpi/acpica/psloop.c switch (op->common.aml_opcode) { op 144 drivers/acpi/acpica/psloop.c op->named.data = walk_state->parser_state.aml; op 145 drivers/acpi/acpica/psloop.c op->named.length = (u32) op 160 drivers/acpi/acpica/psloop.c if ((op->common.parent) && op 161 drivers/acpi/acpica/psloop.c (op->common.parent->common.aml_opcode == op 174 drivers/acpi/acpica/psloop.c op->named.data = aml_op_start; op 175 drivers/acpi/acpica/psloop.c op->named.length = (u32) op 224 drivers/acpi/acpica/psloop.c union acpi_parse_object *op = NULL; /* current op */ op 249 drivers/acpi/acpica/psloop.c if ((parser_state->scope->parse_scope.op) && op 250 drivers/acpi/acpica/psloop.c ((parser_state->scope->parse_scope.op->common. op 252 drivers/acpi/acpica/psloop.c || (parser_state->scope->parse_scope.op->common. op 261 drivers/acpi/acpica/psloop.c walk_state->op = NULL; op 280 drivers/acpi/acpica/psloop.c acpi_ps_next_parse_state(walk_state, op, op 284 drivers/acpi/acpica/psloop.c acpi_ps_pop_scope(parser_state, &op, op 288 drivers/acpi/acpica/psloop.c "Popped scope, Op=%p\n", op)); op 293 drivers/acpi/acpica/psloop.c op = walk_state->prev_op; op 301 drivers/acpi/acpica/psloop.c while ((parser_state->aml < parser_state->aml_end) || (op)) { op 305 drivers/acpi/acpica/psloop.c if (!op) { op 307 drivers/acpi/acpica/psloop.c acpi_ps_create_op(walk_state, aml_op_start, &op); op 335 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, op 372 drivers/acpi/acpica/psloop.c acpi_ex_start_trace_opcode(op, walk_state); op 381 drivers/acpi/acpica/psloop.c switch (op->common.aml_opcode) { op 402 drivers/acpi/acpica/psloop.c acpi_ps_get_arguments(walk_state, aml_op_start, op); op 405 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, op 443 drivers/acpi/acpica/psloop.c op = NULL; op 459 drivers/acpi/acpica/psloop.c status = acpi_ps_push_scope(parser_state, op, op 464 drivers/acpi/acpica/psloop.c acpi_ps_complete_op(walk_state, &op, op 473 drivers/acpi/acpica/psloop.c op = NULL; op 482 drivers/acpi/acpica/psloop.c acpi_ps_get_opcode_info(op->common.aml_opcode); op 484 drivers/acpi/acpica/psloop.c if (op->common.aml_opcode == AML_REGION_OP || op 485 drivers/acpi/acpica/psloop.c op->common.aml_opcode == AML_DATA_REGION_OP) { op 494 drivers/acpi/acpica/psloop.c op->named.length = op 495 drivers/acpi/acpica/psloop.c (u32) (parser_state->aml - op->named.data); op 506 drivers/acpi/acpica/psloop.c op->named.length = op 507 drivers/acpi/acpica/psloop.c (u32) (parser_state->aml - op->named.data); op 510 drivers/acpi/acpica/psloop.c if (op->common.aml_opcode == AML_BANK_FIELD_OP) { op 516 drivers/acpi/acpica/psloop.c op->named.length = op 517 drivers/acpi/acpica/psloop.c (u32) (parser_state->aml - op->named.data); op 523 drivers/acpi/acpica/psloop.c walk_state->op = op; op 524 drivers/acpi/acpica/psloop.c walk_state->opcode = op->common.aml_opcode; op 528 drivers/acpi/acpica/psloop.c acpi_ps_next_parse_state(walk_state, op, status); op 553 drivers/acpi/acpica/psloop.c status = acpi_ps_complete_op(walk_state, &op, status); op 560 drivers/acpi/acpica/psloop.c status = acpi_ps_complete_final_op(walk_state, op, status); op 157 drivers/acpi/acpica/psobject.c union acpi_parse_object **op) op 215 drivers/acpi/acpica/psobject.c walk_state->op = NULL; op 217 drivers/acpi/acpica/psobject.c status = walk_state->descending_callback(walk_state, op); op 226 drivers/acpi/acpica/psobject.c if (!*op) { op 230 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, *op, status); op 238 drivers/acpi/acpica/psobject.c acpi_ps_append_arg(*op, unnamed_op->common.value.arg); op 244 drivers/acpi/acpica/psobject.c (*op)->common.inline_comment = unnamed_op->common.inline_comment; op 245 drivers/acpi/acpica/psobject.c (*op)->common.end_node_comment = unnamed_op->common.end_node_comment; op 246 drivers/acpi/acpica/psobject.c (*op)->common.close_brace_comment = op 248 drivers/acpi/acpica/psobject.c (*op)->common.name_comment = unnamed_op->common.name_comment; op 249 drivers/acpi/acpica/psobject.c (*op)->common.comment_list = unnamed_op->common.comment_list; op 250 drivers/acpi/acpica/psobject.c (*op)->common.end_blk_comment = unnamed_op->common.end_blk_comment; op 251 drivers/acpi/acpica/psobject.c (*op)->common.cv_filename = unnamed_op->common.cv_filename; op 252 drivers/acpi/acpica/psobject.c (*op)->common.cv_parent_filename = op 254 drivers/acpi/acpica/psobject.c (*op)->named.aml = unnamed_op->common.aml; op 264 drivers/acpi/acpica/psobject.c if ((*op)->common.aml_opcode == AML_REGION_OP || op 265 drivers/acpi/acpica/psobject.c (*op)->common.aml_opcode == AML_DATA_REGION_OP) { op 276 drivers/acpi/acpica/psobject.c (*op)->named.data = aml_op_start; op 277 drivers/acpi/acpica/psobject.c (*op)->named.length = 0; op 302 drivers/acpi/acpica/psobject.c union acpi_parse_object *op; op 321 drivers/acpi/acpica/psobject.c op = acpi_ps_alloc_op(walk_state->opcode, aml_op_start); op 322 drivers/acpi/acpica/psobject.c if (!op) { op 328 drivers/acpi/acpica/psobject.c acpi_ps_build_named_op(walk_state, aml_op_start, op, op 330 drivers/acpi/acpica/psobject.c acpi_ps_free_op(op); op 366 drivers/acpi/acpica/psobject.c op->named.data = aml_op_start; op 367 drivers/acpi/acpica/psobject.c op->named.length = 0; op 375 drivers/acpi/acpica/psobject.c op->named.data = aml_op_start; op 376 drivers/acpi/acpica/psobject.c op->named.length = 0; op 380 drivers/acpi/acpica/psobject.c acpi_ps_append_arg(parent_scope, op); op 390 drivers/acpi/acpica/psobject.c op->common.flags |= ACPI_PARSEOP_TARGET; op 401 drivers/acpi/acpica/psobject.c op->common.flags |= ACPI_PARSEOP_TARGET; op 410 drivers/acpi/acpica/psobject.c walk_state->op = *new_op = op; op 412 drivers/acpi/acpica/psobject.c status = walk_state->descending_callback(walk_state, &op); op 413 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, op, status); op 438 drivers/acpi/acpica/psobject.c union acpi_parse_object **op, acpi_status status) op 451 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); op 456 drivers/acpi/acpica/psobject.c *op = NULL; op 473 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, op 477 drivers/acpi/acpica/psobject.c if (*op) { op 478 drivers/acpi/acpica/psobject.c walk_state->op = *op; op 480 drivers/acpi/acpica/psobject.c acpi_ps_get_opcode_info((*op)->common.aml_opcode); op 481 drivers/acpi/acpica/psobject.c walk_state->opcode = (*op)->common.aml_opcode; op 485 drivers/acpi/acpica/psobject.c acpi_ps_next_parse_state(walk_state, *op, status); op 487 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); op 501 drivers/acpi/acpica/psobject.c while (!(*op) || ((*op)->common.aml_opcode != AML_WHILE_OP)) { op 502 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, op 509 drivers/acpi/acpica/psobject.c walk_state->op = *op; op 511 drivers/acpi/acpica/psobject.c acpi_ps_get_opcode_info((*op)->common.aml_opcode); op 512 drivers/acpi/acpica/psobject.c walk_state->opcode = (*op)->common.aml_opcode; op 515 drivers/acpi/acpica/psobject.c status = acpi_ps_next_parse_state(walk_state, *op, status); op 517 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, *op); op 529 drivers/acpi/acpica/psobject.c if (*op) { op 531 drivers/acpi/acpica/psobject.c acpi_ps_complete_this_op(walk_state, *op); op 541 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, op 545 drivers/acpi/acpica/psobject.c } while (*op); op 552 drivers/acpi/acpica/psobject.c if (*op) { op 558 drivers/acpi/acpica/psobject.c if (((*op)->common.aml_opcode == AML_REGION_OP) op 559 drivers/acpi/acpica/psobject.c || ((*op)->common.aml_opcode == op 561 drivers/acpi/acpica/psobject.c acpi_ns_delete_children((*op)->common. op 563 drivers/acpi/acpica/psobject.c acpi_ns_remove_node((*op)->common.node); op 564 drivers/acpi/acpica/psobject.c (*op)->common.node = NULL; op 565 drivers/acpi/acpica/psobject.c acpi_ps_delete_parse_tree(*op); op 569 drivers/acpi/acpica/psobject.c acpi_ps_complete_this_op(walk_state, *op); op 575 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, op 579 drivers/acpi/acpica/psobject.c } while (*op); op 585 drivers/acpi/acpica/psobject.c if (*op == NULL) { op 586 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(parser_state, op, op 612 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), op, op 615 drivers/acpi/acpica/psobject.c ACPI_DEBUG_PRINT((ACPI_DB_PARSE, "Popped scope, Op=%p\n", *op)); op 617 drivers/acpi/acpica/psobject.c *op = NULL; op 640 drivers/acpi/acpica/psobject.c union acpi_parse_object *op, acpi_status status) op 653 drivers/acpi/acpica/psobject.c op)); op 655 drivers/acpi/acpica/psobject.c if (op) { op 657 drivers/acpi/acpica/psobject.c walk_state->op = op; op 659 drivers/acpi/acpica/psobject.c acpi_ps_get_opcode_info(op->common. op 661 drivers/acpi/acpica/psobject.c walk_state->opcode = op->common.aml_opcode; op 666 drivers/acpi/acpica/psobject.c acpi_ps_next_parse_state(walk_state, op, op 670 drivers/acpi/acpica/psobject.c acpi_ps_complete_op(walk_state, &op, op 682 drivers/acpi/acpica/psobject.c if (op) { op 685 drivers/acpi/acpica/psobject.c (walk_state, op); op 696 drivers/acpi/acpica/psobject.c &op, op 702 drivers/acpi/acpica/psobject.c } while (op); op 713 drivers/acpi/acpica/psobject.c op); op 718 drivers/acpi/acpica/psobject.c status2 = acpi_ps_complete_this_op(walk_state, op); op 724 drivers/acpi/acpica/psobject.c acpi_ps_pop_scope(&(walk_state->parser_state), &op, op 728 drivers/acpi/acpica/psobject.c } while (op); op 131 drivers/acpi/acpica/psopinfo.c const struct acpi_opcode_info *op; op 133 drivers/acpi/acpica/psopinfo.c op = acpi_ps_get_opcode_info(opcode); op 137 drivers/acpi/acpica/psopinfo.c return (op->name); op 101 drivers/acpi/acpica/psparse.c union acpi_parse_object *op) op 109 drivers/acpi/acpica/psparse.c ACPI_FUNCTION_TRACE_PTR(ps_complete_this_op, op); op 113 drivers/acpi/acpica/psparse.c if (!op) { op 117 drivers/acpi/acpica/psparse.c acpi_ex_stop_trace_opcode(op, walk_state); op 129 drivers/acpi/acpica/psparse.c if (op->common.parent) { op 130 drivers/acpi/acpica/psparse.c prev = op->common.parent->common.value.arg; op 143 drivers/acpi/acpica/psparse.c acpi_ps_get_opcode_info(op->common.parent->common. op 158 drivers/acpi/acpica/psparse.c op->common.aml); op 169 drivers/acpi/acpica/psparse.c if ((op->common.parent->common.aml_opcode == op 171 drivers/acpi/acpica/psparse.c || (op->common.parent->common.aml_opcode == op 173 drivers/acpi/acpica/psparse.c || (op->common.parent->common.aml_opcode == op 175 drivers/acpi/acpica/psparse.c || (op->common.parent->common.aml_opcode == op 177 drivers/acpi/acpica/psparse.c || (op->common.parent->common.aml_opcode == op 179 drivers/acpi/acpica/psparse.c || (op->common.parent->common.aml_opcode == op 183 drivers/acpi/acpica/psparse.c op->common.aml); op 188 drivers/acpi/acpica/psparse.c if ((op->common.parent->common.aml_opcode == op 192 drivers/acpi/acpica/psparse.c if ((op->common.aml_opcode == AML_BUFFER_OP) op 193 drivers/acpi/acpica/psparse.c || (op->common.aml_opcode == AML_PACKAGE_OP) op 194 drivers/acpi/acpica/psparse.c || (op->common.aml_opcode == op 197 drivers/acpi/acpica/psparse.c acpi_ps_alloc_op(op->common. op 199 drivers/acpi/acpica/psparse.c op->common.aml); op 204 drivers/acpi/acpica/psparse.c op->named.data; op 206 drivers/acpi/acpica/psparse.c op->named.length; op 216 drivers/acpi/acpica/psparse.c op->common.aml); op 224 drivers/acpi/acpica/psparse.c if (prev == op) { op 230 drivers/acpi/acpica/psparse.c op->common.parent; op 232 drivers/acpi/acpica/psparse.c replacement_op->common.node = op->common.node; op 233 drivers/acpi/acpica/psparse.c op->common.parent->common.value.arg = op 235 drivers/acpi/acpica/psparse.c replacement_op->common.next = op->common.next; op 237 drivers/acpi/acpica/psparse.c op->common.parent->common.value.arg = op 238 drivers/acpi/acpica/psparse.c op->common.next; op 250 drivers/acpi/acpica/psparse.c if (next == op) { op 253 drivers/acpi/acpica/psparse.c op->common.parent; op 257 drivers/acpi/acpica/psparse.c op->common.node; op 261 drivers/acpi/acpica/psparse.c op->common.next; op 265 drivers/acpi/acpica/psparse.c op->common.next; op 277 drivers/acpi/acpica/psparse.c acpi_ps_delete_parse_tree(op); op 298 drivers/acpi/acpica/psparse.c union acpi_parse_object *op, op 304 drivers/acpi/acpica/psparse.c ACPI_FUNCTION_TRACE_PTR(ps_next_parse_state, op); op 372 drivers/acpi/acpica/psparse.c walk_state->prev_op = op; op 373 drivers/acpi/acpica/psparse.c walk_state->method_call_op = op; op 375 drivers/acpi/acpica/psparse.c (op->common.value.arg)->common.node; op 380 drivers/acpi/acpica/psparse.c acpi_ds_is_result_used(op, walk_state); op 32 drivers/acpi/acpica/psscope.c return (parser_state->scope->parse_scope.op); op 84 drivers/acpi/acpica/psscope.c scope->parse_scope.op = root_op; op 112 drivers/acpi/acpica/psscope.c union acpi_parse_object *op, op 117 drivers/acpi/acpica/psscope.c ACPI_FUNCTION_TRACE_PTR(ps_push_scope, op); op 125 drivers/acpi/acpica/psscope.c scope->parse_scope.op = op; op 166 drivers/acpi/acpica/psscope.c union acpi_parse_object **op, u32 * arg_list, u32 * arg_count) op 179 drivers/acpi/acpica/psscope.c *op = scope->parse_scope.op; op 190 drivers/acpi/acpica/psscope.c *op = NULL; op 196 drivers/acpi/acpica/psscope.c "Popped Op %p Args %X\n", *op, *arg_count)); op 21 drivers/acpi/acpica/pstree.c union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op); op 37 drivers/acpi/acpica/pstree.c union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn) op 52 drivers/acpi/acpica/pstree.c op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); op 71 drivers/acpi/acpica/pstree.c arg = op->common.value.arg; op 94 drivers/acpi/acpica/pstree.c acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) op 101 drivers/acpi/acpica/pstree.c if (!op) { op 107 drivers/acpi/acpica/pstree.c op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); op 113 drivers/acpi/acpica/pstree.c op->common.aml_opcode)); op 128 drivers/acpi/acpica/pstree.c if (op->common.value.arg) { op 132 drivers/acpi/acpica/pstree.c prev_arg = op->common.value.arg; op 140 drivers/acpi/acpica/pstree.c op->common.value.arg = arg; op 146 drivers/acpi/acpica/pstree.c arg->common.parent = op; op 149 drivers/acpi/acpica/pstree.c op->common.arg_list_length++; op 170 drivers/acpi/acpica/pstree.c union acpi_parse_object *op) op 178 drivers/acpi/acpica/pstree.c if (!op) { op 184 drivers/acpi/acpica/pstree.c next = acpi_ps_get_arg(op, 0); op 192 drivers/acpi/acpica/pstree.c next = op->common.next; op 200 drivers/acpi/acpica/pstree.c parent = op->common.parent; op 204 drivers/acpi/acpica/pstree.c while (arg && (arg != origin) && (arg != op)) { op 225 drivers/acpi/acpica/pstree.c op = parent; op 246 drivers/acpi/acpica/pstree.c union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op) op 252 drivers/acpi/acpica/pstree.c switch (op->common.aml_opcode) { op 259 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 0); op 270 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 1); op 276 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 2); op 282 drivers/acpi/acpica/pstree.c child = acpi_ps_get_arg(op, 3); op 56 drivers/acpi/acpica/psutils.c void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) op 60 drivers/acpi/acpica/psutils.c op->common.descriptor_type = ACPI_DESC_TYPE_PARSER; op 61 drivers/acpi/acpica/psutils.c op->common.aml_opcode = opcode; op 63 drivers/acpi/acpica/psutils.c ACPI_DISASM_ONLY_MEMBERS(acpi_ut_safe_strncpy(op->common.aml_op_name, op 66 drivers/acpi/acpica/psutils.c sizeof(op->common. op 87 drivers/acpi/acpica/psutils.c union acpi_parse_object *op; op 111 drivers/acpi/acpica/psutils.c op = acpi_os_acquire_object(acpi_gbl_ps_node_cache); op 115 drivers/acpi/acpica/psutils.c op = acpi_os_acquire_object(acpi_gbl_ps_node_ext_cache); op 120 drivers/acpi/acpica/psutils.c if (op) { op 121 drivers/acpi/acpica/psutils.c acpi_ps_init_op(op, opcode); op 122 drivers/acpi/acpica/psutils.c op->common.aml = aml; op 123 drivers/acpi/acpica/psutils.c op->common.flags = flags; op 124 drivers/acpi/acpica/psutils.c ASL_CV_CLEAR_OP_COMMENTS(op); op 127 drivers/acpi/acpica/psutils.c acpi_gbl_current_scope = op; op 131 drivers/acpi/acpica/psutils.c ASL_CV_TRANSFER_COMMENTS(op); op 135 drivers/acpi/acpica/psutils.c return (op); op 151 drivers/acpi/acpica/psutils.c void acpi_ps_free_op(union acpi_parse_object *op) op 155 drivers/acpi/acpica/psutils.c ASL_CV_CLEAR_OP_COMMENTS(op); op 156 drivers/acpi/acpica/psutils.c if (op->common.aml_opcode == AML_INT_RETURN_VALUE_OP) { op 158 drivers/acpi/acpica/psutils.c "Free retval op: %p\n", op)); op 161 drivers/acpi/acpica/psutils.c if (op->common.flags & ACPI_PARSEOP_GENERIC) { op 162 drivers/acpi/acpica/psutils.c (void)acpi_os_release_object(acpi_gbl_ps_node_cache, op); op 164 drivers/acpi/acpica/psutils.c (void)acpi_os_release_object(acpi_gbl_ps_node_ext_cache, op); op 187 drivers/acpi/acpica/psutils.c u32 acpi_ps_get_name(union acpi_parse_object * op) op 192 drivers/acpi/acpica/psutils.c if (op->common.flags & ACPI_PARSEOP_GENERIC) { op 198 drivers/acpi/acpica/psutils.c return (op->named.name); op 204 drivers/acpi/acpica/psutils.c void acpi_ps_set_name(union acpi_parse_object *op, u32 name) op 209 drivers/acpi/acpica/psutils.c if (op->common.flags & ACPI_PARSEOP_GENERIC) { op 213 drivers/acpi/acpica/psutils.c op->named.name = name; op 31 drivers/acpi/acpica/pswalk.c union acpi_parse_object *op = subtree_root; op 42 drivers/acpi/acpica/pswalk.c while (op) { op 43 drivers/acpi/acpica/pswalk.c if (op != parent) { op 54 drivers/acpi/acpica/pswalk.c acpi_ps_get_opcode_name(op-> op 57 drivers/acpi/acpica/pswalk.c op); op 59 drivers/acpi/acpica/pswalk.c if (op->named.aml_opcode == AML_INT_NAMEPATH_OP) { op 61 drivers/acpi/acpica/pswalk.c op->common.value.string); op 63 drivers/acpi/acpica/pswalk.c if (op->named.aml_opcode == AML_STRING_OP) { op 65 drivers/acpi/acpica/pswalk.c op->common.value.string); op 72 drivers/acpi/acpica/pswalk.c next = acpi_ps_get_arg(op, 0); op 77 drivers/acpi/acpica/pswalk.c op = next; op 85 drivers/acpi/acpica/pswalk.c next = op->common.next; op 86 drivers/acpi/acpica/pswalk.c parent = op->common.parent; op 88 drivers/acpi/acpica/pswalk.c acpi_ps_free_op(op); op 92 drivers/acpi/acpica/pswalk.c if (op == subtree_root) { op 97 drivers/acpi/acpica/pswalk.c op = next; op 100 drivers/acpi/acpica/pswalk.c op = parent; op 87 drivers/acpi/acpica/psxface.c union acpi_parse_object *op; op 124 drivers/acpi/acpica/psxface.c op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); op 125 drivers/acpi/acpica/psxface.c if (!op) { op 141 drivers/acpi/acpica/psxface.c status = acpi_ds_init_aml_walk(walk_state, op, info->node, op 195 drivers/acpi/acpica/psxface.c acpi_ps_delete_parse_tree(op); op 242 drivers/acpi/acpica/psxface.c union acpi_parse_object *op = NULL; op 249 drivers/acpi/acpica/psxface.c op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); op 250 drivers/acpi/acpica/psxface.c if (!op) { op 265 drivers/acpi/acpica/psxface.c status = acpi_ds_init_aml_walk(walk_state, op, info->node, op 303 drivers/acpi/acpica/psxface.c if (op) { op 304 drivers/acpi/acpica/psxface.c acpi_ps_delete_parse_tree(op); op 664 drivers/acpi/acpica/uttrack.c descriptor->op.asl. op 671 drivers/ata/pata_mpc52xx.c static int mpc52xx_ata_probe(struct platform_device *op) op 685 drivers/ata/pata_mpc52xx.c ipb_freq = mpc5xxx_get_bus_frequency(op->dev.of_node); op 687 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "could not determine IPB bus frequency\n"); op 693 drivers/ata/pata_mpc52xx.c rv = of_address_to_resource(op->dev.of_node, 0, &res_mem); op 695 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "could not determine device base address\n"); op 699 drivers/ata/pata_mpc52xx.c if (!devm_request_mem_region(&op->dev, res_mem.start, op 701 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error requesting register region\n"); op 705 drivers/ata/pata_mpc52xx.c ata_regs = devm_ioremap(&op->dev, res_mem.start, sizeof(*ata_regs)); op 707 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error mapping device registers\n"); op 725 drivers/ata/pata_mpc52xx.c prop = of_get_property(op->dev.of_node, "mwdma-mode", &proplen); op 728 drivers/ata/pata_mpc52xx.c prop = of_get_property(op->dev.of_node, "udma-mode", &proplen); op 732 drivers/ata/pata_mpc52xx.c ata_irq = irq_of_parse_and_map(op->dev.of_node, 0); op 734 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error mapping irq\n"); op 739 drivers/ata/pata_mpc52xx.c priv = devm_kzalloc(&op->dev, sizeof(*priv), GFP_ATOMIC); op 763 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "bestcomm initialization failed\n"); op 769 drivers/ata/pata_mpc52xx.c rv = devm_request_irq(&op->dev, task_irq, &mpc52xx_ata_task_irq, 0, op 772 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error requesting DMA IRQ\n"); op 780 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error initializing hardware\n"); op 785 drivers/ata/pata_mpc52xx.c rv = mpc52xx_ata_init_one(&op->dev, priv, res_mem.start, op 788 drivers/ata/pata_mpc52xx.c dev_err(&op->dev, "error registering with ATA layer\n"); op 803 drivers/ata/pata_mpc52xx.c mpc52xx_ata_remove(struct platform_device *op) op 805 drivers/ata/pata_mpc52xx.c struct ata_host *host = platform_get_drvdata(op); op 810 drivers/ata/pata_mpc52xx.c ata_platform_remove_one(op); op 823 drivers/ata/pata_mpc52xx.c mpc52xx_ata_suspend(struct platform_device *op, pm_message_t state) op 825 drivers/ata/pata_mpc52xx.c struct ata_host *host = platform_get_drvdata(op); op 831 drivers/ata/pata_mpc52xx.c mpc52xx_ata_resume(struct platform_device *op) op 833 drivers/ata/pata_mpc52xx.c struct ata_host *host = platform_get_drvdata(op); op 1566 drivers/ata/sata_fsl.c static int sata_fsl_suspend(struct platform_device *op, pm_message_t state) op 1568 drivers/ata/sata_fsl.c struct ata_host *host = platform_get_drvdata(op); op 1572 drivers/ata/sata_fsl.c static int sata_fsl_resume(struct platform_device *op) op 1574 drivers/ata/sata_fsl.c struct ata_host *host = platform_get_drvdata(op); op 1583 drivers/ata/sata_fsl.c dev_err(&op->dev, "Error initializing hardware\n"); op 670 drivers/atm/fore200e.c struct platform_device *op = to_platform_device(fore200e->dev); op 674 drivers/atm/fore200e.c fore200e->regs.sba.hcr = of_ioremap(&op->resource[0], 0, SBA200E_HCR_LENGTH, "SBA HCR"); op 675 drivers/atm/fore200e.c fore200e->regs.sba.bsr = of_ioremap(&op->resource[1], 0, SBA200E_BSR_LENGTH, "SBA BSR"); op 676 drivers/atm/fore200e.c fore200e->regs.sba.isr = of_ioremap(&op->resource[2], 0, SBA200E_ISR_LENGTH, "SBA ISR"); op 677 drivers/atm/fore200e.c fore200e->virt_base = of_ioremap(&op->resource[3], 0, SBA200E_RAM_LENGTH, "SBA RAM"); op 689 drivers/atm/fore200e.c bursts = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0x00); op 692 drivers/atm/fore200e.c sbus_set_sbus64(&op->dev, bursts); op 700 drivers/atm/fore200e.c struct platform_device *op = to_platform_device(fore200e->dev); op 702 drivers/atm/fore200e.c of_iounmap(&op->resource[0], fore200e->regs.sba.hcr, SBA200E_HCR_LENGTH); op 703 drivers/atm/fore200e.c of_iounmap(&op->resource[1], fore200e->regs.sba.bsr, SBA200E_BSR_LENGTH); op 704 drivers/atm/fore200e.c of_iounmap(&op->resource[2], fore200e->regs.sba.isr, SBA200E_ISR_LENGTH); op 705 drivers/atm/fore200e.c of_iounmap(&op->resource[3], fore200e->virt_base, SBA200E_RAM_LENGTH); op 716 drivers/atm/fore200e.c struct platform_device *op = to_platform_device(fore200e->dev); op 720 drivers/atm/fore200e.c prop = of_get_property(op->dev.of_node, "madaddrlo2", &len); op 725 drivers/atm/fore200e.c prop = of_get_property(op->dev.of_node, "madaddrhi4", &len); op 730 drivers/atm/fore200e.c prom->serial_number = of_getintprop_default(op->dev.of_node, op 732 drivers/atm/fore200e.c prom->hw_revision = of_getintprop_default(op->dev.of_node, op 740 drivers/atm/fore200e.c struct platform_device *op = to_platform_device(fore200e->dev); op 743 drivers/atm/fore200e.c regs = of_get_property(op->dev.of_node, "reg", NULL); op 746 drivers/atm/fore200e.c (regs ? regs->which_io : 0), op->dev.of_node); op 2551 drivers/atm/fore200e.c static int fore200e_sba_probe(struct platform_device *op) op 2558 drivers/atm/fore200e.c match = of_match_device(fore200e_sba_match, &op->dev); op 2567 drivers/atm/fore200e.c fore200e->dev = &op->dev; op 2568 drivers/atm/fore200e.c fore200e->irq = op->archdata.irqs[0]; op 2569 drivers/atm/fore200e.c fore200e->phys_base = op->resource[0].start; op 2573 drivers/atm/fore200e.c err = fore200e_init(fore200e, &op->dev); op 2581 drivers/atm/fore200e.c dev_set_drvdata(&op->dev, fore200e); op 2586 drivers/atm/fore200e.c static int fore200e_sba_remove(struct platform_device *op) op 2588 drivers/atm/fore200e.c struct fore200e *fore200e = dev_get_drvdata(&op->dev); op 58 drivers/base/devres.c const char *op) op 62 drivers/base/devres.c op, node, node->name, (unsigned long)node->size); op 66 drivers/base/devres.c #define devres_log(dev, node, op) do {} while (0) op 259 drivers/block/brd.c unsigned int len, unsigned int off, unsigned int op, op 265 drivers/block/brd.c if (op_is_write(op)) { op 272 drivers/block/brd.c if (!op_is_write(op)) { op 315 drivers/block/brd.c struct page *page, unsigned int op) op 322 drivers/block/brd.c err = brd_do_bvec(brd, page, PAGE_SIZE, 0, op, sector); op 323 drivers/block/brd.c page_endio(page, op_is_write(op), err); op 127 drivers/block/drbd/drbd_actlog.c sector_t sector, int op) op 137 drivers/block/drbd/drbd_actlog.c if ((op == REQ_OP_WRITE) && !test_bit(MD_NO_FUA, &device->flags)) op 149 drivers/block/drbd/drbd_actlog.c bio_set_op_attrs(bio, op, op_flags); op 151 drivers/block/drbd/drbd_actlog.c if (op != REQ_OP_WRITE && device->state.disk == D_DISKLESS && device->ldev == NULL) op 164 drivers/block/drbd/drbd_actlog.c if (drbd_insert_fault(device, (op == REQ_OP_WRITE) ? DRBD_FAULT_MD_WR : DRBD_FAULT_MD_RD)) op 178 drivers/block/drbd/drbd_actlog.c sector_t sector, int op) op 187 drivers/block/drbd/drbd_actlog.c (unsigned long long)sector, (op == REQ_OP_WRITE) ? "WRITE" : "READ", op 195 drivers/block/drbd/drbd_actlog.c (op == REQ_OP_WRITE) ? "WRITE" : "READ"); op 197 drivers/block/drbd/drbd_actlog.c err = _drbd_md_sync_page_io(device, bdev, sector, op); op 201 drivers/block/drbd/drbd_actlog.c (op == REQ_OP_WRITE) ? "WRITE" : "READ", err); op 986 drivers/block/drbd/drbd_bitmap.c unsigned int op = (ctx->flags & BM_AIO_READ) ? REQ_OP_READ : REQ_OP_WRITE; op 1018 drivers/block/drbd/drbd_bitmap.c bio_set_op_attrs(bio, op, 0); op 1020 drivers/block/drbd/drbd_bitmap.c if (drbd_insert_fault(device, (op == REQ_OP_WRITE) ? DRBD_FAULT_MD_WR : DRBD_FAULT_MD_RD)) { op 1505 drivers/block/drbd/drbd_int.h struct drbd_backing_dev *bdev, sector_t sector, int op); op 1638 drivers/block/drbd/drbd_receiver.c const unsigned op, const unsigned op_flags, op 1697 drivers/block/drbd/drbd_receiver.c bio_set_op_attrs(bio, op, op_flags); op 2594 drivers/block/drbd/drbd_receiver.c int op, op_flags; op 2633 drivers/block/drbd/drbd_receiver.c op = wire_flags_to_bio_op(dp_flags); op 2637 drivers/block/drbd/drbd_receiver.c D_ASSERT(peer_device, op == REQ_OP_DISCARD); op 2645 drivers/block/drbd/drbd_receiver.c D_ASSERT(peer_device, op == REQ_OP_WRITE_ZEROES); op 2732 drivers/block/drbd/drbd_receiver.c err = drbd_submit_peer_request(device, peer_req, op, op_flags, op 5012 drivers/block/drbd/drbd_receiver.c const int op = REQ_OP_WRITE_ZEROES; op 5030 drivers/block/drbd/drbd_receiver.c err = drbd_submit_peer_request(device, peer_req, op, 0, DRBD_FAULT_RS_WR); op 97 drivers/block/null_blk.h enum req_opf op, sector_t sector, op 113 drivers/block/null_blk.h enum req_opf op, sector_t sector, op 1173 drivers/block/null_blk_main.c enum req_opf op) op 1213 drivers/block/null_blk_main.c sector_t nr_sectors, enum req_opf op) op 1225 drivers/block/null_blk_main.c if (op == REQ_OP_FLUSH) { op 1237 drivers/block/null_blk_main.c cmd->error = null_handle_memory_backed(cmd, op); op 1240 drivers/block/null_blk_main.c cmd->error = null_handle_zoned(cmd, op, sector, nr_sectors); op 154 drivers/block/null_blk_zoned.c blk_status_t null_handle_zoned(struct nullb_cmd *cmd, enum req_opf op, op 157 drivers/block/null_blk_zoned.c switch (op) { op 42 drivers/block/paride/on20.c op(1); vl(r); op(0); op 65 drivers/block/paride/on20.c op(1); vl(r); op 66 drivers/block/paride/on20.c op(0); vl(val); op 67 drivers/block/paride/on20.c op(0); vl(val); op 76 drivers/block/paride/on20.c if (pi->mode) { op(2); vl(8); op(2); vl(9); } op 77 drivers/block/paride/on20.c else { op(2); vl(0); op(2); vl(8); } op 91 drivers/block/paride/on20.c op(1); vl(1); op(0); op 108 drivers/block/paride/on20.c op(1); vl(1); op(0); op 115 drivers/block/ps3disk.c const char *op = write ? "write" : "read"; op 128 drivers/block/ps3disk.c __func__, __LINE__, op, n, blk_rq_sectors(req)); op 134 drivers/block/ps3disk.c __func__, __LINE__, op, sectors, start_sector); op 149 drivers/block/ps3disk.c __LINE__, op, res); op 220 drivers/block/ps3disk.c const char *op; op 248 drivers/block/ps3disk.c op = "flush"; op 251 drivers/block/ps3disk.c op = read ? "read" : "write"; op 255 drivers/block/ps3disk.c __LINE__, op, status); op 259 drivers/block/ps3disk.c __LINE__, op); op 542 drivers/block/ps3vram.c const char *op = write ? "write" : "read"; op 554 drivers/block/ps3vram.c dev_dbg(&dev->core, " %s %zu bytes at offset %llu\n", op, op 562 drivers/block/ps3vram.c dev_err(&dev->core, "%s failed\n", op); op 567 drivers/block/ps3vram.c dev_err(&dev->core, "Short %s\n", op); op 575 drivers/block/ps3vram.c dev_dbg(&dev->core, "%s completed\n", op); op 26 drivers/block/rsxx/cregs.c unsigned int op; op 108 drivers/block/rsxx/cregs.c if (cmd->op == CREG_OP_WRITE) { op 121 drivers/block/rsxx/cregs.c iowrite32(cmd->op, card->regmap + CREG_CMD); op 148 drivers/block/rsxx/cregs.c unsigned int op, op 174 drivers/block/rsxx/cregs.c cmd->op = op; op 265 drivers/block/rsxx/cregs.c if (cmd->op == CREG_OP_READ) { op 372 drivers/block/rsxx/cregs.c unsigned int op, op 388 drivers/block/rsxx/cregs.c st = creg_queue_cmd(card, op, addr, cnt8, buf, stream, creg_cmd_done_cb, op 447 drivers/block/rsxx/cregs.c unsigned int op; op 450 drivers/block/rsxx/cregs.c op = read ? CREG_OP_READ : CREG_OP_WRITE; op 455 drivers/block/rsxx/cregs.c st = __issue_creg_rw(card, op, addr, xfer, op 657 drivers/block/rsxx/cregs.c unsigned int op = read ? CREG_OP_READ : CREG_OP_WRITE; op 659 drivers/block/rsxx/cregs.c return __issue_creg_rw(card, op, cmd->addr, cmd->cnt, cmd->data, op 469 drivers/block/sunvdc.c u8 op; op 478 drivers/block/sunvdc.c op = VD_OP_BREAD; op 481 drivers/block/sunvdc.c op = VD_OP_BWRITE; op 506 drivers/block/sunvdc.c desc->operation = op; op 570 drivers/block/sunvdc.c static int generic_request(struct vdc_port *port, u8 op, void *buf, int len) op 580 drivers/block/sunvdc.c if (!(((u64)1 << (u64)op) & port->operations)) op 583 drivers/block/sunvdc.c switch (op) { op 676 drivers/block/sunvdc.c desc->operation = op; op 210 drivers/block/xen-blkback/blkback.c unsigned short op, int st); op 1441 drivers/block/xen-blkback/blkback.c unsigned short op, int st) op 1469 drivers/block/xen-blkback/blkback.c resp->operation = op; op 406 drivers/block/xen-blkfront.c static const char *op_name(int op) op 415 drivers/block/xen-blkfront.c if (op < 0 || op >= ARRAY_SIZE(names)) op 418 drivers/block/xen-blkfront.c if (!names[op]) op 421 drivers/block/xen-blkfront.c return names[op]; op 1507 drivers/block/zram/zram_drv.c int offset, unsigned int op, struct bio *bio) op 1513 drivers/block/zram/zram_drv.c generic_start_io_acct(q, op, bvec->bv_len >> SECTOR_SHIFT, op 1516 drivers/block/zram/zram_drv.c if (!op_is_write(op)) { op 1525 drivers/block/zram/zram_drv.c generic_end_io_acct(q, op, &zram->disk->part0, start_time); op 1532 drivers/block/zram/zram_drv.c if (!op_is_write(op)) op 1626 drivers/block/zram/zram_drv.c struct page *page, unsigned int op) op 1650 drivers/block/zram/zram_drv.c ret = zram_bvec_rw(zram, &bv, index, offset, op, NULL); op 1665 drivers/block/zram/zram_drv.c page_endio(page, op_is_write(op), 0); op 119 drivers/bluetooth/btmtksdio.c u8 op; op 148 drivers/bluetooth/btmtksdio.c u8 op; op 186 drivers/bluetooth/btmtksdio.c hdr->op = wmt_params->op; op 224 drivers/bluetooth/btmtksdio.c if (wmt_evt->whdr.op != hdr->op) { op 226 drivers/bluetooth/btmtksdio.c wmt_evt->whdr.op, hdr->op); op 231 drivers/bluetooth/btmtksdio.c switch (wmt_evt->whdr.op) { op 665 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 708 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_PATCH_DWNLD; op 735 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_RST; op 770 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_SEMAPHORE; op 811 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 879 drivers/bluetooth/btmtksdio.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 79 drivers/bluetooth/btmtkuart.c u8 op; op 108 drivers/bluetooth/btmtkuart.c u8 op; op 166 drivers/bluetooth/btmtkuart.c hdr->op = wmt_params->op; op 204 drivers/bluetooth/btmtkuart.c if (wmt_evt->whdr.op != hdr->op) { op 206 drivers/bluetooth/btmtkuart.c wmt_evt->whdr.op, hdr->op); op 211 drivers/bluetooth/btmtkuart.c switch (wmt_evt->whdr.op) { op 267 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_PATCH_DWNLD; op 294 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_RST; op 647 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 674 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_HIF; op 709 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_TEST; op 744 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_WAKEUP; op 763 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_SEMAPHORE; op 804 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 849 drivers/bluetooth/btmtkuart.c wmt_params.op = MTK_WMT_FUNC_CTRL; op 2518 drivers/bluetooth/btusb.c u8 op; op 2547 drivers/bluetooth/btusb.c u8 op; op 2714 drivers/bluetooth/btusb.c hdr->op = wmt_params->op; op 2753 drivers/bluetooth/btusb.c if (wmt_evt->whdr.op != hdr->op) { op 2755 drivers/bluetooth/btusb.c wmt_evt->whdr.op, hdr->op); op 2760 drivers/bluetooth/btusb.c switch (wmt_evt->whdr.op) { op 2816 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_PATCH_DWNLD; op 2843 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_RST; op 2872 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_FUNC_CTRL; op 2952 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_SEMAPHORE; op 2993 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_FUNC_CTRL; op 3038 drivers/bluetooth/btusb.c wmt_params.op = BTMTK_WMT_FUNC_CTRL; op 391 drivers/char/hw_random/n2-drv.c dev_err(&np->op->dev, op 439 drivers/char/hw_random/n2-drv.c dev_err(&np->op->dev, "RNG error, retesting\n"); op 517 drivers/char/hw_random/n2-drv.c dev_err(&np->op->dev, "Test buffer slot %d [0x%016llx]\n", op 549 drivers/char/hw_random/n2-drv.c dev_err(&np->op->dev, "Selftest failed on unit %lu\n", unit); op 552 drivers/char/hw_random/n2-drv.c dev_info(&np->op->dev, "Selftest passed on unit %lu\n", unit); op 678 drivers/char/hw_random/n2-drv.c dev_info(&np->op->dev, "RNG ready\n"); op 682 drivers/char/hw_random/n2-drv.c dev_err(&np->op->dev, "Self-test retries failed, RNG not ready\n"); op 696 drivers/char/hw_random/n2-drv.c static int n2rng_probe(struct platform_device *op) op 702 drivers/char/hw_random/n2-drv.c match = of_match_device(n2rng_match, &op->dev); op 707 drivers/char/hw_random/n2-drv.c np = devm_kzalloc(&op->dev, sizeof(*np), GFP_KERNEL); op 710 drivers/char/hw_random/n2-drv.c np->op = op; op 727 drivers/char/hw_random/n2-drv.c dev_err(&op->dev, "Cannot register suitable " op 735 drivers/char/hw_random/n2-drv.c dev_err(&op->dev, "multi-unit-capable RNG requires " op 740 drivers/char/hw_random/n2-drv.c np->num_units = of_getintprop_default(op->dev.of_node, op 743 drivers/char/hw_random/n2-drv.c dev_err(&op->dev, "VF RNG lacks rng-#units property\n"); op 750 drivers/char/hw_random/n2-drv.c dev_info(&op->dev, "Registered RNG HVAPI major %lu minor %lu\n", op 752 drivers/char/hw_random/n2-drv.c np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), op 762 drivers/char/hw_random/n2-drv.c dev_info(&op->dev, "Found %s RNG, units: %d\n", op 771 drivers/char/hw_random/n2-drv.c err = devm_hwrng_register(&op->dev, &np->hwrng); op 775 drivers/char/hw_random/n2-drv.c platform_set_drvdata(op, np); op 788 drivers/char/hw_random/n2-drv.c static int n2rng_remove(struct platform_device *op) op 790 drivers/char/hw_random/n2-drv.c struct n2rng *np = platform_get_drvdata(op); op 99 drivers/char/hw_random/n2rng.h struct platform_device *op; op 104 drivers/char/ipmi/ipmi_si_hotmod.c static int parse_hotmod_str(const char *curr, enum hotmod_op *op, op 115 drivers/char/ipmi/ipmi_si_hotmod.c *op = ival; op 206 drivers/char/ipmi/ipmi_si_hotmod.c enum hotmod_op op; op 215 drivers/char/ipmi/ipmi_si_hotmod.c rv = parse_hotmod_str(curr, &op, &h); op 219 drivers/char/ipmi/ipmi_si_hotmod.c if (op == HM_ADD) { op 854 drivers/char/rtc.c struct platform_device *op; op 867 drivers/char/rtc.c op = of_find_device_by_node(dp); op 868 drivers/char/rtc.c if (op) { op 869 drivers/char/rtc.c rtc_port = op->resource[0].start; op 870 drivers/char/rtc.c rtc_irq = op->irqs[0]; op 746 drivers/char/xilinx_hwicap/xilinx_hwicap.c static int hwicap_of_probe(struct platform_device *op, op 756 drivers/char/xilinx_hwicap/xilinx_hwicap.c rc = of_address_to_resource(op->dev.of_node, 0, &res); op 758 drivers/char/xilinx_hwicap/xilinx_hwicap.c dev_err(&op->dev, "invalid address\n"); op 762 drivers/char/xilinx_hwicap/xilinx_hwicap.c id = of_get_property(op->dev.of_node, "port-number", NULL); op 768 drivers/char/xilinx_hwicap/xilinx_hwicap.c family = of_get_property(op->dev.of_node, "xlnx,family", NULL); op 780 drivers/char/xilinx_hwicap/xilinx_hwicap.c return hwicap_setup(&op->dev, id ? *id : -1, &res, config, op 784 drivers/char/xilinx_hwicap/xilinx_hwicap.c static inline int hwicap_of_probe(struct platform_device *op, op 113 drivers/char/xillybus/xillybus_of.c static int xilly_drv_probe(struct platform_device *op) op 115 drivers/char/xillybus/xillybus_of.c struct device *dev = &op->dev; op 132 drivers/char/xillybus/xillybus_of.c res = platform_get_resource(op, IORESOURCE_MEM, 0); op 138 drivers/char/xillybus/xillybus_of.c irq = platform_get_irq(op, 0); op 151 drivers/char/xillybus/xillybus_of.c static int xilly_drv_remove(struct platform_device *op) op 153 drivers/char/xillybus/xillybus_of.c struct device *dev = &op->dev; op 33 drivers/crypto/amcc/crypto4xx_alg.c u32 op_grp, u32 op, u32 dir) op 46 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.opcode = op; op 90 drivers/crypto/atmel-sha.c unsigned long op; op 1103 drivers/crypto/atmel-sha.c ctx->op, req->nbytes); op 1129 drivers/crypto/atmel-sha.c if (ctx->op == SHA_OP_UPDATE) { op 1134 drivers/crypto/atmel-sha.c } else if (ctx->op == SHA_OP_FINAL) { op 1147 drivers/crypto/atmel-sha.c static int atmel_sha_enqueue(struct ahash_request *req, unsigned int op) op 1153 drivers/crypto/atmel-sha.c ctx->op = op; op 1890 drivers/crypto/atmel-sha.c switch (ctx->op) { op 31 drivers/crypto/caam/caamhash_desc.c u32 op = adata->algtype; op 53 drivers/crypto/caam/caamhash_desc.c op |= OP_ALG_AAI_HMAC_PRECOMP; op 62 drivers/crypto/caam/caamhash_desc.c append_operation(desc, op | state | OP_ALG_ENCRYPT); op 232 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_RET(cmd, op) \ op 237 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | options); \ op 259 drivers/crypto/caam/desc_constr.h #define APPEND_CMD(cmd, op) \ op 263 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | options); \ op 267 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_LEN(cmd, op) \ op 272 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | len | options); \ op 280 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_PTR(cmd, op) \ op 285 drivers/crypto/caam/desc_constr.h append_cmd_ptr(desc, ptr, len, CMD_##op | options); \ op 309 drivers/crypto/caam/desc_constr.h #define APPEND_SEQ_PTR_INTLEN(cmd, op) \ op 317 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \ op 319 drivers/crypto/caam/desc_constr.h append_cmd_ptr(desc, ptr, len, CMD_SEQ_##op##_PTR | options); \ op 324 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_PTR_TO_IMM(cmd, op) \ op 329 drivers/crypto/caam/desc_constr.h append_cmd_data(desc, data, len, CMD_##op | options); \ op 334 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_PTR_EXTLEN(cmd, op) \ op 339 drivers/crypto/caam/desc_constr.h append_cmd_ptr_extlen(desc, ptr, len, CMD_##op | SQIN_EXT | options); \ op 348 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_PTR_LEN(cmd, op, type) \ op 365 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_PTR_TO_IMM2(cmd, op) \ op 371 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | IMMEDIATE | len | options); \ op 376 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_RAW_IMM(cmd, op, type) \ op 382 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | IMMEDIATE | options); \ op 384 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | IMMEDIATE | options | \ op 394 drivers/crypto/caam/desc_constr.h #define APPEND_CMD_RAW_IMM2(cmd, op, ee, size) \ op 401 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_##op | IMMEDIATE | options | sizeof(data)); \ op 411 drivers/crypto/caam/desc_constr.h #define APPEND_MATH(op, desc, dest, src_0, src_1, len) \ op 412 drivers/crypto/caam/desc_constr.h append_cmd(desc, CMD_MATH | MATH_FUN_##op | MATH_DEST_##dest | \ op 437 drivers/crypto/caam/desc_constr.h #define APPEND_MATH_IMM_u32(op, desc, dest, src_0, src_1, data) \ op 439 drivers/crypto/caam/desc_constr.h APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ); \ op 463 drivers/crypto/caam/desc_constr.h #define APPEND_MATH_IMM_u64(op, desc, dest, src_0, src_1, data) \ op 466 drivers/crypto/caam/desc_constr.h APPEND_MATH(op, desc, dest, src_0, src_1, CAAM_CMD_SZ * 2 | \ op 74 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) op 76 drivers/crypto/ccp/ccp-dev-v3.c struct ccp_cmd_queue *cmd_q = op->cmd_q; op 90 drivers/crypto/ccp/ccp-dev-v3.c | (op->jobid << REQ0_JOBID_SHIFT) op 93 drivers/crypto/ccp/ccp-dev-v3.c if (op->soc) op 97 drivers/crypto/ccp/ccp-dev-v3.c if (op->ioc || !cmd_q->free_slots) op 122 drivers/crypto/ccp/ccp-dev-v3.c | op->jobid; op 131 drivers/crypto/ccp/ccp-dev-v3.c } else if (op->soc) { op 135 drivers/crypto/ccp/ccp-dev-v3.c | op->jobid; op 148 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_aes(struct ccp_op *op) op 154 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.type << REQ1_AES_TYPE_SHIFT) op 155 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.mode << REQ1_AES_MODE_SHIFT) op 156 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.aes.action << REQ1_AES_ACTION_SHIFT) op 157 drivers/crypto/ccp/ccp-dev-v3.c | (op->sb_key << REQ1_KEY_KSB_SHIFT); op 158 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; op 159 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 160 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) op 162 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 163 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); op 165 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); op 167 drivers/crypto/ccp/ccp-dev-v3.c if (op->u.aes.mode == CCP_AES_MODE_CFB) op 170 drivers/crypto/ccp/ccp-dev-v3.c if (op->eom) op 173 drivers/crypto/ccp/ccp-dev-v3.c if (op->init) op 176 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 179 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_xts_aes(struct ccp_op *op) op 185 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.xts.action << REQ1_AES_ACTION_SHIFT) op 186 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.xts.unit_size << REQ1_XTS_AES_SIZE_SHIFT) op 187 drivers/crypto/ccp/ccp-dev-v3.c | (op->sb_key << REQ1_KEY_KSB_SHIFT); op 188 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; op 189 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 190 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) op 192 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 193 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); op 195 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); op 197 drivers/crypto/ccp/ccp-dev-v3.c if (op->eom) op 200 drivers/crypto/ccp/ccp-dev-v3.c if (op->init) op 203 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 206 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_sha(struct ccp_op *op) op 212 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.sha.type << REQ1_SHA_TYPE_SHIFT) op 214 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; op 215 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 216 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) op 218 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 220 drivers/crypto/ccp/ccp-dev-v3.c if (op->eom) { op 222 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = lower_32_bits(op->u.sha.msg_bits); op 223 drivers/crypto/ccp/ccp-dev-v3.c cr[5] = upper_32_bits(op->u.sha.msg_bits); op 229 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 232 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_rsa(struct ccp_op *op) op 238 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.rsa.mod_size << REQ1_RSA_MOD_SIZE_SHIFT) op 239 drivers/crypto/ccp/ccp-dev-v3.c | (op->sb_key << REQ1_KEY_KSB_SHIFT) op 241 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->u.rsa.input_len - 1; op 242 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 243 drivers/crypto/ccp/ccp-dev-v3.c cr[3] = (op->sb_ctx << REQ4_KSB_SHIFT) op 245 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 246 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); op 248 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); op 250 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 253 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_passthru(struct ccp_op *op) op 259 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.passthru.bit_mod << REQ1_PT_BW_SHIFT) op 260 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.passthru.byte_swap << REQ1_PT_BS_SHIFT); op 262 drivers/crypto/ccp/ccp-dev-v3.c if (op->src.type == CCP_MEMTYPE_SYSTEM) op 263 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; op 265 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->dst.u.dma.length - 1; op 267 drivers/crypto/ccp/ccp-dev-v3.c if (op->src.type == CCP_MEMTYPE_SYSTEM) { op 268 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 270 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 272 drivers/crypto/ccp/ccp-dev-v3.c if (op->u.passthru.bit_mod != CCP_PASSTHRU_BITWISE_NOOP) op 273 drivers/crypto/ccp/ccp-dev-v3.c cr[3] |= (op->sb_key << REQ4_KSB_SHIFT); op 275 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = op->src.u.sb * CCP_SB_BYTES; op 279 drivers/crypto/ccp/ccp-dev-v3.c if (op->dst.type == CCP_MEMTYPE_SYSTEM) { op 280 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); op 282 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); op 284 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = op->dst.u.sb * CCP_SB_BYTES; op 288 drivers/crypto/ccp/ccp-dev-v3.c if (op->eom) op 291 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 294 drivers/crypto/ccp/ccp-dev-v3.c static int ccp_perform_ecc(struct ccp_op *op) op 301 drivers/crypto/ccp/ccp-dev-v3.c | (op->u.ecc.function << REQ1_ECC_FUNCTION_SHIFT) op 303 drivers/crypto/ccp/ccp-dev-v3.c cr[1] = op->src.u.dma.length - 1; op 304 drivers/crypto/ccp/ccp-dev-v3.c cr[2] = ccp_addr_lo(&op->src.u.dma); op 306 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->src.u.dma); op 307 drivers/crypto/ccp/ccp-dev-v3.c cr[4] = ccp_addr_lo(&op->dst.u.dma); op 309 drivers/crypto/ccp/ccp-dev-v3.c | ccp_addr_hi(&op->dst.u.dma); op 311 drivers/crypto/ccp/ccp-dev-v3.c return ccp_do_cmd(op, cr, ARRAY_SIZE(cr)); op 277 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_aes(struct ccp_op *op) op 281 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->sb_key * LSB_ITEM_SIZE; op 283 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_aes_ops++; op 290 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SOC(&desc) = op->soc; op 292 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_INIT(&desc) = op->init; op 293 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_EOM(&desc) = op->eom; op 297 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_ENCRYPT(&function) = op->u.aes.action; op 298 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_MODE(&function) = op->u.aes.mode; op 299 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_TYPE(&function) = op->u.aes.type; op 300 drivers/crypto/ccp/ccp-dev-v5.c CCP_AES_SIZE(&function) = op->u.aes.size; op 304 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; op 306 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 307 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 310 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 311 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 317 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LSB_ID(&desc) = op->sb_ctx; op 319 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 322 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_xts_aes(struct ccp_op *op) op 326 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->sb_key * LSB_ITEM_SIZE; op 328 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_xts_aes_ops++; op 335 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SOC(&desc) = op->soc; op 337 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_INIT(&desc) = op->init; op 338 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_EOM(&desc) = op->eom; op 342 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_TYPE(&function) = op->u.xts.type; op 343 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_ENCRYPT(&function) = op->u.xts.action; op 344 drivers/crypto/ccp/ccp-dev-v5.c CCP_XTS_SIZE(&function) = op->u.xts.unit_size; op 347 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; op 349 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 350 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 353 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 354 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 360 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LSB_ID(&desc) = op->sb_ctx; op 362 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 365 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_sha(struct ccp_op *op) op 370 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_sha_ops++; op 377 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SOC(&desc) = op->soc; op 380 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_EOM(&desc) = op->eom; op 384 drivers/crypto/ccp/ccp-dev-v5.c CCP_SHA_TYPE(&function) = op->u.sha.type; op 387 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; op 389 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 390 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 393 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LSB_ID(&desc) = op->sb_ctx; op 395 drivers/crypto/ccp/ccp-dev-v5.c if (op->eom) { op 396 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SHA_LO(&desc) = lower_32_bits(op->u.sha.msg_bits); op 397 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SHA_HI(&desc) = upper_32_bits(op->u.sha.msg_bits); op 403 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 406 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_des3(struct ccp_op *op) op 410 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->sb_key * LSB_ITEM_SIZE; op 412 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_3des_ops++; op 419 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SOC(&desc) = op->soc; op 421 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_INIT(&desc) = op->init; op 422 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_EOM(&desc) = op->eom; op 426 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_ENCRYPT(&function) = op->u.des3.action; op 427 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_MODE(&function) = op->u.des3.mode; op 428 drivers/crypto/ccp/ccp-dev-v5.c CCP_DES3_TYPE(&function) = op->u.des3.type; op 431 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; op 433 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 434 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 437 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 438 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 444 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LSB_ID(&desc) = op->sb_ctx; op 446 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 449 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_rsa(struct ccp_op *op) op 454 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_rsa_ops++; op 461 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SOC(&desc) = op->soc; op 468 drivers/crypto/ccp/ccp-dev-v5.c CCP_RSA_SIZE(&function) = (op->u.rsa.mod_size + 7) >> 3; op 471 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->u.rsa.input_len; op 474 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 475 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 479 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 480 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 484 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_KEY_LO(&desc) = ccp_addr_lo(&op->exp.u.dma); op 485 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_KEY_HI(&desc) = ccp_addr_hi(&op->exp.u.dma); op 488 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 491 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_passthru(struct ccp_op *op) op 495 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_dma_info *saddr = &op->src.u.dma; op 496 drivers/crypto/ccp/ccp-dev-v5.c struct ccp_dma_info *daddr = &op->dst.u.dma; op 499 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_pt_ops++; op 508 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_EOM(&desc) = op->eom; op 512 drivers/crypto/ccp/ccp-dev-v5.c CCP_PT_BYTESWAP(&function) = op->u.passthru.byte_swap; op 513 drivers/crypto/ccp/ccp-dev-v5.c CCP_PT_BITWISE(&function) = op->u.passthru.bit_mod; op 517 drivers/crypto/ccp/ccp-dev-v5.c if (op->src.type == CCP_MEMTYPE_SYSTEM) op 522 drivers/crypto/ccp/ccp-dev-v5.c if (op->src.type == CCP_MEMTYPE_SYSTEM) { op 523 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 524 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 527 drivers/crypto/ccp/ccp-dev-v5.c if (op->u.passthru.bit_mod != CCP_PASSTHRU_BITWISE_NOOP) op 528 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LSB_ID(&desc) = op->sb_key; op 530 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->src.u.sb * CCP_SB_BYTES; op 537 drivers/crypto/ccp/ccp-dev-v5.c if (op->dst.type == CCP_MEMTYPE_SYSTEM) { op 538 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 539 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 542 drivers/crypto/ccp/ccp-dev-v5.c u32 key_addr = op->dst.u.sb * CCP_SB_BYTES; op 549 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 552 drivers/crypto/ccp/ccp-dev-v5.c static int ccp5_perform_ecc(struct ccp_op *op) op 557 drivers/crypto/ccp/ccp-dev-v5.c op->cmd_q->total_ecc_ops++; op 571 drivers/crypto/ccp/ccp-dev-v5.c function.ecc.mode = op->u.ecc.function; op 574 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_LEN(&desc) = op->src.u.dma.length; op 576 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_LO(&desc) = ccp_addr_lo(&op->src.u.dma); op 577 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_SRC_HI(&desc) = ccp_addr_hi(&op->src.u.dma); op 580 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_LO(&desc) = ccp_addr_lo(&op->dst.u.dma); op 581 drivers/crypto/ccp/ccp-dev-v5.c CCP5_CMD_DST_HI(&desc) = ccp_addr_hi(&op->dst.u.dma); op 584 drivers/crypto/ccp/ccp-dev-v5.c return ccp5_do_cmd(&desc, op->cmd_q); op 324 drivers/crypto/ccp/ccp-ops.c struct ccp_op *op, unsigned int block_size, op 352 drivers/crypto/ccp/ccp-ops.c op->soc = 0; op 360 drivers/crypto/ccp/ccp-ops.c op->soc = 1; op 361 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.address = src->dm_wa.dma.address; op 362 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.offset = 0; op 363 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.length = (blocksize_op) ? block_size : cp_len; op 368 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.address = sg_dma_address(src->sg_wa.sg); op 369 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.offset = src->sg_wa.sg_used; op 370 drivers/crypto/ccp/ccp-ops.c op->src.u.dma.length = op_len & ~(block_size - 1); op 372 drivers/crypto/ccp/ccp-ops.c ccp_update_sg_workarea(&src->sg_wa, op->src.u.dma.length); op 381 drivers/crypto/ccp/ccp-ops.c op->soc = 1; op 382 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.address = dst->dm_wa.dma.address; op 383 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.offset = 0; op 384 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length = op->src.u.dma.length; op 389 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.address = sg_dma_address(dst->sg_wa.sg); op 390 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.offset = dst->sg_wa.sg_used; op 391 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length = op->src.u.dma.length; op 397 drivers/crypto/ccp/ccp-ops.c struct ccp_op *op) op 399 drivers/crypto/ccp/ccp-ops.c op->init = 0; op 402 drivers/crypto/ccp/ccp-ops.c if (op->dst.u.dma.address == dst->dm_wa.dma.address) op 406 drivers/crypto/ccp/ccp-ops.c op->dst.u.dma.length); op 414 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 416 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 418 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 419 drivers/crypto/ccp/ccp-ops.c op.jobid = jobid; op 420 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 423 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 424 drivers/crypto/ccp/ccp-ops.c op.src.type = CCP_MEMTYPE_SB; op 425 drivers/crypto/ccp/ccp-ops.c op.src.u.sb = sb; op 426 drivers/crypto/ccp/ccp-ops.c op.dst.type = CCP_MEMTYPE_SYSTEM; op 427 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = wa->dma.address; op 428 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = wa->length; op 430 drivers/crypto/ccp/ccp-ops.c op.src.type = CCP_MEMTYPE_SYSTEM; op 431 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = wa->dma.address; op 432 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = wa->length; op 433 drivers/crypto/ccp/ccp-ops.c op.dst.type = CCP_MEMTYPE_SB; op 434 drivers/crypto/ccp/ccp-ops.c op.dst.u.sb = sb; op 437 drivers/crypto/ccp/ccp-ops.c op.u.passthru.byte_swap = byte_swap; op 439 drivers/crypto/ccp/ccp-ops.c return cmd_q->ccp->vdata->perform->passthru(&op); op 462 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 492 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 493 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 494 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 495 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 496 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; op 497 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 498 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; op 499 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = aes->mode; op 500 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; op 517 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, op 538 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 552 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, NULL, &op, AES_BLOCK_SIZE, true); op 554 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 557 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op 558 drivers/crypto/ccp/ccp-ops.c op.sb_ctx, op 569 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 577 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); op 583 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, NULL, &op); op 589 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 619 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 680 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 681 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 682 drivers/crypto/ccp/ccp-ops.c op.jobid = jobid; op 683 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; /* Pre-allocated */ op 684 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ op 685 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 686 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; op 699 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, op 721 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 728 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 737 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GHASH; op 738 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = CCP_AES_GHASHAAD; op 741 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&aad, NULL, &op, AES_BLOCK_SIZE, true); op 743 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); op 749 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&aad, NULL, &op); op 750 drivers/crypto/ccp/ccp-ops.c op.init = 0; op 754 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GCTR; op 755 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; op 777 drivers/crypto/ccp/ccp-ops.c op.soc = 0; op 778 drivers/crypto/ccp/ccp-ops.c op.eom = 0; op 779 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 781 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, &dst, &op, AES_BLOCK_SIZE, true); op 786 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 787 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = (nbytes * 8) - 1; op 791 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); op 797 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, &dst, &op); op 798 drivers/crypto/ccp/ccp-ops.c op.init = 0; op 803 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 814 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 832 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 833 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 834 drivers/crypto/ccp/ccp-ops.c op.jobid = jobid; op 835 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; /* Pre-allocated */ op 836 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ op 837 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 838 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; op 839 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = CCP_AES_MODE_GHASH; op 840 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = CCP_AES_GHASHFINAL; op 841 drivers/crypto/ccp/ccp-ops.c op.src.type = CCP_MEMTYPE_SYSTEM; op 842 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = final_wa.dma.address; op 843 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = AES_BLOCK_SIZE; op 844 drivers/crypto/ccp/ccp-ops.c op.dst.type = CCP_MEMTYPE_SYSTEM; op 845 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = final_wa.dma.address; op 846 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = AES_BLOCK_SIZE; op 847 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 848 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = 0; op 849 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); op 901 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 931 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 932 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 933 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 934 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 935 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; op 936 drivers/crypto/ccp/ccp-ops.c op.init = (aes->mode == CCP_AES_MODE_ECB) ? 0 : 1; op 937 drivers/crypto/ccp/ccp-ops.c op.u.aes.type = aes->type; op 938 drivers/crypto/ccp/ccp-ops.c op.u.aes.mode = aes->mode; op 939 drivers/crypto/ccp/ccp-ops.c op.u.aes.action = aes->action; op 956 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, op 979 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 989 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = AES_BLOCK_SIZE * BITS_PER_BYTE - 1; op 992 drivers/crypto/ccp/ccp-ops.c op.u.aes.size = 0; op 1019 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, &dst, &op, AES_BLOCK_SIZE, true); op 1021 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 1028 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 1031 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->aes(&op); op 1037 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, &dst, &op); op 1044 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1078 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 1126 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 1127 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 1128 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 1129 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 1130 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; op 1131 drivers/crypto/ccp/ccp-ops.c op.init = 1; op 1132 drivers/crypto/ccp/ccp-ops.c op.u.xts.type = aestype; op 1133 drivers/crypto/ccp/ccp-ops.c op.u.xts.action = xts->action; op 1134 drivers/crypto/ccp/ccp-ops.c op.u.xts.unit_size = xts->unit_size; op 1178 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, op 1198 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1229 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, &dst, &op, unit_size, true); op 1231 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 1233 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->xts_aes(&op); op 1239 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, &dst, &op); op 1245 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1279 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 1313 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 1316 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 1317 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 1318 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 1320 drivers/crypto/ccp/ccp-ops.c op.init = (des3->mode == CCP_DES3_MODE_ECB) ? 0 : 1; op 1321 drivers/crypto/ccp/ccp-ops.c op.u.des3.type = des3->type; op 1322 drivers/crypto/ccp/ccp-ops.c op.u.des3.mode = des3->mode; op 1323 drivers/crypto/ccp/ccp-ops.c op.u.des3.action = des3->action; op 1358 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &key, op.jobid, op.sb_key, op 1371 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; op 1386 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1419 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, &dst, &op, DES3_EDE_BLOCK_SIZE, true); op 1421 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 1427 drivers/crypto/ccp/ccp-ops.c op.soc = 0; op 1430 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->des3(&op); op 1436 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, &dst, &op); op 1441 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1475 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 1625 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 1626 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 1627 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 1628 drivers/crypto/ccp/ccp-ops.c op.sb_ctx = cmd_q->sb_ctx; /* Pre-allocated */ op 1629 drivers/crypto/ccp/ccp-ops.c op.u.sha.type = sha->type; op 1630 drivers/crypto/ccp/ccp-ops.c op.u.sha.msg_bits = sha->msg_bits; op 1667 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1682 drivers/crypto/ccp/ccp-ops.c ccp_prepare_data(&src, NULL, &op, block_size, false); op 1684 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 1686 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->sha(&op); op 1692 drivers/crypto/ccp/ccp-ops.c ccp_process_data(&src, NULL, &op); op 1695 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 1696 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->sha(&op); op 1706 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_from_sb(cmd_q, &ctx, op.jobid, op.sb_ctx, op 1819 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 1830 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 1831 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 1832 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 1851 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->ccp->vdata->perform->sballoc(cmd_q, op 1853 drivers/crypto/ccp/ccp-ops.c if (!op.sb_key) op 1860 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 1879 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &exp, op.jobid, op.sb_key, op 1887 drivers/crypto/ccp/ccp-ops.c op.exp.u.dma.address = exp.dma.address; op 1888 drivers/crypto/ccp/ccp-ops.c op.exp.u.dma.offset = 0; op 1911 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 1912 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; op 1913 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; op 1914 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = i_len; op 1915 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; op 1916 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; op 1917 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = o_len; op 1919 drivers/crypto/ccp/ccp-ops.c op.u.rsa.mod_size = rsa->key_size; op 1920 drivers/crypto/ccp/ccp-ops.c op.u.rsa.input_len = i_len; op 1922 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->rsa(&op); op 1941 drivers/crypto/ccp/ccp-ops.c cmd_q->ccp->vdata->perform->sbfree(cmd_q, op.sb_key, sb_count); op 1952 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 1972 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 1973 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 1974 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 1978 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 1990 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &mask, op.jobid, op.sb_key, op 2036 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 2037 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 2040 drivers/crypto/ccp/ccp-ops.c op.src.type = CCP_MEMTYPE_SYSTEM; op 2041 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = sg_dma_address(src.sg_wa.sg); op 2042 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; op 2043 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = sg_dma_len(src.sg_wa.sg); op 2045 drivers/crypto/ccp/ccp-ops.c op.dst.type = CCP_MEMTYPE_SYSTEM; op 2046 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = sg_dma_address(dst.sg_wa.sg); op 2047 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = dst.sg_wa.sg_used; op 2048 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = op.src.u.dma.length; op 2050 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->passthru(&op); op 2084 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 2102 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 2103 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 2104 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 2108 drivers/crypto/ccp/ccp-ops.c op.sb_key = cmd_q->sb_key; op 2114 drivers/crypto/ccp/ccp-ops.c ret = ccp_copy_to_sb(cmd_q, &mask, op.jobid, op.sb_key, op 2123 drivers/crypto/ccp/ccp-ops.c op.eom = 1; op 2124 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 2126 drivers/crypto/ccp/ccp-ops.c op.src.type = CCP_MEMTYPE_SYSTEM; op 2127 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = pt->src_dma; op 2128 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; op 2129 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = pt->src_len; op 2131 drivers/crypto/ccp/ccp-ops.c op.dst.type = CCP_MEMTYPE_SYSTEM; op 2132 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = pt->dst_dma; op 2133 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; op 2134 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = pt->src_len; op 2136 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->passthru(&op); op 2147 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 2164 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 2165 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 2166 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 2214 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 2215 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; op 2216 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; op 2217 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = src.length; op 2218 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; op 2219 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; op 2220 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = dst.length; op 2222 drivers/crypto/ccp/ccp-ops.c op.u.ecc.function = cmd->u.ecc.function; op 2224 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->ecc(&op); op 2254 drivers/crypto/ccp/ccp-ops.c struct ccp_op op; op 2287 drivers/crypto/ccp/ccp-ops.c memset(&op, 0, sizeof(op)); op 2288 drivers/crypto/ccp/ccp-ops.c op.cmd_q = cmd_q; op 2289 drivers/crypto/ccp/ccp-ops.c op.jobid = CCP_NEW_JOBID(cmd_q->ccp); op 2372 drivers/crypto/ccp/ccp-ops.c op.soc = 1; op 2373 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.address = src.dma.address; op 2374 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.offset = 0; op 2375 drivers/crypto/ccp/ccp-ops.c op.src.u.dma.length = src.length; op 2376 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.address = dst.dma.address; op 2377 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.offset = 0; op 2378 drivers/crypto/ccp/ccp-ops.c op.dst.u.dma.length = dst.length; op 2380 drivers/crypto/ccp/ccp-ops.c op.u.ecc.function = cmd->u.ecc.function; op 2382 drivers/crypto/ccp/ccp-ops.c ret = cmd_q->ccp->vdata->perform->ecc(&op); op 802 drivers/crypto/chelsio/chcr_algo.c chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, 0, op 809 drivers/crypto/chelsio/chcr_algo.c if ((reqctx->op == CHCR_DECRYPT_OP) && op 843 drivers/crypto/chelsio/chcr_algo.c if (reqctx->op && (ablkctx->ciph_mode == op 1072 drivers/crypto/chelsio/chcr_algo.c if (reqctx->op) op 1103 drivers/crypto/chelsio/chcr_algo.c if (!reqctx->op) op 1158 drivers/crypto/chelsio/chcr_algo.c reqctx->op); op 1276 drivers/crypto/chelsio/chcr_algo.c reqctx->op = op_type; op 2259 drivers/crypto/chelsio/chcr_algo.c chcr_aead_dma_unmap(&u_ctx->lldi.pdev->dev, req, reqctx->op); op 2273 drivers/crypto/chelsio/chcr_algo.c if (reqctx->op && req->cryptlen < authsize) op 2281 drivers/crypto/chelsio/chcr_algo.c reqctx->op); op 2358 drivers/crypto/chelsio/chcr_algo.c (reqctx->op ? -authsize : authsize), CHCR_DST_SG_SIZE, 0); op 2374 drivers/crypto/chelsio/chcr_algo.c transhdr_len, reqctx->op)) { op 2377 drivers/crypto/chelsio/chcr_algo.c return ERR_PTR(chcr_aead_fallback(req, reqctx->op)); op 2387 drivers/crypto/chelsio/chcr_algo.c temp = (reqctx->op == CHCR_ENCRYPT_OP) ? 0 : authsize; op 2411 drivers/crypto/chelsio/chcr_algo.c chcr_req->sec_cpl.seqno_numivs = FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, op 2412 drivers/crypto/chelsio/chcr_algo.c (reqctx->op == CHCR_ENCRYPT_OP) ? 1 : 0, op 2420 drivers/crypto/chelsio/chcr_algo.c if (reqctx->op == CHCR_ENCRYPT_OP || op 2574 drivers/crypto/chelsio/chcr_algo.c (reqctx->op ? -authsize : authsize); op 2912 drivers/crypto/chelsio/chcr_algo.c error = aead_ccm_validate_input(reqctx->op, req, aeadctx, sub_type); op 2916 drivers/crypto/chelsio/chcr_algo.c + (reqctx->op ? -authsize : authsize), op 2934 drivers/crypto/chelsio/chcr_algo.c reqctx->b0_len, transhdr_len, reqctx->op)) { op 2937 drivers/crypto/chelsio/chcr_algo.c return ERR_PTR(chcr_aead_fallback(req, reqctx->op)); op 2948 drivers/crypto/chelsio/chcr_algo.c fill_sec_cpl_for_aead(&chcr_req->sec_cpl, dst_size, req, reqctx->op); op 2958 drivers/crypto/chelsio/chcr_algo.c error = ccm_format_packet(req, ivptr, sub_type, reqctx->op, assoclen); op 3008 drivers/crypto/chelsio/chcr_algo.c (reqctx->op ? -authsize : authsize), op 3023 drivers/crypto/chelsio/chcr_algo.c transhdr_len, reqctx->op)) { op 3027 drivers/crypto/chelsio/chcr_algo.c return ERR_PTR(chcr_aead_fallback(req, reqctx->op)); op 3038 drivers/crypto/chelsio/chcr_algo.c temp = (reqctx->op == CHCR_ENCRYPT_OP) ? 0 : authsize; op 3051 drivers/crypto/chelsio/chcr_algo.c FILL_SEC_CPL_SCMD0_SEQNO(reqctx->op, (reqctx->op == op 3624 drivers/crypto/chelsio/chcr_algo.c return chcr_aead_fallback(req, reqctx->op); op 3657 drivers/crypto/chelsio/chcr_algo.c reqctx->op = CHCR_ENCRYPT_OP; op 3687 drivers/crypto/chelsio/chcr_algo.c reqctx->op = CHCR_DECRYPT_OP; op 187 drivers/crypto/chelsio/chcr_crypto.h unsigned int op; op 296 drivers/crypto/chelsio/chcr_crypto.h unsigned int op; op 622 drivers/crypto/hifn_795x.c u8 op, type, mode, unused; op 1124 drivers/crypto/hifn_795x.c switch (rctx->op) { op 1141 drivers/crypto/hifn_795x.c if (rctx->op == ACRYPTO_OP_ENCRYPT || rctx->op == ACRYPTO_OP_DECRYPT) { op 1585 drivers/crypto/hifn_795x.c rctx->mode, rctx->op, rctx->type, err); op 1997 drivers/crypto/hifn_795x.c static int hifn_setup_crypto_req(struct ablkcipher_request *req, u8 op, op 2022 drivers/crypto/hifn_795x.c rctx->op = op; op 2066 drivers/crypto/hifn_795x.c static int hifn_setup_crypto(struct ablkcipher_request *req, u8 op, op 2073 drivers/crypto/hifn_795x.c err = hifn_setup_crypto_req(req, op, type, mode); op 345 drivers/crypto/hisilicon/qm.c bool op) op 354 drivers/crypto/hisilicon/qm.c (op ? 0x1 << QM_MB_OP_SHIFT : 0) | op 100 drivers/crypto/img-hash.c unsigned long op; op 531 drivers/crypto/img-hash.c ctx->op, req->nbytes); op 311 drivers/crypto/marvell/cesa.h struct mv_cesa_op_ctx *op; op 549 drivers/crypto/marvell/cesa.h struct mv_cesa_op_ctx op; op 649 drivers/crypto/marvell/cesa.h static inline void mv_cesa_update_op_cfg(struct mv_cesa_op_ctx *op, op 652 drivers/crypto/marvell/cesa.h op->desc.config &= cpu_to_le32(~mask); op 653 drivers/crypto/marvell/cesa.h op->desc.config |= cpu_to_le32(cfg); op 656 drivers/crypto/marvell/cesa.h static inline u32 mv_cesa_get_op_cfg(const struct mv_cesa_op_ctx *op) op 658 drivers/crypto/marvell/cesa.h return le32_to_cpu(op->desc.config); op 661 drivers/crypto/marvell/cesa.h static inline void mv_cesa_set_op_cfg(struct mv_cesa_op_ctx *op, u32 cfg) op 663 drivers/crypto/marvell/cesa.h op->desc.config = cpu_to_le32(cfg); op 667 drivers/crypto/marvell/cesa.h struct mv_cesa_op_ctx *op) op 671 drivers/crypto/marvell/cesa.h op->desc.enc_p = CESA_SA_DESC_CRYPT_DATA(offset); op 672 drivers/crypto/marvell/cesa.h op->desc.enc_key_p = CESA_SA_DESC_CRYPT_KEY(offset); op 673 drivers/crypto/marvell/cesa.h op->desc.enc_iv = CESA_SA_DESC_CRYPT_IV(offset); op 674 drivers/crypto/marvell/cesa.h op->desc.mac_src_p &= ~CESA_SA_DESC_MAC_DATA_MSK; op 675 drivers/crypto/marvell/cesa.h op->desc.mac_src_p |= CESA_SA_DESC_MAC_DATA(offset); op 676 drivers/crypto/marvell/cesa.h op->desc.mac_digest &= ~CESA_SA_DESC_MAC_DIGEST_MSK; op 677 drivers/crypto/marvell/cesa.h op->desc.mac_digest |= CESA_SA_DESC_MAC_DIGEST(offset); op 678 drivers/crypto/marvell/cesa.h op->desc.mac_iv = CESA_SA_DESC_MAC_IV(offset); op 681 drivers/crypto/marvell/cesa.h static inline void mv_cesa_set_crypt_op_len(struct mv_cesa_op_ctx *op, int len) op 683 drivers/crypto/marvell/cesa.h op->desc.enc_len = cpu_to_le32(len); op 686 drivers/crypto/marvell/cesa.h static inline void mv_cesa_set_mac_op_total_len(struct mv_cesa_op_ctx *op, op 689 drivers/crypto/marvell/cesa.h op->desc.mac_src_p &= ~CESA_SA_DESC_MAC_TOTAL_LEN_MSK; op 690 drivers/crypto/marvell/cesa.h op->desc.mac_src_p |= CESA_SA_DESC_MAC_TOTAL_LEN(len); op 693 drivers/crypto/marvell/cesa.h static inline void mv_cesa_set_mac_op_frag_len(struct mv_cesa_op_ctx *op, op 696 drivers/crypto/marvell/cesa.h op->desc.mac_digest &= ~CESA_SA_DESC_MAC_FRAG_LEN_MSK; op 697 drivers/crypto/marvell/cesa.h op->desc.mac_digest |= CESA_SA_DESC_MAC_FRAG_LEN(len); op 715 drivers/crypto/marvell/cesa.h static inline bool mv_cesa_mac_op_is_first_frag(const struct mv_cesa_op_ctx *op) op 717 drivers/crypto/marvell/cesa.h return (mv_cesa_get_op_cfg(op) & CESA_SA_DESC_CFG_FRAG_MSK) == op 89 drivers/crypto/marvell/cipher.c mv_cesa_adjust_op(engine, &sreq->op); op 90 drivers/crypto/marvell/cipher.c memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); op 97 drivers/crypto/marvell/cipher.c mv_cesa_set_crypt_op_len(&sreq->op, len); op 101 drivers/crypto/marvell/cipher.c memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); op 104 drivers/crypto/marvell/cipher.c memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc)); op 212 drivers/crypto/marvell/cipher.c memcpy(skreq->iv, basereq->chain.last->op->ctx.blkcipher.iv, op 339 drivers/crypto/marvell/cipher.c struct mv_cesa_op_ctx *op; op 341 drivers/crypto/marvell/cipher.c op = mv_cesa_dma_add_op(&basereq->chain, op_templ, skip_ctx, flags); op 342 drivers/crypto/marvell/cipher.c if (IS_ERR(op)) { op 343 drivers/crypto/marvell/cipher.c ret = PTR_ERR(op); op 348 drivers/crypto/marvell/cipher.c mv_cesa_set_crypt_op_len(op, iter.base.op_len); op 402 drivers/crypto/marvell/cipher.c sreq->op = *op_templ; op 158 drivers/crypto/marvell/hash.c struct mv_cesa_op_ctx *op; op 194 drivers/crypto/marvell/hash.c op = &creq->op_tmpl; op 196 drivers/crypto/marvell/hash.c frag_mode = mv_cesa_get_op_cfg(op) & CESA_SA_DESC_CFG_FRAG_MSK; op 210 drivers/crypto/marvell/hash.c mv_cesa_set_mac_op_total_len(op, creq->len); op 234 drivers/crypto/marvell/hash.c mv_cesa_set_mac_op_frag_len(op, len); op 235 drivers/crypto/marvell/hash.c mv_cesa_update_op_cfg(op, frag_mode, CESA_SA_DESC_CFG_FRAG_MSK); op 238 drivers/crypto/marvell/hash.c memcpy_toio(engine->sram, op, sizeof(*op)); op 241 drivers/crypto/marvell/hash.c mv_cesa_update_op_cfg(op, CESA_SA_DESC_CFG_MID_FRAG, op 339 drivers/crypto/marvell/hash.c data = creq->base.chain.last->op->ctx.hash.hash; op 463 drivers/crypto/marvell/hash.c struct mv_cesa_op_ctx *op; op 466 drivers/crypto/marvell/hash.c op = mv_cesa_dma_add_op(chain, tmpl, false, flags); op 467 drivers/crypto/marvell/hash.c if (IS_ERR(op)) op 468 drivers/crypto/marvell/hash.c return op; op 471 drivers/crypto/marvell/hash.c mv_cesa_set_mac_op_frag_len(op, frag_len); op 483 drivers/crypto/marvell/hash.c return op; op 519 drivers/crypto/marvell/hash.c struct mv_cesa_op_ctx *op; op 527 drivers/crypto/marvell/hash.c op = mv_cesa_dma_add_frag(chain, &creq->op_tmpl, frag_len, op 529 drivers/crypto/marvell/hash.c if (IS_ERR(op)) op 530 drivers/crypto/marvell/hash.c return op; op 532 drivers/crypto/marvell/hash.c mv_cesa_set_mac_op_total_len(op, creq->len); op 533 drivers/crypto/marvell/hash.c mv_cesa_update_op_cfg(op, mv_cesa_mac_op_is_first_frag(op) ? op 544 drivers/crypto/marvell/hash.c return op; op 569 drivers/crypto/marvell/hash.c op = mv_cesa_dma_add_frag(chain, &creq->op_tmpl, frag_len + len, op 571 drivers/crypto/marvell/hash.c if (IS_ERR(op)) op 572 drivers/crypto/marvell/hash.c return op; op 575 drivers/crypto/marvell/hash.c return op; op 601 drivers/crypto/marvell/hash.c struct mv_cesa_op_ctx *op = NULL; op 651 drivers/crypto/marvell/hash.c op = mv_cesa_dma_add_frag(&basereq->chain, &creq->op_tmpl, op 653 drivers/crypto/marvell/hash.c if (IS_ERR(op)) { op 654 drivers/crypto/marvell/hash.c ret = PTR_ERR(op); op 669 drivers/crypto/marvell/hash.c op = mv_cesa_ahash_dma_last_req(&basereq->chain, &iter, creq, op 672 drivers/crypto/marvell/hash.c op = mv_cesa_dma_add_frag(&basereq->chain, &creq->op_tmpl, op 675 drivers/crypto/marvell/hash.c if (IS_ERR(op)) { op 676 drivers/crypto/marvell/hash.c ret = PTR_ERR(op); op 688 drivers/crypto/marvell/hash.c if (op && type != CESA_TDMA_RESULT) { op 67 drivers/crypto/marvell/tdma.c dma_pool_free(cesa_dev->dma->op_pool, tdma->op, op 92 drivers/crypto/marvell/tdma.c mv_cesa_adjust_op(engine, tdma->op); op 240 drivers/crypto/marvell/tdma.c tdma->op = op_desc->op; op 253 drivers/crypto/marvell/tdma.c struct mv_cesa_op_ctx *op; op 261 drivers/crypto/marvell/tdma.c op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); op 262 drivers/crypto/marvell/tdma.c if (!op) op 265 drivers/crypto/marvell/tdma.c *op = *op_templ; op 267 drivers/crypto/marvell/tdma.c size = skip_ctx ? sizeof(op->desc) : sizeof(*op); op 270 drivers/crypto/marvell/tdma.c tdma->op = op; op 276 drivers/crypto/marvell/tdma.c return op; op 77 drivers/crypto/mediatek/mtk-sha.c unsigned long op; op 687 drivers/crypto/mediatek/mtk-sha.c if (ctx->op == SHA_OP_UPDATE) { op 692 drivers/crypto/mediatek/mtk-sha.c } else if (ctx->op == SHA_OP_FINAL) { op 703 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_enqueue(struct ahash_request *req, u32 op) op 708 drivers/crypto/mediatek/mtk-sha.c ctx->op = op; op 288 drivers/crypto/nx/nx-842-pseries.c struct vio_pfo_op op = { op 317 drivers/crypto/nx/nx-842-pseries.c op.flags = NX842_OP_COMPRESS_CRC; op 320 drivers/crypto/nx/nx-842-pseries.c op.csbcpb = nx842_get_pa(csbcpb); op 325 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); op 326 drivers/crypto/nx/nx-842-pseries.c op.inlen = inlen; op 330 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa(slin.entries); op 331 drivers/crypto/nx/nx-842-pseries.c op.inlen = -nx842_get_scatterlist_size(&slin); op 337 drivers/crypto/nx/nx-842-pseries.c op.out = nx842_get_pa((void *)outbuf); op 338 drivers/crypto/nx/nx-842-pseries.c op.outlen = *outlen; op 342 drivers/crypto/nx/nx-842-pseries.c op.out = nx842_get_pa(slout.entries); op 343 drivers/crypto/nx/nx-842-pseries.c op.outlen = -nx842_get_scatterlist_size(&slout); op 347 drivers/crypto/nx/nx-842-pseries.c __func__, (unsigned long)op.in, (long)op.inlen, op 348 drivers/crypto/nx/nx-842-pseries.c (unsigned long)op.out, (long)op.outlen); op 351 drivers/crypto/nx/nx-842-pseries.c ret = vio_h_cop_sync(local_devdata->vdev, &op); op 356 drivers/crypto/nx/nx-842-pseries.c __func__, ret, op.hcall_err); op 418 drivers/crypto/nx/nx-842-pseries.c struct vio_pfo_op op = { op 449 drivers/crypto/nx/nx-842-pseries.c op.flags = NX842_OP_DECOMPRESS_CRC; op 452 drivers/crypto/nx/nx-842-pseries.c op.csbcpb = nx842_get_pa(csbcpb); op 457 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa((void *)inbuf); op 458 drivers/crypto/nx/nx-842-pseries.c op.inlen = inlen; op 462 drivers/crypto/nx/nx-842-pseries.c op.in = nx842_get_pa(slin.entries); op 463 drivers/crypto/nx/nx-842-pseries.c op.inlen = -nx842_get_scatterlist_size(&slin); op 469 drivers/crypto/nx/nx-842-pseries.c op.out = nx842_get_pa((void *)outbuf); op 470 drivers/crypto/nx/nx-842-pseries.c op.outlen = *outlen; op 474 drivers/crypto/nx/nx-842-pseries.c op.out = nx842_get_pa(slout.entries); op 475 drivers/crypto/nx/nx-842-pseries.c op.outlen = -nx842_get_scatterlist_size(&slout); op 479 drivers/crypto/nx/nx-842-pseries.c __func__, (unsigned long)op.in, (long)op.inlen, op 480 drivers/crypto/nx/nx-842-pseries.c (unsigned long)op.out, (long)op.outlen); op 483 drivers/crypto/nx/nx-842-pseries.c ret = vio_h_cop_sync(local_devdata->vdev, &op); op 488 drivers/crypto/nx/nx-842-pseries.c __func__, ret, op.hcall_err); op 80 drivers/crypto/nx/nx-aes-cbc.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 85 drivers/crypto/nx/nx-aes-cbc.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 252 drivers/crypto/nx/nx-aes-ccm.c nx_ctx->op.inlen = (nx_ctx->in_sg - nx_insg) * op 254 drivers/crypto/nx/nx-aes-ccm.c nx_ctx->op.outlen = (nx_ctx->out_sg - nx_outsg) * op 262 drivers/crypto/nx/nx-aes-ccm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 376 drivers/crypto/nx/nx-aes-ccm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 445 drivers/crypto/nx/nx-aes-ccm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 93 drivers/crypto/nx/nx-aes-ctr.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 98 drivers/crypto/nx/nx-aes-ctr.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 80 drivers/crypto/nx/nx-aes-ecb.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 85 drivers/crypto/nx/nx-aes-ecb.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 213 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->op.inlen = (nx_ctx->in_sg - nx_sg) op 219 drivers/crypto/nx/nx-aes-gcm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 284 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 285 drivers/crypto/nx/nx-aes-gcm.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 287 drivers/crypto/nx/nx-aes-gcm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 375 drivers/crypto/nx/nx-aes-gcm.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, op 93 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 94 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 96 drivers/crypto/nx/nx-aes-xcbc.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 121 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 122 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 124 drivers/crypto/nx/nx-aes-xcbc.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 210 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 251 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * op 263 drivers/crypto/nx/nx-aes-xcbc.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 268 drivers/crypto/nx/nx-aes-xcbc.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 341 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 342 drivers/crypto/nx/nx-aes-xcbc.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 344 drivers/crypto/nx/nx-aes-xcbc.c if (!nx_ctx->op.outlen) { op 349 drivers/crypto/nx/nx-aes-xcbc.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 95 drivers/crypto/nx/nx-sha256.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 135 drivers/crypto/nx/nx-sha256.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 148 drivers/crypto/nx/nx-sha256.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 153 drivers/crypto/nx/nx-sha256.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 226 drivers/crypto/nx/nx-sha256.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 227 drivers/crypto/nx/nx-sha256.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 228 drivers/crypto/nx/nx-sha256.c if (!nx_ctx->op.outlen) { op 233 drivers/crypto/nx/nx-sha256.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 95 drivers/crypto/nx/nx-sha512.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 134 drivers/crypto/nx/nx-sha512.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 152 drivers/crypto/nx/nx-sha512.c if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { op 157 drivers/crypto/nx/nx-sha512.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 231 drivers/crypto/nx/nx-sha512.c nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); op 232 drivers/crypto/nx/nx-sha512.c nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); op 234 drivers/crypto/nx/nx-sha512.c if (!nx_ctx->op.outlen) { op 239 drivers/crypto/nx/nx-sha512.c rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); op 41 drivers/crypto/nx/nx.c struct vio_pfo_op *op, op 50 drivers/crypto/nx/nx.c rc = vio_h_cop_sync(viodev, op); op 55 drivers/crypto/nx/nx.c "hcall rc: %ld\n", rc, op->hcall_err); op 57 drivers/crypto/nx/nx.c atomic_set(&(nx_ctx->stats->last_error), op->hcall_err); op 293 drivers/crypto/nx/nx.c nx_ctx->op.inlen = trim_sg_list(nx_ctx->in_sg, nx_insg, delta, nbytes); op 294 drivers/crypto/nx/nx.c nx_ctx->op.outlen = trim_sg_list(nx_ctx->out_sg, nx_outsg, delta, nbytes); op 311 drivers/crypto/nx/nx.c nx_ctx->op.flags = function; op 312 drivers/crypto/nx/nx.c nx_ctx->op.csbcpb = __pa(nx_ctx->csbcpb); op 313 drivers/crypto/nx/nx.c nx_ctx->op.in = __pa(nx_ctx->in_sg); op 314 drivers/crypto/nx/nx.c nx_ctx->op.out = __pa(nx_ctx->out_sg); op 122 drivers/crypto/nx/nx.h struct vio_pfo_op op; /* operation struct with hcall parameters */ op 155 drivers/crypto/nx/nx.h int nx_hcall_sync(struct nx_crypto_ctx *ctx, struct vio_pfo_op *op, op 623 drivers/crypto/omap-aes.c ctx->enginectx.op.prepare_request = omap_aes_prepare_req; op 624 drivers/crypto/omap-aes.c ctx->enginectx.op.unprepare_request = NULL; op 625 drivers/crypto/omap-aes.c ctx->enginectx.op.do_one_request = omap_aes_crypt_req; op 718 drivers/crypto/omap-des.c ctx->enginectx.op.prepare_request = omap_des_prepare_req; op 719 drivers/crypto/omap-des.c ctx->enginectx.op.unprepare_request = NULL; op 720 drivers/crypto/omap-des.c ctx->enginectx.op.do_one_request = omap_des_crypt_req; op 144 drivers/crypto/omap-sham.c unsigned long op; op 1146 drivers/crypto/omap-sham.c err = omap_sham_prepare_request(req, ctx->op == OP_UPDATE); op 1151 drivers/crypto/omap-sham.c ctx->op, req->nbytes); op 1161 drivers/crypto/omap-sham.c if (ctx->op == OP_UPDATE) { op 1166 drivers/crypto/omap-sham.c } else if (ctx->op == OP_FINAL) { op 1187 drivers/crypto/omap-sham.c static int omap_sham_enqueue(struct ahash_request *req, unsigned int op) op 1193 drivers/crypto/omap-sham.c ctx->op = op; op 1487 drivers/crypto/s5p-sss.c static int s5p_hash_enqueue(struct ahash_request *req, bool op) op 1492 drivers/crypto/s5p-sss.c ctx->op_update = op; op 694 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.do_one_request = stm32_cryp_cipher_one_req; op 695 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.prepare_request = stm32_cryp_prepare_cipher_req; op 696 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.unprepare_request = NULL; op 710 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.do_one_request = stm32_cryp_aead_one_req; op 711 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.prepare_request = stm32_cryp_prepare_aead_req; op 712 drivers/crypto/stm32/stm32-cryp.c ctx->enginectx.op.unprepare_request = NULL; op 125 drivers/crypto/stm32/stm32-hash.c unsigned long op; op 851 drivers/crypto/stm32/stm32-hash.c rctx->op, req->nbytes); op 872 drivers/crypto/stm32/stm32-hash.c if (rctx->op == HASH_OP_UPDATE) op 874 drivers/crypto/stm32/stm32-hash.c else if (rctx->op == HASH_OP_FINAL) op 884 drivers/crypto/stm32/stm32-hash.c static int stm32_hash_enqueue(struct ahash_request *req, unsigned int op) op 890 drivers/crypto/stm32/stm32-hash.c rctx->op = op; op 1047 drivers/crypto/stm32/stm32-hash.c ctx->enginectx.op.do_one_request = stm32_hash_one_request; op 1048 drivers/crypto/stm32/stm32-hash.c ctx->enginectx.op.prepare_request = stm32_hash_prepare_req; op 1049 drivers/crypto/stm32/stm32-hash.c ctx->enginectx.op.unprepare_request = NULL; op 18 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 19 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_ss_ctx *ss = op->ss; op 47 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c for (i = 0; i < op->keylen; i += 4) op 48 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c writel(*(op->key + i / 4), ss->base + SS_KEY0 + i); op 123 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 125 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, op->fallback_tfm); op 128 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c skcipher_request_set_sync_tfm(subreq, op->fallback_tfm); op 146 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 147 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_ss_ctx *ss = op->ss; op 209 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c for (i = 0; i < op->keylen; i += 4) op 210 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c writel(*(op->key + i / 4), ss->base + SS_KEY0 + i); op 350 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 354 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 361 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 365 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 373 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 377 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 384 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 388 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 396 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 400 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 407 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 411 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 419 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 423 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 430 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 434 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 442 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 446 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 453 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 457 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 465 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 469 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 476 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 480 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode; op 486 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); op 490 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memset(op, 0, sizeof(struct sun4i_tfm_ctx)); op 494 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->ss = algt->ss; op 499 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->fallback_tfm = crypto_alloc_sync_skcipher(name, 0, CRYPTO_ALG_NEED_FALLBACK); op 500 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c if (IS_ERR(op->fallback_tfm)) { op 501 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c dev_err(op->ss->dev, "ERROR: Cannot allocate fallback for %s %ld\n", op 502 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c name, PTR_ERR(op->fallback_tfm)); op 503 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c return PTR_ERR(op->fallback_tfm); op 511 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); op 512 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_free_sync_skcipher(op->fallback_tfm); op 519 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 520 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_ss_ctx *ss = op->ss; op 524 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode = SS_AES_128BITS; op 527 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode = SS_AES_192BITS; op 530 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keymode = SS_AES_256BITS; op 537 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keylen = keylen; op 538 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memcpy(op->key, key, keylen); op 540 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); op 541 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); op 543 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c return crypto_sync_skcipher_setkey(op->fallback_tfm, key, keylen); op 550 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 557 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keylen = keylen; op 558 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memcpy(op->key, key, keylen); op 560 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); op 561 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); op 563 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c return crypto_sync_skcipher_setkey(op->fallback_tfm, key, keylen); op 570 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c struct sun4i_tfm_ctx *op = crypto_skcipher_ctx(tfm); op 577 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c op->keylen = keylen; op 578 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c memcpy(op->key, key, keylen); op 580 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_clear_flags(op->fallback_tfm, CRYPTO_TFM_REQ_MASK); op 581 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c crypto_sync_skcipher_set_flags(op->fallback_tfm, tfm->base.crt_flags & CRYPTO_TFM_REQ_MASK); op 583 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c return crypto_sync_skcipher_setkey(op->fallback_tfm, key, keylen); op 19 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); op 23 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memset(op, 0, sizeof(struct sun4i_tfm_ctx)); op 26 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->ss = algt->ss; op 36 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 41 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memset(op, 0, sizeof(struct sun4i_req_ctx)); op 44 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->mode = algt->mode; op 51 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 55 drivers/crypto/sunxi-ss/sun4i-ss-hash.c octx->byte_count = op->byte_count + op->len; op 57 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(octx->block, op->buf, op->len); op 59 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->byte_count) { op 61 drivers/crypto/sunxi-ss/sun4i-ss-hash.c octx->hash[i] = op->hash[i]; op 74 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 80 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count = ictx->byte_count & ~0x3F; op 81 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len = ictx->byte_count & 0x3F; op 83 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(op->buf, ictx->block, op->len); op 86 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->hash[i] = ictx->hash[i]; op 93 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 97 drivers/crypto/sunxi-ss/sun4i-ss-hash.c octx->count = op->byte_count + op->len; op 99 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(octx->buffer, op->buf, op->len); op 101 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->byte_count) { op 103 drivers/crypto/sunxi-ss/sun4i-ss-hash.c octx->state[i] = op->hash[i]; op 117 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 123 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count = ictx->count & ~0x3F; op 124 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len = ictx->count & 0x3F; op 126 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(op->buf, ictx->buffer, op->len); op 129 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->hash[i] = ictx->state[i]; op 179 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 191 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count, areq->nbytes, op->mode, op 192 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len, op->hash[0]); op 194 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (unlikely(!areq->nbytes) && !(op->flags & SS_HASH_FINAL)) op 198 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (unlikely(areq->nbytes > UINT_MAX - op->len)) { op 203 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->len + areq->nbytes < 64 && !(op->flags & SS_HASH_FINAL)) { op 206 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->buf + op->len, areq->nbytes, 0); op 207 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len += copied; op 217 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->byte_count) { op 220 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writel(op->hash[i], ss->base + SS_IV0 + i * 4); op 223 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writel(op->mode | SS_ENABLED | ivmode, ss->base + SS_CTL); op 225 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (!(op->flags & SS_HASH_UPDATE)) op 229 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (!(op->flags & SS_HASH_FINAL)) { op 230 drivers/crypto/sunxi-ss/sun4i-ss-hash.c end = ((areq->nbytes + op->len) / 64) * 64 - op->len; op 243 drivers/crypto/sunxi-ss/sun4i-ss-hash.c end = ((areq->nbytes + op->len) / 4) * 4 - op->len; op 253 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (i == 1 && !op->len && areq->nbytes) op 268 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->len || (mi.length - in_i) < 4) { op 274 drivers/crypto/sunxi-ss/sun4i-ss-hash.c while (op->len < 64 && i < end) { op 276 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min(end - i, 64 - op->len); op 278 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(op->buf + op->len, mi.addr + in_i, in_r); op 279 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len += in_r; op 287 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->len > 3 && !(op->len % 4)) { op 289 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writesl(ss->base + SS_RXFIFO, op->buf, op 290 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len / 4); op 291 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count += op->len; op 292 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len = 0; op 302 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count += todo * 4; op 322 drivers/crypto/sunxi-ss/sun4i-ss-hash.c while (i < areq->nbytes && in_i < mi.length && op->len < 64) { op 324 drivers/crypto/sunxi-ss/sun4i-ss-hash.c in_r = min(areq->nbytes - i, 64 - op->len); op 326 drivers/crypto/sunxi-ss/sun4i-ss-hash.c memcpy(op->buf + op->len, mi.addr + in_i, in_r); op 327 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->len += in_r; op 344 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->flags & SS_HASH_FINAL) op 347 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writel(op->mode | SS_ENABLED | SS_DATA_END, ss->base + SS_CTL); op 371 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->hash[i] = readl(ss->base + SS_MD0 + i * 4); op 390 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->len) { op 391 drivers/crypto/sunxi-ss/sun4i-ss-hash.c nwait = op->len / 4; op 393 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writesl(ss->base + SS_RXFIFO, op->buf, nwait); op 394 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count += 4 * nwait; op 397 drivers/crypto/sunxi-ss/sun4i-ss-hash.c nbw = op->len - 4 * nwait; op 399 drivers/crypto/sunxi-ss/sun4i-ss-hash.c wb = cpu_to_le32(*(u32 *)(op->buf + nwait * 4)); op 402 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->byte_count += nbw; op 416 drivers/crypto/sunxi-ss/sun4i-ss-hash.c fill = 64 - (op->byte_count % 64); op 426 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->mode == SS_OP_SHA1) { op 428 drivers/crypto/sunxi-ss/sun4i-ss-hash.c *bits = cpu_to_be64(op->byte_count << 3); op 432 drivers/crypto/sunxi-ss/sun4i-ss-hash.c *bits = cpu_to_le64(op->byte_count << 3); op 438 drivers/crypto/sunxi-ss/sun4i-ss-hash.c writel(op->mode | SS_ENABLED | SS_DATA_END, ss->base + SS_CTL); op 468 drivers/crypto/sunxi-ss/sun4i-ss-hash.c if (op->mode == SS_OP_SHA1) { op 488 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 490 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->flags = SS_HASH_FINAL; op 496 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 498 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->flags = SS_HASH_UPDATE; op 505 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 507 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->flags = SS_HASH_UPDATE | SS_HASH_FINAL; op 515 drivers/crypto/sunxi-ss/sun4i-ss-hash.c struct sun4i_req_ctx *op = ahash_request_ctx(areq); op 521 drivers/crypto/sunxi-ss/sun4i-ss-hash.c op->flags = SS_HASH_UPDATE | SS_HASH_FINAL; op 122 drivers/crypto/virtio/virtio_crypto_algs.c int op = encrypt ? VIRTIO_CRYPTO_OP_ENCRYPT : VIRTIO_CRYPTO_OP_DECRYPT; op 151 drivers/crypto/virtio/virtio_crypto_algs.c vcrypto->ctrl.u.sym_create_session.u.cipher.para.op = op 152 drivers/crypto/virtio/virtio_crypto_algs.c cpu_to_le32(op); op 542 drivers/crypto/virtio/virtio_crypto_algs.c ctx->enginectx.op.do_one_request = virtio_crypto_ablkcipher_crypt_req; op 543 drivers/crypto/virtio/virtio_crypto_algs.c ctx->enginectx.op.prepare_request = NULL; op 544 drivers/crypto/virtio/virtio_crypto_algs.c ctx->enginectx.op.unprepare_request = NULL; op 368 drivers/dma/bestcomm/bestcomm.c static int mpc52xx_bcom_probe(struct platform_device *op) op 379 drivers/dma/bestcomm/bestcomm.c of_node_get(op->dev.of_node); op 406 drivers/dma/bestcomm/bestcomm.c bcom_eng->ofnode = op->dev.of_node; op 409 drivers/dma/bestcomm/bestcomm.c if (of_address_to_resource(op->dev.of_node, 0, &res_bcom)) { op 453 drivers/dma/bestcomm/bestcomm.c of_node_put(op->dev.of_node); op 461 drivers/dma/bestcomm/bestcomm.c static int mpc52xx_bcom_remove(struct platform_device *op) op 940 drivers/dma/dmatest.c char *op; op 944 drivers/dma/dmatest.c op = "copy"; op 946 drivers/dma/dmatest.c op = "set"; op 948 drivers/dma/dmatest.c op = "xor"; op 950 drivers/dma/dmatest.c op = "pq"; op 958 drivers/dma/dmatest.c dma_chan_name(chan), op, i); op 968 drivers/dma/dmatest.c dma_chan_name(chan), op, i); op 971 drivers/dma/dmatest.c dma_chan_name(chan), op, i); op 1213 drivers/dma/fsldma.c static int fsldma_of_probe(struct platform_device *op) op 1225 drivers/dma/fsldma.c fdev->dev = &op->dev; op 1229 drivers/dma/fsldma.c fdev->regs = of_iomap(op->dev.of_node, 0); op 1231 drivers/dma/fsldma.c dev_err(&op->dev, "unable to ioremap registers\n"); op 1237 drivers/dma/fsldma.c fdev->irq = irq_of_parse_and_map(op->dev.of_node, 0); op 1248 drivers/dma/fsldma.c fdev->common.dev = &op->dev; op 1255 drivers/dma/fsldma.c dma_set_mask(&(op->dev), DMA_BIT_MASK(36)); op 1257 drivers/dma/fsldma.c platform_set_drvdata(op, fdev); op 1264 drivers/dma/fsldma.c for_each_child_of_node(op->dev.of_node, child) { op 1303 drivers/dma/fsldma.c static int fsldma_of_remove(struct platform_device *op) op 1308 drivers/dma/fsldma.c fdev = platform_get_drvdata(op); op 488 drivers/dma/ioat/dma.c if (hw->ctl_f.op == IOAT_OP_XOR || op 489 drivers/dma/ioat/dma.c hw->ctl_f.op == IOAT_OP_XOR_VAL) { op 494 drivers/dma/ioat/dma.c } else if (hw->ctl_f.op == IOAT_OP_PQ || op 495 drivers/dma/ioat/dma.c hw->ctl_f.op == IOAT_OP_PQ_VAL) { op 547 drivers/dma/ioat/dma.c switch (hw->ctl_f.op) { op 786 drivers/dma/ioat/dma.c switch (hw->ctl_f.op) { op 226 drivers/dma/ioat/dma.h hw->ctl, hw->ctl_f.op, hw->ctl_f.int_en, hw->ctl_f.compl_write); op 89 drivers/dma/ioat/hw.h unsigned int op:8; op 122 drivers/dma/ioat/hw.h unsigned int op:8; op 176 drivers/dma/ioat/hw.h unsigned int op:8; op 220 drivers/dma/ioat/hw.h unsigned int op:8; op 804 drivers/dma/ioat/init.c u8 op = 0; op 851 drivers/dma/ioat/init.c op = IOAT_OP_XOR; op 919 drivers/dma/ioat/init.c op = IOAT_OP_XOR_VAL; op 978 drivers/dma/ioat/init.c op = IOAT_OP_XOR_VAL; op 1030 drivers/dma/ioat/init.c if (op == IOAT_OP_XOR) { op 1035 drivers/dma/ioat/init.c } else if (op == IOAT_OP_XOR_VAL) { op 166 drivers/dma/ioat/prep.c u8 op = result ? IOAT_OP_XOR_VAL : IOAT_OP_XOR; op 214 drivers/dma/ioat/prep.c xor->ctl_f.op = op; op 291 drivers/dma/ioat/prep.c desc->txd.flags, pq->size, pq->ctl, pq->ctl_f.op, op 325 drivers/dma/ioat/prep.c pq->ctl_f.op, pq->ctl_f.int_en, op 354 drivers/dma/ioat/prep.c u8 op = result ? IOAT_OP_PQ_VAL : IOAT_OP_PQ; op 420 drivers/dma/ioat/prep.c pq->ctl_f.op = op; op 474 drivers/dma/ioat/prep.c u8 op; op 478 drivers/dma/ioat/prep.c op = result ? IOAT_OP_PQ_VAL_16S : IOAT_OP_PQ_16S; op 534 drivers/dma/ioat/prep.c pq->ctl_f.op = op; op 839 drivers/dma/k3dma.c static int k3_dma_probe(struct platform_device *op) op 847 drivers/dma/k3dma.c iores = platform_get_resource(op, IORESOURCE_MEM, 0); op 851 drivers/dma/k3dma.c d = devm_kzalloc(&op->dev, sizeof(*d), GFP_KERNEL); op 855 drivers/dma/k3dma.c soc_data = device_get_match_data(&op->dev); op 859 drivers/dma/k3dma.c d->base = devm_ioremap_resource(&op->dev, iores); op 863 drivers/dma/k3dma.c of_id = of_match_device(k3_pdma_dt_ids, &op->dev); op 865 drivers/dma/k3dma.c of_property_read_u32((&op->dev)->of_node, op 867 drivers/dma/k3dma.c of_property_read_u32((&op->dev)->of_node, op 869 drivers/dma/k3dma.c ret = of_property_read_u32((&op->dev)->of_node, op 872 drivers/dma/k3dma.c dev_warn(&op->dev, op 879 drivers/dma/k3dma.c d->clk = devm_clk_get(&op->dev, NULL); op 881 drivers/dma/k3dma.c dev_err(&op->dev, "no dma clk\n"); op 886 drivers/dma/k3dma.c irq = platform_get_irq(op, 0); op 887 drivers/dma/k3dma.c ret = devm_request_irq(&op->dev, irq, op 895 drivers/dma/k3dma.c d->pool = dmam_pool_create(DRIVER_NAME, &op->dev, op 901 drivers/dma/k3dma.c d->phy = devm_kcalloc(&op->dev, op 921 drivers/dma/k3dma.c d->slave.dev = &op->dev; op 936 drivers/dma/k3dma.c d->chans = devm_kcalloc(&op->dev, op 953 drivers/dma/k3dma.c dev_err(&op->dev, "clk_prepare_enable failed: %d\n", ret); op 963 drivers/dma/k3dma.c ret = of_dma_controller_register((&op->dev)->of_node, op 971 drivers/dma/k3dma.c platform_set_drvdata(op, d); op 972 drivers/dma/k3dma.c dev_info(&op->dev, "initialized\n"); op 983 drivers/dma/k3dma.c static int k3_dma_remove(struct platform_device *op) op 986 drivers/dma/k3dma.c struct k3_dma_dev *d = platform_get_drvdata(op); op 989 drivers/dma/k3dma.c of_dma_controller_free((&op->dev)->of_node); op 991 drivers/dma/k3dma.c devm_free_irq(&op->dev, d->irq, d); op 942 drivers/dma/mmp_pdma.c static int mmp_pdma_remove(struct platform_device *op) op 944 drivers/dma/mmp_pdma.c struct mmp_pdma_device *pdev = platform_get_drvdata(op); op 950 drivers/dma/mmp_pdma.c if (platform_get_irq(op, i) > 0) op 955 drivers/dma/mmp_pdma.c irq = platform_get_irq(op, 0); op 956 drivers/dma/mmp_pdma.c devm_free_irq(&op->dev, irq, pdev); op 960 drivers/dma/mmp_pdma.c irq = platform_get_irq(op, i); op 961 drivers/dma/mmp_pdma.c devm_free_irq(&op->dev, irq, phy); op 1025 drivers/dma/mmp_pdma.c static int mmp_pdma_probe(struct platform_device *op) op 1029 drivers/dma/mmp_pdma.c struct mmp_dma_platdata *pdata = dev_get_platdata(&op->dev); op 1037 drivers/dma/mmp_pdma.c pdev = devm_kzalloc(&op->dev, sizeof(*pdev), GFP_KERNEL); op 1041 drivers/dma/mmp_pdma.c pdev->dev = &op->dev; op 1045 drivers/dma/mmp_pdma.c iores = platform_get_resource(op, IORESOURCE_MEM, 0); op 1061 drivers/dma/mmp_pdma.c if (platform_get_irq(op, i) > 0) op 1074 drivers/dma/mmp_pdma.c irq = platform_get_irq(op, 0); op 1082 drivers/dma/mmp_pdma.c irq = (irq_num != dma_channels) ? 0 : platform_get_irq(op, i); op 1092 drivers/dma/mmp_pdma.c pdev->device.dev = &op->dev; op 1119 drivers/dma/mmp_pdma.c if (op->dev.of_node) { op 1121 drivers/dma/mmp_pdma.c ret = of_dma_controller_register(op->dev.of_node, op 1124 drivers/dma/mmp_pdma.c dev_err(&op->dev, "of_dma_controller_register failed\n"); op 1129 drivers/dma/mmp_pdma.c platform_set_drvdata(op, pdev); op 897 drivers/dma/mpc512x_dma.c static int mpc_dma_probe(struct platform_device *op) op 899 drivers/dma/mpc512x_dma.c struct device_node *dn = op->dev.of_node; op 900 drivers/dma/mpc512x_dma.c struct device *dev = &op->dev; op 1086 drivers/dma/mpc512x_dma.c static int mpc_dma_remove(struct platform_device *op) op 1088 drivers/dma/mpc512x_dma.c struct device *dev = &op->dev; op 319 drivers/dma/ppc4xx/adma.c unsigned long op) op 326 drivers/dma/ppc4xx/adma.c set_bits(op, &desc->flags); op 2091 drivers/dma/ppc4xx/adma.c unsigned long op = 0; op 2094 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_WXOR, &op); op 2107 drivers/dma/ppc4xx/adma.c set_bits(op, &sw_desc->flags); op 2177 drivers/dma/ppc4xx/adma.c unsigned long op = 0; op 2180 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_WXOR, &op); op 2193 drivers/dma/ppc4xx/adma.c set_bits(op, &sw_desc->flags); op 2282 drivers/dma/ppc4xx/adma.c unsigned long op = 0; op 2291 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_WXOR, &op); op 2303 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_RXOR, &op); op 2309 drivers/dma/ppc4xx/adma.c &op); op 2312 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_RXOR124, &op); op 2316 drivers/dma/ppc4xx/adma.c &op); op 2320 drivers/dma/ppc4xx/adma.c &op); op 2324 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_RXOR12, &op); op 2328 drivers/dma/ppc4xx/adma.c if (!test_bit(PPC440SPE_DESC_RXOR, &op)) { op 2339 drivers/dma/ppc4xx/adma.c if (!test_bit(PPC440SPE_DESC_RXOR, &op)) { op 2348 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_ZERO_P, &op); op 2352 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_ZERO_Q, &op); op 2362 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_ZERO_P, &op); op 2364 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_ZERO_Q, &op); op 2366 drivers/dma/ppc4xx/adma.c if (test_bit(PPC440SPE_DESC_RXOR12, &op)) op 2376 drivers/dma/ppc4xx/adma.c clear_bit(PPC440SPE_DESC_WXOR, &op); op 2384 drivers/dma/ppc4xx/adma.c flags, op); op 2427 drivers/dma/ppc4xx/adma.c unsigned long op = 0; op 2446 drivers/dma/ppc4xx/adma.c op = slot_cnt; op 2450 drivers/dma/ppc4xx/adma.c --op ? 0 : flags); op 2459 drivers/dma/ppc4xx/adma.c op = 0; op 2461 drivers/dma/ppc4xx/adma.c op++; op 2462 drivers/dma/ppc4xx/adma.c if (op % descs_per_op == 0) op 3365 drivers/dma/ppc4xx/adma.c int k = 0, op = 0, lop = 0; op 3368 drivers/dma/ppc4xx/adma.c while (op <= index) { op 3369 drivers/dma/ppc4xx/adma.c lop = op; op 3379 drivers/dma/ppc4xx/adma.c op += 2; op 3381 drivers/dma/ppc4xx/adma.c op += 3; op 3388 drivers/dma/ppc4xx/adma.c if (index == op - 1) op 3406 drivers/dma/ppc4xx/adma.c int k = 0, op = 0, lop = 0; op 3409 drivers/dma/ppc4xx/adma.c while (op <= index) { op 3410 drivers/dma/ppc4xx/adma.c lop = op; op 3421 drivers/dma/ppc4xx/adma.c op += 2; op 3423 drivers/dma/ppc4xx/adma.c op += 3; op 3429 drivers/dma/ppc4xx/adma.c ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult); op 3708 drivers/dma/ppc4xx/adma.c unsigned long op = 0; op 3711 drivers/dma/ppc4xx/adma.c set_bit(PPC440SPE_DESC_WXOR, &op); op 3721 drivers/dma/ppc4xx/adma.c ppc440spe_desc_init_dma01pq(sw_desc, 1, 1, 1, op); op 151 drivers/dma/ppc4xx/dma.h u32 op; op 1233 drivers/dma/pxa_dma.c static int pxad_remove(struct platform_device *op) op 1235 drivers/dma/pxa_dma.c struct pxad_device *pdev = platform_get_drvdata(op); op 1242 drivers/dma/pxa_dma.c static int pxad_init_phys(struct platform_device *op, op 1249 drivers/dma/pxa_dma.c irq0 = platform_get_irq(op, 0); op 1253 drivers/dma/pxa_dma.c pdev->phys = devm_kcalloc(&op->dev, nb_phy_chans, op 1259 drivers/dma/pxa_dma.c if (platform_get_irq(op, i) > 0) op 1266 drivers/dma/pxa_dma.c irq = platform_get_irq(op, i); op 1268 drivers/dma/pxa_dma.c ret = devm_request_irq(&op->dev, irq, op 1272 drivers/dma/pxa_dma.c ret = devm_request_irq(&op->dev, irq0, op 1308 drivers/dma/pxa_dma.c static int pxad_init_dmadev(struct platform_device *op, op 1328 drivers/dma/pxa_dma.c if (op->dev.coherent_dma_mask) op 1329 drivers/dma/pxa_dma.c dma_set_mask(&op->dev, op->dev.coherent_dma_mask); op 1331 drivers/dma/pxa_dma.c dma_set_mask(&op->dev, DMA_BIT_MASK(32)); op 1333 drivers/dma/pxa_dma.c ret = pxad_init_phys(op, pdev, nr_phy_chans); op 1338 drivers/dma/pxa_dma.c c = devm_kzalloc(&op->dev, sizeof(*c), GFP_KERNEL); op 1352 drivers/dma/pxa_dma.c static int pxad_probe(struct platform_device *op) op 1357 drivers/dma/pxa_dma.c struct mmp_dma_platdata *pdata = dev_get_platdata(&op->dev); op 1364 drivers/dma/pxa_dma.c pdev = devm_kzalloc(&op->dev, sizeof(*pdev), GFP_KERNEL); op 1370 drivers/dma/pxa_dma.c iores = platform_get_resource(op, IORESOURCE_MEM, 0); op 1371 drivers/dma/pxa_dma.c pdev->base = devm_ioremap_resource(&op->dev, iores); op 1375 drivers/dma/pxa_dma.c of_id = of_match_device(pxad_dt_ids, &op->dev); op 1377 drivers/dma/pxa_dma.c of_property_read_u32(op->dev.of_node, "#dma-channels", op 1379 drivers/dma/pxa_dma.c ret = of_property_read_u32(op->dev.of_node, "#dma-requests", op 1414 drivers/dma/pxa_dma.c pdev->slave.dev = &op->dev; op 1415 drivers/dma/pxa_dma.c ret = pxad_init_dmadev(op, pdev, dma_channels, nb_requestors); op 1421 drivers/dma/pxa_dma.c if (op->dev.of_node) { op 1423 drivers/dma/pxa_dma.c ret = of_dma_controller_register(op->dev.of_node, op 1432 drivers/dma/pxa_dma.c platform_set_drvdata(op, pdev); op 839 drivers/dma/sirf-dma.c static int sirfsoc_dma_probe(struct platform_device *op) op 841 drivers/dma/sirf-dma.c struct device_node *dn = op->dev.of_node; op 842 drivers/dma/sirf-dma.c struct device *dev = &op->dev; op 857 drivers/dma/sirf-dma.c (of_match_device(op->dev.driver->of_match_table, op 858 drivers/dma/sirf-dma.c &op->dev)->data); op 957 drivers/dma/sirf-dma.c pm_runtime_enable(&op->dev); op 971 drivers/dma/sirf-dma.c static int sirfsoc_dma_remove(struct platform_device *op) op 973 drivers/dma/sirf-dma.c struct device *dev = &op->dev; op 976 drivers/dma/sirf-dma.c of_dma_controller_free(op->dev.of_node); op 981 drivers/dma/sirf-dma.c pm_runtime_disable(&op->dev); op 982 drivers/dma/sirf-dma.c if (!pm_runtime_status_suspended(&op->dev)) op 983 drivers/dma/sirf-dma.c sirfsoc_dma_runtime_suspend(&op->dev); op 754 drivers/dma/zx_dma.c static int zx_dma_probe(struct platform_device *op) op 760 drivers/dma/zx_dma.c iores = platform_get_resource(op, IORESOURCE_MEM, 0); op 764 drivers/dma/zx_dma.c d = devm_kzalloc(&op->dev, sizeof(*d), GFP_KERNEL); op 768 drivers/dma/zx_dma.c d->base = devm_ioremap_resource(&op->dev, iores); op 772 drivers/dma/zx_dma.c of_property_read_u32((&op->dev)->of_node, op 774 drivers/dma/zx_dma.c of_property_read_u32((&op->dev)->of_node, op 779 drivers/dma/zx_dma.c d->clk = devm_clk_get(&op->dev, NULL); op 781 drivers/dma/zx_dma.c dev_err(&op->dev, "no dma clk\n"); op 785 drivers/dma/zx_dma.c d->irq = platform_get_irq(op, 0); op 786 drivers/dma/zx_dma.c ret = devm_request_irq(&op->dev, d->irq, zx_dma_int_handler, op 792 drivers/dma/zx_dma.c d->pool = dmam_pool_create(DRIVER_NAME, &op->dev, op 798 drivers/dma/zx_dma.c d->phy = devm_kcalloc(&op->dev, op 815 drivers/dma/zx_dma.c d->slave.dev = &op->dev; op 834 drivers/dma/zx_dma.c d->chans = devm_kcalloc(&op->dev, op 851 drivers/dma/zx_dma.c dev_err(&op->dev, "clk_prepare_enable failed: %d\n", ret); op 859 drivers/dma/zx_dma.c platform_set_drvdata(op, d); op 865 drivers/dma/zx_dma.c ret = of_dma_controller_register((&op->dev)->of_node, op 870 drivers/dma/zx_dma.c dev_info(&op->dev, "initialized\n"); op 881 drivers/dma/zx_dma.c static int zx_dma_remove(struct platform_device *op) op 884 drivers/dma/zx_dma.c struct zx_dma_dev *d = platform_get_drvdata(op); op 887 drivers/dma/zx_dma.c devm_free_irq(&op->dev, d->irq, d); op 890 drivers/dma/zx_dma.c of_dma_controller_free((&op->dev)->of_node); op 476 drivers/edac/fsl_ddr_edac.c int fsl_mc_err_probe(struct platform_device *op) op 485 drivers/edac/fsl_ddr_edac.c if (!devres_open_group(&op->dev, fsl_mc_err_probe, GFP_KERNEL)) op 497 drivers/edac/fsl_ddr_edac.c devres_release_group(&op->dev, fsl_mc_err_probe); op 503 drivers/edac/fsl_ddr_edac.c mci->pdev = &op->dev; op 513 drivers/edac/fsl_ddr_edac.c little_endian = of_property_read_bool(op->dev.of_node, "little-endian"); op 515 drivers/edac/fsl_ddr_edac.c res = of_address_to_resource(op->dev.of_node, 0, &r); op 522 drivers/edac/fsl_ddr_edac.c if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r), op 530 drivers/edac/fsl_ddr_edac.c pdata->mc_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r)); op 588 drivers/edac/fsl_ddr_edac.c pdata->irq = platform_get_irq(op, 0); op 589 drivers/edac/fsl_ddr_edac.c res = devm_request_irq(&op->dev, pdata->irq, op 604 drivers/edac/fsl_ddr_edac.c devres_remove_group(&op->dev, fsl_mc_err_probe); op 611 drivers/edac/fsl_ddr_edac.c edac_mc_del_mc(&op->dev); op 613 drivers/edac/fsl_ddr_edac.c devres_release_group(&op->dev, fsl_mc_err_probe); op 618 drivers/edac/fsl_ddr_edac.c int fsl_mc_err_remove(struct platform_device *op) op 620 drivers/edac/fsl_ddr_edac.c struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); op 633 drivers/edac/fsl_ddr_edac.c edac_mc_del_mc(&op->dev); op 77 drivers/edac/fsl_ddr_edac.h int fsl_mc_err_probe(struct platform_device *op); op 78 drivers/edac/fsl_ddr_edac.h int fsl_mc_err_remove(struct platform_device *op); op 144 drivers/edac/mpc85xx_edac.c static int mpc85xx_pci_err_probe(struct platform_device *op) op 153 drivers/edac/mpc85xx_edac.c if (!devres_open_group(&op->dev, mpc85xx_pci_err_probe, GFP_KERNEL)) op 173 drivers/edac/mpc85xx_edac.c plat_data = op->dev.platform_data; op 175 drivers/edac/mpc85xx_edac.c dev_err(&op->dev, "no platform data"); op 184 drivers/edac/mpc85xx_edac.c dev_set_drvdata(&op->dev, pci); op 185 drivers/edac/mpc85xx_edac.c pci->dev = &op->dev; op 188 drivers/edac/mpc85xx_edac.c pci->dev_name = dev_name(&op->dev); op 208 drivers/edac/mpc85xx_edac.c if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r), op 215 drivers/edac/mpc85xx_edac.c pdata->pci_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r)); op 256 drivers/edac/mpc85xx_edac.c res = devm_request_irq(&op->dev, pdata->irq, op 288 drivers/edac/mpc85xx_edac.c devres_remove_group(&op->dev, mpc85xx_pci_err_probe); op 295 drivers/edac/mpc85xx_edac.c edac_pci_del_device(&op->dev); op 298 drivers/edac/mpc85xx_edac.c devres_release_group(&op->dev, mpc85xx_pci_err_probe); op 302 drivers/edac/mpc85xx_edac.c static int mpc85xx_pci_err_remove(struct platform_device *op) op 304 drivers/edac/mpc85xx_edac.c struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev); op 312 drivers/edac/mpc85xx_edac.c edac_pci_del_device(&op->dev); op 489 drivers/edac/mpc85xx_edac.c static int mpc85xx_l2_err_probe(struct platform_device *op) op 496 drivers/edac/mpc85xx_edac.c if (!devres_open_group(&op->dev, mpc85xx_l2_err_probe, GFP_KERNEL)) op 503 drivers/edac/mpc85xx_edac.c devres_release_group(&op->dev, mpc85xx_l2_err_probe); op 509 drivers/edac/mpc85xx_edac.c edac_dev->dev = &op->dev; op 514 drivers/edac/mpc85xx_edac.c res = of_address_to_resource(op->dev.of_node, 0, &r); op 523 drivers/edac/mpc85xx_edac.c if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r), op 530 drivers/edac/mpc85xx_edac.c pdata->l2_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r)); op 559 drivers/edac/mpc85xx_edac.c pdata->irq = irq_of_parse_and_map(op->dev.of_node, 0); op 560 drivers/edac/mpc85xx_edac.c res = devm_request_irq(&op->dev, pdata->irq, op 578 drivers/edac/mpc85xx_edac.c devres_remove_group(&op->dev, mpc85xx_l2_err_probe); op 586 drivers/edac/mpc85xx_edac.c edac_device_del_device(&op->dev); op 588 drivers/edac/mpc85xx_edac.c devres_release_group(&op->dev, mpc85xx_l2_err_probe); op 593 drivers/edac/mpc85xx_edac.c static int mpc85xx_l2_err_remove(struct platform_device *op) op 595 drivers/edac/mpc85xx_edac.c struct edac_device_ctl_info *edac_dev = dev_get_drvdata(&op->dev); op 606 drivers/edac/mpc85xx_edac.c edac_device_del_device(&op->dev); op 87 drivers/edac/pnd2_edac.c int (*rd_reg)(int port, int off, int op, void *data, size_t sz, char *name); op 154 drivers/edac/pnd2_edac.c static int _apl_rd_reg(int port, int off, int op, u32 *data) op 174 drivers/edac/pnd2_edac.c P2SB_WRITE(word, P2SB_STAT_OFF, (op << 8) | P2SB_BUSY); op 193 drivers/edac/pnd2_edac.c static int apl_rd_reg(int port, int off, int op, void *data, size_t sz, char *name) op 197 drivers/edac/pnd2_edac.c edac_dbg(2, "Read %s port=%x off=%x op=%x\n", name, port, off, op); op 200 drivers/edac/pnd2_edac.c ret = _apl_rd_reg(port, off + 4, op, (u32 *)(data + 4)); op 203 drivers/edac/pnd2_edac.c ret |= _apl_rd_reg(port, off, op, (u32 *)data); op 265 drivers/edac/pnd2_edac.c static int dnv_rd_reg(int port, int off, int op, void *data, size_t sz, char *name) op 272 drivers/edac/pnd2_edac.c if (op == 4) { op 281 drivers/edac/pnd2_edac.c if (op == 0 && port == 0x4c) { op 1007 drivers/edac/ppc4xx_edac.c struct platform_device *op, op 1013 drivers/edac/ppc4xx_edac.c const struct device_node *np = op->dev.of_node; op 1015 drivers/edac/ppc4xx_edac.c if (of_match_device(ppc4xx_edac_match, &op->dev) == NULL) op 1020 drivers/edac/ppc4xx_edac.c mci->pdev = &op->dev; op 1095 drivers/edac/ppc4xx_edac.c static int ppc4xx_edac_register_irq(struct platform_device *op, op 1101 drivers/edac/ppc4xx_edac.c struct device_node *np = op->dev.of_node; op 1222 drivers/edac/ppc4xx_edac.c static int ppc4xx_edac_probe(struct platform_device *op) op 1227 drivers/edac/ppc4xx_edac.c const struct device_node *np = op->dev.of_node; op 1291 drivers/edac/ppc4xx_edac.c status = ppc4xx_edac_mc_init(mci, op, &dcr_host, mcopt1); op 1313 drivers/edac/ppc4xx_edac.c status = ppc4xx_edac_register_irq(op, mci); op 1346 drivers/edac/ppc4xx_edac.c ppc4xx_edac_remove(struct platform_device *op) op 1348 drivers/edac/ppc4xx_edac.c struct mem_ctl_info *mci = dev_get_drvdata(&op->dev); op 203 drivers/firmware/efi/cper-x86.c u8 op = CHECK_OPERATION(check); op 211 drivers/firmware/efi/cper-x86.c printk("%sOperation: %u, %s\n", pfx, op, op 212 drivers/firmware/efi/cper-x86.c op < max_ops ? ia_check_op_strs[op] : "unknown"); op 307 drivers/fsi/fsi-master-ast-cf.c static int do_copro_command(struct fsi_master_acf *master, uint32_t op) op 312 drivers/fsi/fsi-master-ast-cf.c trace_fsi_master_acf_copro_command(master, op); op 315 drivers/fsi/fsi-master-ast-cf.c iowrite32be(op, master->sram + CMD_STAT_REG); op 361 drivers/fsi/fsi-master-ast-cf.c uint32_t op; op 369 drivers/fsi/fsi-master-ast-cf.c op = CMD_COMMAND; op 370 drivers/fsi/fsi-master-ast-cf.c op |= cmd->bits << CMD_REG_CLEN_SHIFT; op 372 drivers/fsi/fsi-master-ast-cf.c op |= resp_bits << CMD_REG_RLEN_SHIFT; op 374 drivers/fsi/fsi-master-ast-cf.c return do_copro_command(master, op); op 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c switch (args->in.op) { op 473 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->op == AMDGPU_GEM_METADATA_OP_GET_METADATA) { op 479 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c } else if (args->op == AMDGPU_GEM_METADATA_OP_SET_METADATA) { op 689 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c switch (args->op) { op 126 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c int op = -1; op 142 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c op = 0; op 144 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c op = 1; op 146 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c op = 2; op 151 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (op != -1) { op 164 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c data->op = op; op 166 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (op == 2) { op 259 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c switch (data.op) { op 454 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h int op; op 126 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c switch (args->in.op) { op 139 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c DRM_ERROR("Invalid sched op specified: %d\n", args->in.op); op 3072 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c switch (args->in.op) { op 1205 drivers/gpu/drm/amd/amdgpu/atom.c unsigned char op; op 1232 drivers/gpu/drm/amd/amdgpu/atom.c op = CU8(ptr++); op 1233 drivers/gpu/drm/amd/amdgpu/atom.c if (op < ATOM_OP_NAMES_CNT) op 1234 drivers/gpu/drm/amd/amdgpu/atom.c SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr - 1); op 1236 drivers/gpu/drm/amd/amdgpu/atom.c SDEBUG("[%d] @ 0x%04X\n", op, ptr - 1); op 1244 drivers/gpu/drm/amd/amdgpu/atom.c if (op < ATOM_OP_CNT && op > 0) op 1245 drivers/gpu/drm/amd/amdgpu/atom.c opcode_table[op].func(&ectx, &ptr, op 1246 drivers/gpu/drm/amd/amdgpu/atom.c opcode_table[op].arg); op 1250 drivers/gpu/drm/amd/amdgpu/atom.c if (op == ATOM_OP_EOT) op 225 drivers/gpu/drm/amd/amdgpu/cikd.h #define PACKET3(op, n) ((PACKET_TYPE3 << 30) | \ op 226 drivers/gpu/drm/amd/amdgpu/cikd.h (((op) & 0xFF) << 8) | \ op 229 drivers/gpu/drm/amd/amdgpu/cikd.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 490 drivers/gpu/drm/amd/amdgpu/cikd.h #define SDMA_PACKET(op, sub_op, e) ((((e) & 0xFFFF) << 16) | \ op 492 drivers/gpu/drm/amd/amdgpu/cikd.h (((op) & 0xFF) << 0)) op 48 drivers/gpu/drm/amd/amdgpu/nvd.h #define PACKET3(op, n) ((PACKET_TYPE3 << 30) | \ op 49 drivers/gpu/drm/amd/amdgpu/nvd.h (((op) & 0xFF) << 8) | \ op 52 drivers/gpu/drm/amd/amdgpu/nvd.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 169 drivers/gpu/drm/amd/amdgpu/si_enums.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 170 drivers/gpu/drm/amd/amdgpu/si_enums.h (((op) & 0xFF) << 8) | \ op 172 drivers/gpu/drm/amd/amdgpu/si_enums.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 1658 drivers/gpu/drm/amd/amdgpu/sid.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 1659 drivers/gpu/drm/amd/amdgpu/sid.h (((op) & 0xFF) << 8) | \ op 1662 drivers/gpu/drm/amd/amdgpu/sid.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 50 drivers/gpu/drm/amd/amdgpu/soc15d.h #define PACKET3(op, n) ((PACKET_TYPE3 << 30) | \ op 51 drivers/gpu/drm/amd/amdgpu/soc15d.h (((op) & 0xFF) << 8) | \ op 54 drivers/gpu/drm/amd/amdgpu/soc15d.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 107 drivers/gpu/drm/amd/amdgpu/vid.h #define PACKET3(op, n) ((PACKET_TYPE3 << 30) | \ op 108 drivers/gpu/drm/amd/amdgpu/vid.h (((op) & 0xFF) << 8) | \ op 111 drivers/gpu/drm/amd/amdgpu/vid.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 164 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c unsigned int op = cmd >> 27; op 166 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c switch (op) { op 187 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c len = cmd_length[op]; op 190 drivers/gpu/drm/etnaviv/etnaviv_cmd_parser.c __func__, op, buf - state.start); op 297 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->op & ~(ETNA_PREP_READ | ETNA_PREP_WRITE | ETNA_PREP_NOSYNC)) op 304 drivers/gpu/drm/etnaviv/etnaviv_drv.c ret = etnaviv_gem_cpu_prep(obj, args->op, &TS(args->timeout)); op 63 drivers/gpu/drm/etnaviv/etnaviv_drv.h int etnaviv_gem_cpu_prep(struct drm_gem_object *obj, u32 op, op 365 drivers/gpu/drm/etnaviv/etnaviv_gem.c static inline enum dma_data_direction etnaviv_op_to_dma_dir(u32 op) op 367 drivers/gpu/drm/etnaviv/etnaviv_gem.c if (op & ETNA_PREP_READ) op 369 drivers/gpu/drm/etnaviv/etnaviv_gem.c else if (op & ETNA_PREP_WRITE) op 375 drivers/gpu/drm/etnaviv/etnaviv_gem.c int etnaviv_gem_cpu_prep(struct drm_gem_object *obj, u32 op, op 380 drivers/gpu/drm/etnaviv/etnaviv_gem.c bool write = !!(op & ETNA_PREP_WRITE); op 393 drivers/gpu/drm/etnaviv/etnaviv_gem.c if (op & ETNA_PREP_NOSYNC) { op 409 drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_op_to_dma_dir(op)); op 410 drivers/gpu/drm/etnaviv/etnaviv_gem.c etnaviv_obj->last_cpu_prep_op = op; op 299 drivers/gpu/drm/i915/gvt/cmd_parser.c #define OP_MFX(pipeline, op, sub_opa, sub_opb) \ op 302 drivers/gpu/drm/i915/gvt/cmd_parser.c (op) << 8 | \ op 353 drivers/gpu/drm/i915/gvt/cmd_parser.c #define OP_VEB(pipeline, op, sub_opa, sub_opb) \ op 356 drivers/gpu/drm/i915/gvt/cmd_parser.c (op) << 8 | \ op 478 drivers/gpu/drm/i915/gvt/edid.c int msg, addr, ctrl, op; op 493 drivers/gpu/drm/i915/gvt/edid.c op = ctrl >> 4; op 500 drivers/gpu/drm/i915/gvt/edid.c ret_msg_size = (((op & 0x1) == GVT_AUX_I2C_READ) ? 2 : 1); op 507 drivers/gpu/drm/i915/gvt/edid.c if (!(op & GVT_AUX_I2C_MOT)) { op 527 drivers/gpu/drm/i915/gvt/edid.c } else if ((op & 0x1) == GVT_AUX_I2C_WRITE) { op 535 drivers/gpu/drm/i915/gvt/edid.c if (WARN_ON((op & 0x1) != GVT_AUX_I2C_READ)) op 905 drivers/gpu/drm/i915/gvt/handlers.c int msg, addr, ctrl, op, len; op 943 drivers/gpu/drm/i915/gvt/handlers.c op = ctrl >> 4; op 945 drivers/gpu/drm/i915/gvt/handlers.c if (op == GVT_AUX_NATIVE_WRITE) { op 1004 drivers/gpu/drm/i915/gvt/handlers.c if (op == GVT_AUX_NATIVE_READ) { op 189 drivers/gpu/drm/i915/i915_cmd_parser.c #define CMD(op, opm, f, lm, fl, ...) \ op 192 drivers/gpu/drm/i915/i915_cmd_parser.c .cmd = { (op & ~0u << (opm)), ~0u << (opm) }, \ op 743 drivers/gpu/drm/i915/i915_cmd_parser.c u32 op = (cmd_header & INSTR_26_TO_24_MASK) >> INSTR_26_TO_24_SHIFT; op 749 drivers/gpu/drm/i915/i915_cmd_parser.c if (op == 6) op 2038 drivers/gpu/drm/i915/intel_uncore.c i915_reg_t reg, unsigned int op) op 2042 drivers/gpu/drm/i915/intel_uncore.c WARN_ON(!op); op 2047 drivers/gpu/drm/i915/intel_uncore.c if (op & FW_REG_READ) op 2050 drivers/gpu/drm/i915/intel_uncore.c if (op & FW_REG_WRITE) op 204 drivers/gpu/drm/i915/intel_uncore.h i915_reg_t reg, unsigned int op); op 169 drivers/gpu/drm/lima/lima_drv.c if (args->op & ~(LIMA_GEM_WAIT_READ|LIMA_GEM_WAIT_WRITE)) op 172 drivers/gpu/drm/lima/lima_drv.c return lima_gem_wait(file, args->handle, args->op, args->timeout_ns); op 334 drivers/gpu/drm/lima/lima_gem.c int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns) op 336 drivers/gpu/drm/lima/lima_gem.c bool write = op & LIMA_GEM_WAIT_WRITE; op 339 drivers/gpu/drm/lima/lima_gem.c if (!op) op 21 drivers/gpu/drm/lima/lima_gem.h int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns); op 200 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c uint32_t op; op 203 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c op = MDP4_OVLP_STAGE_OP_FG_ALPHA(FG_PIXEL) | op 207 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c op = MDP4_OVLP_STAGE_OP_FG_ALPHA(FG_CONST) | op 213 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c mdp4_write(mdp4_kms, REG_MDP4_OVLP_STAGE_OP(ovlp, i), op); op 743 drivers/gpu/drm/msm/msm_drv.c if (args->op & ~MSM_PREP_FLAGS) { op 744 drivers/gpu/drm/msm/msm_drv.c DRM_ERROR("invalid op: %08x\n", args->op); op 752 drivers/gpu/drm/msm/msm_drv.c ret = msm_gem_cpu_prep(obj, args->op, &timeout); op 305 drivers/gpu/drm/msm/msm_drv.h int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout); op 763 drivers/gpu/drm/msm/msm_gem.c int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout) op 765 drivers/gpu/drm/msm/msm_gem.c bool write = !!(op & MSM_PREP_WRITE); op 767 drivers/gpu/drm/msm/msm_gem.c op & MSM_PREP_NOSYNC ? 0 : timeout_to_jiffies(timeout); op 330 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini_no_ticket(struct validate_op *op, struct nouveau_channel *chan, op 337 drivers/gpu/drm/nouveau/nouveau_gem.c while (!list_empty(&op->list)) { op 338 drivers/gpu/drm/nouveau/nouveau_gem.c nvbo = list_entry(op->list.next, struct nouveau_bo, entry); op 366 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini(struct validate_op *op, struct nouveau_channel *chan, op 370 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini_no_ticket(op, chan, fence, pbbo); op 371 drivers/gpu/drm/nouveau/nouveau_gem.c ww_acquire_fini(&op->ticket); op 377 drivers/gpu/drm/nouveau/nouveau_gem.c int nr_buffers, struct validate_op *op) op 387 drivers/gpu/drm/nouveau/nouveau_gem.c ww_acquire_init(&op->ticket, &reservation_ww_class); op 420 drivers/gpu/drm/nouveau/nouveau_gem.c ret = ttm_bo_reserve(&nvbo->bo, true, false, &op->ticket); op 422 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail_init(&vram_list, &op->list); op 423 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail_init(&gart_list, &op->list); op 424 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail_init(&both_list, &op->list); op 425 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini_no_ticket(op, chan, NULL, NULL); op 428 drivers/gpu/drm/nouveau/nouveau_gem.c &op->ticket); op 475 drivers/gpu/drm/nouveau/nouveau_gem.c ww_acquire_done(&op->ticket); op 476 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail(&vram_list, &op->list); op 477 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail(&gart_list, &op->list); op 478 drivers/gpu/drm/nouveau/nouveau_gem.c list_splice_tail(&both_list, &op->list); op 480 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini(op, chan, NULL, NULL); op 551 drivers/gpu/drm/nouveau/nouveau_gem.c struct validate_op *op, int *apply_relocs) op 556 drivers/gpu/drm/nouveau/nouveau_gem.c INIT_LIST_HEAD(&op->list); op 561 drivers/gpu/drm/nouveau/nouveau_gem.c ret = validate_init(chan, file_priv, pbbo, nr_buffers, op); op 568 drivers/gpu/drm/nouveau/nouveau_gem.c ret = validate_list(chan, cli, &op->list, pbbo, user_buffers); op 572 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini(op, chan, NULL, NULL); op 698 drivers/gpu/drm/nouveau/nouveau_gem.c struct validate_op op; op 759 drivers/gpu/drm/nouveau/nouveau_gem.c req->nr_buffers, &op, &do_reloc); op 851 drivers/gpu/drm/nouveau/nouveau_gem.c validate_fini(&op, chan, fence, bo); op 1415 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c u32 op = nvkm_rd32(device, 0x40449c); op 1422 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c op); op 462 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c int class, op, valid = 1; op 467 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c op = (ctx1 >> 15) & 7; op 481 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv04.c switch (op) { op 96 drivers/gpu/drm/omapdrm/omap_connector.c enum omap_dss_device_ops_flag op) op 103 drivers/gpu/drm/omapdrm/omap_connector.c if (d->ops_flags & op) op 39 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c enum ili9881c_op op; op 52 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c .op = ILI9881C_SWITCH_PAGE, \ op 60 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c .op = ILI9881C_COMMAND, \ op 319 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c if (instr->op == ILI9881C_SWITCH_PAGE) op 321 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c else if (instr->op == ILI9881C_COMMAND) op 84 drivers/gpu/drm/panfrost/panfrost_mmu.c u64 iova, size_t size, u32 op) op 89 drivers/gpu/drm/panfrost/panfrost_mmu.c if (op != AS_COMMAND_UNLOCK) op 93 drivers/gpu/drm/panfrost/panfrost_mmu.c write_cmd(pfdev, as_nr, op); op 101 drivers/gpu/drm/panfrost/panfrost_mmu.c u64 iova, size_t size, u32 op) op 106 drivers/gpu/drm/panfrost/panfrost_mmu.c ret = mmu_hw_do_operation_locked(pfdev, mmu->as, iova, size, op); op 1162 drivers/gpu/drm/radeon/atom.c unsigned char op; op 1189 drivers/gpu/drm/radeon/atom.c op = CU8(ptr++); op 1190 drivers/gpu/drm/radeon/atom.c if (op < ATOM_OP_NAMES_CNT) op 1191 drivers/gpu/drm/radeon/atom.c SDEBUG("%s @ 0x%04X\n", atom_op_names[op], ptr - 1); op 1193 drivers/gpu/drm/radeon/atom.c SDEBUG("[%d] @ 0x%04X\n", op, ptr - 1); op 1201 drivers/gpu/drm/radeon/atom.c if (op < ATOM_OP_CNT && op > 0) op 1202 drivers/gpu/drm/radeon/atom.c opcode_table[op].func(&ectx, &ptr, op 1203 drivers/gpu/drm/radeon/atom.c opcode_table[op].arg); op 1207 drivers/gpu/drm/radeon/atom.c if (op == ATOM_OP_EOT) op 1691 drivers/gpu/drm/radeon/cikd.h #define PACKET3(op, n) ((PACKET_TYPE3 << 30) | \ op 1692 drivers/gpu/drm/radeon/cikd.h (((op) & 0xFF) << 8) | \ op 1695 drivers/gpu/drm/radeon/cikd.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 2003 drivers/gpu/drm/radeon/cikd.h #define SDMA_PACKET(op, sub_op, e) ((((e) & 0xFFFF) << 16) | \ op 2005 drivers/gpu/drm/radeon/cikd.h (((op) & 0xFF) << 0)) op 1543 drivers/gpu/drm/radeon/evergreend.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 1544 drivers/gpu/drm/radeon/evergreend.h (((op) & 0xFF) << 8) | \ op 1157 drivers/gpu/drm/radeon/nid.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 1158 drivers/gpu/drm/radeon/nid.h (((op) & 0xFF) << 8) | \ op 63 drivers/gpu/drm/radeon/r100d.h #define PACKET3(op, n) (CP_PACKET3 | \ op 64 drivers/gpu/drm/radeon/r100d.h REG_SET(PACKET3_IT_OPCODE, (op)) | \ op 64 drivers/gpu/drm/radeon/r300d.h #define PACKET3(op, n) (CP_PACKET3 | \ op 65 drivers/gpu/drm/radeon/r300d.h REG_SET(PACKET3_IT_OPCODE, (op)) | \ op 1587 drivers/gpu/drm/radeon/r600d.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 1588 drivers/gpu/drm/radeon/r600d.h (((op) & 0xFF) << 8) | \ op 730 drivers/gpu/drm/radeon/radeon_gem.c switch (args->op) { op 204 drivers/gpu/drm/radeon/rv515d.h #define PACKET3(op, n) (CP_PACKET3 | \ op 205 drivers/gpu/drm/radeon/rv515d.h REG_SET(PACKET3_IT_OPCODE, (op)) | \ op 988 drivers/gpu/drm/radeon/rv770d.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 989 drivers/gpu/drm/radeon/rv770d.h (((op) & 0xFF) << 8) | \ op 1595 drivers/gpu/drm/radeon/sid.h #define PACKET3(op, n) ((RADEON_PACKET_TYPE3 << 30) | \ op 1596 drivers/gpu/drm/radeon/sid.h (((op) & 0xFF) << 8) | \ op 1599 drivers/gpu/drm/radeon/sid.h #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1) op 767 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c switch (arg->op) { op 141 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.x = x; op 142 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.y = y; op 143 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.width = width; op 144 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.height = height; op 145 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.bpp = bpp; op 146 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.fb_cookie = fb_cookie; op 194 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.gref_directory = op 196 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.buffer_sz = size; op 197 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.dbuf_cookie = dbuf_cookie; op 198 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.width = width; op 199 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.height = height; op 200 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.bpp = bpp; op 202 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.flags |= XENDISPL_DBUF_FLG_REQ_ALLOC; op 254 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_destroy.dbuf_cookie = dbuf_cookie; op 297 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.dbuf_cookie = dbuf_cookie; op 298 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.fb_cookie = fb_cookie; op 299 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.width = width; op 300 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.height = height; op 301 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_attach.pixel_format = pixel_format; op 329 drivers/gpu/drm/xen/xen_drm_front.c req->op.fb_detach.fb_cookie = fb_cookie; op 358 drivers/gpu/drm/xen/xen_drm_front.c req->op.pg_flip.fb_cookie = fb_cookie; op 110 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c event->op.pg_flip.fb_cookie); op 640 drivers/greybus/svc.c static int gb_svc_version_request(struct gb_operation *op) op 642 drivers/greybus/svc.c struct gb_connection *connection = op->connection; op 647 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*request)) { op 649 drivers/greybus/svc.c op->request->payload_size, op 654 drivers/greybus/svc.c request = op->request->payload; op 665 drivers/greybus/svc.c if (!gb_operation_response_alloc(op, sizeof(*response), GFP_KERNEL)) op 668 drivers/greybus/svc.c response = op->response->payload; op 837 drivers/greybus/svc.c static int gb_svc_hello(struct gb_operation *op) op 839 drivers/greybus/svc.c struct gb_connection *connection = op->connection; op 844 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*hello_request)) { op 846 drivers/greybus/svc.c op->request->payload_size, op 851 drivers/greybus/svc.c hello_request = op->request->payload; op 869 drivers/greybus/svc.c return gb_svc_queue_deferred_request(op); op 1133 drivers/greybus/svc.c static int gb_svc_intf_reset_recv(struct gb_operation *op) op 1135 drivers/greybus/svc.c struct gb_svc *svc = gb_connection_get_data(op->connection); op 1136 drivers/greybus/svc.c struct gb_message *request = op->request; op 1151 drivers/greybus/svc.c static int gb_svc_module_inserted_recv(struct gb_operation *op) op 1153 drivers/greybus/svc.c struct gb_svc *svc = gb_connection_get_data(op->connection); op 1156 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*request)) { op 1158 drivers/greybus/svc.c op->request->payload_size, sizeof(*request)); op 1162 drivers/greybus/svc.c request = op->request->payload; op 1167 drivers/greybus/svc.c return gb_svc_queue_deferred_request(op); op 1170 drivers/greybus/svc.c static int gb_svc_module_removed_recv(struct gb_operation *op) op 1172 drivers/greybus/svc.c struct gb_svc *svc = gb_connection_get_data(op->connection); op 1175 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*request)) { op 1177 drivers/greybus/svc.c op->request->payload_size, sizeof(*request)); op 1181 drivers/greybus/svc.c request = op->request->payload; op 1186 drivers/greybus/svc.c return gb_svc_queue_deferred_request(op); op 1189 drivers/greybus/svc.c static int gb_svc_intf_oops_recv(struct gb_operation *op) op 1191 drivers/greybus/svc.c struct gb_svc *svc = gb_connection_get_data(op->connection); op 1194 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*request)) { op 1196 drivers/greybus/svc.c op->request->payload_size, sizeof(*request)); op 1200 drivers/greybus/svc.c return gb_svc_queue_deferred_request(op); op 1203 drivers/greybus/svc.c static int gb_svc_intf_mailbox_event_recv(struct gb_operation *op) op 1205 drivers/greybus/svc.c struct gb_svc *svc = gb_connection_get_data(op->connection); op 1208 drivers/greybus/svc.c if (op->request->payload_size < sizeof(*request)) { op 1210 drivers/greybus/svc.c op->request->payload_size, sizeof(*request)); op 1214 drivers/greybus/svc.c request = op->request->payload; op 1218 drivers/greybus/svc.c return gb_svc_queue_deferred_request(op); op 1221 drivers/greybus/svc.c static int gb_svc_request_handler(struct gb_operation *op) op 1223 drivers/greybus/svc.c struct gb_connection *connection = op->connection; op 1225 drivers/greybus/svc.c u8 type = op->type; op 1261 drivers/greybus/svc.c ret = gb_svc_version_request(op); op 1266 drivers/greybus/svc.c ret = gb_svc_hello(op); op 1271 drivers/greybus/svc.c return gb_svc_intf_reset_recv(op); op 1273 drivers/greybus/svc.c return gb_svc_module_inserted_recv(op); op 1275 drivers/greybus/svc.c return gb_svc_module_removed_recv(op); op 1277 drivers/greybus/svc.c return gb_svc_intf_mailbox_event_recv(op); op 1279 drivers/greybus/svc.c return gb_svc_intf_oops_recv(op); op 260 drivers/hv/hv_kvp.c static int process_ob_ipinfo(void *in_msg, void *out_msg, int op) op 266 drivers/hv/hv_kvp.c switch (op) { op 320 drivers/hv/hv_kvp.c static void process_ib_ipinfo(void *in_msg, void *out_msg, int op) op 325 drivers/hv/hv_kvp.c switch (op) { op 173 drivers/hv/hv_snapshot.c int op = vss_transaction.msg->vss_hdr.operation; op 187 drivers/hv/hv_snapshot.c vss_msg->vss_hdr.operation = op; op 191 drivers/hv/hv_snapshot.c schedule_delayed_work(&vss_timeout_work, op == VSS_OP_FREEZE ? op 254 drivers/hwmon/ultra45_env.c static int env_probe(struct platform_device *op) op 256 drivers/hwmon/ultra45_env.c struct env *p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); op 264 drivers/hwmon/ultra45_env.c p->regs = of_ioremap(&op->resource[0], 0, REG_SIZE, "pic16f747"); op 268 drivers/hwmon/ultra45_env.c err = sysfs_create_group(&op->dev.kobj, &env_group); op 272 drivers/hwmon/ultra45_env.c p->hwmon_dev = hwmon_device_register(&op->dev); op 278 drivers/hwmon/ultra45_env.c platform_set_drvdata(op, p); op 285 drivers/hwmon/ultra45_env.c sysfs_remove_group(&op->dev.kobj, &env_group); op 288 drivers/hwmon/ultra45_env.c of_iounmap(&op->resource[0], p->regs, REG_SIZE); op 293 drivers/hwmon/ultra45_env.c static int env_remove(struct platform_device *op) op 295 drivers/hwmon/ultra45_env.c struct env *p = platform_get_drvdata(op); op 298 drivers/hwmon/ultra45_env.c sysfs_remove_group(&op->dev.kobj, &env_group); op 300 drivers/hwmon/ultra45_env.c of_iounmap(&op->resource[0], p->regs, REG_SIZE); op 238 drivers/hwtracing/stm/p_sys-t.c static inline bool sys_t_need_ts(struct sys_t_output *op) op 240 drivers/hwtracing/stm/p_sys-t.c if (op->node.ts_interval && op 241 drivers/hwtracing/stm/p_sys-t.c time_after(jiffies, op->ts_jiffies + op->node.ts_interval)) { op 242 drivers/hwtracing/stm/p_sys-t.c op->ts_jiffies = jiffies; op 250 drivers/hwtracing/stm/p_sys-t.c static bool sys_t_need_clock_sync(struct sys_t_output *op) op 252 drivers/hwtracing/stm/p_sys-t.c if (op->node.clocksync_interval && op 254 drivers/hwtracing/stm/p_sys-t.c op->clocksync_jiffies + op->node.clocksync_interval)) { op 255 drivers/hwtracing/stm/p_sys-t.c op->clocksync_jiffies = jiffies; op 290 drivers/hwtracing/stm/p_sys-t.c struct sys_t_output *op = output->pdrv_private; op 298 drivers/hwtracing/stm/p_sys-t.c if (!op) op 301 drivers/hwtracing/stm/p_sys-t.c if (sys_t_need_clock_sync(op)) { op 307 drivers/hwtracing/stm/p_sys-t.c if (op->node.do_len) op 309 drivers/hwtracing/stm/p_sys-t.c if (sys_t_need_ts(op)) op 325 drivers/hwtracing/stm/p_sys-t.c sz = stm_data_write(data, m, c, false, op->node.uuid.b, UUID_SIZE); op 330 drivers/hwtracing/stm/p_sys-t.c if (op->node.do_len) { op 652 drivers/i2c/busses/i2c-mpc.c static int fsl_i2c_probe(struct platform_device *op) op 664 drivers/i2c/busses/i2c-mpc.c match = of_match_device(mpc_i2c_of_match, &op->dev); op 672 drivers/i2c/busses/i2c-mpc.c i2c->dev = &op->dev; /* for debug and error output */ op 676 drivers/i2c/busses/i2c-mpc.c i2c->base = of_iomap(op->dev.of_node, 0); op 683 drivers/i2c/busses/i2c-mpc.c i2c->irq = irq_of_parse_and_map(op->dev.of_node, 0); op 697 drivers/i2c/busses/i2c-mpc.c clk = devm_clk_get(&op->dev, NULL); op 701 drivers/i2c/busses/i2c-mpc.c dev_err(&op->dev, "failed to enable clock\n"); op 708 drivers/i2c/busses/i2c-mpc.c if (of_property_read_bool(op->dev.of_node, "fsl,preserve-clocking")) { op 711 drivers/i2c/busses/i2c-mpc.c prop = of_get_property(op->dev.of_node, "clock-frequency", op 719 drivers/i2c/busses/i2c-mpc.c data->setup(op->dev.of_node, i2c, clock); op 722 drivers/i2c/busses/i2c-mpc.c if (of_get_property(op->dev.of_node, "dfsrr", NULL)) op 723 drivers/i2c/busses/i2c-mpc.c mpc_i2c_setup_8xxx(op->dev.of_node, i2c, clock); op 726 drivers/i2c/busses/i2c-mpc.c prop = of_get_property(op->dev.of_node, "fsl,timeout", &plen); op 734 drivers/i2c/busses/i2c-mpc.c platform_set_drvdata(op, i2c); op 737 drivers/i2c/busses/i2c-mpc.c of_address_to_resource(op->dev.of_node, 0, &res); op 741 drivers/i2c/busses/i2c-mpc.c i2c->adap.dev.parent = &op->dev; op 742 drivers/i2c/busses/i2c-mpc.c i2c->adap.dev.of_node = of_node_get(op->dev.of_node); op 762 drivers/i2c/busses/i2c-mpc.c static int fsl_i2c_remove(struct platform_device *op) op 764 drivers/i2c/busses/i2c-mpc.c struct mpc_i2c *i2c = platform_get_drvdata(op); op 215 drivers/i2c/busses/i2c-mt65xx.c enum mtk_trans_op op; op 587 drivers/i2c/busses/i2c-mt65xx.c if (i2c->op == I2C_MASTER_WRRD) op 612 drivers/i2c/busses/i2c-mt65xx.c if (i2c->op == I2C_MASTER_WRRD) { op 628 drivers/i2c/busses/i2c-mt65xx.c if (i2c->op == I2C_MASTER_RD) { op 651 drivers/i2c/busses/i2c-mt65xx.c } else if (i2c->op == I2C_MASTER_WR) { op 745 drivers/i2c/busses/i2c-mt65xx.c if (i2c->op == I2C_MASTER_WR) { op 750 drivers/i2c/busses/i2c-mt65xx.c } else if (i2c->op == I2C_MASTER_RD) { op 817 drivers/i2c/busses/i2c-mt65xx.c i2c->op = I2C_MASTER_RD; op 819 drivers/i2c/busses/i2c-mt65xx.c i2c->op = I2C_MASTER_WR; op 824 drivers/i2c/busses/i2c-mt65xx.c i2c->op = I2C_MASTER_WRRD; op 54 drivers/i2c/busses/i2c-parport-light.c static inline void line_set(int state, const struct lineop *op) op 56 drivers/i2c/busses/i2c-parport-light.c u8 oldval = port_read(op->port); op 59 drivers/i2c/busses/i2c-parport-light.c if ((op->inverted && !state) || (!op->inverted && state)) op 60 drivers/i2c/busses/i2c-parport-light.c port_write(op->port, oldval | op->val); op 62 drivers/i2c/busses/i2c-parport-light.c port_write(op->port, oldval & ~op->val); op 65 drivers/i2c/busses/i2c-parport-light.c static inline int line_get(const struct lineop *op) op 67 drivers/i2c/busses/i2c-parport-light.c u8 oldval = port_read(op->port); op 69 drivers/i2c/busses/i2c-parport-light.c return ((op->inverted && (oldval & op->val) != op->val) op 70 drivers/i2c/busses/i2c-parport-light.c || (!op->inverted && (oldval & op->val) == op->val)); op 89 drivers/i2c/busses/i2c-parport.c const struct lineop *op) op 91 drivers/i2c/busses/i2c-parport.c u8 oldval = port_read[op->port](data); op 94 drivers/i2c/busses/i2c-parport.c if ((op->inverted && !state) || (!op->inverted && state)) op 95 drivers/i2c/busses/i2c-parport.c port_write[op->port](data, oldval | op->val); op 97 drivers/i2c/busses/i2c-parport.c port_write[op->port](data, oldval & ~op->val); op 101 drivers/i2c/busses/i2c-parport.c const struct lineop *op) op 103 drivers/i2c/busses/i2c-parport.c u8 oldval = port_read[op->port](data); op 105 drivers/i2c/busses/i2c-parport.c return ((op->inverted && (oldval & op->val) != op->val) op 106 drivers/i2c/busses/i2c-parport.c || (!op->inverted && (oldval & op->val) == op->val)); op 305 drivers/i2c/busses/i2c-sh_mobile.c static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, enum sh_mobile_i2c_op op) op 310 drivers/i2c/busses/i2c-sh_mobile.c dev_dbg(pd->dev, "op %d\n", op); op 314 drivers/i2c/busses/i2c-sh_mobile.c switch (op) { op 350 drivers/i2c/busses/i2c-sh_mobile.c dev_dbg(pd->dev, "op %d, data out 0x%02x\n", op, ret); op 70 drivers/i2c/busses/i2c-xgene-slimpro.c #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \ op 76 drivers/i2c/busses/i2c-xgene-slimpro.c ((op << SLIMPRO_IIC_RW_SHIFT) & SLIMPRO_IIC_RW_MASK) | \ op 368 drivers/iio/light/gp2ap020a00f.c enum gp2ap020a00f_opmode op) op 373 drivers/iio/light/gp2ap020a00f.c if (op != GP2AP020A00F_OPMODE_SHUTDOWN) { op 382 drivers/iio/light/gp2ap020a00f.c if ((opmode_regs_settings[op].op_reg & GP2AP020A00F_OP_MASK) != op 393 drivers/iio/light/gp2ap020a00f.c GP2AP020A00F_PRST_MASK, opmode_regs_settings[op] op 399 drivers/iio/light/gp2ap020a00f.c GP2AP020A00F_INTTYPE_MASK, opmode_regs_settings[op] op 405 drivers/iio/light/gp2ap020a00f.c GP2AP020A00F_PIN_MASK, opmode_regs_settings[op] op 416 drivers/iio/light/gp2ap020a00f.c opmode_regs_settings[op].op_reg); op 420 drivers/iio/light/gp2ap020a00f.c data->cur_opmode = op; op 308 drivers/iio/light/si1145.c static int si1145_param_update(struct si1145_data *data, u8 op, u8 param, op 318 drivers/iio/light/si1145.c return si1145_command(data, op | (param & 0x1F)); op 61 drivers/infiniband/core/netlink.c static bool is_nl_msg_valid(unsigned int type, unsigned int op) op 78 drivers/infiniband/core/netlink.c return (op < max_num_ops[type]) ? true : false; op 82 drivers/infiniband/core/netlink.c get_cb_table(const struct sk_buff *skb, unsigned int type, unsigned int op) op 106 drivers/infiniband/core/netlink.c if (!cb_table || (!cb_table[op].dump && !cb_table[op].doit)) op 132 drivers/infiniband/core/netlink.c int len, int client, int op, int flags) op 134 drivers/infiniband/core/netlink.c *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags); op 157 drivers/infiniband/core/netlink.c unsigned int op = RDMA_NL_GET_OP(type); op 161 drivers/infiniband/core/netlink.c if (!is_nl_msg_valid(index, op)) op 165 drivers/infiniband/core/netlink.c cb_table = get_cb_table(skb, index, op); op 169 drivers/infiniband/core/netlink.c if ((cb_table[op].flags & RDMA_NL_ADMIN_PERM) && op 180 drivers/infiniband/core/netlink.c if (cb_table[op].doit) op 181 drivers/infiniband/core/netlink.c err = cb_table[op].doit(skb, nlh, extack); op 187 drivers/infiniband/core/netlink.c .dump = cb_table[op].dump, op 194 drivers/infiniband/core/netlink.c if (cb_table[op].doit) op 195 drivers/infiniband/core/netlink.c err = cb_table[op].doit(skb, nlh, extack); op 72 drivers/infiniband/hw/cxgb3/cxio_hal.c enum t3_cq_opcode op, u32 credit) op 80 drivers/infiniband/hw/cxgb3/cxio_hal.c setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; op 81 drivers/infiniband/hw/cxgb3/cxio_hal.c setup.op = op; op 84 drivers/infiniband/hw/cxgb3/cxio_hal.c if ((ret < 0) || (op == CQ_CREDIT_UPDATE)) op 159 drivers/infiniband/hw/cxgb3/cxio_hal.h enum t3_cq_opcode op, u32 credit); op 427 drivers/infiniband/hw/cxgb3/cxio_wr.h static inline void build_fw_riwrh(struct fw_riwrh *wqe, enum t3_wr_opcode op, op 431 drivers/infiniband/hw/cxgb3/cxio_wr.h wqe->op_seop_flags = cpu_to_be32(V_FW_RIWR_OP(op) | op 57 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.op = FW_RI_RES_OP_RESET; op 135 drivers/infiniband/hw/cxgb4/cq.c res->u.cq.op = FW_RI_RES_OP_WRITE; op 324 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.op = FW_RI_RES_OP_WRITE; op 353 drivers/infiniband/hw/cxgb4/qp.c res->u.sqrq.op = FW_RI_RES_OP_WRITE; op 444 drivers/infiniband/hw/cxgb4/qp.c immdp->op = FW_RI_DATA_IMMD; op 479 drivers/infiniband/hw/cxgb4/qp.c isglp->op = FW_RI_DATA_ISGL; op 543 drivers/infiniband/hw/cxgb4/qp.c wqe->send.u.immd_src[0].op = FW_RI_DATA_IMMD; op 594 drivers/infiniband/hw/cxgb4/qp.c wqe->write.u.immd_src[0].op = FW_RI_DATA_IMMD; op 611 drivers/infiniband/hw/cxgb4/qp.c immdp->op = FW_RI_DATA_IMMD; op 850 drivers/infiniband/hw/cxgb4/qp.c sglp->op = FW_RI_DATA_DSGL; op 859 drivers/infiniband/hw/cxgb4/qp.c imdp->op = FW_RI_DATA_IMMD; op 1733 drivers/infiniband/hw/cxgb4/qp.c init->u.write.u.immd_src[0].op = FW_RI_DATA_IMMD; op 2502 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.op = FW_RI_RES_OP_RESET; op 2592 drivers/infiniband/hw/cxgb4/qp.c res->u.srq.op = FW_RI_RES_OP_WRITE; op 120 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 137 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 147 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 280 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 290 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 304 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 613 drivers/infiniband/hw/cxgb4/t4fw_ri_api.h __u8 op; op 44 drivers/infiniband/hw/efa/efa_verbs.c #define EFA_DEFINE_STATS(op) \ op 45 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_TX_BYTES, "tx_bytes") \ op 46 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_TX_PKTS, "tx_pkts") \ op 47 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_RX_BYTES, "rx_bytes") \ op 48 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_RX_PKTS, "rx_pkts") \ op 49 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_RX_DROPS, "rx_drops") \ op 50 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_SUBMITTED_CMDS, "submitted_cmds") \ op 51 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_COMPLETED_CMDS, "completed_cmds") \ op 52 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_NO_COMPLETION_CMDS, "no_completion_cmds") \ op 53 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_KEEP_ALIVE_RCVD, "keep_alive_rcvd") \ op 54 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_ALLOC_PD_ERR, "alloc_pd_err") \ op 55 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_CREATE_QP_ERR, "create_qp_err") \ op 56 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_REG_MR_ERR, "reg_mr_err") \ op 57 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_ALLOC_UCONTEXT_ERR, "alloc_ucontext_err") \ op 58 drivers/infiniband/hw/efa/efa_verbs.c op(EFA_CREATE_AH_ERR, "create_ah_err") op 11879 drivers/infiniband/hw/hfi1/chip.c void hfi1_rcvctrl(struct hfi1_devdata *dd, unsigned int op, op 11891 drivers/infiniband/hw/hfi1/chip.c hfi1_cdbg(RCVCTRL, "ctxt %d op 0x%x", ctxt, op); op 11895 drivers/infiniband/hw/hfi1/chip.c if ((op & HFI1_RCVCTRL_CTXT_ENB) && op 11960 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_CTXT_DIS) { op 11976 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_INTRAVAIL_ENB) { op 11981 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_INTRAVAIL_DIS) { op 11986 drivers/infiniband/hw/hfi1/chip.c if ((op & HFI1_RCVCTRL_TAILUPD_ENB) && rcd->rcvhdrtail_kvaddr) op 11988 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_TAILUPD_DIS) { op 11990 drivers/infiniband/hw/hfi1/chip.c if (!(op & HFI1_RCVCTRL_CTXT_DIS)) op 11993 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_TIDFLOW_ENB) op 11995 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_TIDFLOW_DIS) op 11997 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_ONE_PKT_EGR_ENB) { op 12005 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_ONE_PKT_EGR_DIS) op 12007 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_NO_RHQ_DROP_ENB) op 12009 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_NO_RHQ_DROP_DIS) op 12011 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_NO_EGR_DROP_ENB) op 12013 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_NO_EGR_DROP_DIS) op 12015 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_URGENT_ENB) op 12018 drivers/infiniband/hw/hfi1/chip.c if (op & HFI1_RCVCTRL_URGENT_DIS) op 12057 drivers/infiniband/hw/hfi1/chip.c if (op & (HFI1_RCVCTRL_TAILUPD_DIS | HFI1_RCVCTRL_CTXT_DIS)) op 1424 drivers/infiniband/hw/hfi1/chip.h void hfi1_rcvctrl(struct hfi1_devdata *dd, unsigned int op, op 75 drivers/infiniband/hw/hfi1/pio.c void pio_send_control(struct hfi1_devdata *dd, int op) op 86 drivers/infiniband/hw/hfi1/pio.c switch (op) { op 118 drivers/infiniband/hw/hfi1/pio.c dd_dev_err(dd, "%s: invalid control %d\n", __func__, op); op 324 drivers/infiniband/hw/hfi1/pio.h void pio_send_control(struct hfi1_devdata *dd, int op); op 676 drivers/infiniband/hw/hfi1/sdma.c unsigned op = 0; op 693 drivers/infiniband/hw/hfi1/sdma.c op |= SDMA_SENDCTRL_OP_ENABLE; op 696 drivers/infiniband/hw/hfi1/sdma.c op |= SDMA_SENDCTRL_OP_INTENABLE; op 699 drivers/infiniband/hw/hfi1/sdma.c op |= SDMA_SENDCTRL_OP_HALT; op 702 drivers/infiniband/hw/hfi1/sdma.c op |= SDMA_SENDCTRL_OP_CLEANUP; op 710 drivers/infiniband/hw/hfi1/sdma.c ss->current_op = op; op 1941 drivers/infiniband/hw/hfi1/sdma.c static void sdma_sendctrl(struct sdma_engine *sde, unsigned op) op 1950 drivers/infiniband/hw/hfi1/sdma.c (op & SDMA_SENDCTRL_OP_ENABLE) ? 1 : 0, op 1951 drivers/infiniband/hw/hfi1/sdma.c (op & SDMA_SENDCTRL_OP_INTENABLE) ? 1 : 0, op 1952 drivers/infiniband/hw/hfi1/sdma.c (op & SDMA_SENDCTRL_OP_HALT) ? 1 : 0, op 1953 drivers/infiniband/hw/hfi1/sdma.c (op & SDMA_SENDCTRL_OP_CLEANUP) ? 1 : 0); op 1956 drivers/infiniband/hw/hfi1/sdma.c if (op & SDMA_SENDCTRL_OP_ENABLE) op 1961 drivers/infiniband/hw/hfi1/sdma.c if (op & SDMA_SENDCTRL_OP_INTENABLE) op 1966 drivers/infiniband/hw/hfi1/sdma.c if (op & SDMA_SENDCTRL_OP_HALT) op 1976 drivers/infiniband/hw/hfi1/sdma.c if (op & SDMA_SENDCTRL_OP_CLEANUP) op 142 drivers/infiniband/hw/hfi1/trace.c #define OP(transport, op) IB_OPCODE_## transport ## _ ## op op 146 drivers/infiniband/hw/hfi1/trace_ibhdrs.h #define __parse_ib_ehdrs(op, l4, dest_qpn, src_qpn, ehdrs) \ op 147 drivers/infiniband/hw/hfi1/trace_ibhdrs.h parse_everbs_hdrs(p, op, l4, dest_qpn, src_qpn, ehdrs) op 45 drivers/infiniband/hw/hns/hns_roce_cmd.c u8 op_modifier, u16 op, u16 token, op 53 drivers/infiniband/hw/hns/hns_roce_cmd.c op_modifier, op, token, event); op 62 drivers/infiniband/hw/hns/hns_roce_cmd.c u8 op_modifier, u16 op, op 69 drivers/infiniband/hw/hns/hns_roce_cmd.c in_modifier, op_modifier, op, op 81 drivers/infiniband/hw/hns/hns_roce_cmd.c u8 op_modifier, u16 op, unsigned long timeout) op 87 drivers/infiniband/hw/hns/hns_roce_cmd.c op_modifier, op, timeout); op 110 drivers/infiniband/hw/hns/hns_roce_cmd.c u8 op_modifier, u16 op, op 128 drivers/infiniband/hw/hns/hns_roce_cmd.c in_modifier, op_modifier, op, op 162 drivers/infiniband/hw/hns/hns_roce_cmd.c u8 op_modifier, u16 op, unsigned long timeout) op 168 drivers/infiniband/hw/hns/hns_roce_cmd.c in_modifier, op_modifier, op, timeout); op 175 drivers/infiniband/hw/hns/hns_roce_cmd.c unsigned long in_modifier, u8 op_modifier, u16 op, op 190 drivers/infiniband/hw/hns/hns_roce_cmd.c in_modifier, op_modifier, op, op 194 drivers/infiniband/hw/hns/hns_roce_cmd.c in_modifier, op_modifier, op, op 143 drivers/infiniband/hw/hns/hns_roce_cmd.h unsigned long in_modifier, u8 op_modifier, u16 op, op 936 drivers/infiniband/hw/hns/hns_roce_device.h u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, op 1674 drivers/infiniband/hw/hns/hns_roce_hw_v1.c u16 op, u16 token, int event) op 1693 drivers/infiniband/hw/hns/hns_roce_hw_v1.c op); op 2494 drivers/infiniband/hw/hns/hns_roce_hw_v1.c op[HNS_ROCE_QP_NUM_STATE][HNS_ROCE_QP_NUM_STATE] = { op 2538 drivers/infiniband/hw/hns/hns_roce_hw_v1.c !op[cur_state][new_state]) { op 2544 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (op[cur_state][new_state] == HNS_ROCE_CMD_2RST_QP) op 2549 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (op[cur_state][new_state] == HNS_ROCE_CMD_2ERR_QP) op 2561 drivers/infiniband/hw/hns/hns_roce_hw_v1.c op[cur_state][new_state], op 2065 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u16 op, u16 token, int event) op 2076 drivers/infiniband/hw/hns/hns_roce_hw_v2.c mb->cmd_tag = cpu_to_le32(in_modifier << 8 | op); op 2084 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u16 op, u16 token, int event) op 2101 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op_modifier, op, token, event); op 3000 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int op; op 3007 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_QPC_BT0; op 3010 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_MPT_BT0; op 3013 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_CQC_BT0; op 3016 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_SRQC_BT0; op 3019 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_SCCC_BT0; op 3022 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_QPC_TIMER_BT0; op 3025 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_WRITE_CQC_TIMER_BT0; op 3033 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return op + step_idx; op 3052 drivers/infiniband/hw/hns/hns_roce_hw_v2.c int op; op 3074 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = get_op_for_set_hem(hr_dev, table->type, step_idx); op 3075 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (op == -EINVAL) op 3093 drivers/infiniband/hw/hns/hns_roce_hw_v2.c obj, 0, op, op 3104 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 0, op, HNS_ROCE_CMD_TIMEOUT_MSECS); op 3118 drivers/infiniband/hw/hns/hns_roce_hw_v2.c u16 op = 0xff; op 3125 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_DESTROY_QPC_BT0; op 3128 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_DESTROY_MPT_BT0; op 3131 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_DESTROY_CQC_BT0; op 3138 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op = HNS_ROCE_CMD_DESTROY_SRQC_BT0; op 3151 drivers/infiniband/hw/hns/hns_roce_hw_v2.c op += step_idx; op 3158 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, 0, mailbox->dma, obj, 0, op, op 4259 drivers/infiniband/hw/i40iw/i40iw_cm.c enum i40iw_quad_hash_manage_type op = op 4289 drivers/infiniband/hw/i40iw/i40iw_cm.c op, op 4375 drivers/infiniband/hw/i40iw/i40iw_cm.c enum i40iw_quad_hash_manage_type op = op 4401 drivers/infiniband/hw/i40iw/i40iw_cm.c op, op 258 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.rdma_write; op 327 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.rdma_read; op 375 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.send; op 436 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.inline_rdma_write; op 512 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.inline_send; op 579 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.inv_local_stag; op 621 drivers/infiniband/hw/i40iw/i40iw_uk.c op_info = &info->op.bind_window; op 254 drivers/infiniband/hw/i40iw/i40iw_user.h } op; op 2163 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_send.data = (void *)(unsigned long)ib_wr->sg_list[0].addr; op 2164 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_send.len = ib_wr->sg_list[0].length; op 2167 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.send.num_sges = ib_wr->num_sge; op 2168 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.send.sg_list = (struct i40iw_sge *)ib_wr->sg_list; op 2183 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_rdma_write.data = (void *)(unsigned long)ib_wr->sg_list[0].addr; op 2184 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_rdma_write.len = ib_wr->sg_list[0].length; op 2185 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; op 2186 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inline_rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; op 2189 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_write.lo_sg_list = (void *)ib_wr->sg_list; op 2190 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_write.num_lo_sges = ib_wr->num_sge; op 2191 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_write.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; op 2192 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_write.rem_addr.stag = rdma_wr(ib_wr)->rkey; op 2212 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_read.rem_addr.tag_off = rdma_wr(ib_wr)->remote_addr; op 2213 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_read.rem_addr.stag = rdma_wr(ib_wr)->rkey; op 2214 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_read.lo_addr.tag_off = ib_wr->sg_list->addr; op 2215 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_read.lo_addr.stag = ib_wr->sg_list->lkey; op 2216 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.rdma_read.lo_addr.len = ib_wr->sg_list->length; op 2227 drivers/infiniband/hw/i40iw/i40iw_verbs.c info.op.inv_local_stag.target_stag = ib_wr->ex.invalidate_rkey; op 3463 drivers/infiniband/hw/mlx5/qp.c u16 op; op 3645 drivers/infiniband/hw/mlx5/qp.c op = optab[mlx5_cur][mlx5_new]; op 3653 drivers/infiniband/hw/mlx5/qp.c raw_qp_param.operation = op; op 3692 drivers/infiniband/hw/mlx5/qp.c err = mlx5_core_qp_modify(dev->mdev, op, optpar, context, op 4667 drivers/infiniband/hw/mlx5/qp.c sblock_ctrl->op = cpu_to_be32(MLX5_STRIDE_BLOCK_OP); op 203 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 224 drivers/infiniband/hw/mthca/mthca_cmd.c op), ptr + offs[6]); op 235 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 270 drivers/infiniband/hw/mthca/mthca_cmd.c op), dev->hcr + 6 * 4); op 280 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 290 drivers/infiniband/hw/mthca/mthca_cmd.c op_modifier, op, token); op 293 drivers/infiniband/hw/mthca/mthca_cmd.c op_modifier, op, token, event); op 337 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 349 drivers/infiniband/hw/mthca/mthca_cmd.c op, CMD_POLL_TOKEN, 0); op 378 drivers/infiniband/hw/mthca/mthca_cmd.c op, status); op 412 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 432 drivers/infiniband/hw/mthca/mthca_cmd.c op, context->token, 1); op 447 drivers/infiniband/hw/mthca/mthca_cmd.c op, context->status); op 474 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 479 drivers/infiniband/hw/mthca/mthca_cmd.c in_modifier, op_modifier, op, op 483 drivers/infiniband/hw/mthca/mthca_cmd.c in_modifier, op_modifier, op, op 492 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 496 drivers/infiniband/hw/mthca/mthca_cmd.c op_modifier, op, timeout); op 509 drivers/infiniband/hw/mthca/mthca_cmd.c u16 op, op 514 drivers/infiniband/hw/mthca/mthca_cmd.c in_modifier, op_modifier, op, op 518 drivers/infiniband/hw/mthca/mthca_cmd.c in_modifier, op_modifier, op, op 657 drivers/infiniband/hw/mthca/mthca_cmd.c static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm, op 705 drivers/infiniband/hw/mthca/mthca_cmd.c err = mthca_cmd(dev, mailbox->dma, nent, 0, op, op 715 drivers/infiniband/hw/mthca/mthca_cmd.c err = mthca_cmd(dev, mailbox->dma, nent, 0, op, op 718 drivers/infiniband/hw/mthca/mthca_cmd.c switch (op) { op 1731 drivers/infiniband/hw/mthca/mthca_cmd.c static const u16 op[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = { op 1775 drivers/infiniband/hw/mthca/mthca_cmd.c if (op[cur][next] == CMD_ERR2RST_QPEE) { op 1790 drivers/infiniband/hw/mthca/mthca_cmd.c op[cur][next], CMD_TIME_CLASS_C); op 1824 drivers/infiniband/hw/mthca/mthca_cmd.c op_mod, op[cur][next], CMD_TIME_CLASS_C); op 692 drivers/infiniband/hw/qib/qib.h const struct diag_observer *op, op 702 drivers/infiniband/hw/qib/qib.h const struct diag_observer *op); op 804 drivers/infiniband/hw/qib/qib.h void (*f_rcvctrl)(struct qib_pportdata *, unsigned int op, op 807 drivers/infiniband/hw/qib/qib.h void (*f_sendctrl)(struct qib_pportdata *, u32 op); op 691 drivers/infiniband/hw/qib/qib_diag.c const struct diag_observer *op; op 695 drivers/infiniband/hw/qib/qib_diag.c const struct diag_observer *op) op 700 drivers/infiniband/hw/qib/qib_diag.c if (!dd || !op) op 707 drivers/infiniband/hw/qib/qib_diag.c olp->op = op; op 744 drivers/infiniband/hw/qib/qib_diag.c const struct diag_observer *op = NULL; op 748 drivers/infiniband/hw/qib/qib_diag.c op = olp->op; op 749 drivers/infiniband/hw/qib/qib_diag.c if (addr >= op->bottom && addr <= op->top) op 754 drivers/infiniband/hw/qib/qib_diag.c op = NULL; op 756 drivers/infiniband/hw/qib/qib_diag.c return op; op 782 drivers/infiniband/hw/qib/qib_diag.c const struct diag_observer *op; op 792 drivers/infiniband/hw/qib/qib_diag.c op = diag_get_observer(dd, *off); op 793 drivers/infiniband/hw/qib/qib_diag.c if (op) { op 796 drivers/infiniband/hw/qib/qib_diag.c ret = op->hook(dd, op, offset, &data64, 0, use_32); op 803 drivers/infiniband/hw/qib/qib_diag.c if (!op) { op 856 drivers/infiniband/hw/qib/qib_diag.c const struct diag_observer *op = NULL; op 877 drivers/infiniband/hw/qib/qib_diag.c op = diag_get_observer(dd, *off); op 878 drivers/infiniband/hw/qib/qib_diag.c if (op) op 879 drivers/infiniband/hw/qib/qib_diag.c ret = op->hook(dd, op, offset, &data64, ~0Ull, op 884 drivers/infiniband/hw/qib/qib_diag.c if (!op) { op 49 drivers/infiniband/hw/qib/qib_iba6120.c static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op); op 2094 drivers/infiniband/hw/qib/qib_iba6120.c static void rcvctrl_6120_mod(struct qib_pportdata *ppd, unsigned int op, op 2103 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_TAILUPD_ENB) op 2105 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_TAILUPD_DIS) op 2107 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_PKEY_ENB) op 2109 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_PKEY_DIS) op 2115 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_CTXT_ENB) { op 2129 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_CTXT_DIS) op 2131 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_INTRAVAIL_ENB) op 2133 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_INTRAVAIL_DIS) op 2136 drivers/infiniband/hw/qib/qib_iba6120.c if ((op & QIB_RCVCTRL_INTRAVAIL_ENB) && dd->rhdrhead_intr_off) { op 2142 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_CTXT_ENB) { op 2159 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_RCVCTRL_CTXT_DIS) { op 2196 drivers/infiniband/hw/qib/qib_iba6120.c static void sendctrl_6120_mod(struct qib_pportdata *ppd, u32 op) op 2205 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_CLEAR) op 2207 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_SEND_DIS) op 2209 drivers/infiniband/hw/qib/qib_iba6120.c else if (op & QIB_SENDCTRL_SEND_ENB) op 2211 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_AVAIL_DIS) op 2213 drivers/infiniband/hw/qib/qib_iba6120.c else if (op & QIB_SENDCTRL_AVAIL_ENB) op 2216 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_DISARM_ALL) { op 2237 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_FLUSH) op 2239 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_DISARM) op 2241 drivers/infiniband/hw/qib/qib_iba6120.c ((op & QIB_6120_SendCtrl_DisarmPIOBuf_RMASK) << op 2243 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_AVAIL_BLIP) op 2249 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_AVAIL_BLIP) { op 2256 drivers/infiniband/hw/qib/qib_iba6120.c if (op & QIB_SENDCTRL_FLUSH) { op 3365 drivers/infiniband/hw/qib/qib_iba6120.c static void qib_6120_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) op 52 drivers/infiniband/hw/qib/qib_iba7220.c static void sendctrl_7220_mod(struct qib_pportdata *ppd, u32 op); op 779 drivers/infiniband/hw/qib/qib_iba7220.c static void qib_7220_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) op 785 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SDMA_SENDCTRL_OP_ENABLE) op 790 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SDMA_SENDCTRL_OP_INTENABLE) op 795 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SDMA_SENDCTRL_OP_HALT) op 2728 drivers/infiniband/hw/qib/qib_iba7220.c static void rcvctrl_7220_mod(struct qib_pportdata *ppd, unsigned int op, op 2736 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_TAILUPD_ENB) op 2738 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_TAILUPD_DIS) op 2740 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_PKEY_ENB) op 2742 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_PKEY_DIS) op 2748 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_CTXT_ENB) { op 2760 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_CTXT_DIS) op 2762 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_INTRAVAIL_ENB) op 2764 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_INTRAVAIL_DIS) op 2767 drivers/infiniband/hw/qib/qib_iba7220.c if ((op & QIB_RCVCTRL_INTRAVAIL_ENB) && dd->rhdrhead_intr_off) { op 2773 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_CTXT_ENB) { op 2790 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_RCVCTRL_CTXT_DIS) { op 2815 drivers/infiniband/hw/qib/qib_iba7220.c static void sendctrl_7220_mod(struct qib_pportdata *ppd, u32 op) op 2824 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_CLEAR) op 2826 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_SEND_DIS) op 2828 drivers/infiniband/hw/qib/qib_iba7220.c else if (op & QIB_SENDCTRL_SEND_ENB) { op 2834 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_AVAIL_DIS) op 2836 drivers/infiniband/hw/qib/qib_iba7220.c else if (op & QIB_SENDCTRL_AVAIL_ENB) op 2839 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_DISARM_ALL) { op 2861 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_FLUSH) op 2863 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_DISARM) op 2865 drivers/infiniband/hw/qib/qib_iba7220.c ((op & QIB_7220_SendCtrl_DisarmPIOBuf_RMASK) << op 2867 drivers/infiniband/hw/qib/qib_iba7220.c if ((op & QIB_SENDCTRL_AVAIL_BLIP) && op 2874 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_AVAIL_BLIP) { op 2881 drivers/infiniband/hw/qib/qib_iba7220.c if (op & QIB_SENDCTRL_FLUSH) { op 3862 drivers/infiniband/hw/qib/qib_iba7220.c const struct diag_observer *op, op 63 drivers/infiniband/hw/qib/qib_iba7322.c static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op); op 1463 drivers/infiniband/hw/qib/qib_iba7322.c static void qib_7322_sdma_sendctrl(struct qib_pportdata *ppd, unsigned op) op 1469 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_ENABLE) op 1474 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_INTENABLE) op 1479 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_HALT) op 1484 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_DRAIN) op 1496 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_DRAIN) { op 1505 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_CLEANUP) op 1513 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SDMA_SENDCTRL_OP_DRAIN) { op 1521 drivers/infiniband/hw/qib/qib_iba7322.c if ((op & QIB_SDMA_SENDCTRL_OP_DRAIN) && ppd->dd->cspec->r1) op 4481 drivers/infiniband/hw/qib/qib_iba7322.c static void rcvctrl_7322_mod(struct qib_pportdata *ppd, unsigned int op, op 4491 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_TIDFLOW_ENB) op 4493 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_TIDFLOW_DIS) op 4495 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_TAILUPD_ENB) op 4497 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_TAILUPD_DIS) op 4499 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_PKEY_ENB) op 4501 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_PKEY_DIS) op 4510 drivers/infiniband/hw/qib/qib_iba7322.c if ((op & QIB_RCVCTRL_CTXT_ENB) && rcd) { op 4514 drivers/infiniband/hw/qib/qib_iba7322.c op |= QIB_RCVCTRL_TAILUPD_ENB; /* need reg write */ op 4524 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_CTXT_DIS) op 4527 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_BP_ENB) op 4529 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_BP_DIS) op 4531 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_INTRAVAIL_ENB) op 4533 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_INTRAVAIL_DIS) op 4540 drivers/infiniband/hw/qib/qib_iba7322.c if (op == 0 || (op & RCVCTRL_COMMON_MODS)) op 4542 drivers/infiniband/hw/qib/qib_iba7322.c if (op == 0 || (op & RCVCTRL_PORT_MODS)) op 4544 drivers/infiniband/hw/qib/qib_iba7322.c if ((op & QIB_RCVCTRL_CTXT_ENB) && dd->rcd[ctxt]) { op 4562 drivers/infiniband/hw/qib/qib_iba7322.c } else if ((op & QIB_RCVCTRL_INTRAVAIL_ENB) && op 4568 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_RCVCTRL_CTXT_DIS) { op 4621 drivers/infiniband/hw/qib/qib_iba7322.c static void sendctrl_7322_mod(struct qib_pportdata *ppd, u32 op) op 4630 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_CLEAR) op 4632 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_AVAIL_DIS) op 4634 drivers/infiniband/hw/qib/qib_iba7322.c else if (op & QIB_SENDCTRL_AVAIL_ENB) { op 4641 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_SEND_DIS) op 4643 drivers/infiniband/hw/qib/qib_iba7322.c else if (op & QIB_SENDCTRL_SEND_ENB) op 4646 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_DISARM_ALL) { op 4664 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_FLUSH) { op 4681 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_DISARM) op 4683 drivers/infiniband/hw/qib/qib_iba7322.c ((op & QIB_7322_SendCtrl_DisarmSendBuf_RMASK) << op 4685 drivers/infiniband/hw/qib/qib_iba7322.c if ((op & QIB_SENDCTRL_AVAIL_BLIP) && op 4689 drivers/infiniband/hw/qib/qib_iba7322.c if (op == 0 || (op & SENDCTRL_COMMON_MODS)) { op 4694 drivers/infiniband/hw/qib/qib_iba7322.c if (op == 0 || (op & SENDCTRL_PORT_MODS)) { op 4699 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_AVAIL_BLIP) { op 4706 drivers/infiniband/hw/qib/qib_iba7322.c if (op & QIB_SENDCTRL_FLUSH) { op 5838 drivers/infiniband/hw/qib/qib_iba7322.c const struct diag_observer *op, u32 offs, op 198 drivers/infiniband/hw/qib/qib_sdma.c unsigned op = 0; op 207 drivers/infiniband/hw/qib/qib_sdma.c op |= QIB_SDMA_SENDCTRL_OP_ENABLE; op 210 drivers/infiniband/hw/qib/qib_sdma.c op |= QIB_SDMA_SENDCTRL_OP_INTENABLE; op 213 drivers/infiniband/hw/qib/qib_sdma.c op |= QIB_SDMA_SENDCTRL_OP_HALT; op 216 drivers/infiniband/hw/qib/qib_sdma.c op |= QIB_SDMA_SENDCTRL_OP_DRAIN; op 224 drivers/infiniband/hw/qib/qib_sdma.c ss->current_op = op; op 428 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h static inline enum pvrdma_wr_opcode ib_wr_opcode_to_pvrdma(enum ib_wr_opcode op) op 430 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h switch (op) { op 262 drivers/infiniband/sw/siw/siw_mem.c void siw_wqe_put_mem(struct siw_wqe *wqe, enum siw_opcode op) op 264 drivers/infiniband/sw/siw/siw_mem.c switch (op) { op 21 drivers/infiniband/sw/siw/siw_mem.h void siw_wqe_put_mem(struct siw_wqe *wqe, enum siw_opcode op); op 574 drivers/infiniband/sw/siw/siw_qp.c enum rdma_opcode op = __rdmap_get_opcode(&rx_hdr->ctrl); op 576 drivers/infiniband/sw/siw/siw_qp.c real_ddp_len -= iwarp_pktinfo[op].hdr_len - MPA_HDR_SIZE; op 882 drivers/infiniband/sw/siw/siw_qp_rx.c enum rdma_opcode op; op 914 drivers/infiniband/sw/siw/siw_qp_rx.c op = __rdmap_get_opcode(&term_info.ctrl); op 915 drivers/infiniband/sw/siw/siw_qp_rx.c if (op >= RDMAP_TERMINATE) op 925 drivers/infiniband/sw/siw/siw_qp_rx.c to_copy = iwarp_pktinfo[op].hdr_len - to_copy; op 935 drivers/infiniband/sw/siw/siw_qp_rx.c op, be16_to_cpu(term_info.ctrl.mpa_len), op 939 drivers/infiniband/sw/siw/siw_qp_rx.c op, be16_to_cpu(term_info.ctrl.mpa_len), op 138 drivers/input/misc/powermate.c int op, arg; op 157 drivers/input/misc/powermate.c op = 0; // divide op 160 drivers/input/misc/powermate.c op = 2; // multiply op 163 drivers/input/misc/powermate.c op = 1; // normal speed op 167 drivers/input/misc/powermate.c pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op ); op 186 drivers/input/misc/sparcspkr.c static int bbc_beep_probe(struct platform_device *op) op 211 drivers/input/misc/sparcspkr.c info->regs = of_ioremap(&op->resource[0], 0, 6, "bbc beep"); op 215 drivers/input/misc/sparcspkr.c platform_set_drvdata(op, state); op 217 drivers/input/misc/sparcspkr.c err = sparcspkr_probe(&op->dev); op 224 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[0], info->regs, 6); op 232 drivers/input/misc/sparcspkr.c static int bbc_remove(struct platform_device *op) op 234 drivers/input/misc/sparcspkr.c struct sparcspkr_state *state = platform_get_drvdata(op); op 243 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[0], info->regs, 6); op 269 drivers/input/misc/sparcspkr.c static int grover_beep_probe(struct platform_device *op) op 284 drivers/input/misc/sparcspkr.c info->freq_regs = of_ioremap(&op->resource[2], 0, 2, "grover beep freq"); op 288 drivers/input/misc/sparcspkr.c info->enable_reg = of_ioremap(&op->resource[3], 0, 1, "grover beep enable"); op 292 drivers/input/misc/sparcspkr.c platform_set_drvdata(op, state); op 294 drivers/input/misc/sparcspkr.c err = sparcspkr_probe(&op->dev); op 301 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[3], info->enable_reg, 1); op 304 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[2], info->freq_regs, 2); op 311 drivers/input/misc/sparcspkr.c static int grover_remove(struct platform_device *op) op 313 drivers/input/misc/sparcspkr.c struct sparcspkr_state *state = platform_get_drvdata(op); op 322 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[3], info->enable_reg, 1); op 323 drivers/input/misc/sparcspkr.c of_iounmap(&op->resource[2], info->freq_regs, 2); op 32 drivers/input/rmi4/rmi_spi.c enum rmi_spi_op op; op 130 drivers/input/rmi4/rmi_spi.c switch (cmd->op) { op 161 drivers/input/rmi4/rmi_spi.c switch (cmd->op) { op 203 drivers/input/rmi4/rmi_spi.c __func__, cmd->op == RMI_SPI_WRITE ? "WRITE" : "READ", op 259 drivers/input/rmi4/rmi_spi.c cmd.op = RMI_SPI_WRITE; op 286 drivers/input/rmi4/rmi_spi.c cmd.op = RMI_SPI_WRITE; op 312 drivers/input/rmi4/rmi_spi.c cmd.op = RMI_SPI_READ; op 54 drivers/input/serio/i8042-sparcio.h static int sparc_i8042_probe(struct platform_device *op) op 58 drivers/input/serio/i8042-sparcio.h for_each_child_of_node(op->dev.of_node, dp) { op 64 drivers/input/serio/i8042-sparcio.h irq = op->archdata.irqs[0]; op 74 drivers/input/serio/i8042-sparcio.h irq = op->archdata.irqs[0]; op 82 drivers/input/serio/i8042-sparcio.h static int sparc_i8042_remove(struct platform_device *op) op 37 drivers/input/touchscreen/cyttsp4_spi.c u8 op, u16 reg, u8 *buf, int length) op 56 drivers/input/touchscreen/cyttsp4_spi.c wr_buf[0] = op + (((reg >> 8) & 0x1) ? CY_SPI_A8_BIT : 0); op 57 drivers/input/touchscreen/cyttsp4_spi.c if (op == CY_SPI_WR_OP) { op 72 drivers/input/touchscreen/cyttsp4_spi.c switch (op) { op 88 drivers/input/touchscreen/cyttsp4_spi.c dev_err(dev, "%s: bad operation code=%d\n", __func__, op); op 95 drivers/input/touchscreen/cyttsp4_spi.c __func__, retval, xfer[1].len, op); op 105 drivers/input/touchscreen/cyttsp4_spi.c dev_dbg(dev, "%s: operation %d failed\n", __func__, op); op 34 drivers/input/touchscreen/cyttsp_spi.c u8 op, u16 reg, u8 *buf, int length) op 56 drivers/input/touchscreen/cyttsp_spi.c wr_buf[3] = op; /* r/~w */ op 57 drivers/input/touchscreen/cyttsp_spi.c if (op == CY_SPI_WR_OP) op 69 drivers/input/touchscreen/cyttsp_spi.c switch (op) { op 85 drivers/input/touchscreen/cyttsp_spi.c dev_err(dev, "%s: bad operation code=%d\n", __func__, op); op 92 drivers/input/touchscreen/cyttsp_spi.c __func__, retval, xfer[1].len, op); op 103 drivers/input/touchscreen/cyttsp_spi.c dev_dbg(dev, "%s: operation %d failed\n", __func__, op); op 871 drivers/isdn/hardware/mISDN/avmfritz.c switch (cq->op) { op 873 drivers/isdn/hardware/mISDN/avmfritz.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_L1_TIMER3; op 887 drivers/isdn/hardware/mISDN/avmfritz.c pr_info("%s: %s unknown Op %x\n", fc->name, __func__, cq->op); op 3563 drivers/isdn/hardware/mISDN/hfcmulti.c switch (cq->op) { op 3566 drivers/isdn/hardware/mISDN/hfcmulti.c cq->op |= MISDN_CTRL_HFC_OP | MISDN_CTRL_HW_FEATURES_OP; op 4122 drivers/isdn/hardware/mISDN/hfcmulti.c switch (cq->op) { op 4124 drivers/isdn/hardware/mISDN/hfcmulti.c cq->op = MISDN_CTRL_HFC_OP | MISDN_CTRL_L1_TIMER3; op 4159 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, cq->op); op 1780 drivers/isdn/hardware/mISDN/hfcpci.c switch (cq->op) { op 1782 drivers/isdn/hardware/mISDN/hfcpci.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_CONNECT | op 1865 drivers/isdn/hardware/mISDN/hfcpci.c __func__, cq->op); op 498 drivers/isdn/hardware/mISDN/hfcsusb.c hw->name, __func__, (cq->op), (cq->channel)); op 500 drivers/isdn/hardware/mISDN/hfcsusb.c switch (cq->op) { op 502 drivers/isdn/hardware/mISDN/hfcsusb.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_CONNECT | op 507 drivers/isdn/hardware/mISDN/hfcsusb.c hw->name, __func__, cq->op); op 1501 drivers/isdn/hardware/mISDN/mISDNipac.c switch (cq->op) { op 1503 drivers/isdn/hardware/mISDN/mISDNipac.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_L1_TIMER3; op 1517 drivers/isdn/hardware/mISDN/mISDNipac.c pr_info("%s: unknown CTRL OP %x\n", ipac->name, cq->op); op 825 drivers/isdn/hardware/mISDN/netjet.c switch (cq->op) { op 827 drivers/isdn/hardware/mISDN/netjet.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_L1_TIMER3; op 841 drivers/isdn/hardware/mISDN/netjet.c pr_info("%s: %s unknown Op %x\n", card->name, __func__, cq->op); op 212 drivers/isdn/hardware/mISDN/speedfax.c switch (cq->op) { op 214 drivers/isdn/hardware/mISDN/speedfax.c cq->op = MISDN_CTRL_LOOP | MISDN_CTRL_L1_TIMER3; op 228 drivers/isdn/hardware/mISDN/speedfax.c pr_info("%s: unknown Op %x\n", sf->name, cq->op); op 1008 drivers/isdn/hardware/mISDN/w6692.c switch (cq->op) { op 1010 drivers/isdn/hardware/mISDN/w6692.c cq->op = MISDN_CTRL_L1_TIMER3; op 1016 drivers/isdn/hardware/mISDN/w6692.c pr_info("%s: unknown CTRL OP %x\n", card->name, cq->op); op 367 drivers/isdn/mISDN/dsp_cmx.c cq.op = message; op 222 drivers/isdn/mISDN/dsp_core.c cq.op = MISDN_CTRL_RX_OFF; op 267 drivers/isdn/mISDN/dsp_core.c cq.op = MISDN_CTRL_FILL_EMPTY; op 638 drivers/isdn/mISDN/dsp_core.c cq.op = MISDN_CTRL_GETOP; op 644 drivers/isdn/mISDN/dsp_core.c if (cq.op & MISDN_CTRL_RX_OFF) op 646 drivers/isdn/mISDN/dsp_core.c if (cq.op & MISDN_CTRL_FILL_EMPTY) op 650 drivers/isdn/mISDN/dsp_core.c if ((cq.op & MISDN_CTRL_HW_FEATURES_OP)) { op 651 drivers/isdn/mISDN/dsp_core.c cq.op = MISDN_CTRL_HW_FEATURES; op 83 drivers/isdn/mISDN/dsp_hwec.c cq.op = MISDN_CTRL_HFC_ECHOCAN_ON; op 104 drivers/isdn/mISDN/dsp_hwec.c cq.op = MISDN_CTRL_HFC_ECHOCAN_OFF; op 160 drivers/isdn/mISDN/hwchannel.c switch (cq->op) { op 162 drivers/isdn/mISDN/hwchannel.c cq->op = MISDN_CTRL_RX_BUFFER | MISDN_CTRL_FILL_EMPTY | op 192 drivers/isdn/mISDN/hwchannel.c pr_info("mISDN unhandled control %x operation\n", cq->op); op 936 drivers/isdn/mISDN/l1oip_core.c switch (cq->op) { op 938 drivers/isdn/mISDN/l1oip_core.c cq->op = MISDN_CTRL_SETPEER | MISDN_CTRL_UNSETPEER op 968 drivers/isdn/mISDN/l1oip_core.c __func__, cq->op); op 1177 drivers/isdn/mISDN/l1oip_core.c switch (cq->op) { op 1179 drivers/isdn/mISDN/l1oip_core.c cq->op = MISDN_CTRL_HW_FEATURES_OP; op 1191 drivers/isdn/mISDN/l1oip_core.c __func__, cq->op); op 17 drivers/leds/led-class-flash.c #define has_flash_op(fled_cdev, op) \ op 18 drivers/leds/led-class-flash.c (fled_cdev && fled_cdev->ops->op) op 20 drivers/leds/led-class-flash.c #define call_flash_op(fled_cdev, op, args...) \ op 21 drivers/leds/led-class-flash.c ((has_flash_op(fled_cdev, op)) ? \ op 22 drivers/leds/led-class-flash.c (fled_cdev->ops->op(fled_cdev, args)) : \ op 134 drivers/lightnvm/core.c u16 op) op 216 drivers/lightnvm/core.c tgt_dev->geo.op = op; op 299 drivers/lightnvm/core.c if (e->op == 0xFFFF) { op 300 drivers/lightnvm/core.c e->op = NVM_TARGET_DEFAULT_OP; op 301 drivers/lightnvm/core.c } else if (e->op < NVM_TARGET_MIN_OP || e->op > NVM_TARGET_MAX_OP) { op 329 drivers/lightnvm/core.c e.op = NVM_TARGET_DEFAULT_OP; op 370 drivers/lightnvm/core.c tgt_dev = nvm_create_tgt_dev(dev, e.lun_begin, e.lun_end, e.op); op 658 drivers/lightnvm/pblk-init.c if (geo->op == NVM_TARGET_DEFAULT_OP) op 659 drivers/lightnvm/pblk-init.c pblk->op = PBLK_DEFAULT_OP; op 661 drivers/lightnvm/pblk-init.c pblk->op = geo->op; op 665 drivers/lightnvm/pblk-init.c provisioned *= (100 - pblk->op); op 669 drivers/lightnvm/pblk-init.c if (geo->op != NVM_TARGET_DEFAULT_OP) { op 679 drivers/lightnvm/pblk-init.c pblk->op = (100 * minimum) / nr_free_chks; op 681 drivers/lightnvm/pblk-init.c pblk->op); op 619 drivers/lightnvm/pblk.h int op; /* Percentage of device used for over-provisioning */ op 1337 drivers/lightnvm/pblk.h return DIV_ROUND_UP(100, pblk->op) * lm->blk_per_line; op 122 drivers/md/bcache/btree.c #define btree(fn, key, b, op, ...) \ op 125 drivers/md/bcache/btree.c bool _w = l <= (op)->lock; \ op 126 drivers/md/bcache/btree.c struct btree *_child = bch_btree_node_get((b)->c, op, key, l, \ op 129 drivers/md/bcache/btree.c _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ op 142 drivers/md/bcache/btree.c #define btree_root(fn, c, op, ...) \ op 147 drivers/md/bcache/btree.c bool _w = insert_lock(op, _b); \ op 150 drivers/md/bcache/btree.c _w == insert_lock(op, _b)) { \ op 151 drivers/md/bcache/btree.c _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ op 159 drivers/md/bcache/btree.c finish_wait(&(c)->btree_cache_wait, &(op)->wait); \ op 887 drivers/md/bcache/btree.c static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op) op 893 drivers/md/bcache/btree.c if (op) op 894 drivers/md/bcache/btree.c prepare_to_wait(&c->btree_cache_wait, &op->wait, op 902 drivers/md/bcache/btree.c static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op, op 909 drivers/md/bcache/btree.c if (mca_cannibalize_lock(c, op)) op 938 drivers/md/bcache/btree.c static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op, op 1002 drivers/md/bcache/btree.c b = mca_cannibalize(c, op, k); op 1018 drivers/md/bcache/btree.c struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op, op 1034 drivers/md/bcache/btree.c b = mca_alloc(c, op, k, level); op 1129 drivers/md/bcache/btree.c struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op, op 1144 drivers/md/bcache/btree.c b = mca_alloc(c, op, &k.key, level); op 1172 drivers/md/bcache/btree.c struct btree_op *op, int level, op 1175 drivers/md/bcache/btree.c return __bch_btree_node_alloc(c, op, level, op != NULL, parent); op 1179 drivers/md/bcache/btree.c struct btree_op *op) op 1181 drivers/md/bcache/btree.c struct btree *n = bch_btree_node_alloc(b->c, op, b->level, b->parent); op 1212 drivers/md/bcache/btree.c static int btree_check_reserve(struct btree *b, struct btree_op *op) op 1222 drivers/md/bcache/btree.c if (op) op 1223 drivers/md/bcache/btree.c prepare_to_wait(&c->btree_cache_wait, &op->wait, op 1231 drivers/md/bcache/btree.c return mca_cannibalize_lock(b->c, op); op 1364 drivers/md/bcache/btree.c static int bch_btree_insert_node(struct btree *b, struct btree_op *op, op 1369 drivers/md/bcache/btree.c static int btree_gc_coalesce(struct btree *b, struct btree_op *op, op 1499 drivers/md/bcache/btree.c bch_btree_insert_node(b, op, &keylist, NULL, NULL); op 1536 drivers/md/bcache/btree.c static int btree_gc_rewrite_node(struct btree *b, struct btree_op *op, op 1562 drivers/md/bcache/btree.c bch_btree_insert_node(b, op, &keys, NULL, NULL); op 1610 drivers/md/bcache/btree.c static int btree_gc_recurse(struct btree *b, struct btree_op *op, op 1628 drivers/md/bcache/btree.c r->b = bch_btree_node_get(b->c, op, k, b->level - 1, op 1637 drivers/md/bcache/btree.c ret = btree_gc_coalesce(b, op, gc, r); op 1648 drivers/md/bcache/btree.c ret = btree_gc_rewrite_node(b, op, last->b); op 1654 drivers/md/bcache/btree.c ret = btree_gc_recurse(last->b, op, writes, gc); op 1700 drivers/md/bcache/btree.c static int bch_btree_gc_root(struct btree *b, struct btree_op *op, op 1725 drivers/md/bcache/btree.c ret = btree_gc_recurse(b, op, writes, gc); op 1833 drivers/md/bcache/btree.c struct btree_op op; op 1840 drivers/md/bcache/btree.c bch_btree_op_init(&op, SHRT_MAX); op 1846 drivers/md/bcache/btree.c ret = btree_root(gc_root, c, &op, &writes, &stats); op 1917 drivers/md/bcache/btree.c static int bch_btree_check_recurse(struct btree *b, struct btree_op *op) op 1944 drivers/md/bcache/btree.c ret = btree(check_recurse, p, b, op); op 1955 drivers/md/bcache/btree.c struct btree_op op; op 1957 drivers/md/bcache/btree.c bch_btree_op_init(&op, SHRT_MAX); op 1959 drivers/md/bcache/btree.c return btree_root(check_recurse, c, &op); op 2035 drivers/md/bcache/btree.c static bool bch_btree_insert_keys(struct btree *b, struct btree_op *op, op 2069 drivers/md/bcache/btree.c op->insert_collision = true; op 2077 drivers/md/bcache/btree.c static int btree_split(struct btree *b, struct btree_op *op, op 2090 drivers/md/bcache/btree.c if (btree_check_reserve(b, op)) { op 2097 drivers/md/bcache/btree.c n1 = btree_node_alloc_replacement(b, op); op 2109 drivers/md/bcache/btree.c n2 = bch_btree_node_alloc(b->c, op, b->level, b->parent); op 2114 drivers/md/bcache/btree.c n3 = bch_btree_node_alloc(b->c, op, b->level + 1, NULL); op 2122 drivers/md/bcache/btree.c bch_btree_insert_keys(n1, op, insert_keys, replace_key); op 2154 drivers/md/bcache/btree.c bch_btree_insert_keys(n1, op, insert_keys, replace_key); op 2165 drivers/md/bcache/btree.c bch_btree_insert_keys(n3, op, &parent_keys, NULL); op 2182 drivers/md/bcache/btree.c bch_btree_insert_node(b->parent, op, &parent_keys, NULL, NULL); op 2211 drivers/md/bcache/btree.c static int bch_btree_insert_node(struct btree *b, struct btree_op *op, op 2235 drivers/md/bcache/btree.c if (bch_btree_insert_keys(b, op, insert_keys, replace_key)) { op 2250 drivers/md/bcache/btree.c op->lock = b->c->root->level + 1; op 2252 drivers/md/bcache/btree.c } else if (op->lock <= b->c->root->level) { op 2253 drivers/md/bcache/btree.c op->lock = b->c->root->level + 1; op 2257 drivers/md/bcache/btree.c int ret = btree_split(b, op, insert_keys, replace_key); op 2267 drivers/md/bcache/btree.c int bch_btree_insert_check_key(struct btree *b, struct btree_op *op, op 2274 drivers/md/bcache/btree.c bool upgrade = op->lock == -1; op 2284 drivers/md/bcache/btree.c op->lock = b->level; op 2296 drivers/md/bcache/btree.c ret = bch_btree_insert_node(b, op, &insert, NULL, NULL); op 2306 drivers/md/bcache/btree.c struct btree_op op; op 2314 drivers/md/bcache/btree.c struct btree_insert_op *op = container_of(b_op, op 2315 drivers/md/bcache/btree.c struct btree_insert_op, op); op 2317 drivers/md/bcache/btree.c int ret = bch_btree_insert_node(b, &op->op, op->keys, op 2318 drivers/md/bcache/btree.c op->journal_ref, op->replace_key); op 2319 drivers/md/bcache/btree.c if (ret && !bch_keylist_empty(op->keys)) op 2328 drivers/md/bcache/btree.c struct btree_insert_op op; op 2334 drivers/md/bcache/btree.c bch_btree_op_init(&op.op, 0); op 2335 drivers/md/bcache/btree.c op.keys = keys; op 2336 drivers/md/bcache/btree.c op.journal_ref = journal_ref; op 2337 drivers/md/bcache/btree.c op.replace_key = replace_key; op 2340 drivers/md/bcache/btree.c op.op.lock = 0; op 2341 drivers/md/bcache/btree.c ret = bch_btree_map_leaf_nodes(&op.op, c, op 2353 drivers/md/bcache/btree.c } else if (op.op.insert_collision) op 2385 drivers/md/bcache/btree.c static int bch_btree_map_nodes_recurse(struct btree *b, struct btree_op *op, op 2400 drivers/md/bcache/btree.c op, from, fn, flags); op 2409 drivers/md/bcache/btree.c ret = fn(op, b); op 2414 drivers/md/bcache/btree.c int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, op 2417 drivers/md/bcache/btree.c return btree_root(map_nodes_recurse, c, op, from, fn, flags); op 2420 drivers/md/bcache/btree.c static int bch_btree_map_keys_recurse(struct btree *b, struct btree_op *op, op 2432 drivers/md/bcache/btree.c ? fn(op, b, k) op 2433 drivers/md/bcache/btree.c : btree(map_keys_recurse, k, b, op, from, fn, flags); op 2441 drivers/md/bcache/btree.c ret = fn(op, b, &KEY(KEY_INODE(&b->key), op 2447 drivers/md/bcache/btree.c int bch_btree_map_keys(struct btree_op *op, struct cache_set *c, op 2450 drivers/md/bcache/btree.c return btree_root(map_keys_recurse, c, op, from, fn, flags); op 2472 drivers/md/bcache/btree.c struct btree_op op; op 2479 drivers/md/bcache/btree.c static int refill_keybuf_fn(struct btree_op *op, struct btree *b, op 2482 drivers/md/bcache/btree.c struct refill *refill = container_of(op, struct refill, op); op 2531 drivers/md/bcache/btree.c bch_btree_op_init(&refill.op, -1); op 2537 drivers/md/bcache/btree.c bch_btree_map_keys(&refill.op, c, &buf->last_scanned, op 221 drivers/md/bcache/btree.h static inline void bch_btree_op_init(struct btree_op *op, int write_lock_level) op 223 drivers/md/bcache/btree.h memset(op, 0, sizeof(struct btree_op)); op 224 drivers/md/bcache/btree.h init_wait(&op->wait); op 225 drivers/md/bcache/btree.h op->lock = write_lock_level; op 248 drivers/md/bcache/btree.h struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op, op 251 drivers/md/bcache/btree.h struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op, op 255 drivers/md/bcache/btree.h int bch_btree_insert_check_key(struct btree *b, struct btree_op *op, op 298 drivers/md/bcache/btree.h int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, op 301 drivers/md/bcache/btree.h static inline int bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, op 304 drivers/md/bcache/btree.h return __bch_btree_map_nodes(op, c, from, fn, MAP_ALL_NODES); op 307 drivers/md/bcache/btree.h static inline int bch_btree_map_leaf_nodes(struct btree_op *op, op 312 drivers/md/bcache/btree.h return __bch_btree_map_nodes(op, c, from, fn, MAP_LEAF_NODES); op 315 drivers/md/bcache/btree.h typedef int (btree_map_keys_fn)(struct btree_op *op, struct btree *b, op 317 drivers/md/bcache/btree.h int bch_btree_map_keys(struct btree_op *op, struct cache_set *c, op 18 drivers/md/bcache/movinggc.c struct data_insert_op op; op 52 drivers/md/bcache/movinggc.c if (io->op.replace_collision) op 55 drivers/md/bcache/movinggc.c bch_keybuf_del(&io->op.c->moving_gc_keys, io->w); op 57 drivers/md/bcache/movinggc.c up(&io->op.c->moving_in_flight); op 69 drivers/md/bcache/movinggc.c io->op.status = bio->bi_status; op 71 drivers/md/bcache/movinggc.c ptr_stale(io->op.c, &b->key, 0)) { op 72 drivers/md/bcache/movinggc.c io->op.status = BLK_STS_IOERR; op 75 drivers/md/bcache/movinggc.c bch_bbio_endio(io->op.c, bio, bio->bi_status, "reading data to move"); op 95 drivers/md/bcache/movinggc.c struct data_insert_op *op = &io->op; op 97 drivers/md/bcache/movinggc.c if (!op->status) { op 101 drivers/md/bcache/movinggc.c op->write_prio = 1; op 102 drivers/md/bcache/movinggc.c op->bio = &io->bio.bio; op 104 drivers/md/bcache/movinggc.c op->writeback = KEY_DIRTY(&io->w->key); op 105 drivers/md/bcache/movinggc.c op->csum = KEY_CSUM(&io->w->key); op 107 drivers/md/bcache/movinggc.c bkey_copy(&op->replace_key, &io->w->key); op 108 drivers/md/bcache/movinggc.c op->replace = true; op 110 drivers/md/bcache/movinggc.c closure_call(&op->cl, bch_data_insert, NULL, cl); op 113 drivers/md/bcache/movinggc.c continue_at(cl, write_moving_finish, op->wq); op 121 drivers/md/bcache/movinggc.c bch_submit_bbio(bio, io->op.c, &io->w->key, 0); op 123 drivers/md/bcache/movinggc.c continue_at(cl, write_moving, io->op.wq); op 156 drivers/md/bcache/movinggc.c io->op.inode = KEY_INODE(&w->key); op 157 drivers/md/bcache/movinggc.c io->op.c = c; op 158 drivers/md/bcache/movinggc.c io->op.wq = c->moving_gc_wq; op 60 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 62 drivers/md/bcache/request.c struct bkey *replace_key = op->replace ? &op->replace_key : NULL; op 77 drivers/md/bcache/request.c if (!op->replace) op 78 drivers/md/bcache/request.c journal_ref = bch_journal(op->c, &op->insert_keys, op 79 drivers/md/bcache/request.c op->flush_journal ? cl : NULL); op 81 drivers/md/bcache/request.c ret = bch_btree_insert(op->c, &op->insert_keys, op 84 drivers/md/bcache/request.c op->replace_collision = true; op 86 drivers/md/bcache/request.c op->status = BLK_STS_RESOURCE; op 87 drivers/md/bcache/request.c op->insert_data_done = true; op 93 drivers/md/bcache/request.c if (!op->insert_data_done) { op 94 drivers/md/bcache/request.c continue_at(cl, bch_data_insert_start, op->wq); op 98 drivers/md/bcache/request.c bch_keylist_free(&op->insert_keys); op 122 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 123 drivers/md/bcache/request.c struct bio *bio = op->bio; op 132 drivers/md/bcache/request.c if (bch_keylist_realloc(&op->insert_keys, 2, op->c)) op 138 drivers/md/bcache/request.c bch_keylist_add(&op->insert_keys, op 139 drivers/md/bcache/request.c &KEY(op->inode, op 144 drivers/md/bcache/request.c op->insert_data_done = true; op 148 drivers/md/bcache/request.c continue_at(cl, bch_data_insert_keys, op->wq); op 153 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 164 drivers/md/bcache/request.c struct bkey *src = op->insert_keys.keys, *dst = op->insert_keys.keys; op 166 drivers/md/bcache/request.c while (src != op->insert_keys.top) { op 176 drivers/md/bcache/request.c op->insert_keys.top = dst; op 184 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 188 drivers/md/bcache/request.c if (op->writeback) op 189 drivers/md/bcache/request.c op->status = bio->bi_status; op 190 drivers/md/bcache/request.c else if (!op->replace) op 191 drivers/md/bcache/request.c set_closure_fn(cl, bch_data_insert_error, op->wq); op 196 drivers/md/bcache/request.c bch_bbio_endio(op->c, bio, bio->bi_status, "writing data to cache"); op 201 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 202 drivers/md/bcache/request.c struct bio *bio = op->bio, *n; op 204 drivers/md/bcache/request.c if (op->bypass) op 207 drivers/md/bcache/request.c if (atomic_sub_return(bio_sectors(bio), &op->c->sectors_to_gc) < 0) op 208 drivers/md/bcache/request.c wake_up_gc(op->c); op 219 drivers/md/bcache/request.c struct bio_set *split = &op->c->bio_split; op 222 drivers/md/bcache/request.c if (bch_keylist_realloc(&op->insert_keys, op 223 drivers/md/bcache/request.c 3 + (op->csum ? 1 : 0), op 224 drivers/md/bcache/request.c op->c)) { op 225 drivers/md/bcache/request.c continue_at(cl, bch_data_insert_keys, op->wq); op 229 drivers/md/bcache/request.c k = op->insert_keys.top; op 231 drivers/md/bcache/request.c SET_KEY_INODE(k, op->inode); op 234 drivers/md/bcache/request.c if (!bch_alloc_sectors(op->c, k, bio_sectors(bio), op 235 drivers/md/bcache/request.c op->write_point, op->write_prio, op 236 drivers/md/bcache/request.c op->writeback)) op 244 drivers/md/bcache/request.c if (op->writeback) { op 248 drivers/md/bcache/request.c SET_GC_MARK(PTR_BUCKET(op->c, k, i), op 252 drivers/md/bcache/request.c SET_KEY_CSUM(k, op->csum); op 257 drivers/md/bcache/request.c bch_keylist_push(&op->insert_keys); op 260 drivers/md/bcache/request.c bch_submit_bbio(n, op->c, k, 0); op 263 drivers/md/bcache/request.c op->insert_data_done = true; op 264 drivers/md/bcache/request.c continue_at(cl, bch_data_insert_keys, op->wq); op 268 drivers/md/bcache/request.c BUG_ON(op->writeback); op 276 drivers/md/bcache/request.c if (!op->replace) { op 283 drivers/md/bcache/request.c op->bypass = true; op 290 drivers/md/bcache/request.c op->insert_data_done = true; op 293 drivers/md/bcache/request.c if (!bch_keylist_empty(&op->insert_keys)) op 294 drivers/md/bcache/request.c continue_at(cl, bch_data_insert_keys, op->wq); op 322 drivers/md/bcache/request.c struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); op 324 drivers/md/bcache/request.c trace_bcache_write(op->c, op->inode, op->bio, op 325 drivers/md/bcache/request.c op->writeback, op->bypass); op 327 drivers/md/bcache/request.c bch_keylist_init(&op->insert_keys); op 328 drivers/md/bcache/request.c bio_get(op->bio); op 492 drivers/md/bcache/request.c struct btree_op op; op 524 drivers/md/bcache/request.c static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) op 526 drivers/md/bcache/request.c struct search *s = container_of(op, struct search, op); op 596 drivers/md/bcache/request.c bch_btree_op_init(&s->op, -1); op 598 drivers/md/bcache/request.c ret = bch_btree_map_keys(&s->op, s->iop.c, op 916 drivers/md/bcache/request.c ret = bch_btree_insert_check_key(b, &s->op, &s->iop.replace_key); op 339 drivers/md/bcache/super.c static void uuid_io(struct cache_set *c, int op, unsigned long op_flags, op 359 drivers/md/bcache/super.c bio_set_op_attrs(bio, op, REQ_SYNC|REQ_META|op_flags); op 364 drivers/md/bcache/super.c if (op != REQ_OP_WRITE) op 369 drivers/md/bcache/super.c pr_debug("%s UUIDs at %s", op == REQ_OP_WRITE ? "wrote" : "read", buf); op 511 drivers/md/bcache/super.c static void prio_io(struct cache *ca, uint64_t bucket, int op, op 525 drivers/md/bcache/super.c bio_set_op_attrs(bio, op, REQ_SYNC|REQ_META|op_flags); op 591 drivers/md/bcache/sysfs.c struct btree_op op; op 598 drivers/md/bcache/sysfs.c struct bset_stats_op *op = container_of(b_op, struct bset_stats_op, op); op 600 drivers/md/bcache/sysfs.c op->nodes++; op 601 drivers/md/bcache/sysfs.c bch_btree_keys_stats(&b->keys, &op->stats); op 608 drivers/md/bcache/sysfs.c struct bset_stats_op op; op 611 drivers/md/bcache/sysfs.c memset(&op, 0, sizeof(op)); op 612 drivers/md/bcache/sysfs.c bch_btree_op_init(&op.op, -1); op 614 drivers/md/bcache/sysfs.c ret = bch_btree_map_nodes(&op.op, c, &ZERO_KEY, bch_btree_bset_stats); op 626 drivers/md/bcache/sysfs.c op.nodes, op 627 drivers/md/bcache/sysfs.c op.stats.sets_written, op.stats.sets_unwritten, op 628 drivers/md/bcache/sysfs.c op.stats.bytes_written, op.stats.bytes_unwritten, op 629 drivers/md/bcache/sysfs.c op.stats.floats, op.stats.failed); op 756 drivers/md/bcache/writeback.c struct btree_op op; op 765 drivers/md/bcache/writeback.c struct sectors_dirty_init *op = container_of(_op, op 766 drivers/md/bcache/writeback.c struct sectors_dirty_init, op); op 767 drivers/md/bcache/writeback.c if (KEY_INODE(k) > op->inode) op 774 drivers/md/bcache/writeback.c op->count++; op 776 drivers/md/bcache/writeback.c !(op->count % INIT_KEYS_EACH_TIME)) { op 777 drivers/md/bcache/writeback.c bkey_copy_key(&op->start, k); op 786 drivers/md/bcache/writeback.c struct sectors_dirty_init op; op 789 drivers/md/bcache/writeback.c bch_btree_op_init(&op.op, -1); op 790 drivers/md/bcache/writeback.c op.inode = d->id; op 791 drivers/md/bcache/writeback.c op.count = 0; op 792 drivers/md/bcache/writeback.c op.start = KEY(op.inode, 0, 0); op 795 drivers/md/bcache/writeback.c ret = bch_btree_map_keys(&op.op, d->c, &op.start, op 135 drivers/md/dm-cache-background-tracker.c switch (w->op) { op 231 drivers/md/dm-cache-background-tracker.c struct policy_work *op) op 233 drivers/md/dm-cache-background-tracker.c struct bt_work *w = container_of(op, struct bt_work, work); op 40 drivers/md/dm-cache-background-tracker.h struct policy_work *op); op 1185 drivers/md/dm-cache-policy-smq.c work.op = POLICY_WRITEBACK; op 1216 drivers/md/dm-cache-policy-smq.c work.op = POLICY_DEMOTE; op 1256 drivers/md/dm-cache-policy-smq.c work.op = POLICY_PROMOTE; op 1465 drivers/md/dm-cache-policy-smq.c switch (work->op) { op 30 drivers/md/dm-cache-policy.h enum policy_operation op; op 501 drivers/md/dm-cache-target.c struct policy_work *op; op 1026 drivers/md/dm-cache-target.c static void metadata_operation_failed(struct cache *cache, const char *op, int r) op 1029 drivers/md/dm-cache-target.c cache_device_name(cache), op, r); op 1062 drivers/md/dm-cache-target.c static void update_stats(struct cache_stats *stats, enum policy_operation op) op 1064 drivers/md/dm-cache-target.c switch (op) { op 1192 drivers/md/dm-cache-target.c o_region.sector = from_oblock(mg->op->oblock) * cache->sectors_per_block; op 1196 drivers/md/dm-cache-target.c c_region.sector = from_cblock(mg->op->cblock) * cache->sectors_per_block; op 1240 drivers/md/dm-cache-target.c if (mg->op->op == POLICY_PROMOTE) op 1241 drivers/md/dm-cache-target.c remap_to_cache(mg->cache, bio, mg->op->cblock); op 1264 drivers/md/dm-cache-target.c struct policy_work *op = mg->op; op 1265 drivers/md/dm-cache-target.c dm_cblock_t cblock = op->cblock; op 1268 drivers/md/dm-cache-target.c update_stats(&cache->stats, op->op); op 1270 drivers/md/dm-cache-target.c switch (op->op) { op 1272 drivers/md/dm-cache-target.c clear_discard(cache, oblock_to_dblock(cache, op->oblock)); op 1273 drivers/md/dm-cache-target.c policy_complete_background_work(cache->policy, op, success); op 1296 drivers/md/dm-cache-target.c policy_complete_background_work(cache->policy, op, success); op 1303 drivers/md/dm-cache-target.c policy_complete_background_work(cache->policy, op, success); op 1332 drivers/md/dm-cache-target.c struct policy_work *op = mg->op; op 1334 drivers/md/dm-cache-target.c switch (op->op) { op 1336 drivers/md/dm-cache-target.c r = dm_cache_insert_mapping(cache->cmd, op->cblock, op->oblock); op 1349 drivers/md/dm-cache-target.c r = dm_cache_remove_mapping(cache->cmd, op->cblock); op 1434 drivers/md/dm-cache-target.c struct policy_work *op = mg->op; op 1435 drivers/md/dm-cache-target.c bool is_policy_promote = (op->op == POLICY_PROMOTE); op 1437 drivers/md/dm-cache-target.c if ((!is_policy_promote && !is_dirty(cache, op->cblock)) || op 1438 drivers/md/dm-cache-target.c is_discarded_oblock(cache, op->oblock)) { op 1457 drivers/md/dm-cache-target.c if (!optimisable_bio(mg->cache, mg->overwrite_bio, mg->op->oblock)) { op 1461 drivers/md/dm-cache-target.c bool rb = bio_detain_shared(mg->cache, mg->op->oblock, mg->overwrite_bio); op 1496 drivers/md/dm-cache-target.c build_key(mg->op->oblock, oblock_succ(mg->op->oblock), &key); op 1517 drivers/md/dm-cache-target.c static int mg_start(struct cache *cache, struct policy_work *op, struct bio *bio) op 1522 drivers/md/dm-cache-target.c policy_complete_background_work(cache->policy, op, false); op 1528 drivers/md/dm-cache-target.c mg->op = op; op 1719 drivers/md/dm-cache-target.c struct policy_work *op = NULL; op 1721 drivers/md/dm-cache-target.c r = policy_lookup_with_work(cache->policy, block, &cblock, data_dir, true, &op); op 1729 drivers/md/dm-cache-target.c if (r == -ENOENT && op) { op 1731 drivers/md/dm-cache-target.c BUG_ON(op->op != POLICY_PROMOTE); op 1732 drivers/md/dm-cache-target.c mg_start(cache, op, bio); op 1955 drivers/md/dm-cache-target.c struct policy_work *op; op 1962 drivers/md/dm-cache-target.c r = policy_get_background_work(cache->policy, b == IDLE, &op); op 1972 drivers/md/dm-cache-target.c r = mg_start(cache, op, NULL); op 232 drivers/md/dm-clone-target.c static void __metadata_operation_failed(struct clone *clone, const char *op, int r) op 235 drivers/md/dm-clone-target.c clone_device_name(clone), op, r); op 474 drivers/md/dm-integrity.c static int sync_rw_sb(struct dm_integrity_c *ic, int op, int op_flags) op 479 drivers/md/dm-integrity.c io_req.bi_op = op; op 489 drivers/md/dm-integrity.c if (op == REQ_OP_WRITE) op 935 drivers/md/dm-integrity.c static void rw_journal_sectors(struct dm_integrity_c *ic, int op, int op_flags, op 952 drivers/md/dm-integrity.c io_req.bi_op = op; op 973 drivers/md/dm-integrity.c dm_integrity_io_error(ic, op == REQ_OP_READ ? "reading journal" : "writing journal", r); op 981 drivers/md/dm-integrity.c static void rw_journal(struct dm_integrity_c *ic, int op, int op_flags, unsigned section, op 989 drivers/md/dm-integrity.c rw_journal_sectors(ic, op, op_flags, sector, n_sectors, comp); op 1295 drivers/md/dm-integrity.c unsigned *metadata_offset, unsigned total_size, int op) op 1313 drivers/md/dm-integrity.c if (op == TAG_READ) { op 1315 drivers/md/dm-integrity.c } else if (op == TAG_WRITE) { op 296 drivers/md/dm-io.c static void do_region(int op, int op_flags, unsigned region, op 314 drivers/md/dm-io.c if (op == REQ_OP_DISCARD) op 316 drivers/md/dm-io.c else if (op == REQ_OP_WRITE_ZEROES) op 318 drivers/md/dm-io.c else if (op == REQ_OP_WRITE_SAME) op 320 drivers/md/dm-io.c if ((op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES || op 321 drivers/md/dm-io.c op == REQ_OP_WRITE_SAME) && special_cmd_max_sectors == 0) { op 335 drivers/md/dm-io.c switch (op) { op 352 drivers/md/dm-io.c bio_set_op_attrs(bio, op, op_flags); op 355 drivers/md/dm-io.c if (op == REQ_OP_DISCARD || op == REQ_OP_WRITE_ZEROES) { op 359 drivers/md/dm-io.c } else if (op == REQ_OP_WRITE_SAME) { op 390 drivers/md/dm-io.c static void dispatch_io(int op, int op_flags, unsigned int num_regions, op 409 drivers/md/dm-io.c do_region(op, op_flags, i, where + i, dp, io); op 433 drivers/md/dm-io.c struct dm_io_region *where, int op, int op_flags, op 439 drivers/md/dm-io.c if (num_regions > 1 && !op_is_write(op)) { op 456 drivers/md/dm-io.c dispatch_io(op, op_flags, num_regions, where, dp, io, 1); op 467 drivers/md/dm-io.c struct dm_io_region *where, int op, int op_flags, op 472 drivers/md/dm-io.c if (num_regions > 1 && !op_is_write(op)) { op 488 drivers/md/dm-io.c dispatch_io(op, op_flags, num_regions, where, dp, io, 0); op 294 drivers/md/dm-log.c static int rw_header(struct log_c *lc, int op) op 296 drivers/md/dm-log.c lc->io_req.bi_op = op; op 229 drivers/md/dm-snap-persistent.c static int chunk_io(struct pstore *ps, void *area, chunk_t chunk, int op, op 238 drivers/md/dm-snap-persistent.c .bi_op = op, op 285 drivers/md/dm-snap-persistent.c static int area_io(struct pstore *ps, int op, int op_flags) op 292 drivers/md/dm-snap-persistent.c r = chunk_io(ps, ps->area, chunk, op, op_flags, 0); op 287 drivers/md/dm-thin.c static void metadata_operation_failed(struct pool *pool, const char *op, int r); op 387 drivers/md/dm-thin.c static void begin_discard(struct discard_op *op, struct thin_c *tc, struct bio *parent) op 391 drivers/md/dm-thin.c op->tc = tc; op 392 drivers/md/dm-thin.c blk_start_plug(&op->plug); op 393 drivers/md/dm-thin.c op->parent_bio = parent; op 394 drivers/md/dm-thin.c op->bio = NULL; op 397 drivers/md/dm-thin.c static int issue_discard(struct discard_op *op, dm_block_t data_b, dm_block_t data_e) op 399 drivers/md/dm-thin.c struct thin_c *tc = op->tc; op 404 drivers/md/dm-thin.c GFP_NOWAIT, 0, &op->bio); op 407 drivers/md/dm-thin.c static void end_discard(struct discard_op *op, int r) op 409 drivers/md/dm-thin.c if (op->bio) { op 414 drivers/md/dm-thin.c bio_chain(op->bio, op->parent_bio); op 415 drivers/md/dm-thin.c bio_set_op_attrs(op->bio, REQ_OP_DISCARD, 0); op 416 drivers/md/dm-thin.c submit_bio(op->bio); op 419 drivers/md/dm-thin.c blk_finish_plug(&op->plug); op 425 drivers/md/dm-thin.c if (r && !op->parent_bio->bi_status) op 426 drivers/md/dm-thin.c op->parent_bio->bi_status = errno_to_blk_status(r); op 427 drivers/md/dm-thin.c bio_endio(op->parent_bio); op 1091 drivers/md/dm-thin.c struct discard_op op; op 1093 drivers/md/dm-thin.c begin_discard(&op, tc, discard_parent); op 1118 drivers/md/dm-thin.c r = issue_discard(&op, b, e); op 1125 drivers/md/dm-thin.c end_discard(&op, r); op 1197 drivers/md/dm-thin.c struct discard_op op; op 1199 drivers/md/dm-thin.c begin_discard(&op, tc, discard_parent); op 1200 drivers/md/dm-thin.c r = issue_discard(&op, m->data_block, data_end); op 1201 drivers/md/dm-thin.c end_discard(&op, r); op 2650 drivers/md/dm-thin.c static void metadata_operation_failed(struct pool *pool, const char *op, int r) op 2653 drivers/md/dm-thin.c dm_device_name(pool->pool_md), op, r); op 610 drivers/md/dm-zoned-metadata.c static int dmz_rdwr_block(struct dmz_metadata *zmd, int op, sector_t block, op 625 drivers/md/dm-zoned-metadata.c bio_set_op_attrs(bio, op, REQ_SYNC | REQ_META | REQ_PRIO); op 1646 drivers/md/dm-zoned-metadata.c struct dm_zone *dmz_get_chunk_mapping(struct dmz_metadata *zmd, unsigned int chunk, int op) op 1664 drivers/md/dm-zoned-metadata.c if (op != REQ_OP_WRITE) op 226 drivers/md/dm-zoned.h unsigned int chunk, int op); op 917 drivers/md/md.c struct page *page, int op, int op_flags, bool metadata_op) op 926 drivers/md/md.c bio_set_op_attrs(bio, op, op_flags); op 711 drivers/md/md.h struct page *page, int op, int op_flags, op 193 drivers/md/persistent-data/dm-space-map-metadata.c static int commit_bop(struct sm_metadata *smm, struct block_op *op) op 198 drivers/md/persistent-data/dm-space-map-metadata.c switch (op->type) { op 200 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_inc(&smm->ll, op->block, &ev); op 204 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_dec(&smm->ll, op->block, &ev); op 315 drivers/md/persistent-data/dm-space-map-metadata.c struct block_op *op = smm->uncommitted.bops + i; op 317 drivers/md/persistent-data/dm-space-map-metadata.c if (op->block != b) op 320 drivers/md/persistent-data/dm-space-map-metadata.c switch (op->type) { op 356 drivers/md/persistent-data/dm-space-map-metadata.c struct block_op *op = smm->uncommitted.bops + i; op 358 drivers/md/persistent-data/dm-space-map-metadata.c if (op->block != b) op 361 drivers/md/persistent-data/dm-space-map-metadata.c switch (op->type) { op 1219 drivers/md/raid1.c const int op = bio_op(bio); op 1313 drivers/md/raid1.c bio_set_op_attrs(read_bio, op, do_sync); op 1139 drivers/md/raid10.c const int op = bio_op(bio); op 1214 drivers/md/raid10.c bio_set_op_attrs(read_bio, op, do_sync); op 1232 drivers/md/raid10.c const int op = bio_op(bio); op 1263 drivers/md/raid10.c bio_set_op_attrs(mbio, op, do_sync | do_fua); op 995 drivers/md/raid5.c int op, op_flags = 0; op 1002 drivers/md/raid5.c op = REQ_OP_WRITE; op 1006 drivers/md/raid5.c op = REQ_OP_DISCARD; op 1008 drivers/md/raid5.c op = REQ_OP_READ; op 1011 drivers/md/raid5.c op = REQ_OP_WRITE; op 1030 drivers/md/raid5.c if (op_is_write(op)) { op 1056 drivers/md/raid5.c while (op_is_write(op) && rdev && op 1097 drivers/md/raid5.c bio_set_op_attrs(bi, op, op_flags); op 1098 drivers/md/raid5.c bi->bi_end_io = op_is_write(op) op 1121 drivers/md/raid5.c if (!op_is_write(op) && op 1142 drivers/md/raid5.c if (op == REQ_OP_DISCARD) op 1151 drivers/md/raid5.c if (should_defer && op_is_write(op)) op 1164 drivers/md/raid5.c bio_set_op_attrs(rbi, op, op_flags); op 1165 drivers/md/raid5.c BUG_ON(!op_is_write(op)); op 1195 drivers/md/raid5.c if (op == REQ_OP_DISCARD) op 1201 drivers/md/raid5.c if (should_defer && op_is_write(op)) op 1207 drivers/md/raid5.c if (op_is_write(op)) op 42 drivers/media/cec/cec-adap.c #define call_op(adap, op, arg...) \ op 43 drivers/media/cec/cec-adap.c (adap->ops->op ? adap->ops->op(adap, ## arg) : 0) op 45 drivers/media/cec/cec-adap.c #define call_void_op(adap, op, arg...) \ op 47 drivers/media/cec/cec-adap.c if (adap->ops->op) \ op 48 drivers/media/cec/cec-adap.c adap->ops->op(adap, ## arg); \ op 84 drivers/media/cec/cec-pin-error-inj.c u8 op; op 152 drivers/media/cec/cec-pin-error-inj.c } else if (!kstrtou8(token, 0, &op)) { op 154 drivers/media/cec/cec-pin-error-inj.c error = pin->error_inj + op; op 155 drivers/media/cec/cec-pin-error-inj.c args = pin->error_inj_args[op]; op 108 drivers/media/common/b2c2/flexcop-eeprom.c flexcop_access_op_t op, u16 addr, u8 *buf, u16 len, int retries) op 113 drivers/media/common/b2c2/flexcop-eeprom.c ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr, op 108 drivers/media/common/b2c2/flexcop-i2c.c flexcop_access_op_t op, u8 chipaddr, op 121 drivers/media/common/b2c2/flexcop-i2c.c op == FC_READ ? "rd" : "wr", op 125 drivers/media/common/b2c2/flexcop-i2c.c r100.tw_sm_c_100.twoWS_rw = op; op 131 drivers/media/common/b2c2/flexcop-i2c.c if (i2c->no_base_addr && len == 0 && op == FC_WRITE) { op 144 drivers/media/common/b2c2/flexcop-i2c.c if (op == FC_READ) op 158 drivers/media/common/b2c2/flexcop-i2c.c op == FC_READ ? "rd" : "wr", op 28 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_msg_prepare(const struct i2c_msg *m, int num, __le32 *op) op 52 drivers/media/common/saa7146/saa7146_i2c.c memset(op,0,sizeof(__le32)*mem); op 59 drivers/media/common/saa7146/saa7146_i2c.c op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); op 60 drivers/media/common/saa7146/saa7146_i2c.c op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); op 67 drivers/media/common/saa7146/saa7146_i2c.c op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); op 68 drivers/media/common/saa7146/saa7146_i2c.c op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); op 77 drivers/media/common/saa7146/saa7146_i2c.c if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { op 78 drivers/media/common/saa7146/saa7146_i2c.c op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); op 79 drivers/media/common/saa7146/saa7146_i2c.c op[h1] |= cpu_to_le32(SAA7146_I2C_STOP << ((3-h2)*2)); op 90 drivers/media/common/saa7146/saa7146_i2c.c static int saa7146_i2c_msg_cleanup(const struct i2c_msg *m, int num, __le32 *op) op 103 drivers/media/common/saa7146/saa7146_i2c.c m[i].buf[j] = (le32_to_cpu(op[op_count/3]) >> ((3-(op_count%3))*8)); op 53 drivers/media/common/videobuf2/videobuf2-core.c #define log_memop(vb, op) \ op 55 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue, (vb)->index, #op, \ op 56 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op ? "" : " (nop)") op 58 drivers/media/common/videobuf2/videobuf2-core.c #define call_memop(vb, op, args...) \ op 63 drivers/media/common/videobuf2/videobuf2-core.c log_memop(vb, op); \ op 64 drivers/media/common/videobuf2/videobuf2-core.c err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \ op 66 drivers/media/common/videobuf2/videobuf2-core.c (vb)->cnt_mem_ ## op++; \ op 70 drivers/media/common/videobuf2/videobuf2-core.c #define call_ptr_memop(vb, op, args...) \ op 75 drivers/media/common/videobuf2/videobuf2-core.c log_memop(vb, op); \ op 76 drivers/media/common/videobuf2/videobuf2-core.c ptr = _q->mem_ops->op ? _q->mem_ops->op(args) : NULL; \ op 78 drivers/media/common/videobuf2/videobuf2-core.c (vb)->cnt_mem_ ## op++; \ op 82 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_memop(vb, op, args...) \ op 86 drivers/media/common/videobuf2/videobuf2-core.c log_memop(vb, op); \ op 87 drivers/media/common/videobuf2/videobuf2-core.c if (_q->mem_ops->op) \ op 88 drivers/media/common/videobuf2/videobuf2-core.c _q->mem_ops->op(args); \ op 89 drivers/media/common/videobuf2/videobuf2-core.c (vb)->cnt_mem_ ## op++; \ op 92 drivers/media/common/videobuf2/videobuf2-core.c #define log_qop(q, op) \ op 93 drivers/media/common/videobuf2/videobuf2-core.c dprintk(2, "call_qop(%p, %s)%s\n", q, #op, \ op 94 drivers/media/common/videobuf2/videobuf2-core.c (q)->ops->op ? "" : " (nop)") op 96 drivers/media/common/videobuf2/videobuf2-core.c #define call_qop(q, op, args...) \ op 100 drivers/media/common/videobuf2/videobuf2-core.c log_qop(q, op); \ op 101 drivers/media/common/videobuf2/videobuf2-core.c err = (q)->ops->op ? (q)->ops->op(args) : 0; \ op 103 drivers/media/common/videobuf2/videobuf2-core.c (q)->cnt_ ## op++; \ op 107 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_qop(q, op, args...) \ op 109 drivers/media/common/videobuf2/videobuf2-core.c log_qop(q, op); \ op 110 drivers/media/common/videobuf2/videobuf2-core.c if ((q)->ops->op) \ op 111 drivers/media/common/videobuf2/videobuf2-core.c (q)->ops->op(args); \ op 112 drivers/media/common/videobuf2/videobuf2-core.c (q)->cnt_ ## op++; \ op 115 drivers/media/common/videobuf2/videobuf2-core.c #define log_vb_qop(vb, op, args...) \ op 117 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue, (vb)->index, #op, \ op 118 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op ? "" : " (nop)") op 120 drivers/media/common/videobuf2/videobuf2-core.c #define call_vb_qop(vb, op, args...) \ op 124 drivers/media/common/videobuf2/videobuf2-core.c log_vb_qop(vb, op); \ op 125 drivers/media/common/videobuf2/videobuf2-core.c err = (vb)->vb2_queue->ops->op ? \ op 126 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args) : 0; \ op 128 drivers/media/common/videobuf2/videobuf2-core.c (vb)->cnt_ ## op++; \ op 132 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_vb_qop(vb, op, args...) \ op 134 drivers/media/common/videobuf2/videobuf2-core.c log_vb_qop(vb, op); \ op 135 drivers/media/common/videobuf2/videobuf2-core.c if ((vb)->vb2_queue->ops->op) \ op 136 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args); \ op 137 drivers/media/common/videobuf2/videobuf2-core.c (vb)->cnt_ ## op++; \ op 142 drivers/media/common/videobuf2/videobuf2-core.c #define call_memop(vb, op, args...) \ op 143 drivers/media/common/videobuf2/videobuf2-core.c ((vb)->vb2_queue->mem_ops->op ? \ op 144 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args) : 0) op 146 drivers/media/common/videobuf2/videobuf2-core.c #define call_ptr_memop(vb, op, args...) \ op 147 drivers/media/common/videobuf2/videobuf2-core.c ((vb)->vb2_queue->mem_ops->op ? \ op 148 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args) : NULL) op 150 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_memop(vb, op, args...) \ op 152 drivers/media/common/videobuf2/videobuf2-core.c if ((vb)->vb2_queue->mem_ops->op) \ op 153 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args); \ op 156 drivers/media/common/videobuf2/videobuf2-core.c #define call_qop(q, op, args...) \ op 157 drivers/media/common/videobuf2/videobuf2-core.c ((q)->ops->op ? (q)->ops->op(args) : 0) op 159 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_qop(q, op, args...) \ op 161 drivers/media/common/videobuf2/videobuf2-core.c if ((q)->ops->op) \ op 162 drivers/media/common/videobuf2/videobuf2-core.c (q)->ops->op(args); \ op 165 drivers/media/common/videobuf2/videobuf2-core.c #define call_vb_qop(vb, op, args...) \ op 166 drivers/media/common/videobuf2/videobuf2-core.c ((vb)->vb2_queue->ops->op ? (vb)->vb2_queue->ops->op(args) : 0) op 168 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_vb_qop(vb, op, args...) \ op 170 drivers/media/common/videobuf2/videobuf2-core.c if ((vb)->vb2_queue->ops->op) \ op 171 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args); \ op 176 drivers/media/common/videobuf2/videobuf2-core.c #define call_bufop(q, op, args...) \ op 179 drivers/media/common/videobuf2/videobuf2-core.c if (q && q->buf_ops && q->buf_ops->op) \ op 180 drivers/media/common/videobuf2/videobuf2-core.c ret = q->buf_ops->op(args); \ op 184 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_bufop(q, op, args...) \ op 186 drivers/media/common/videobuf2/videobuf2-core.c if (q && q->buf_ops && q->buf_ops->op) \ op 187 drivers/media/common/videobuf2/videobuf2-core.c q->buf_ops->op(args); \ op 954 drivers/media/dvb-frontends/dib7000p.c static u32 dib7000p_ctrl_timf(struct dvb_frontend *fe, u8 op, u32 timf) op 957 drivers/media/dvb-frontends/dib7000p.c switch (op) { op 55 drivers/media/dvb-frontends/dib7000p.h u32 (*ctrl_timf)(struct dvb_frontend *fe, u8 op, u32 timf); op 1968 drivers/media/dvb-frontends/dib8000.c static u32 dib8000_ctrl_timf(struct dvb_frontend *fe, uint8_t op, uint32_t timf) op 1972 drivers/media/dvb-frontends/dib8000.c switch (op) { op 53 drivers/media/dvb-frontends/dib8000.h u32 (*ctrl_timf)(struct dvb_frontend *fe, uint8_t op, uint32_t timf); op 7850 drivers/media/dvb-frontends/drx39xyj/drxj.c struct drx_channel *channel, s32 tuner_freq_offset, u32 op) op 7994 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_CONSTELLATION)) { op 8052 drivers/media/dvb-frontends/drx39xyj/drxj.c if (op & QAM_SET_OP_ALL) { op 8108 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_CONSTELLATION)) { op 8154 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_SPECTRUM)) { op 8162 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_CONSTELLATION)) { op 8176 drivers/media/dvb-frontends/drx39xyj/drxj.c if (op & QAM_SET_OP_ALL) { op 8493 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_CONSTELLATION)) { op 8589 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL)) { op 8628 drivers/media/dvb-frontends/drx39xyj/drxj.c if ((op & QAM_SET_OP_ALL) || (op & QAM_SET_OP_CONSTELLATION)) { op 157 drivers/media/dvb-frontends/mt352.c struct dtv_frontend_properties *op = &fe->dtv_property_cache; op 164 drivers/media/dvb-frontends/mt352.c switch (op->code_rate_HP) { op 184 drivers/media/dvb-frontends/mt352.c switch (op->code_rate_LP) { op 201 drivers/media/dvb-frontends/mt352.c if (op->hierarchy == HIERARCHY_AUTO || op 202 drivers/media/dvb-frontends/mt352.c op->hierarchy == HIERARCHY_NONE) op 209 drivers/media/dvb-frontends/mt352.c switch (op->modulation) { op 223 drivers/media/dvb-frontends/mt352.c switch (op->transmission_mode) { op 234 drivers/media/dvb-frontends/mt352.c switch (op->guard_interval) { op 251 drivers/media/dvb-frontends/mt352.c switch (op->hierarchy) { op 277 drivers/media/dvb-frontends/mt352.c mt352_calc_nominal_rate(state, op->bandwidth_hz, buf+4); op 302 drivers/media/dvb-frontends/mt352.c struct dtv_frontend_properties *op) op 330 drivers/media/dvb-frontends/mt352.c op->code_rate_HP = tps_fec_to_api[(tps >> 7) & 7]; op 331 drivers/media/dvb-frontends/mt352.c op->code_rate_LP = tps_fec_to_api[(tps >> 4) & 7]; op 336 drivers/media/dvb-frontends/mt352.c op->modulation = QPSK; op 339 drivers/media/dvb-frontends/mt352.c op->modulation = QAM_16; op 342 drivers/media/dvb-frontends/mt352.c op->modulation = QAM_64; op 345 drivers/media/dvb-frontends/mt352.c op->modulation = QAM_AUTO; op 349 drivers/media/dvb-frontends/mt352.c op->transmission_mode = (tps & 0x01) ? TRANSMISSION_MODE_8K : TRANSMISSION_MODE_2K; op 354 drivers/media/dvb-frontends/mt352.c op->guard_interval = GUARD_INTERVAL_1_32; op 357 drivers/media/dvb-frontends/mt352.c op->guard_interval = GUARD_INTERVAL_1_16; op 360 drivers/media/dvb-frontends/mt352.c op->guard_interval = GUARD_INTERVAL_1_8; op 363 drivers/media/dvb-frontends/mt352.c op->guard_interval = GUARD_INTERVAL_1_4; op 366 drivers/media/dvb-frontends/mt352.c op->guard_interval = GUARD_INTERVAL_AUTO; op 373 drivers/media/dvb-frontends/mt352.c op->hierarchy = HIERARCHY_NONE; op 376 drivers/media/dvb-frontends/mt352.c op->hierarchy = HIERARCHY_1; op 379 drivers/media/dvb-frontends/mt352.c op->hierarchy = HIERARCHY_2; op 382 drivers/media/dvb-frontends/mt352.c op->hierarchy = HIERARCHY_4; op 385 drivers/media/dvb-frontends/mt352.c op->hierarchy = HIERARCHY_AUTO; op 389 drivers/media/dvb-frontends/mt352.c op->frequency = (500 * (div - IF_FREQUENCYx6)) / 3 * 1000; op 392 drivers/media/dvb-frontends/mt352.c op->bandwidth_hz = 8000000; op 394 drivers/media/dvb-frontends/mt352.c op->bandwidth_hz = 7000000; op 396 drivers/media/dvb-frontends/mt352.c op->bandwidth_hz = 6000000; op 400 drivers/media/dvb-frontends/mt352.c op->inversion = INVERSION_OFF; op 402 drivers/media/dvb-frontends/mt352.c op->inversion = INVERSION_ON; op 205 drivers/media/firewire/firedtv-avc.c const char *op, *prefix; op 211 drivers/media/firewire/firedtv-avc.c op = debug_fcp_opcode(opcode, data, length); op 213 drivers/media/firewire/firedtv-avc.c if (op) { op 216 drivers/media/firewire/firedtv-avc.c debug_fcp_ctype(data[0]), op); op 58 drivers/media/i2c/smiapp-pll.c dev_dbg(dev, "op_sys_clk_div \t%u\n", pll->op.sys_clk_div); op 59 drivers/media/i2c/smiapp-pll.c dev_dbg(dev, "op_pix_clk_div \t%u\n", pll->op.pix_clk_div); op 69 drivers/media/i2c/smiapp-pll.c pll->op.sys_clk_freq_hz); op 71 drivers/media/i2c/smiapp-pll.c pll->op.pix_clk_freq_hz); op 390 drivers/media/i2c/smiapp-pll.c const struct smiapp_pll_branch_limits *op_limits = &limits->op; op 391 drivers/media/i2c/smiapp-pll.c struct smiapp_pll_branch *op_pll = &pll->op; op 55 drivers/media/i2c/smiapp-pll.h struct smiapp_pll_branch op; op 86 drivers/media/i2c/smiapp-pll.h struct smiapp_pll_branch_limits op; op 225 drivers/media/i2c/smiapp/smiapp-core.c DIV_ROUND_UP(pll->op.sys_clk_freq_hz, 1000000 / 256 / 256)); op 230 drivers/media/i2c/smiapp/smiapp-core.c sensor, SMIAPP_REG_U16_OP_PIX_CLK_DIV, pll->op.pix_clk_div); op 235 drivers/media/i2c/smiapp/smiapp-core.c sensor, SMIAPP_REG_U16_OP_SYS_CLK_DIV, pll->op.sys_clk_div); op 252 drivers/media/i2c/smiapp/smiapp-core.c .op.min_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_DIV], op 253 drivers/media/i2c/smiapp/smiapp-core.c .op.max_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_OP_SYS_CLK_DIV], op 254 drivers/media/i2c/smiapp/smiapp-core.c .op.min_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_OP_PIX_CLK_DIV], op 255 drivers/media/i2c/smiapp/smiapp-core.c .op.max_pix_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_OP_PIX_CLK_DIV], op 256 drivers/media/i2c/smiapp/smiapp-core.c .op.min_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_FREQ_HZ], op 257 drivers/media/i2c/smiapp/smiapp-core.c .op.max_sys_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_OP_SYS_CLK_FREQ_HZ], op 258 drivers/media/i2c/smiapp/smiapp-core.c .op.min_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_OP_PIX_CLK_FREQ_HZ], op 259 drivers/media/i2c/smiapp/smiapp-core.c .op.max_pix_clk_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_OP_PIX_CLK_FREQ_HZ], op 1382 drivers/media/platform/fsl-viu.c static int viu_of_probe(struct platform_device *op) op 1392 drivers/media/platform/fsl-viu.c ret = of_address_to_resource(op->dev.of_node, 0, &r); op 1394 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Can't parse device node resource\n"); op 1398 drivers/media/platform/fsl-viu.c viu_irq = irq_of_parse_and_map(op->dev.of_node, 0); op 1400 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Error while mapping the irq\n"); op 1405 drivers/media/platform/fsl-viu.c if (!devm_request_mem_region(&op->dev, r.start, op 1407 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Error while requesting mem region\n"); op 1413 drivers/media/platform/fsl-viu.c viu_regs = devm_ioremap(&op->dev, r.start, sizeof(struct viu_reg)); op 1415 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Can't map register set\n"); op 1421 drivers/media/platform/fsl-viu.c viu_dev = devm_kzalloc(&op->dev, sizeof(struct viu_dev), GFP_ATOMIC); op 1423 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Can't allocate private structure\n"); op 1430 drivers/media/platform/fsl-viu.c viu_dev->dev = &op->dev; op 1440 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "v4l2_device_register() failed: %d\n", ret); op 1447 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "couldn't get i2c adapter\n"); op 1454 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "couldn't register control\n"); op 1496 drivers/media/platform/fsl-viu.c clk = devm_clk_get(&op->dev, "ipg"); op 1498 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "failed to lookup the clock!\n"); op 1504 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "failed to enable the clock!\n"); op 1514 drivers/media/platform/fsl-viu.c dev_err(&op->dev, "Request VIU IRQ failed.\n"); op 1521 drivers/media/platform/fsl-viu.c dev_info(&op->dev, "Freescale VIU Video Capture Board\n"); op 1541 drivers/media/platform/fsl-viu.c static int viu_of_remove(struct platform_device *op) op 1543 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); op 1562 drivers/media/platform/fsl-viu.c static int viu_suspend(struct platform_device *op, pm_message_t state) op 1564 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); op 1571 drivers/media/platform/fsl-viu.c static int viu_resume(struct platform_device *op) op 1573 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); op 202 drivers/media/platform/m2m-deinterlace.c static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op, op 233 drivers/media/platform/m2m-deinterlace.c switch (op) { op 56 drivers/media/platform/rockchip/rga/rga.h u32 op; op 536 drivers/media/platform/s5p-mfc/s5p_mfc_common.h #define call_cop(c, op, args...) \ op 537 drivers/media/platform/s5p-mfc/s5p_mfc_common.h (((c)->c_ops->op) ? \ op 538 drivers/media/platform/s5p-mfc/s5p_mfc_common.h ((c)->c_ops->op(args)) : 0) op 747 drivers/media/platform/s5p-mfc/s5p_mfc_common.h #define s5p_mfc_hw_call(f, op, args...) \ op 748 drivers/media/platform/s5p-mfc/s5p_mfc_common.h ((f && f->op) ? f->op(args) : (typeof(f->op(args)))(-ENODEV)) op 31 drivers/media/platform/sti/delta/delta-v4l2.c #define call_dec_op(dec, op, args...)\ op 32 drivers/media/platform/sti/delta/delta-v4l2.c ((dec && (dec)->op) ? (dec)->op(args) : 0) op 197 drivers/media/radio/wl128x/fmdrv_common.c cmd_hdr->len, cmd_hdr->op, op 222 drivers/media/radio/wl128x/fmdrv_common.c evt_hdr->status, evt_hdr->num_fm_hci_cmds, evt_hdr->op, op 272 drivers/media/radio/wl128x/fmdrv_common.c if (evt_hdr->op == FM_INTERRUPT) { op 292 drivers/media/radio/wl128x/fmdrv_common.c else if (evt_hdr->op == fmdev->pre_op && fmdev->resp_comp != NULL) { op 303 drivers/media/radio/wl128x/fmdrv_common.c else if (evt_hdr->op == fmdev->pre_op && fmdev->resp_comp == NULL) { op 417 drivers/media/radio/wl128x/fmdrv_common.c hdr->op = fm_op; op 514 drivers/media/radio/wl128x/fmdrv_common.c fm_evt_hdr->op); op 135 drivers/media/radio/wl128x/fmdrv_common.h __u8 op; /* FM Opcode */ op 148 drivers/media/radio/wl128x/fmdrv_common.h __u8 op; /* FM Opcode */ op 319 drivers/media/usb/b2c2/flexcop-usb.c flexcop_access_op_t op, u8 chipaddr, u8 addr, u8 *buf, u16 len) op 321 drivers/media/usb/b2c2/flexcop-usb.c if (op == FC_READ) op 29 drivers/media/usb/dvb-usb/cinergyT2-fe.c static uint16_t compute_tps(struct dtv_frontend_properties *op) op 33 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->code_rate_HP) { op 52 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->code_rate_LP) { op 71 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->modulation) { op 83 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->transmission_mode) { op 92 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->guard_interval) { op 107 drivers/media/usb/dvb-usb/cinergyT2-fe.c switch (op->hierarchy) { op 2800 drivers/media/usb/gspca/vc032x.c u8 op; op 3031 drivers/media/usb/gspca/vc032x.c reg_w(gspca_dev, 0xa0, ptsensor_info->op, 0xb301); op 492 drivers/media/usb/pwc/pwc-dec23.c unsigned int channel_v, offset1, op; op 531 drivers/media/usb/pwc/pwc-dec23.c op = hash_table_ops[htable_idx * 4]; op 533 drivers/media/usb/pwc/pwc-dec23.c if (op == 2) { op 536 drivers/media/usb/pwc/pwc-dec23.c } else if (op == 1) { op 582 drivers/media/usb/pwc/pwc-dec23.c } while (op != 2); op 1113 drivers/media/usb/uvc/uvc_video.c struct uvc_copy_op *op = &uvc_urb->copy_operations[i]; op 1115 drivers/media/usb/uvc/uvc_video.c memcpy(op->dst, op->src, op->len); op 1118 drivers/media/usb/uvc/uvc_video.c uvc_queue_buffer_release(op->buf); op 1131 drivers/media/usb/uvc/uvc_video.c struct uvc_copy_op *op = &uvc_urb->copy_operations[active_op]; op 1142 drivers/media/usb/uvc/uvc_video.c op->buf = buf; op 1143 drivers/media/usb/uvc/uvc_video.c op->src = data; op 1144 drivers/media/usb/uvc/uvc_video.c op->dst = buf->mem + buf->bytesused; op 1145 drivers/media/usb/uvc/uvc_video.c op->len = min_t(unsigned int, len, maxlen); op 1147 drivers/media/usb/uvc/uvc_video.c buf->bytesused += op->len; op 27 drivers/media/v4l2-core/v4l2-ctrls.c #define has_op(master, op) \ op 28 drivers/media/v4l2-core/v4l2-ctrls.c (master->ops && master->ops->op) op 29 drivers/media/v4l2-core/v4l2-ctrls.c #define call_op(master, op) \ op 30 drivers/media/v4l2-core/v4l2-ctrls.c (has_op(master, op) ? master->ops->op(master) : 0) op 517 drivers/media/v4l2-core/v4l2-dev.c #define SET_VALID_IOCTL(ops, cmd, op) \ op 518 drivers/media/v4l2-core/v4l2-dev.c if (ops->op) \ op 17 drivers/media/v4l2-core/v4l2-flash-led-class.c #define has_flash_op(v4l2_flash, op) \ op 18 drivers/media/v4l2-core/v4l2-flash-led-class.c (v4l2_flash && v4l2_flash->ops && v4l2_flash->ops->op) op 20 drivers/media/v4l2-core/v4l2-flash-led-class.c #define call_flash_op(v4l2_flash, op, arg) \ op 21 drivers/media/v4l2-core/v4l2-flash-led-class.c (has_flash_op(v4l2_flash, op) ? \ op 22 drivers/media/v4l2-core/v4l2-flash-led-class.c v4l2_flash->ops->op(v4l2_flash, arg) : \ op 117 drivers/misc/cxl/hcalls.c static char *op_str(unsigned int op, char *name_array[], int array_len) op 119 drivers/misc/cxl/hcalls.c if (op >= array_len) op 121 drivers/misc/cxl/hcalls.c return name_array[op]; op 124 drivers/misc/cxl/hcalls.c #define OP_STR(op, name_array) op_str(op, name_array, ARRAY_SIZE(name_array)) op 126 drivers/misc/cxl/hcalls.c #define OP_STR_AFU(op) OP_STR(op, afu_op_names) op 127 drivers/misc/cxl/hcalls.c #define OP_STR_CONTROL_ADAPTER(op) OP_STR(op, control_adapter_op_names) op 128 drivers/misc/cxl/hcalls.c #define OP_STR_DOWNLOAD_ADAPTER(op) OP_STR(op, download_op_names) op 205 drivers/misc/cxl/hcalls.c static long cxl_h_control_function(u64 unit_address, u64 op, op 211 drivers/misc/cxl/hcalls.c CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FUNCTION, unit_address, op, p1, p2, p3, p4); op 213 drivers/misc/cxl/hcalls.c unit_address, OP_STR_AFU(op), p1, p2, p3, p4, retbuf[0], rc); op 214 drivers/misc/cxl/hcalls.c trace_cxl_hcall_control_function(unit_address, OP_STR_AFU(op), p1, p2, p3, p4, retbuf[0], rc); op 218 drivers/misc/cxl/hcalls.c if ((op == H_CONTROL_CA_FUNCTION_GET_FUNCTION_ERR_INT || op 219 drivers/misc/cxl/hcalls.c op == H_CONTROL_CA_FUNCTION_READ_ERR_STATE || op 220 drivers/misc/cxl/hcalls.c op == H_CONTROL_CA_FUNCTION_COLLECT_VPD)) op 478 drivers/misc/cxl/hcalls.c static long cxl_h_control_facility(u64 unit_address, u64 op, op 484 drivers/misc/cxl/hcalls.c CXL_H9_WAIT_UNTIL_DONE(rc, retbuf, H_CONTROL_CA_FACILITY, unit_address, op, p1, p2, p3, p4); op 486 drivers/misc/cxl/hcalls.c unit_address, OP_STR_CONTROL_ADAPTER(op), p1, p2, p3, p4, retbuf[0], rc); op 487 drivers/misc/cxl/hcalls.c trace_cxl_hcall_control_facility(unit_address, OP_STR_CONTROL_ADAPTER(op), p1, p2, p3, p4, retbuf[0], rc); op 491 drivers/misc/cxl/hcalls.c if (op == H_CONTROL_CA_FACILITY_COLLECT_VPD) op 558 drivers/misc/cxl/hcalls.c static long cxl_h_download_facility(u64 unit_address, u64 op, op 573 drivers/misc/cxl/hcalls.c unit_address, op, list_address, num, op 593 drivers/misc/cxl/hcalls.c unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, retbuf[0], rc); op 594 drivers/misc/cxl/hcalls.c trace_cxl_hcall_download_facility(unit_address, OP_STR_DOWNLOAD_ADAPTER(op), list_address, num, retbuf[0], rc); op 224 drivers/misc/habanalabs/command_buffer.c switch (args->in.op) { op 645 drivers/misc/habanalabs/goya/goya_coresight.c switch (params->op) { op 669 drivers/misc/habanalabs/goya/goya_coresight.c dev_err(hdev->dev, "Unknown coresight id %d\n", params->op); op 903 drivers/misc/habanalabs/habanalabs.h u32 op; op 145 drivers/misc/habanalabs/habanalabs_ioctl.c params->op = args->op; op 148 drivers/misc/habanalabs/habanalabs_ioctl.c input = kzalloc(hl_debug_struct_size[args->op], GFP_KERNEL); op 235 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { op 253 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { op 275 drivers/misc/habanalabs/habanalabs_ioctl.c dev_err(dev, "Invalid request %d\n", args->op); op 306 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { op 320 drivers/misc/habanalabs/habanalabs_ioctl.c min(args->input_size, hl_debug_struct_size[args->op]); op 327 drivers/misc/habanalabs/habanalabs_ioctl.c dev_err(hdev->dev, "Invalid request %d\n", args->op); op 1101 drivers/misc/habanalabs/memory.c switch (args->in.op) { op 1170 drivers/misc/habanalabs/memory.c switch (args->in.op) { op 858 drivers/misc/sgi-gru/grufault.c gru_dbg(grudev, "op %d, gseg 0x%lx, value1 0x%lx\n", req.op, req.gseg, req.val1); op 867 drivers/misc/sgi-gru/grufault.c switch (req.op) { op 29 drivers/misc/sgi-gru/gruhandles.c static void update_mcs_stats(enum mcs_op op, unsigned long clks) op 34 drivers/misc/sgi-gru/gruhandles.c atomic_long_inc(&mcs_op_statistics[op].count); op 35 drivers/misc/sgi-gru/gruhandles.c atomic_long_add(nsec, &mcs_op_statistics[op].total); op 36 drivers/misc/sgi-gru/gruhandles.c if (mcs_op_statistics[op].max < nsec) op 37 drivers/misc/sgi-gru/gruhandles.c mcs_op_statistics[op].max = nsec; op 96 drivers/misc/sgi-gru/grulib.h int op; op 115 drivers/misc/sgi-gru/grulib.h unsigned int op; op 116 drivers/misc/sgi-gru/gruprocfs.c int op; op 123 drivers/misc/sgi-gru/gruprocfs.c for (op = 0; op < mcsop_last; op++) { op 124 drivers/misc/sgi-gru/gruprocfs.c count = atomic_long_read(&mcs_op_statistics[op].count); op 125 drivers/misc/sgi-gru/gruprocfs.c total = atomic_long_read(&mcs_op_statistics[op].total); op 126 drivers/misc/sgi-gru/gruprocfs.c max = mcs_op_statistics[op].max; op 127 drivers/misc/sgi-gru/gruprocfs.c seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count, op 247 drivers/misc/vmw_balloon.c enum vmballoon_op op; op 421 drivers/misc/vmw_balloon.c static inline void vmballoon_stats_op_inc(struct vmballoon *b, unsigned int op, op 425 drivers/misc/vmw_balloon.c atomic64_inc(&b->stats->ops[op][type]); op 789 drivers/misc/vmw_balloon.c enum vmballoon_op op) op 796 drivers/misc/vmw_balloon.c if (op == VMW_BALLOON_INFLATE) op 807 drivers/misc/vmw_balloon.c cmd = op == VMW_BALLOON_INFLATE ? VMW_BALLOON_CMD_LOCK : op 877 drivers/misc/vmw_balloon.c ctl->op); op 1115 drivers/misc/vmw_balloon.c .op = VMW_BALLOON_INFLATE op 1203 drivers/misc/vmw_balloon.c .op = VMW_BALLOON_DEFLATE op 320 drivers/mtd/devices/docg3.h TP_PROTO(int op, int width, u16 reg, int val), op 321 drivers/mtd/devices/docg3.h TP_ARGS(op, width, reg, val), op 323 drivers/mtd/devices/docg3.h __field(int, op) op 328 drivers/mtd/devices/docg3.h __entry->op = op; op 333 drivers/mtd/devices/docg3.h __entry->op ? "write" : "read", __entry->width, op 46 drivers/mtd/devices/powernv_flash.c static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, op 56 drivers/mtd/devices/powernv_flash.c __func__, op, offset, len); op 67 drivers/mtd/devices/powernv_flash.c switch (op) { op 117 drivers/mtd/devices/powernv_flash.c op, rc); op 172 drivers/mtd/devices/st_spi_fsm.c #define STFSM_INSTR(cmd, op) ((cmd) | ((op) << 4)) op 51 drivers/mtd/maps/sun_uflash.c int uflash_devinit(struct platform_device *op, struct device_node *dp) op 55 drivers/mtd/maps/sun_uflash.c if (op->resource[1].flags) { op 60 drivers/mtd/maps/sun_uflash.c dp, (unsigned long long)op->resource[0].start); op 74 drivers/mtd/maps/sun_uflash.c up->map.size = resource_size(&op->resource[0]); op 80 drivers/mtd/maps/sun_uflash.c up->map.phys = op->resource[0].start; op 82 drivers/mtd/maps/sun_uflash.c up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, op 96 drivers/mtd/maps/sun_uflash.c of_iounmap(&op->resource[0], up->map.virt, up->map.size); op 106 drivers/mtd/maps/sun_uflash.c dev_set_drvdata(&op->dev, up); op 111 drivers/mtd/maps/sun_uflash.c static int uflash_probe(struct platform_device *op) op 113 drivers/mtd/maps/sun_uflash.c struct device_node *dp = op->dev.of_node; op 121 drivers/mtd/maps/sun_uflash.c return uflash_devinit(op, dp); op 124 drivers/mtd/maps/sun_uflash.c static int uflash_remove(struct platform_device *op) op 126 drivers/mtd/maps/sun_uflash.c struct uflash_dev *up = dev_get_drvdata(&op->dev); op 133 drivers/mtd/maps/sun_uflash.c of_iounmap(&op->resource[0], up->map.virt, up->map.size); op 562 drivers/mtd/mtdchar.c switch (arg->op) { op 1069 drivers/mtd/mtdchar.c a.op = compat_arg.op; op 160 drivers/mtd/nand/raw/ams-delta.c const struct nand_operation *op, bool check_only) op 171 drivers/mtd/nand/raw/ams-delta.c for (instr = op->instrs; instr < op->instrs + op->ninstrs; instr++) { op 260 drivers/mtd/nand/raw/atmel/nand-controller.c struct atmel_nfc_op op; op 275 drivers/mtd/nand/raw/atmel/nand-controller.c static bool atmel_nfc_op_done(struct atmel_nfc_op *op, u32 status) op 277 drivers/mtd/nand/raw/atmel/nand-controller.c op->errors |= status & ATMEL_HSMC_NFC_SR_ERRORS; op 278 drivers/mtd/nand/raw/atmel/nand-controller.c op->wait ^= status & op->wait; op 280 drivers/mtd/nand/raw/atmel/nand-controller.c return !op->wait || op->errors; op 291 drivers/mtd/nand/raw/atmel/nand-controller.c rcvd = sr & (nc->op.wait | ATMEL_HSMC_NFC_SR_ERRORS); op 292 drivers/mtd/nand/raw/atmel/nand-controller.c done = atmel_nfc_op_done(&nc->op, sr); op 316 drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nfc_op_done(&nc->op, op 322 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.wait | ATMEL_HSMC_NFC_SR_ERRORS); op 333 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.errors & ATMEL_HSMC_NFC_SR_DTOE) { op 338 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.errors & ATMEL_HSMC_NFC_SR_UNDEF) { op 343 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.errors & ATMEL_HSMC_NFC_SR_AWB) { op 348 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.errors & ATMEL_HSMC_NFC_SR_NFCASE) { op 551 drivers/mtd/nand/raw/atmel/nand-controller.c u8 *addrs = nc->op.addrs; op 552 drivers/mtd/nand/raw/atmel/nand-controller.c unsigned int op = 0; op 556 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.wait = ATMEL_HSMC_NFC_SR_CMDDONE; op 558 drivers/mtd/nand/raw/atmel/nand-controller.c for (i = 0; i < nc->op.ncmds; i++) op 559 drivers/mtd/nand/raw/atmel/nand-controller.c op |= ATMEL_NFC_CMD(i, nc->op.cmds[i]); op 561 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.naddrs == ATMEL_NFC_MAX_ADDR_CYCLES) op 564 drivers/mtd/nand/raw/atmel/nand-controller.c op |= ATMEL_NFC_CSID(nc->op.cs) | op 565 drivers/mtd/nand/raw/atmel/nand-controller.c ATMEL_NFC_ACYCLE(nc->op.naddrs); op 567 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.ncmds > 1) op 568 drivers/mtd/nand/raw/atmel/nand-controller.c op |= ATMEL_NFC_VCMD2; op 573 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.data != ATMEL_NFC_NO_DATA) { op 574 drivers/mtd/nand/raw/atmel/nand-controller.c op |= ATMEL_NFC_DATAEN; op 575 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.wait |= ATMEL_HSMC_NFC_SR_XFRDONE; op 577 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.data == ATMEL_NFC_WRITE_DATA) op 578 drivers/mtd/nand/raw/atmel/nand-controller.c op |= ATMEL_NFC_NFCWR; op 585 drivers/mtd/nand/raw/atmel/nand-controller.c regmap_write(nc->io, op, addr); op 594 drivers/mtd/nand/raw/atmel/nand-controller.c memset(&nc->op, 0, sizeof(nc->op)); op 608 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.naddrs == ATMEL_NFC_MAX_ADDR_CYCLES) op 611 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = dat; op 613 drivers/mtd/nand/raw/atmel/nand-controller.c if (nc->op.ncmds > 1) op 616 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cmds[nc->op.ncmds++] = dat; op 620 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cs = nand->activecs->id; op 699 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = column; op 705 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = column >> 8; op 709 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = page; op 710 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = page >> 8; op 713 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.addrs[nc->op.naddrs++] = page >> 16; op 717 drivers/mtd/nand/raw/atmel/nand-controller.c static int atmel_nand_pmecc_enable(struct nand_chip *chip, int op, bool raw) op 728 drivers/mtd/nand/raw/atmel/nand-controller.c ret = atmel_pmecc_enable(nand->pmecc, op); op 916 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cmds[0] = NAND_CMD_SEQIN; op 917 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.ncmds = 1; op 919 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cs = nand->activecs->id; op 920 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.data = ATMEL_NFC_WRITE_DATA; op 944 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cmds[0] = NAND_CMD_PAGEPROG; op 945 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.ncmds = 1; op 946 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cs = nand->activecs->id; op 998 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READ0; op 1001 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READSTART; op 1004 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.cs = nand->activecs->id; op 1005 drivers/mtd/nand/raw/atmel/nand-controller.c nc->op.data = ATMEL_NFC_READ_DATA; op 772 drivers/mtd/nand/raw/atmel/pmecc.c int atmel_pmecc_enable(struct atmel_pmecc_user *user, int op) op 777 drivers/mtd/nand/raw/atmel/pmecc.c if (op != NAND_ECC_READ && op != NAND_ECC_WRITE) { op 785 drivers/mtd/nand/raw/atmel/pmecc.c if (op == NAND_ECC_WRITE) op 61 drivers/mtd/nand/raw/atmel/pmecc.h int atmel_pmecc_enable(struct atmel_pmecc_user *user, int op); op 1127 drivers/mtd/nand/raw/denali.c const struct nand_operation *op, bool check_only) op 1134 drivers/mtd/nand/raw/denali.c denali_select_target(chip, op->cs); op 1142 drivers/mtd/nand/raw/denali.c for (i = 0; i < op->ninstrs; i++) { op 1143 drivers/mtd/nand/raw/denali.c ret = denali_exec_instr(chip, &op->instrs[i]); op 602 drivers/mtd/nand/raw/fsmc_nand.c static int fsmc_exec_op(struct nand_chip *chip, const struct nand_operation *op, op 611 drivers/mtd/nand/raw/fsmc_nand.c pr_debug("Executing operation [%d instructions]:\n", op->ninstrs); op 613 drivers/mtd/nand/raw/fsmc_nand.c for (op_id = 0; op_id < op->ninstrs; op_id++) { op 614 drivers/mtd/nand/raw/fsmc_nand.c instr = &op->instrs[op_id]; op 2396 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c const struct nand_operation *op, op 2429 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c dev_dbg(this->dev, "%s: %d instructions\n", __func__, op->ninstrs); op 2431 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c for (i = 0; i < op->ninstrs; i++) { op 2432 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c instr = &op->instrs[i]; op 2447 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c if (i + 1 != op->ninstrs && op 2448 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c op->instrs[i + 1].type == NAND_OP_ADDR_INSTR) op 109 drivers/mtd/nand/raw/internals.h const struct nand_operation *op) op 114 drivers/mtd/nand/raw/internals.h if (WARN_ON(op->cs >= nanddev_ntargets(&chip->base))) op 117 drivers/mtd/nand/raw/internals.h return chip->controller->ops->exec_op(chip, op, false); op 2105 drivers/mtd/nand/raw/marvell_nand.c const struct nand_operation *op, op 2110 drivers/mtd/nand/raw/marvell_nand.c marvell_nfc_select_target(chip, op->cs); op 2114 drivers/mtd/nand/raw/marvell_nand.c op, check_only); op 2117 drivers/mtd/nand/raw/marvell_nand.c op, check_only); op 893 drivers/mtd/nand/raw/meson_nand.c const struct nand_operation *op, bool check_only) op 902 drivers/mtd/nand/raw/meson_nand.c meson_nfc_select_chip(nand, op->cs); op 903 drivers/mtd/nand/raw/meson_nand.c for (op_id = 0; op_id < op->ninstrs; op_id++) { op 904 drivers/mtd/nand/raw/meson_nand.c instr = &op->instrs[op_id]; op 605 drivers/mtd/nand/raw/mpc5121_nfc.c static int mpc5121_nfc_probe(struct platform_device *op) op 607 drivers/mtd/nand/raw/mpc5121_nfc.c struct device_node *dn = op->dev.of_node; op 609 drivers/mtd/nand/raw/mpc5121_nfc.c struct device *dev = &op->dev; op 804 drivers/mtd/nand/raw/mpc5121_nfc.c static int mpc5121_nfc_remove(struct platform_device *op) op 806 drivers/mtd/nand/raw/mpc5121_nfc.c struct device *dev = &op->dev; op 41 drivers/mtd/nand/raw/mtk_ecc.c #define ECC_IDLE_REG(op) ((op) == ECC_ENCODE ? ECC_ENCIDLE : ECC_DECIDLE) op 42 drivers/mtd/nand/raw/mtk_ecc.c #define ECC_CTL_REG(op) ((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON) op 119 drivers/mtd/nand/raw/mtk_ecc.c enum mtk_ecc_operation op) op 125 drivers/mtd/nand/raw/mtk_ecc.c ret = readl_poll_timeout_atomic(ecc->regs + ECC_IDLE_REG(op), val, op 130 drivers/mtd/nand/raw/mtk_ecc.c op == ECC_ENCODE ? "encoder" : "decoder"); op 183 drivers/mtd/nand/raw/mtk_ecc.c if (config->op == ECC_ENCODE) { op 294 drivers/mtd/nand/raw/mtk_ecc.c enum mtk_ecc_operation op = config->op; op 304 drivers/mtd/nand/raw/mtk_ecc.c mtk_ecc_wait_idle(ecc, op); op 312 drivers/mtd/nand/raw/mtk_ecc.c if (config->mode != ECC_NFI_MODE || op != ECC_ENCODE) { op 322 drivers/mtd/nand/raw/mtk_ecc.c if (op == ECC_ENCODE) op 330 drivers/mtd/nand/raw/mtk_ecc.c writew(ECC_OP_ENABLE, ecc->regs + ECC_CTL_REG(op)); op 338 drivers/mtd/nand/raw/mtk_ecc.c enum mtk_ecc_operation op = ECC_ENCODE; op 341 drivers/mtd/nand/raw/mtk_ecc.c if (readw(ecc->regs + ECC_CTL_REG(op)) != ECC_OP_ENABLE) op 342 drivers/mtd/nand/raw/mtk_ecc.c op = ECC_DECODE; op 345 drivers/mtd/nand/raw/mtk_ecc.c mtk_ecc_wait_idle(ecc, op); op 346 drivers/mtd/nand/raw/mtk_ecc.c if (op == ECC_DECODE) { op 357 drivers/mtd/nand/raw/mtk_ecc.c writew(ECC_OP_DISABLE, ecc->regs + ECC_CTL_REG(op)); op 363 drivers/mtd/nand/raw/mtk_ecc.c int mtk_ecc_wait_done(struct mtk_ecc *ecc, enum mtk_ecc_operation op) op 370 drivers/mtd/nand/raw/mtk_ecc.c (op == ECC_ENCODE) ? "encoder" : "decoder"); op 392 drivers/mtd/nand/raw/mtk_ecc.c config->op = ECC_ENCODE; op 28 drivers/mtd/nand/raw/mtk_ecc.h enum mtk_ecc_operation op; op 619 drivers/mtd/nand/raw/mtk_nand.c nfc->ecc_cfg.op = ECC_ENCODE; op 813 drivers/mtd/nand/raw/mtk_nand.c nfc->ecc_cfg.op = ECC_ENCODE; op 950 drivers/mtd/nand/raw/mtk_nand.c nfc->ecc_cfg.op = ECC_DECODE; op 389 drivers/mtd/nand/raw/mxic_nand.c const struct nand_operation *op, bool check_only) op 398 drivers/mtd/nand/raw/mxic_nand.c for (op_id = 0; op_id < op->ninstrs; op_id++) { op 399 drivers/mtd/nand/raw/mxic_nand.c instr = &op->instrs[op_id]; op 1027 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1032 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1052 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1070 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1075 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1089 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1165 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1169 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1171 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1221 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1230 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1234 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1303 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1320 drivers/mtd/nand/raw/nand_base.c op.ninstrs -= 2; op 1323 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1342 drivers/mtd/nand/raw/nand_base.c op.instrs++; op 1343 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1346 drivers/mtd/nand/raw/nand_base.c ret = nand_exec_op(chip, &op); op 1417 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1419 drivers/mtd/nand/raw/nand_base.c ret = nand_exec_op(chip, &op); op 1525 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1536 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1538 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1579 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1583 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1585 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1618 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1621 drivers/mtd/nand/raw/nand_base.c op.ninstrs--; op 1623 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1651 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1653 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1690 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1695 drivers/mtd/nand/raw/nand_base.c ret = nand_exec_op(chip, &op); op 1748 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1750 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1796 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1798 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1816 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1818 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1849 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1851 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1883 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1887 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 1927 drivers/mtd/nand/raw/nand_base.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 1931 drivers/mtd/nand/raw/nand_base.c return nand_exec_op(chip, &op); op 2171 drivers/mtd/nand/raw/nand_base.c const struct nand_operation *op, bool check_only) op 2174 drivers/mtd/nand/raw/nand_base.c .subop.instrs = op->instrs, op 2175 drivers/mtd/nand/raw/nand_base.c .instrs = op->instrs, op 2176 drivers/mtd/nand/raw/nand_base.c .ninstrs = op->ninstrs, op 2180 drivers/mtd/nand/raw/nand_base.c while (ctx.subop.instrs < op->instrs + op->ninstrs) { op 78 drivers/mtd/nand/raw/nand_hynix.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 80 drivers/mtd/nand/raw/nand_hynix.c return nand_exec_op(chip, &op); op 97 drivers/mtd/nand/raw/nand_hynix.c struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); op 99 drivers/mtd/nand/raw/nand_hynix.c return nand_exec_op(chip, &op); op 299 drivers/mtd/nand/raw/nandsim.c uint32_t *op; /* current operation, NULL operations isn't known yet */ op 1153 drivers/mtd/nand/raw/nandsim.c ns->op = NULL; op 1242 drivers/mtd/nand/raw/nandsim.c ns->op = &ops[idx].states[0]; op 1256 drivers/mtd/nand/raw/nandsim.c ns->state = ns->op[ns->stateidx]; op 1257 drivers/mtd/nand/raw/nandsim.c ns->nxstate = ns->op[ns->stateidx + 1]; op 1707 drivers/mtd/nand/raw/nandsim.c if (ns->op) { op 1715 drivers/mtd/nand/raw/nandsim.c ns->nxstate = ns->op[ns->stateidx + 1]; op 1782 drivers/mtd/nand/raw/nandsim.c ns->nxstate = ns->op[++ns->stateidx + 1]; op 2139 drivers/mtd/nand/raw/nandsim.c static int ns_exec_op(struct nand_chip *chip, const struct nand_operation *op, op 2149 drivers/mtd/nand/raw/nandsim.c for (op_id = 0; op_id < op->ninstrs; op_id++) { op 2150 drivers/mtd/nand/raw/nandsim.c instr = &op->instrs[op_id]; op 1360 drivers/mtd/nand/raw/stm32_fmc2_nand.c const struct nand_operation *op, op 1368 drivers/mtd/nand/raw/stm32_fmc2_nand.c ret = stm32_fmc2_select_chip(chip, op->cs); op 1375 drivers/mtd/nand/raw/stm32_fmc2_nand.c for (op_id = 0; op_id < op->ninstrs; op_id++) { op 1376 drivers/mtd/nand/raw/stm32_fmc2_nand.c instr = &op->instrs[op_id]; op 1905 drivers/mtd/nand/raw/sunxi_nand.c const struct nand_operation *op, bool check_only) op 1910 drivers/mtd/nand/raw/sunxi_nand.c sunxi_nfc_select_chip(nand, op->cs); op 1912 drivers/mtd/nand/raw/sunxi_nand.c if (sunxi_nand->sels[op->cs].rb >= 0) op 1917 drivers/mtd/nand/raw/sunxi_nand.c return nand_op_parser_exec_op(nand, parser, op, check_only); op 467 drivers/mtd/nand/raw/tegra_nand.c const struct nand_operation *op, op 470 drivers/mtd/nand/raw/tegra_nand.c tegra_nand_select_target(chip, op->cs); op 471 drivers/mtd/nand/raw/tegra_nand.c return nand_op_parser_exec_op(chip, &tegra_nand_op_parser, op, op 502 drivers/mtd/nand/raw/vf610_nfc.c const struct nand_operation *op, op 505 drivers/mtd/nand/raw/vf610_nfc.c vf610_nfc_select_target(chip, op->cs); op 506 drivers/mtd/nand/raw/vf610_nfc.c return nand_op_parser_exec_op(chip, &vf610_nfc_op_parser, op, op 70 drivers/mtd/nand/raw/xway_nand.c static u8 xway_readb(struct mtd_info *mtd, int op) op 75 drivers/mtd/nand/raw/xway_nand.c return readb(data->nandaddr + op); op 78 drivers/mtd/nand/raw/xway_nand.c static void xway_writeb(struct mtd_info *mtd, int op, u8 value) op 83 drivers/mtd/nand/raw/xway_nand.c writeb(value, data->nandaddr + op); op 24 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_GET_FEATURE_OP(reg, op 28 drivers/mtd/nand/spi/core.c ret = spi_mem_exec_op(spinand->spimem, &op); op 38 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_SET_FEATURE_OP(reg, op 42 drivers/mtd/nand/spi/core.c return spi_mem_exec_op(spinand->spimem, &op); op 197 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_WR_EN_DIS_OP(true); op 199 drivers/mtd/nand/spi/core.c return spi_mem_exec_op(spinand->spimem, &op); op 207 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_PAGE_READ_OP(row); op 209 drivers/mtd/nand/spi/core.c return spi_mem_exec_op(spinand->spimem, &op); op 328 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_PROG_EXEC_OP(row); op 330 drivers/mtd/nand/spi/core.c return spi_mem_exec_op(spinand->spimem, &op); op 338 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_BLK_ERASE_OP(row); op 340 drivers/mtd/nand/spi/core.c return spi_mem_exec_op(spinand->spimem, &op); op 375 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_READID_OP(0, spinand->scratchbuf, op 379 drivers/mtd/nand/spi/core.c ret = spi_mem_exec_op(spinand->spimem, &op); op 388 drivers/mtd/nand/spi/core.c struct spi_mem_op op = SPINAND_RESET_OP; op 391 drivers/mtd/nand/spi/core.c ret = spi_mem_exec_op(spinand->spimem, &op); op 804 drivers/mtd/nand/spi/core.c struct spi_mem_op op = variants->ops[i]; op 812 drivers/mtd/nand/spi/core.c op.data.nbytes = nbytes; op 813 drivers/mtd/nand/spi/core.c ret = spi_mem_adjust_op_size(spinand->spimem, &op); op 817 drivers/mtd/nand/spi/core.c if (!spi_mem_supports_op(spinand->spimem, &op)) op 820 drivers/mtd/nand/spi/core.c nbytes -= op.data.nbytes; op 854 drivers/mtd/nand/spi/core.c const struct spi_mem_op *op; op 865 drivers/mtd/nand/spi/core.c op = spinand_select_op_variant(spinand, op 867 drivers/mtd/nand/spi/core.c if (!op) op 870 drivers/mtd/nand/spi/core.c spinand->op_templates.read_cache = op; op 872 drivers/mtd/nand/spi/core.c op = spinand_select_op_variant(spinand, op 874 drivers/mtd/nand/spi/core.c if (!op) op 877 drivers/mtd/nand/spi/core.c spinand->op_templates.write_cache = op; op 879 drivers/mtd/nand/spi/core.c op = spinand_select_op_variant(spinand, op 881 drivers/mtd/nand/spi/core.c spinand->op_templates.update_cache = op; op 139 drivers/mtd/nand/spi/gigadevice.c struct spi_mem_op op = SPINAND_GET_FEATURE_OP(GD5FXGQ4UEXXG_REG_STATUS2, op 152 drivers/mtd/nand/spi/gigadevice.c ret = spi_mem_exec_op(spinand->spimem, &op); op 54 drivers/mtd/nand/spi/macronix.c struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0x7c, 1), op 59 drivers/mtd/nand/spi/macronix.c int ret = spi_mem_exec_op(spinand->spimem, &op); op 63 drivers/mtd/nand/spi/toshiba.c struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf); op 79 drivers/mtd/nand/spi/toshiba.c if (spi_mem_exec_op(spinand->spimem, &op)) op 66 drivers/mtd/nand/spi/winbond.c struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(0xc2, 1), op 74 drivers/mtd/nand/spi/winbond.c return spi_mem_exec_op(spinand->spimem, &op); op 68 drivers/mtd/spi-nor/hisi-sfc.c #define OP_CTRL_RW_OP(op) ((op) << 1) op 153 drivers/mtd/spi-nor/mtk-quadspi.c static int mtk_nor_do_tx_rx(struct mtk_nor *mtk_nor, u8 op, op 168 drivers/mtd/spi-nor/mtk-quadspi.c writeb(op, mtk_nor->base + MTK_NOR_PRG_REG(idx)); op 40 drivers/mtd/spi-nor/nxp-spifi.c #define SPIFI_CMD_OPCODE(op) ((op) << 24) op 252 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op *op) op 259 drivers/mtd/spi-nor/spi-nor.c if (op->data.dir == SPI_MEM_DATA_IN) op 260 drivers/mtd/spi-nor/spi-nor.c buf = op->data.buf.in; op 262 drivers/mtd/spi-nor/spi-nor.c buf = op->data.buf.out; op 268 drivers/mtd/spi-nor/spi-nor.c if (op->data.nbytes > nor->bouncebuf_size) op 269 drivers/mtd/spi-nor/spi-nor.c op->data.nbytes = nor->bouncebuf_size; op 271 drivers/mtd/spi-nor/spi-nor.c if (op->data.dir == SPI_MEM_DATA_IN) { op 272 drivers/mtd/spi-nor/spi-nor.c rdbuf = op->data.buf.in; op 273 drivers/mtd/spi-nor/spi-nor.c op->data.buf.in = nor->bouncebuf; op 275 drivers/mtd/spi-nor/spi-nor.c op->data.buf.out = nor->bouncebuf; op 277 drivers/mtd/spi-nor/spi-nor.c op->data.nbytes); op 281 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_adjust_op_size(nor->spimem, op); op 285 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_exec_op(nor->spimem, op); op 289 drivers/mtd/spi-nor/spi-nor.c if (usebouncebuf && op->data.dir == SPI_MEM_DATA_IN) op 290 drivers/mtd/spi-nor/spi-nor.c memcpy(rdbuf, nor->bouncebuf, op->data.nbytes); op 292 drivers/mtd/spi-nor/spi-nor.c return op->data.nbytes; op 308 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 315 drivers/mtd/spi-nor/spi-nor.c op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); op 316 drivers/mtd/spi-nor/spi-nor.c op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->read_proto); op 317 drivers/mtd/spi-nor/spi-nor.c op.dummy.buswidth = op.addr.buswidth; op 318 drivers/mtd/spi-nor/spi-nor.c op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->read_proto); op 321 drivers/mtd/spi-nor/spi-nor.c op.dummy.nbytes = (nor->read_dummy * op.dummy.buswidth) / 8; op 323 drivers/mtd/spi-nor/spi-nor.c return spi_nor_spimem_xfer_data(nor, &op); op 357 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 363 drivers/mtd/spi-nor/spi-nor.c op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->write_proto); op 364 drivers/mtd/spi-nor/spi-nor.c op.addr.buswidth = spi_nor_get_protocol_addr_nbits(nor->write_proto); op 365 drivers/mtd/spi-nor/spi-nor.c op.data.buswidth = spi_nor_get_protocol_data_nbits(nor->write_proto); op 368 drivers/mtd/spi-nor/spi-nor.c op.addr.nbytes = 0; op 370 drivers/mtd/spi-nor/spi-nor.c return spi_nor_spimem_xfer_data(nor, &op); op 401 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 407 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_exec_op(nor->spimem, &op); op 430 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 436 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_exec_op(nor->spimem, &op); op 459 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 465 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_exec_op(nor->spimem, &op); op 486 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 492 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 505 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 511 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 523 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 529 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 622 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 631 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 654 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 660 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 671 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 677 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 706 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 712 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 734 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 740 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 768 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 774 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 865 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 871 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 942 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 948 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 1673 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 1679 drivers/mtd/spi-nor/spi-nor.c ret = spi_mem_exec_op(nor->spimem, &op); op 1867 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 1873 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 1882 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 1888 drivers/mtd/spi-nor/spi-nor.c return spi_mem_exec_op(nor->spimem, &op); op 2516 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = op 2522 drivers/mtd/spi-nor/spi-nor.c tmp = spi_mem_exec_op(nor->spimem, &op); op 2930 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op *op) op 2938 drivers/mtd/spi-nor/spi-nor.c op->addr.nbytes = 4; op 2939 drivers/mtd/spi-nor/spi-nor.c if (!spi_mem_supports_op(nor->spimem, op)) { op 2944 drivers/mtd/spi-nor/spi-nor.c op->addr.nbytes = 3; op 2945 drivers/mtd/spi-nor/spi-nor.c if (!spi_mem_supports_op(nor->spimem, op)) op 2963 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(read->opcode, 1), op 2968 drivers/mtd/spi-nor/spi-nor.c op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(read->proto); op 2969 drivers/mtd/spi-nor/spi-nor.c op.addr.buswidth = spi_nor_get_protocol_addr_nbits(read->proto); op 2970 drivers/mtd/spi-nor/spi-nor.c op.data.buswidth = spi_nor_get_protocol_data_nbits(read->proto); op 2971 drivers/mtd/spi-nor/spi-nor.c op.dummy.buswidth = op.addr.buswidth; op 2972 drivers/mtd/spi-nor/spi-nor.c op.dummy.nbytes = (read->num_mode_clocks + read->num_wait_states) * op 2973 drivers/mtd/spi-nor/spi-nor.c op.dummy.buswidth / 8; op 2975 drivers/mtd/spi-nor/spi-nor.c return spi_nor_spimem_check_op(nor, &op); op 2989 drivers/mtd/spi-nor/spi-nor.c struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(pp->opcode, 1), op 2994 drivers/mtd/spi-nor/spi-nor.c op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(pp->proto); op 2995 drivers/mtd/spi-nor/spi-nor.c op.addr.buswidth = spi_nor_get_protocol_addr_nbits(pp->proto); op 2996 drivers/mtd/spi-nor/spi-nor.c op.data.buswidth = spi_nor_get_protocol_data_nbits(pp->proto); op 2998 drivers/mtd/spi-nor/spi-nor.c return spi_nor_spimem_check_op(nor, &op); op 139 drivers/mtd/tests/stresstest.c int i, op; op 206 drivers/mtd/tests/stresstest.c for (op = 0; op < count; op++) { op 207 drivers/mtd/tests/stresstest.c if ((op & 1023) == 0) op 208 drivers/mtd/tests/stresstest.c pr_info("%d operations done\n", op); op 217 drivers/mtd/tests/stresstest.c pr_info("finished, %d operations done\n", op); op 229 drivers/net/dsa/b53/b53_common.c static int b53_do_vlan_op(struct b53_device *dev, u8 op) op 233 drivers/net/dsa/b53/b53_common.c b53_write8(dev, B53_ARLIO_PAGE, dev->vta_regs[0], VTA_START_CMD | op); op 1431 drivers/net/dsa/b53/b53_common.c static int b53_arl_rw_op(struct b53_device *dev, unsigned int op) op 1435 drivers/net/dsa/b53/b53_common.c if (op > ARLTBL_RW) op 1440 drivers/net/dsa/b53/b53_common.c if (op) op 1499 drivers/net/dsa/b53/b53_common.c static int b53_arl_op(struct b53_device *dev, int op, int port, op 1522 drivers/net/dsa/b53/b53_common.c if (op) op 41 drivers/net/dsa/b53/b53_mdio.c static int b53_mdio_op(struct b53_device *dev, u8 page, u8 reg, u16 op) op 59 drivers/net/dsa/b53/b53_mdio.c v = (reg << 8) | op; op 125 drivers/net/dsa/b53/b53_srab.c static int b53_srab_op(struct b53_device *dev, u8 page, u8 reg, u32 op) op 136 drivers/net/dsa/b53/b53_srab.c op; op 258 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_indir_rw(struct bcm_sf2_priv *priv, int op, int addr, op 277 drivers/net/dsa/bcm_sf2.c if (op) op 167 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_op(struct bcm_sf2_priv *priv, unsigned int op) op 174 drivers/net/dsa/bcm_sf2_cfp.c reg |= OP_STR_DONE | op; op 85 drivers/net/dsa/mv88e6xxx/global1_atu.c static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) op 110 drivers/net/dsa/mv88e6xxx/global1_atu.c op |= (fid & 0x30) << 4; op 114 drivers/net/dsa/mv88e6xxx/global1_atu.c op |= fid & 0xf; op 118 drivers/net/dsa/mv88e6xxx/global1_atu.c MV88E6XXX_G1_ATU_OP_BUSY | op); op 253 drivers/net/dsa/mv88e6xxx/global1_atu.c u16 op; op 266 drivers/net/dsa/mv88e6xxx/global1_atu.c op = MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB; op 268 drivers/net/dsa/mv88e6xxx/global1_atu.c op = MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB; op 270 drivers/net/dsa/mv88e6xxx/global1_atu.c op = MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL; op 272 drivers/net/dsa/mv88e6xxx/global1_atu.c op = MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC; op 274 drivers/net/dsa/mv88e6xxx/global1_atu.c return mv88e6xxx_g1_atu_op(chip, fid, op); op 76 drivers/net/dsa/mv88e6xxx/global1_vtu.c static int mv88e6xxx_g1_vtu_op(struct mv88e6xxx_chip *chip, u16 op) op 81 drivers/net/dsa/mv88e6xxx/global1_vtu.c MV88E6XXX_G1_VTU_OP_BUSY | op); op 429 drivers/net/dsa/mv88e6xxx/global1_vtu.c u16 op = MV88E6XXX_G1_VTU_OP_VTU_LOAD_PURGE; op 448 drivers/net/dsa/mv88e6xxx/global1_vtu.c op |= entry->fid & 0x000f; op 449 drivers/net/dsa/mv88e6xxx/global1_vtu.c op |= (entry->fid & 0x0030) << 4; op 452 drivers/net/dsa/mv88e6xxx/global1_vtu.c return mv88e6xxx_g1_vtu_op(chip, op); op 458 drivers/net/dsa/mv88e6xxx/global1_vtu.c u16 op = MV88E6XXX_G1_VTU_OP_VTU_LOAD_PURGE; op 477 drivers/net/dsa/mv88e6xxx/global1_vtu.c op |= entry->fid & 0x000f; op 478 drivers/net/dsa/mv88e6xxx/global1_vtu.c op |= (entry->fid & 0x00f0) << 4; op 481 drivers/net/dsa/mv88e6xxx/global1_vtu.c return mv88e6xxx_g1_vtu_op(chip, op); op 186 drivers/net/dsa/mv88e6xxx/global2.c static int mv88e6xxx_g2_irl_op(struct mv88e6xxx_chip *chip, u16 op, int port, op 192 drivers/net/dsa/mv88e6xxx/global2.c MV88E6XXX_G2_IRL_CMD_BUSY | op | (port << 8) | op 224 drivers/net/dsa/mv88e6xxx/global2.c int src_port, u16 op) op 231 drivers/net/dsa/mv88e6xxx/global2.c op |= MV88E6XXX_G2_PVT_ADDR_BUSY; op 232 drivers/net/dsa/mv88e6xxx/global2.c op |= (src_dev & 0x1f) << 4; op 233 drivers/net/dsa/mv88e6xxx/global2.c op |= (src_port & 0xf); op 235 drivers/net/dsa/mv88e6xxx/global2.c err = mv88e6xxx_g2_write(chip, MV88E6XXX_G2_PVT_ADDR, op); op 604 drivers/net/dsa/mv88e6xxx/global2.c bool external, bool c45, u16 op, int dev, op 607 drivers/net/dsa/mv88e6xxx/global2.c u16 cmd = op; op 627 drivers/net/dsa/mv88e6xxx/global2.c bool external, u16 op, int dev, op 630 drivers/net/dsa/mv88e6xxx/global2.c return mv88e6xxx_g2_smi_phy_access(chip, external, false, op, dev, reg); op 638 drivers/net/dsa/mv88e6xxx/global2.c u16 op = MV88E6XXX_G2_SMI_PHY_CMD_OP_22_READ_DATA; op 645 drivers/net/dsa/mv88e6xxx/global2.c err = mv88e6xxx_g2_smi_phy_access_c22(chip, external, op, dev, reg); op 657 drivers/net/dsa/mv88e6xxx/global2.c u16 op = MV88E6XXX_G2_SMI_PHY_CMD_OP_22_WRITE_DATA; op 668 drivers/net/dsa/mv88e6xxx/global2.c return mv88e6xxx_g2_smi_phy_access_c22(chip, external, op, dev, reg); op 672 drivers/net/dsa/mv88e6xxx/global2.c bool external, u16 op, int port, op 675 drivers/net/dsa/mv88e6xxx/global2.c return mv88e6xxx_g2_smi_phy_access(chip, external, true, op, port, dev); op 683 drivers/net/dsa/mv88e6xxx/global2.c u16 op = MV88E6XXX_G2_SMI_PHY_CMD_OP_45_WRITE_ADDR; op 694 drivers/net/dsa/mv88e6xxx/global2.c return mv88e6xxx_g2_smi_phy_access_c45(chip, external, op, port, dev); op 702 drivers/net/dsa/mv88e6xxx/global2.c u16 op = MV88E6XXX_G2_SMI_PHY_CMD_OP_45_READ_DATA; op 705 drivers/net/dsa/mv88e6xxx/global2.c err = mv88e6xxx_g2_smi_phy_access_c45(chip, external, op, port, dev); op 734 drivers/net/dsa/mv88e6xxx/global2.c u16 op = MV88E6XXX_G2_SMI_PHY_CMD_OP_45_WRITE_DATA; op 741 drivers/net/dsa/mv88e6xxx/global2.c return mv88e6xxx_g2_smi_phy_access_c45(chip, external, op, port, dev); op 205 drivers/net/dsa/sja1105/sja1105.h enum packing_op op); op 207 drivers/net/dsa/sja1105/sja1105.h enum packing_op op); op 209 drivers/net/dsa/sja1105/sja1105.h enum packing_op op); op 211 drivers/net/dsa/sja1105/sja1105.h enum packing_op op); op 213 drivers/net/dsa/sja1105/sja1105.h enum packing_op op); op 91 drivers/net/dsa/sja1105/sja1105_clocking.c enum packing_op op) op 95 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &idiv->clksrc, 28, 24, size, op); op 96 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &idiv->autoblock, 11, 11, size, op); op 97 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &idiv->idiv, 5, 2, size, op); op 98 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &idiv->pd, 0, 0, size, op); op 128 drivers/net/dsa/sja1105/sja1105_clocking.c enum packing_op op) op 132 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->clksrc, 28, 24, size, op); op 133 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->autoblock, 11, 11, size, op); op 134 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->pd, 0, 0, size, op); op 302 drivers/net/dsa/sja1105/sja1105_clocking.c enum packing_op op) op 306 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->pllclksrc, 28, 24, size, op); op 307 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->msel, 23, 16, size, op); op 308 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->autoblock, 11, 11, size, op); op 309 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->psel, 9, 8, size, op); op 310 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->direct, 7, 7, size, op); op 311 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->fbsel, 6, 6, size, op); op 312 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->bypass, 1, 1, size, op); op 313 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->pd, 0, 0, size, op); op 348 drivers/net/dsa/sja1105/sja1105_clocking.c enum packing_op op) op 352 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->d32_os, 28, 27, size, op); op 353 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->d32_ipud, 25, 24, size, op); op 354 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->d10_os, 20, 19, size, op); op 355 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->d10_ipud, 17, 16, size, op); op 356 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->ctrl_os, 12, 11, size, op); op 357 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->ctrl_ipud, 9, 8, size, op); op 358 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->clk_os, 4, 3, size, op); op 359 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->clk_ih, 2, 2, size, op); op 360 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->clk_ipud, 1, 0, size, op); op 393 drivers/net/dsa/sja1105/sja1105_clocking.c enum packing_op op) op 397 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->rxc_stable_ovr, 15, 15, size, op); op 398 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->rxc_delay, 14, 10, size, op); op 399 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->rxc_bypass, 9, 9, size, op); op 400 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->rxc_pd, 8, 8, size, op); op 401 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->txc_stable_ovr, 7, 7, size, op); op 402 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->txc_delay, 6, 2, size, op); op 403 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->txc_bypass, 1, 1, size, op); op 404 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->txc_pd, 0, 0, size, op); op 148 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 154 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valid, 31, 31, size, op); op 155 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); op 156 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->errors, 29, 29, size, op); op 157 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valident, 27, 27, size, op); op 192 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &hostcmd, 25, 23, size, op); op 203 drivers/net/dsa/sja1105/sja1105_dynamic_config.c SJA1105PQRS_SIZE_L2_LOOKUP_ENTRY, op); op 253 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 259 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(cmd, &entry->lockeds, 28, 28, size, op); op 261 drivers/net/dsa/sja1105/sja1105_dynamic_config.c return sja1105pqrs_l2_lookup_entry_packing(buf, entry_ptr, op); op 266 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 271 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valid, 31, 31, size, op); op 272 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); op 273 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->errors, 29, 29, size, op); op 274 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valident, 27, 27, size, op); op 277 drivers/net/dsa/sja1105/sja1105_dynamic_config.c SJA1105ET_SIZE_L2_LOOKUP_ENTRY, op); op 281 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 287 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(cmd, &entry->lockeds, 28, 28, size, op); op 289 drivers/net/dsa/sja1105/sja1105_dynamic_config.c return sja1105et_l2_lookup_entry_packing(buf, entry_ptr, op); op 294 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 299 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105et_l2_lookup_cmd_packing(buf, cmd, op); op 300 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (op == PACK) op 305 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 316 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->tsreg, 85, 85, size, op); op 317 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->takets, 84, 84, size, op); op 318 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->macaddr, 83, 36, size, op); op 319 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->destports, 35, 31, size, op); op 320 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->enfport, 30, 30, size, op); op 326 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 331 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105pqrs_l2_lookup_cmd_packing(buf, cmd, op); op 332 drivers/net/dsa/sja1105/sja1105_dynamic_config.c if (op == PACK) op 337 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 346 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->tsreg, 71, 71, size, op); op 347 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->takets, 70, 70, size, op); op 348 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->macaddr, 69, 22, size, op); op 349 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->destports, 21, 17, size, op); op 350 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->enfport, 16, 16, size, op); op 360 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 365 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valid, 31, 31, size, op); op 366 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->rdwrset, 30, 30, size, op); op 367 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valident, 27, 27, size, op); op 372 drivers/net/dsa/sja1105/sja1105_dynamic_config.c SJA1105_SIZE_VLAN_LOOKUP_ENTRY, op); op 377 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 382 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valid, 31, 31, size, op); op 383 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->errors, 30, 30, size, op); op 384 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); op 385 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->index, 4, 0, size, op); op 390 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 396 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &cmd->valid, 31, 31, size, op); op 397 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &cmd->index, 26, 24, size, op); op 401 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 409 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->speed, 30, 29, size, op); op 410 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->drpdtag, 23, 23, size, op); op 411 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->drpuntag, 22, 22, size, op); op 412 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->retag, 21, 21, size, op); op 413 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->dyn_learn, 20, 20, size, op); op 414 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->egress, 19, 19, size, op); op 415 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->ingress, 18, 18, size, op); op 416 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->ing_mirr, 17, 17, size, op); op 417 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->egr_mirr, 16, 16, size, op); op 418 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->vlanprio, 14, 12, size, op); op 419 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg1, &entry->vlanid, 11, 0, size, op); op 420 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg2, &entry->tp_delin, 31, 16, size, op); op 421 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(reg2, &entry->tp_delout, 15, 0, size, op); op 431 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 436 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->valid, 31, 31, size, op); op 437 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->errors, 30, 30, size, op); op 438 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->rdwrset, 29, 29, size, op); op 439 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(p, &cmd->index, 2, 0, size, op); op 444 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 447 drivers/net/dsa/sja1105/sja1105_dynamic_config.c SJA1105ET_SIZE_L2_LOOKUP_PARAMS_DYN_CMD, op); op 452 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 457 drivers/net/dsa/sja1105/sja1105_dynamic_config.c SJA1105ET_SIZE_L2_LOOKUP_PARAMS_DYN_CMD, op); op 464 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 468 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &cmd->valid, 31, 31, size, op); op 469 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &cmd->errors, 30, 30, size, op); op 474 drivers/net/dsa/sja1105/sja1105_dynamic_config.c enum packing_op op) op 479 drivers/net/dsa/sja1105/sja1105_dynamic_config.c sja1105_packing(buf, &entry->mirr_port, 2, 0, size, op); op 19 drivers/net/dsa/sja1105/sja1105_dynamic_config.h size_t (*entry_packing)(void *buf, void *entry_ptr, enum packing_op op); op 21 drivers/net/dsa/sja1105/sja1105_dynamic_config.h enum packing_op op); op 57 drivers/net/dsa/sja1105/sja1105_static_config.c size_t len, enum packing_op op) op 59 drivers/net/dsa/sja1105/sja1105_static_config.c int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST); op 95 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 100 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); op 101 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); op 106 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 111 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); op 112 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); op 117 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 122 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vllupformat, 319, 319, size, op); op 123 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirr_ptacu, 318, 318, size, op); op 124 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->switchid, 317, 315, size, op); op 125 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->hostprio, 314, 312, size, op); op 126 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_fltres1, 311, 264, size, op); op 127 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_fltres0, 263, 216, size, op); op 128 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_flt1, 215, 168, size, op); op 129 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_flt0, 167, 120, size, op); op 130 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->incl_srcpt1, 119, 119, size, op); op 131 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->incl_srcpt0, 118, 118, size, op); op 132 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->send_meta1, 117, 117, size, op); op 133 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->send_meta0, 116, 116, size, op); op 134 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->casc_port, 115, 113, size, op); op 135 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->host_port, 112, 110, size, op); op 136 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirr_port, 109, 107, size, op); op 137 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlmarker, 106, 75, size, op); op 138 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlmask, 74, 43, size, op); op 139 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tpid, 42, 27, size, op); op 140 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ignore2stf, 26, 26, size, op); op 141 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tpid2, 25, 10, size, op); op 150 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 155 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vllupformat, 351, 351, size, op); op 156 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirr_ptacu, 350, 350, size, op); op 157 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->switchid, 349, 347, size, op); op 158 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->hostprio, 346, 344, size, op); op 159 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_fltres1, 343, 296, size, op); op 160 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_fltres0, 295, 248, size, op); op 161 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_flt1, 247, 200, size, op); op 162 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mac_flt0, 199, 152, size, op); op 163 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->incl_srcpt1, 151, 151, size, op); op 164 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->incl_srcpt0, 150, 150, size, op); op 165 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->send_meta1, 149, 149, size, op); op 166 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->send_meta0, 148, 148, size, op); op 167 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->casc_port, 147, 145, size, op); op 168 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->host_port, 144, 142, size, op); op 169 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirr_port, 141, 139, size, op); op 170 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlmarker, 138, 107, size, op); op 171 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlmask, 106, 75, size, op); op 172 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tpid2, 74, 59, size, op); op 173 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ignore2stf, 58, 58, size, op); op 174 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tpid, 57, 42, size, op); op 175 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->queue_ts, 41, 41, size, op); op 176 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egrmirrvid, 40, 29, size, op); op 177 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egrmirrpcp, 28, 26, size, op); op 178 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egrmirrdei, 25, 25, size, op); op 179 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->replay_port, 24, 22, size, op); op 185 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 191 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->max_dynp, 95, 93, size, op); op 194 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 9, offset + 0, size, op); op 199 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 205 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->bc_domain, 63, 59, size, op); op 206 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->reach_port, 58, 54, size, op); op 207 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->fl_domain, 53, 49, size, op); op 210 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 2, offset + 0, size, op); op 216 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 221 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->maxage, 31, 17, size, op); op 222 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->dyn_tbsz, 16, 14, size, op); op 223 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->poly, 13, 6, size, op); op 224 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->shared_learn, 5, 5, size, op); op 225 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->no_enf_hostprt, 4, 4, size, op); op 226 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->no_mgmt_learn, 3, 3, size, op); op 232 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 240 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 10, offset + 0, size, op); op 241 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->maxage, 57, 43, size, op); op 242 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->start_dynspc, 42, 33, size, op); op 243 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpnolearn, 32, 28, size, op); op 244 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->shared_learn, 27, 27, size, op); op 245 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->no_enf_hostprt, 26, 26, size, op); op 246 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->no_mgmt_learn, 25, 25, size, op); op 247 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->use_static, 24, 24, size, op); op 248 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->owr_dyn, 23, 23, size, op); op 249 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->learn_once, 22, 22, size, op); op 254 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 259 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanid, 95, 84, size, op); op 260 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->macaddr, 83, 36, size, op); op 261 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->destports, 35, 31, size, op); op 262 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->enfport, 30, 30, size, op); op 263 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->index, 29, 20, size, op); op 268 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 274 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tsreg, 159, 159, size, op); op 275 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirrvlan, 158, 147, size, op); op 276 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->takets, 146, 146, size, op); op 277 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mirr, 145, 145, size, op); op 278 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->retag, 144, 144, size, op); op 280 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->touched, 159, 159, size, op); op 281 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->age, 158, 144, size, op); op 283 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mask_iotag, 143, 143, size, op); op 284 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mask_vlanid, 142, 131, size, op); op 285 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->mask_macaddr, 130, 83, size, op); op 286 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->iotag, 82, 82, size, op); op 287 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanid, 81, 70, size, op); op 288 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->macaddr, 69, 22, size, op); op 289 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->destports, 21, 17, size, op); op 290 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->enfport, 16, 16, size, op); op 291 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->index, 15, 6, size, op); op 296 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 301 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->sharindx, 63, 58, size, op); op 302 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->smax, 57, 42, size, op); op 303 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->rate, 41, 26, size, op); op 304 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->maxlen, 25, 15, size, op); op 305 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->partition, 14, 12, size, op); op 310 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 318 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 0, offset + 0, size, op); op 320 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 9, offset + 1, size, op); op 322 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 18, offset + 10, size, op); op 324 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ifg, 71, 67, size, op); op 325 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->speed, 66, 65, size, op); op 326 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tp_delin, 64, 49, size, op); op 327 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tp_delout, 48, 33, size, op); op 328 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->maxage, 32, 25, size, op); op 329 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanprio, 24, 22, size, op); op 330 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanid, 21, 10, size, op); op 331 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ing_mirr, 9, 9, size, op); op 332 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egr_mirr, 8, 8, size, op); op 333 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpnona664, 7, 7, size, op); op 334 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpdtag, 6, 6, size, op); op 335 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpuntag, 5, 5, size, op); op 336 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->retag, 4, 4, size, op); op 337 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->dyn_learn, 3, 3, size, op); op 338 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egress, 2, 2, size, op); op 339 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ingress, 1, 1, size, op); op 344 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 352 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 0, offset + 0, size, op); op 354 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 9, offset + 1, size, op); op 356 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 18, offset + 10, size, op); op 358 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ifg, 103, 99, size, op); op 359 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->speed, 98, 97, size, op); op 360 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tp_delin, 96, 81, size, op); op 361 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tp_delout, 80, 65, size, op); op 362 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->maxage, 64, 57, size, op); op 363 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanprio, 56, 54, size, op); op 364 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanid, 53, 42, size, op); op 365 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ing_mirr, 41, 41, size, op); op 366 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egr_mirr, 40, 40, size, op); op 367 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpnona664, 39, 39, size, op); op 368 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpdtag, 38, 38, size, op); op 369 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->drpuntag, 35, 35, size, op); op 370 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->retag, 34, 34, size, op); op 371 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->dyn_learn, 33, 33, size, op); op 372 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->egress, 32, 32, size, op); op 373 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ingress, 31, 31, size, op); op 379 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 384 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->clksrc, 31, 30, size, op); op 385 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->actsubsch, 29, 27, size, op); op 391 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 396 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->subschindx, 31, 29, size, op); op 397 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->delta, 28, 11, size, op); op 398 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->address, 10, 1, size, op); op 403 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 411 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 9, offset + 0, size, op); op 416 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 421 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->winstindex, 63, 54, size, op); op 422 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->winend, 53, 53, size, op); op 423 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->winst, 52, 52, size, op); op 424 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->destports, 51, 47, size, op); op 425 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->setvalid, 46, 46, size, op); op 426 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->txen, 45, 45, size, op); op 427 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->resmedia_en, 44, 44, size, op); op 428 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->resmedia, 43, 36, size, op); op 429 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlindex, 35, 26, size, op); op 430 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->delta, 25, 8, size, op); op 435 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 440 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->ving_mirr, 63, 59, size, op); op 441 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vegr_mirr, 58, 54, size, op); op 442 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vmemb_port, 53, 49, size, op); op 443 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlan_bc, 48, 44, size, op); op 444 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->tag_port, 43, 39, size, op); op 445 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->vlanid, 38, 27, size, op); op 450 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 458 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 1, offset + 0, size, op); op 460 drivers/net/dsa/sja1105/sja1105_static_config.c offset + 2, offset + 2, size, op); op 466 drivers/net/dsa/sja1105/sja1105_static_config.c enum packing_op op) op 471 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->block_id, 31, 24, size, op); op 472 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->len, 55, 32, size, op); op 473 drivers/net/dsa/sja1105/sja1105_static_config.c sja1105_packing(buf, &entry->crc, 95, 64, size, op); op 271 drivers/net/dsa/sja1105/sja1105_static_config.h size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op); op 295 drivers/net/dsa/sja1105/sja1105_static_config.h size_t sja1105_table_header_packing(void *buf, void *hdr, enum packing_op op); op 334 drivers/net/dsa/sja1105/sja1105_static_config.h size_t len, enum packing_op op); op 267 drivers/net/ethernet/amd/sunlance.c struct platform_device *op; op 1263 drivers/net/ethernet/amd/sunlance.c of_iounmap(&lp->op->resource[0], lp->lregs, LANCE_REG_SIZE); op 1274 drivers/net/ethernet/amd/sunlance.c dma_free_coherent(&lp->op->dev, op 1303 drivers/net/ethernet/amd/sunlance.c static int sparc_lance_probe_one(struct platform_device *op, op 1307 drivers/net/ethernet/amd/sunlance.c struct device_node *dp = op->dev.of_node; op 1332 drivers/net/ethernet/amd/sunlance.c lp->lregs = of_ioremap(&op->resource[0], 0, op 1351 drivers/net/ethernet/amd/sunlance.c lp->op = op; op 1373 drivers/net/ethernet/amd/sunlance.c dma_alloc_coherent(&op->dev, op 1454 drivers/net/ethernet/amd/sunlance.c SET_NETDEV_DEV(dev, &op->dev); op 1459 drivers/net/ethernet/amd/sunlance.c dev->irq = op->archdata.irqs[0]; op 1473 drivers/net/ethernet/amd/sunlance.c platform_set_drvdata(op, lp); op 1486 drivers/net/ethernet/amd/sunlance.c static int sunlance_sbus_probe(struct platform_device *op) op 1488 drivers/net/ethernet/amd/sunlance.c struct platform_device *parent = to_platform_device(op->dev.parent); op 1493 drivers/net/ethernet/amd/sunlance.c err = sparc_lance_probe_one(op, parent, NULL); op 1495 drivers/net/ethernet/amd/sunlance.c err = sparc_lance_probe_one(op, NULL, parent); op 1497 drivers/net/ethernet/amd/sunlance.c err = sparc_lance_probe_one(op, NULL, NULL); op 1502 drivers/net/ethernet/amd/sunlance.c static int sunlance_sbus_remove(struct platform_device *op) op 1504 drivers/net/ethernet/amd/sunlance.c struct lance_private *lp = platform_get_drvdata(op); op 227 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c if (state->op->cmd == XGBE_I2C_CMD_READ) op 252 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c if (state->op->cmd != XGBE_I2C_CMD_READ) op 295 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->tx_abort_source, state->op->target); op 377 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c static int xgbe_i2c_xfer(struct xgbe_prv_data *pdata, struct xgbe_i2c_op *op) op 392 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c xgbe_i2c_set_target(pdata, op->target); op 395 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->op = op; op 396 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->tx_len = op->len; op 397 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->tx_buf = op->buf; op 398 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->rx_len = op->len; op 399 drivers/net/ethernet/amd/xgbe/xgbe-i2c.c state->rx_buf = op->buf; op 645 drivers/net/ethernet/amd/xgbe/xgbe.h struct xgbe_i2c_op *op; op 203 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u16 index, u8 op, u8 update); op 639 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u8 segment, u16 index, u8 op, op 648 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h (op << IGU_REGULAR_ENABLE_INT_SHIFT)); op 659 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u8 storm, u16 index, u8 op, u8 update) op 670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h (op << IGU_ACK_REGISTER_INTERRUPT_MODE_SHIFT)); op 679 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h u16 index, u8 op, u8 update) op 682 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_hc_ack_sb(bp, igu_sb_id, storm, index, op, update); op 694 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h bnx2x_igu_ack_sb(bp, igu_sb_id, segment, index, op, update); op 49 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 55 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 61 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 67 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 79 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 85 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init.h u32 op:8; op 237 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h const union init_op *op; op 249 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op = (const union init_op *)&(INIT_OPS(bp)[op_idx]); op 251 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op_type = op->raw.op; op 252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h addr = op->raw.offset; op 257 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h len = op->arr_wr.data_len; op 258 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h data = data_base + op->arr_wr.data_off; op 265 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h REG_WR(bp, addr, op->write.val); op 274 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h bnx2x_init_fill(bp, addr, 0, op->zero.len, 0); op 277 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h bnx2x_init_fill(bp, addr, 0, op->zero.len, 1); op 281 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op->arr_wr.data_off); op 291 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op->if_mode.mode_bit_map) != op 292 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op->if_mode.mode_bit_map) op 293 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op_idx += op->if_mode.cmd_offset; op 300 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op->if_mode.mode_bit_map) == 0) op 301 drivers/net/ethernet/broadcom/bnx2x/bnx2x_init_ops.h op_idx += op->if_mode.cmd_offset; op 5221 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u16 index, u8 op, u8 update) op 5225 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bnx2x_igu_ack_sb_gen(bp, igu_sb_id, segment, index, op, update, op 13484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c target[i].op = (tmp >> 24) & 0xff; op 79 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c u8 igu_sb_id, u8 segment, u16 index, u8 op, op 94 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c (op << IGU_REGULAR_ENABLE_INT_SHIFT)); op 6502 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 op; op 3052 drivers/net/ethernet/broadcom/cnic.c u16 index, u8 op, u8 update) op 3064 drivers/net/ethernet/broadcom/cnic.c (op << IGU_ACK_REGISTER_INTERRUPT_MODE_SHIFT)); op 3070 drivers/net/ethernet/broadcom/cnic.c u16 index, u8 op, u8 update) op 3079 drivers/net/ethernet/broadcom/cnic.c (op << IGU_REGULAR_ENABLE_INT_SHIFT); op 91 drivers/net/ethernet/broadcom/cnic_if.h #define KCQE_OPCODE(op) \ op 92 drivers/net/ethernet/broadcom/cnic_if.h (((op) & KCQE_FLAGS_OPCODE_MASK) >> KCQE_FLAGS_OPCODE_SHIFT) op 110 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_fsm_state_decl(bfa_ioc, op, struct bfa_ioc, enum ioc_event); op 1498 drivers/net/ethernet/brocade/bna/bfa_ioc.c u8 rd_cnt, u8 ad_cnt, u8 op) op 1507 drivers/net/ethernet/brocade/bna/bfa_ioc.c cmd.r.cmd = op; op 761 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c octnet_mdio45_access(struct lio *lio, int op, int loc, int *value) op 780 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c mdio_cmd->op = op; op 782 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (op) op 820 drivers/net/ethernet/cavium/liquidio/lio_ethtool.c if (!op) op 69 drivers/net/ethernet/cavium/liquidio/liquidio_common.h #define OPCODE_SUBCODE(op, sub) ((((op) & 0x0f) << 8) | ((sub) & 0x7f)) op 936 drivers/net/ethernet/cavium/liquidio/liquidio_common.h u64 op; op 94 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c u8 *hostbuf, u32 len, u32 op) op 111 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c if (op) op 139 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c if (op) { /* read from core */ op 754 drivers/net/ethernet/chelsio/cxgb3/common.h int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, op 150 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ctl_defs.h unsigned int op; op 304 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c ret = t3_sge_cqcntxt_op(adapter, rdma->id, rdma->op, op 2492 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, op 2501 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c t3_write_reg(adapter, A_SG_CONTEXT_CMD, V_CONTEXT_CMD_OPCODE(op) | op 2507 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c if (op >= 2 && op < 7) { op 1645 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op); op 43 drivers/net/ethernet/chelsio/cxgb4/sched.c enum sched_fw_ops op) op 51 drivers/net/ethernet/chelsio/cxgb4/sched.c switch (op) { op 1365 drivers/net/ethernet/chelsio/cxgb4/sge.c u32 wr_mid, ctrl0, op; op 1561 drivers/net/ethernet/chelsio/cxgb4/sge.c op = FW_PTP_TX_PKT_WR; op 1563 drivers/net/ethernet/chelsio/cxgb4/sge.c op = FW_ETH_TX_PKT_WR; op 1564 drivers/net/ethernet/chelsio/cxgb4/sge.c wr->op_immdlen = htonl(FW_WR_OP_V(op) | op 3878 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op) op 3892 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c c.param[0].val = cpu_to_be32(op); op 4675 drivers/net/ethernet/emulex/benet/be_cmds.c int be_cmd_manage_iface(struct be_adapter *adapter, u32 iface, u8 op) op 4696 drivers/net/ethernet/emulex/benet/be_cmds.c req->op = op; op 2369 drivers/net/ethernet/emulex/benet/be_cmds.h u8 op; op 2507 drivers/net/ethernet/emulex/benet/be_cmds.h int be_cmd_manage_iface(struct be_adapter *adapter, u32 iface, u8 op); op 817 drivers/net/ethernet/freescale/fec_mpc52xx.c static int mpc52xx_fec_probe(struct platform_device *op) op 825 drivers/net/ethernet/freescale/fec_mpc52xx.c struct device_node *np = op->dev.of_node; op 864 drivers/net/ethernet/freescale/fec_mpc52xx.c SET_NETDEV_DEV(ndev, &op->dev); op 963 drivers/net/ethernet/freescale/fec_mpc52xx.c platform_set_drvdata(op, ndev); op 965 drivers/net/ethernet/freescale/fec_mpc52xx.c op->dev.of_node, ndev->dev_addr); op 987 drivers/net/ethernet/freescale/fec_mpc52xx.c mpc52xx_fec_remove(struct platform_device *op) op 992 drivers/net/ethernet/freescale/fec_mpc52xx.c ndev = platform_get_drvdata(op); op 1015 drivers/net/ethernet/freescale/fec_mpc52xx.c static int mpc52xx_fec_of_suspend(struct platform_device *op, pm_message_t state) op 1017 drivers/net/ethernet/freescale/fec_mpc52xx.c struct net_device *dev = platform_get_drvdata(op); op 1025 drivers/net/ethernet/freescale/fec_mpc52xx.c static int mpc52xx_fec_of_resume(struct platform_device *op) op 1027 drivers/net/ethernet/freescale/fec_mpc52xx.c struct net_device *dev = platform_get_drvdata(op); op 79 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op) op 83 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c return cpm_command(fpi->cp_command, op); op 84 drivers/net/ethernet/freescale/fs_enet/mac-scc.c static inline int scc_cr_cmd(struct fs_enet_private *fep, u32 op) op 88 drivers/net/ethernet/freescale/fs_enet/mac-scc.c return cpm_command(fpi->cp_command, op); op 4499 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c enum hclge_opcode_type op; op 4503 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c op = en ? HCLGE_OPC_ADD_RING_TO_VECTOR : HCLGE_OPC_DEL_RING_TO_VECTOR; op 4504 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_cmd_setup_basic_desc(&desc, op, false); op 4535 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c op, op 6737 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c enum hclge_mac_vlan_tbl_opcode op) op 6748 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (op == HCLGE_MAC_VLAN_ADD) { op 6765 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c } else if (op == HCLGE_MAC_VLAN_REMOVE) { op 6778 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c } else if (op == HCLGE_MAC_VLAN_LKUP) { op 6794 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c "unknown opcode for get_mac_vlan_cmd_status, opcode=%d.\n", op); op 193 drivers/net/ethernet/hisilicon/hns_mdio.c u8 is_c45, u8 op, u8 phy_id, u16 cmd) op 199 drivers/net/ethernet/hisilicon/hns_mdio.c cmd_reg_value |= op << MDIO_CMD_OP_S; op 225 drivers/net/ethernet/hisilicon/hns_mdio.c u8 op; op 242 drivers/net/ethernet/hisilicon/hns_mdio.c op = MDIO_C22_WRITE; op 260 drivers/net/ethernet/hisilicon/hns_mdio.c op = MDIO_C45_WRITE_DATA; op 266 drivers/net/ethernet/hisilicon/hns_mdio.c hns_mdio_cmd_write(mdio_dev, is_c45, op, phy_id, cmd_reg_cfg); op 38 drivers/net/ethernet/huawei/hinic/hinic_port.c u16 vlan_id, enum mac_op op) op 54 drivers/net/ethernet/huawei/hinic/hinic_port.c if (op == MAC_SET) op 463 drivers/net/ethernet/ibm/ibmvnic.h u8 op; op 5808 drivers/net/ethernet/intel/i40e/i40e_common.c pinfo->op = I40E_DDP_ADD_TRACKID; op 140 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo->op = I40E_DDP_ADD_TRACKID; op 180 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo->op = I40E_DDP_REMOVE_TRACKID; op 309 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo.op = I40E_DDP_ADD_TRACKID; op 311 drivers/net/ethernet/intel/i40e/i40e_ddp.c pinfo.op = I40E_DDP_REMOVE_TRACKID; op 1603 drivers/net/ethernet/intel/i40e/i40e_type.h u8 op; op 22 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c enum virtchnl_ops op, u8 *msg, u16 len) op 30 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c err = iavf_aq_send_msg_to_pf(hw, op, 0, msg, len, NULL); op 33 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c op, iavf_stat_str(hw, err), op 71 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c enum virtchnl_ops op; op 88 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c op = op 90 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c if (op == VIRTCHNL_OP_VERSION) op 99 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c if (op != VIRTCHNL_OP_VERSION) { op 101 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c op); op 193 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c enum virtchnl_ops op; op 213 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c op = op 215 drivers/net/ethernet/intel/iavf/iavf_virtchnl.c if (op == VIRTCHNL_OP_GET_VF_RESOURCES) op 304 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int op) op 321 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c mvpp2_prs_sram_bits_set(pe, MVPP2_PRS_SRAM_OP_SEL_SHIFT_OFFS, op); op 332 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c unsigned int op) op 357 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c op & MVPP2_PRS_SRAM_OP_SEL_UDF_MASK); op 369 drivers/net/ethernet/marvell/octeontx2/af/mbox.h u8 op; op 468 drivers/net/ethernet/marvell/octeontx2/af/mbox.h u8 op; op 251 drivers/net/ethernet/marvell/octeontx2/af/npc.h u64 op :4; op 253 drivers/net/ethernet/marvell/octeontx2/af/npc.h u64 op :4; op 527 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c ((req->op == NIX_AQ_INSTOP_INIT && req->sq.ena) || op 528 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c (req->op == NIX_AQ_INSTOP_WRITE && op 539 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c inst.op = req->op; op 552 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c switch (req->op) { op 602 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (req->op == NIX_AQ_INSTOP_INIT) { op 611 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (req->op == NIX_AQ_INSTOP_WRITE) { op 643 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c if (req->op == NIX_AQ_INSTOP_READ) { op 700 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.op = NIX_AQ_INSTOP_WRITE; op 1622 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c static int nix_setup_mce(struct rvu *rvu, int mce, u8 op, op 1630 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.op = op; op 1634 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c aq_req.mce.op = 0; op 91 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c inst.op = req->op; op 104 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c switch (req->op) { op 155 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c if (req->op == NPA_AQ_INSTOP_INIT && req->aura.ena) op 157 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c if (req->op == NPA_AQ_INSTOP_WRITE) { op 170 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c if (req->op == NPA_AQ_INSTOP_INIT && req->pool.ena) op 172 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c if (req->op == NPA_AQ_INSTOP_WRITE) { op 186 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c if (req->op == NPA_AQ_INSTOP_READ) { op 226 drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c aq_req.op = NPA_AQ_INSTOP_WRITE; op 348 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.op = NIX_RX_ACTIONOP_UCAST; op 406 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (action.op != NIX_RX_ACTIONOP_RSS) { op 408 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.op = NIX_RX_ACTIONOP_UCAST; op 500 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.op = NIX_RX_ACTIONOP_MCAST; op 504 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.op = NIX_RX_ACTIONOP_UCAST; op 547 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c action.op = NIX_RX_ACTIONOP_RSS; op 603 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c if (action.op != NIX_RX_ACTIONOP_MCAST) op 109 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 111 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 129 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 131 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 398 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 400 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 418 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 420 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 op : 4; op 835 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h uint64_t op : 2; op 837 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h uint64_t op : 2; op 1176 drivers/net/ethernet/marvell/sky2.c static void sky2_rx_add(struct sky2_port *sky2, u8 op, op 1190 drivers/net/ethernet/marvell/sky2.c le->opcode = op | HW_OWNER; op 189 drivers/net/ethernet/mellanox/mlx4/cmd.c static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op, op 192 drivers/net/ethernet/mellanox/mlx4/cmd.c switch (op) { op 218 drivers/net/ethernet/mellanox/mlx4/cmd.c static int mlx4_closing_cmd_fatal_error(u16 op, u8 fw_status) op 221 drivers/net/ethernet/mellanox/mlx4/cmd.c if (op == MLX4_CMD_CLOSE_HCA || op 222 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_HW2SW_EQ || op 223 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_HW2SW_CQ || op 224 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_2RST_QP || op 225 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_HW2SW_SRQ || op 226 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_SYNC_TPT || op 227 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_UNMAP_ICM || op 228 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_UNMAP_ICM_AUX || op 229 drivers/net/ethernet/mellanox/mlx4/cmd.c op == MLX4_CMD_UNMAP_FA) op 236 drivers/net/ethernet/mellanox/mlx4/cmd.c if (op == MLX4_CMD_HW2SW_MPT && fw_status != CMD_STAT_REG_BOUND) op 241 drivers/net/ethernet/mellanox/mlx4/cmd.c static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier, op 249 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_internal_err_ret_value(dev, op, op_modifier); op 339 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 param, u16 op, unsigned long timeout) op 368 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr_cmd, op); op 376 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_closing_cmd_fatal_error(op, context->fw_status)) op 408 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 op, unsigned long timeout) op 414 drivers/net/ethernet/mellanox/mlx4/cmd.c return mlx4_comm_cmd_wait(dev, cmd, param, op, timeout); op 433 drivers/net/ethernet/mellanox/mlx4/cmd.c u32 in_modifier, u8 op_modifier, u16 op, u16 token, op 496 drivers/net/ethernet/mellanox/mlx4/cmd.c op), hcr + 6); op 505 drivers/net/ethernet/mellanox/mlx4/cmd.c op, ret, in_param, in_modifier, op_modifier); op 513 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 op, unsigned long timeout) op 524 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff)); op 538 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 546 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_internal_err_ret_value(dev, op, op_modifier); op 548 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_comm_cmd(dev, MLX4_COMM_CMD_VHCR_POST, 0, op, op 557 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 565 drivers/net/ethernet/mellanox/mlx4/cmd.c ret = mlx4_internal_err_ret_value(dev, op, op 568 drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_err(dev, "failed execution of VHCR_POST command opcode 0x%x\n", op); op 578 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 op, unsigned long timeout) op 593 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_internal_err_ret_value(dev, op, op_modifier); op 599 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 605 drivers/net/ethernet/mellanox/mlx4/cmd.c in_modifier, op_modifier, op, CMD_POLL_TOKEN, 0); op 621 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_internal_err_ret_value(dev, op, op_modifier); op 630 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 646 drivers/net/ethernet/mellanox/mlx4/cmd.c op, stat); op 647 drivers/net/ethernet/mellanox/mlx4/cmd.c if (mlx4_closing_cmd_fatal_error(op, stat)) op 654 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_cmd_reset_flow(dev, op, op_modifier, err); op 679 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 op, unsigned long timeout) op 697 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 705 drivers/net/ethernet/mellanox/mlx4/cmd.c in_modifier, op_modifier, op, context->token, 1); op 709 drivers/net/ethernet/mellanox/mlx4/cmd.c if (op == MLX4_CMD_SENSE_PORT) { op 724 drivers/net/ethernet/mellanox/mlx4/cmd.c op); op 725 drivers/net/ethernet/mellanox/mlx4/cmd.c if (op == MLX4_CMD_NOP) { op 741 drivers/net/ethernet/mellanox/mlx4/cmd.c if (op == MLX4_CMD_SET_PORT && op 746 drivers/net/ethernet/mellanox/mlx4/cmd.c op, context->fw_status); op 749 drivers/net/ethernet/mellanox/mlx4/cmd.c op, context->fw_status); op 751 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_internal_err_ret_value(dev, op, op_modifier); op 752 drivers/net/ethernet/mellanox/mlx4/cmd.c else if (mlx4_closing_cmd_fatal_error(op, context->fw_status)) op 763 drivers/net/ethernet/mellanox/mlx4/cmd.c err = mlx4_cmd_reset_flow(dev, op, op_modifier, err); op 776 drivers/net/ethernet/mellanox/mlx4/cmd.c u16 op, unsigned long timeout, int native) op 779 drivers/net/ethernet/mellanox/mlx4/cmd.c return mlx4_cmd_reset_flow(dev, op, op_modifier, -EIO); op 785 drivers/net/ethernet/mellanox/mlx4/cmd.c return mlx4_internal_err_ret_value(dev, op, op 791 drivers/net/ethernet/mellanox/mlx4/cmd.c op_modifier, op, timeout); op 795 drivers/net/ethernet/mellanox/mlx4/cmd.c op_modifier, op, timeout); op 801 drivers/net/ethernet/mellanox/mlx4/cmd.c in_modifier, op_modifier, op, timeout); op 951 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); op 976 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, op 995 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); op 1022 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, MLX4_CMD_TIME_CLASS_C, MLX4_CMD_NATIVE); op 1052 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->in_modifier, vhcr->op_modifier, vhcr->op, op 1702 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op = be16_to_cpu(vhcr_cmd->opcode) & 0xfff; op 1708 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vhcr->op == cmd_info[i].opcode) { op 1715 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave); op 1746 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave, vhcr->in_modifier); op 1774 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op_modifier, vhcr->op, op 1786 drivers/net/ethernet/mellanox/mlx4/cmd.c if (vhcr->op == MLX4_CMD_ALLOC_RES && op 1794 drivers/net/ethernet/mellanox/mlx4/cmd.c vhcr->op, slave, vhcr->errno, err); op 1516 drivers/net/ethernet/mellanox/mlx4/fw.c int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt) op 1563 drivers/net/ethernet/mellanox/mlx4/fw.c err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, op 1574 drivers/net/ethernet/mellanox/mlx4/fw.c err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, op 1579 drivers/net/ethernet/mellanox/mlx4/fw.c switch (op) { op 248 drivers/net/ethernet/mellanox/mlx4/fw.h int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt); op 179 drivers/net/ethernet/mellanox/mlx4/mlx4.h u16 op; op 1218 drivers/net/ethernet/mellanox/mlx4/mlx4.h u16 op, unsigned long timeout); op 93 drivers/net/ethernet/mellanox/mlx4/qp.c static const u16 op[MLX4_QP_NUM_STATE][MLX4_QP_NUM_STATE] = { op 141 drivers/net/ethernet/mellanox/mlx4/qp.c !op[cur_state][new_state]) op 144 drivers/net/ethernet/mellanox/mlx4/qp.c if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) { op 185 drivers/net/ethernet/mellanox/mlx4/qp.c op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native); op 971 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1786 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int qp_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1796 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 1853 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mtt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1860 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE_AND_MAP) op 1886 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mpt_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1894 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 1935 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int cq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1941 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 1970 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int srq_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 1976 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2095 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2103 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE_AND_MAP) op 2204 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2216 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!port || op != RES_OP_RESERVE_AND_MAP) op 2242 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int counter_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2248 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE) op 2272 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int xrcdn_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2278 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE) op 2359 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int qp_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2367 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2399 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mtt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2406 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE_AND_MAP) op 2419 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mpt_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2427 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2461 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int cq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2467 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2486 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int srq_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2492 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2511 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2517 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2537 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int vlan_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2549 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c switch (op) { op 2566 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int counter_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2572 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE) op 2589 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c static int xrcdn_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, op 2595 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (op != RES_OP_RESERVE) op 266 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int mlx5_internal_err_ret_value(struct mlx5_core_dev *dev, u16 op, op 272 drivers/net/ethernet/mellanox/mlx5/core/cmd.c switch (op) { op 455 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_core_err(dev, "Unknown FW command (%d)\n", op); op 773 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u16 op = MLX5_GET(mbox_in, ent->lay->in, opcode); op 786 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(op), op, op 790 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(op), op, op 896 drivers/net/ethernet/mellanox/mlx5/core/cmd.c ent->op = be32_to_cpu(lay->in[0]) >> 16; op 1027 drivers/net/ethernet/mellanox/mlx5/core/cmd.c u16 op; op 1064 drivers/net/ethernet/mellanox/mlx5/core/cmd.c op = MLX5_GET(mbox_in, in->first.data, opcode); op 1065 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (op < ARRAY_SIZE(cmd->stats)) { op 1066 drivers/net/ethernet/mellanox/mlx5/core/cmd.c stats = &cmd->stats[op]; op 1074 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_command_str(op), ds); op 1528 drivers/net/ethernet/mellanox/mlx5/core/cmd.c if (ent->op < ARRAY_SIZE(cmd->stats)) { op 1529 drivers/net/ethernet/mellanox/mlx5/core/cmd.c stats = &cmd->stats[ent->op]; op 83 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op) op 88 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c MLX5_SET(fpga_ctrl, in, operation, op); op 77 drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op); op 259 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sfd, op, 0x04, 30, 2); op 279 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_sfd_pack(char *payload, enum mlxsw_reg_sfd_op op, op 283 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sfd_op_set(payload, op); op 1283 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sldr, op, 0x00, 29, 3); op 1736 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sfmr, op, 0x00, 24, 4); op 1787 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_sfmr_op op, u16 fid, op 1791 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sfmr_op_set(payload, op); op 2094 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppbt, op, 0x00, 28, 3); op 2118 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_pxbt_op op, op 2123 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ppbt_op_set(payload, op); op 2261 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ptar, op, 0x00, 28, 4); op 2318 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ptar_pack(char *payload, enum mlxsw_reg_ptar_op op, op 2324 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptar_op_set(payload, op); op 2398 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, prcr, op, 0x00, 28, 4); op 2432 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_prcr_pack(char *payload, enum mlxsw_reg_prcr_op op, op 2439 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_prcr_op_set(payload, op); op 2590 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ptce2, op, 0x00, 20, 3); op 2639 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ptce2_op op, op 2645 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptce2_op_set(payload, op); op 2836 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ptce3, op, 0x00, 20, 3); op 2943 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ptce3_op op, op 2953 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptce3_op_set(payload, op); op 5781 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ritr, op, 0x00, 20, 2); op 6062 drivers/net/ethernet/mellanox/mlxsw/reg.h bool op = enable ? MLXSW_REG_RITR_RIF_CREATE : MLXSW_REG_RITR_RIF_DEL; op 6071 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ritr_op_set(payload, op); op 6131 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rtar, op, 0x00, 28, 4); op 6154 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_rtar_op op, op 6159 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rtar_op_set(payload, op); op 6196 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ratr, op, 0x00, 28, 4); op 6356 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ratr_op op, bool valid, op 6361 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ratr_op_set(payload, op); op 6477 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ricnt, op, 0x00, 28, 4); op 6545 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ricnt_opcode op) op 6548 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ricnt_op_set(payload, op); op 6573 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rrcr, op, 0x00, 28, 4); op 6600 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_rrcr_pack(char *payload, enum mlxsw_reg_rrcr_op op, op 6606 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rrcr_op_set(payload, op); op 6628 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ralta, op, 0x00, 28, 2); op 6819 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ralue, op, 0x00, 20, 3); op 6978 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralue_op op, op 6983 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_op_set(payload, op); op 6993 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralue_op op, op 6997 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_pack(payload, protocol, op, virtual_router, prefix_len); op 7003 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralue_op op, op 7007 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_pack(payload, protocol, op, virtual_router, prefix_len); op 7101 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rauht, op, 0x00, 20, 3); op 7171 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_rauht_op op, u16 rif, op 7175 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rauht_op_set(payload, op); op 7181 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_rauht_op op, u16 rif, op 7184 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rauht_pack(payload, op, rif, mac); op 7189 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_rauht_op op, u16 rif, op 7192 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_rauht_pack(payload, op, rif, mac); op 7308 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rauhtd, op, 0x04, 24, 2); op 7830 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, rmft2, op, 0x00, 20, 2); op 184 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c enum mlxsw_reg_ralue_op op, op 189 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c mlxsw_reg_ralue_pack4(ralue_pl, MLXSW_REG_RALXX_PROTOCOL_IPV4, op, op 197 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c enum mlxsw_reg_ralue_op op, op 212 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 32, ul_vr_id, op, op 56 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h enum mlxsw_reg_ralue_op op, op 2361 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_rauht_op op) op 2367 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_rauht_pack4(rauht_pl, op, neigh_entry->rif, neigh_entry->ha, op 2378 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_rauht_op op) op 2384 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_rauht_pack6(rauht_pl, op, neigh_entry->rif, neigh_entry->ha, op 2411 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_rauht_op op = mlxsw_sp_rauht_op(adding); op 2419 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c op); op 2426 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c op); op 3217 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op, int err); op 3222 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op = MLXSW_REG_RALUE_OP_WRITE_WRITE; op 3229 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, 0); op 4137 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op, int err) op 4139 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c switch (op) { op 4158 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4169 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack4(ralue_pl, proto, op, fib->vr->id, op 4174 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_reg_ralue_pack6(ralue_pl, proto, op, fib->vr->id, op 4183 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4204 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); op 4212 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4228 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); op 4236 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4240 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); op 4247 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4253 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); op 4261 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4270 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return ipip_ops->fib_entry_op(mlxsw_sp, ipip_entry, op, op 4276 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4280 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_ralue_pack(ralue_pl, fib_entry, op); op 4288 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4292 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_remote(mlxsw_sp, fib_entry, op); op 4294 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_local(mlxsw_sp, fib_entry, op); op 4296 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_trap(mlxsw_sp, fib_entry, op); op 4298 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_blackhole(mlxsw_sp, fib_entry, op); op 4301 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_entry, op); op 4303 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_fib_entry_op_nve_decap(mlxsw_sp, fib_entry, op); op 4310 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op) op 4312 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int err = __mlxsw_sp_fib_entry_op(mlxsw_sp, fib_entry, op); op 4314 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, err); op 4779 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op = MLXSW_REG_RALUE_OP_WRITE_DELETE; op 4782 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(n, op, 0); op 4799 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c enum mlxsw_reg_ralue_op op = MLXSW_REG_RALUE_OP_WRITE_DELETE; op 4802 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_entry_offload_refresh(fib_entry, op, 0); op 228 drivers/net/ethernet/micrel/ks8851.c static void ks8851_rdreg(struct ks8851_net *ks, unsigned op, op 237 drivers/net/ethernet/micrel/ks8851.c txb[0] = cpu_to_le16(op | KS_SPIOP_RD); op 331 drivers/net/ethernet/micrel/ks8851.c static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op) op 333 drivers/net/ethernet/micrel/ks8851.c ks8851_wrreg16(ks, KS_GRR, op); op 371 drivers/net/ethernet/micrel/ks8851_mll.c static void ks_soft_reset(struct ks_net *ks, unsigned op) op 375 drivers/net/ethernet/micrel/ks8851_mll.c ks_wrreg16(ks, KS_GRR, op); op 143 drivers/net/ethernet/microchip/enc28j60.c static u8 spi_read_op(struct enc28j60_net *priv, u8 op, u8 addr) op 156 drivers/net/ethernet/microchip/enc28j60.c tx_buf[0] = op | (addr & ADDR_MASK); op 170 drivers/net/ethernet/microchip/enc28j60.c static int spi_write_op(struct enc28j60_net *priv, u8 op, u8 addr, u8 val) op 175 drivers/net/ethernet/microchip/enc28j60.c priv->spi_transfer_buf[0] = op | (addr & ADDR_MASK); op 579 drivers/net/ethernet/mscc/ocelot_ace.c struct ocelot *op = rule->port->ocelot; op 584 drivers/net/ethernet/mscc/ocelot_ace.c vcap_row_cmd(op, row, VCAP_CMD_READ, VCAP_SEL_COUNTER); op 585 drivers/net/ethernet/mscc/ocelot_ace.c vcap_cache2action(op, &data); op 179 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c static bool nfp_bpf_ctrl_op_cache_invalidate(enum nfp_ccm_type op) op 181 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c return op == NFP_CCM_TYPE_BPF_MAP_UPDATE || op 182 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c op == NFP_CCM_TYPE_BPF_MAP_DELETE; op 185 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c static bool nfp_bpf_ctrl_op_cache_capable(enum nfp_ccm_type op) op 187 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c return op == NFP_CCM_TYPE_BPF_MAP_LOOKUP || op 188 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c op == NFP_CCM_TYPE_BPF_MAP_GETNEXT; op 191 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c static bool nfp_bpf_ctrl_op_cache_fill(enum nfp_ccm_type op) op 193 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c return op == NFP_CCM_TYPE_BPF_MAP_GETFIRST || op 194 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c op == NFP_CCM_TYPE_BPF_MAP_GETNEXT; op 198 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_op_cache_get(struct nfp_bpf_map *nfp_map, enum nfp_ccm_type op, op 207 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c n_entries = nfp_bpf_ctrl_op_cache_fill(op) ? bpf->cmsg_cache_cnt : 1; op 214 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c if (nfp_bpf_ctrl_op_cache_invalidate(op)) op 216 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c if (!nfp_bpf_ctrl_op_cache_capable(op)) op 234 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c if (op == NFP_CCM_TYPE_BPF_MAP_LOOKUP) op 237 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c if (op == NFP_CCM_TYPE_BPF_MAP_GETNEXT) { op 262 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_op_cache_put(struct nfp_bpf_map *nfp_map, enum nfp_ccm_type op, op 267 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c blocker = nfp_bpf_ctrl_op_cache_invalidate(op); op 268 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c filler = nfp_bpf_ctrl_op_cache_fill(op); op 292 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_entry_op(struct bpf_offloaded_map *offmap, enum nfp_ccm_type op, op 310 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c n_entries = nfp_bpf_ctrl_op_cache_get(nfp_map, op, key, out_key, op 333 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c skb = nfp_ccm_communicate(&bpf->ccm, skb, op, 0); op 341 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c op, skb->len); op 360 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c op, skb->len, reply_entries); op 373 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_op_cache_put(nfp_map, op, skb, cache_gen); op 379 drivers/net/ethernet/netronome/nfp/bpf/cmsg.c nfp_bpf_ctrl_op_cache_put(nfp_map, op, NULL, cache_gen); op 79 drivers/net/ethernet/netronome/nfp/bpf/jit.c __emit_cmd(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, op 88 drivers/net/ethernet/netronome/nfp/bpf/jit.c FIELD_PREP(OP_CMD_TOKEN, cmd_tgt_act[op].token) | op 92 drivers/net/ethernet/netronome/nfp/bpf/jit.c FIELD_PREP(OP_CMD_TGT_CMD, cmd_tgt_act[op].tgt_cmd) | op 100 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_cmd_any(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, op 122 drivers/net/ethernet/netronome/nfp/bpf/jit.c __emit_cmd(nfp_prog, op, mode, xfer, reg.areg, reg.breg, size, ctx, op 127 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_cmd(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, op 130 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, false); op 134 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_cmd_indir(struct nfp_prog *nfp_prog, enum cmd_tgt_map op, u8 mode, u8 xfer, op 137 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_cmd_any(nfp_prog, op, mode, xfer, lreg, rreg, size, ctx, true); op 321 drivers/net/ethernet/netronome/nfp/bpf/jit.c u16 areg, enum shf_op op, u16 breg, bool i8, bool sw, bool wr_both, op 353 drivers/net/ethernet/netronome/nfp/bpf/jit.c FIELD_PREP(OP_SHF_OP, op) | op 364 drivers/net/ethernet/netronome/nfp/bpf/jit.c swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc, u8 shift) op 376 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg.areg, op, reg.breg, reg.i8, reg.swap, reg.wr_both, op 382 drivers/net/ethernet/netronome/nfp/bpf/jit.c swreg lreg, enum shf_op op, swreg rreg, enum shf_sc sc) op 390 drivers/net/ethernet/netronome/nfp/bpf/jit.c emit_shf(nfp_prog, dst, lreg, op, rreg, sc, 0); op 395 drivers/net/ethernet/netronome/nfp/bpf/jit.c u16 areg, enum alu_op op, u16 breg, bool swap, bool wr_both, op 405 drivers/net/ethernet/netronome/nfp/bpf/jit.c FIELD_PREP(OP_ALU_OP, op) | op 416 drivers/net/ethernet/netronome/nfp/bpf/jit.c swreg lreg, enum alu_op op, swreg rreg) op 428 drivers/net/ethernet/netronome/nfp/bpf/jit.c reg.areg, op, reg.breg, reg.swap, reg.wr_both, op 1388 drivers/net/ethernet/netronome/nfp/bpf/jit.c unsigned int op; op 1390 drivers/net/ethernet/netronome/nfp/bpf/jit.c op = BPF_OP(meta->insn.code) >> 4; op 1392 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (WARN_ONCE(op >= ARRAY_SIZE(jmp_code_map) || op 1393 drivers/net/ethernet/netronome/nfp/bpf/jit.c !jmp_code_map[op].br_mask, op 1397 drivers/net/ethernet/netronome/nfp/bpf/jit.c return &jmp_code_map[op]; op 448 drivers/net/ethernet/netronome/nfp/bpf/main.h u8 op; op 456 drivers/net/ethernet/netronome/nfp/bpf/main.h op = mbpf_op(meta); op 457 drivers/net/ethernet/netronome/nfp/bpf/main.h return op != BPF_JA && op != BPF_EXIT && op != BPF_CALL; op 68 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c const struct nfp_cpp_operations *op; op 136 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_cleanup) op 137 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_cleanup(area); op 192 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_release) op 193 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_release(area); op 198 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->free) op 199 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->free(cpp); op 303 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area = kzalloc(sizeof(*area) + cpp->op->area_priv_size + name_len, op 310 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->area_priv_size; op 322 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->area_init) { op 325 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->area_init(area, dest, address, size); op 412 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c *status = area->cpp->op->area_acquire(area); op 424 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (!area->cpp->op->area_acquire) op 477 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_acquire) { op 480 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = area->cpp->op->area_acquire(area); op 505 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_release) { op 506 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c area->cpp->op->area_release(area); op 546 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return area->cpp->op->area_read(area, kernel_vaddr, offset, length); op 567 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c return area->cpp->op->area_write(area, kernel_vaddr, offset, length); op 626 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_resource) op 627 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c res = area->cpp->op->area_resource(area); op 644 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_phys) op 645 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c addr = area->cpp->op->area_phys(area); op 665 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (area->cpp->op->area_iomem) op 666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c iomem = area->cpp->op->area_iomem(area); op 879 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->area_init) { op 880 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->area_init(cache->area, op 1177 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op = ops; op 1212 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->init) { op 1213 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->init(cpp); op 1290 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ op 1291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->func(expl, ##args); \ op 1299 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c if (cpp->op->func) \ op 1300 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->func(expl, ##args); \ op 1318 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c expl = kzalloc(sizeof(*expl) + cpp->op->explicit_priv_size, GFP_KERNEL); op 1132 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u8 op; op 602 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c nx_p3_sre_macaddr_change(struct netxen_adapter *adapter, u8 *addr, unsigned op) op 615 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c mac_req->op = op; op 1367 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u64 *data, int op) op 1398 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if (op == 0) /* read */ op 881 drivers/net/ethernet/qlogic/qed/qed_dcbx.c struct qed_common_cb_ops *op = hwfn->cdev->protocol_ops.common; op 884 drivers/net/ethernet/qlogic/qed/qed_dcbx.c if (cookie && op->dcbx_aen) op 885 drivers/net/ethernet/qlogic/qed/qed_dcbx.c op->dcbx_aen(cookie, &hwfn->p_dcbx_info->get, mib_type); op 2822 drivers/net/ethernet/qlogic/qed/qed_l2.c struct qed_common_cb_ops *op = p_hwfn->cdev->protocol_ops.common; op 2825 drivers/net/ethernet/qlogic/qed/qed_l2.c op->arfs_filter_op(dev, cookie, fw_return_code); op 1933 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_common_cb_ops *op = hwfn->cdev->protocol_ops.common; op 1940 drivers/net/ethernet/qlogic/qed/qed_main.c op->link_update(cookie, &if_link); op 2742 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_common_cb_ops *op = cdev->protocol_ops.common; op 2749 drivers/net/ethernet/qlogic/qed/qed_main.c op->get_generic_tlv_data(cdev->ops_cookie, &gen_tlvs); op 117 drivers/net/ethernet/qlogic/qede/qede_filter.c const struct qed_eth_ops *op = edev->ops; op 148 drivers/net/ethernet/qlogic/qede/qede_filter.c op->ntuple_filter_config(edev->cdev, n, ¶ms); op 993 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u8 op; op 2091 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u16 vlan_id, u8 op) op 2112 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c op = (op == QLCNIC_MAC_ADD || op == QLCNIC_MAC_VLAN_ADD) ? op 2115 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd->req.arg[1] = op | (1 << 8); op 2417 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c u8 op = 0; op 2427 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c cmd.req.arg[1] = op | BIT_31 | temp; op 438 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u16 vlan_id, u8 op) op 452 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c mac_req->op = op; op 1250 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c u32 window, u64 off, u64 *data, int op) op 1264 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c if (op == 0) /* read */ op 161 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u8 op; op 163 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD; op 164 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); op 168 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c op = vlan_id ? QLCNIC_MAC_VLAN_DEL : QLCNIC_MAC_DEL; op 169 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); op 199 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u8 hindex, op; op 241 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c op = vlan_id ? QLCNIC_MAC_VLAN_DEL : QLCNIC_MAC_DEL; op 244 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c vlan_id, op); op 291 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c mac_req->op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD; op 789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u16 vlan, u8 op) op 817 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c op = ((op == QLCNIC_MAC_ADD || op == QLCNIC_MAC_VLAN_ADD) ? op 820 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c cmd->req.arg[1] = op | (1 << 8) | (3 << 6); op 1258 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 op, new_op; op 1267 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c op = cmd->req.arg[1] & 0x7; op 1269 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c new_op = (op == QLCNIC_MAC_ADD || op == QLCNIC_MAC_VLAN_ADD) ? op 1437 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u8 op; op 1444 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c op = cmd->req.arg[1] & 0xf; op 1446 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c if (op) op 896 drivers/net/ethernet/sfc/siena_sriov.c if (req->op < VFDI_OP_LIMIT && vfdi_ops[req->op] != NULL) { op 897 drivers/net/ethernet/sfc/siena_sriov.c rc = vfdi_ops[req->op](vf); op 901 drivers/net/ethernet/sfc/siena_sriov.c req->op, vf->pci_name); op 906 drivers/net/ethernet/sfc/siena_sriov.c "%llx\n", req->op, vf->pci_name, op 917 drivers/net/ethernet/sfc/siena_sriov.c req->op = VFDI_OP_RESPONSE; op 924 drivers/net/ethernet/sfc/siena_sriov.c copy[1].from_buf = &req->op; op 926 drivers/net/ethernet/sfc/siena_sriov.c copy[1].to_addr = vf->req_addr + offsetof(struct vfdi_req, op); op 927 drivers/net/ethernet/sfc/siena_sriov.c copy[1].length = sizeof(req->op); op 163 drivers/net/ethernet/sfc/vfdi.h u32 op; op 2016 drivers/net/ethernet/smsc/smsc911x.c static int smsc911x_eeprom_send_cmd(struct smsc911x_data *pdata, u32 op) op 2021 drivers/net/ethernet/smsc/smsc911x.c SMSC_TRACE(pdata, drv, "op 0x%08x", op); op 2027 drivers/net/ethernet/smsc/smsc911x.c e2cmd = op | E2P_CMD_EPC_BUSY_; op 2051 drivers/net/ethernet/smsc/smsc911x.c u32 op = E2P_CMD_EPC_CMD_READ_ | address; op 2055 drivers/net/ethernet/smsc/smsc911x.c ret = smsc911x_eeprom_send_cmd(pdata, op); op 2066 drivers/net/ethernet/smsc/smsc911x.c u32 op = E2P_CMD_EPC_CMD_ERASE_ | address; op 2071 drivers/net/ethernet/smsc/smsc911x.c ret = smsc911x_eeprom_send_cmd(pdata, op); op 2074 drivers/net/ethernet/smsc/smsc911x.c op = E2P_CMD_EPC_CMD_WRITE_ | address; op 2080 drivers/net/ethernet/smsc/smsc911x.c ret = smsc911x_eeprom_send_cmd(pdata, op); op 281 drivers/net/ethernet/smsc/smsc9420.c static int smsc9420_eeprom_send_cmd(struct smsc9420_pdata *pd, u32 op) op 286 drivers/net/ethernet/smsc/smsc9420.c netif_dbg(pd, hw, pd->dev, "op 0x%08x\n", op); op 292 drivers/net/ethernet/smsc/smsc9420.c e2cmd = op | E2P_CMD_EPC_BUSY_; op 317 drivers/net/ethernet/smsc/smsc9420.c u32 op = E2P_CMD_EPC_CMD_READ_ | address; op 321 drivers/net/ethernet/smsc/smsc9420.c ret = smsc9420_eeprom_send_cmd(pd, op); op 332 drivers/net/ethernet/smsc/smsc9420.c u32 op = E2P_CMD_EPC_CMD_ERASE_ | address; op 336 drivers/net/ethernet/smsc/smsc9420.c ret = smsc9420_eeprom_send_cmd(pd, op); op 339 drivers/net/ethernet/smsc/smsc9420.c op = E2P_CMD_EPC_CMD_WRITE_ | address; op 341 drivers/net/ethernet/smsc/smsc9420.c ret = smsc9420_eeprom_send_cmd(pd, op); op 1178 drivers/net/ethernet/sun/cassini.c val |= CAS_BASE(HP_INSTR_RAM_MID_OP, inst->op); op 2124 drivers/net/ethernet/sun/cassini.h u8 op; op 9048 drivers/net/ethernet/sun/niu.c struct platform_device *op = np->op; op 9052 drivers/net/ethernet/sun/niu.c int_prop = of_get_property(op->dev.of_node, "interrupts", NULL); op 9056 drivers/net/ethernet/sun/niu.c for (i = 0; i < op->archdata.num_irqs; i++) { op 9058 drivers/net/ethernet/sun/niu.c np->ldg[i].irq = op->archdata.irqs[i]; op 9061 drivers/net/ethernet/sun/niu.c np->num_ldg = op->archdata.num_irqs; op 9203 drivers/net/ethernet/sun/niu.c dp = np->op->dev.of_node; op 9627 drivers/net/ethernet/sun/niu.c struct platform_device *op, op 9642 drivers/net/ethernet/sun/niu.c np->op = op; op 10001 drivers/net/ethernet/sun/niu.c static int niu_of_probe(struct platform_device *op) op 10011 drivers/net/ethernet/sun/niu.c reg = of_get_property(op->dev.of_node, "reg", NULL); op 10013 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "%pOF: No 'reg' property, aborting\n", op 10014 drivers/net/ethernet/sun/niu.c op->dev.of_node); op 10018 drivers/net/ethernet/sun/niu.c dev = niu_alloc_and_init(&op->dev, NULL, op, op 10027 drivers/net/ethernet/sun/niu.c parent_id.of = of_get_parent(op->dev.of_node); op 10038 drivers/net/ethernet/sun/niu.c np->regs = of_ioremap(&op->resource[1], 0, op 10039 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[1]), op 10042 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "Cannot map device registers, aborting\n"); op 10047 drivers/net/ethernet/sun/niu.c np->vir_regs_1 = of_ioremap(&op->resource[2], 0, op 10048 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[2]), op 10051 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "Cannot map device vir registers 1, aborting\n"); op 10056 drivers/net/ethernet/sun/niu.c np->vir_regs_2 = of_ioremap(&op->resource[3], 0, op 10057 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[3]), op 10060 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "Cannot map device vir registers 2, aborting\n"); op 10070 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "Problem fetching invariants of chip, aborting\n"); op 10076 drivers/net/ethernet/sun/niu.c dev_err(&op->dev, "Cannot register net device, aborting\n"); op 10080 drivers/net/ethernet/sun/niu.c platform_set_drvdata(op, dev); op 10088 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[2], np->vir_regs_1, op 10089 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[2])); op 10094 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[3], np->vir_regs_2, op 10095 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[3])); op 10100 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[1], np->regs, op 10101 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[1])); op 10115 drivers/net/ethernet/sun/niu.c static int niu_of_remove(struct platform_device *op) op 10117 drivers/net/ethernet/sun/niu.c struct net_device *dev = platform_get_drvdata(op); op 10125 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[2], np->vir_regs_1, op 10126 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[2])); op 10131 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[3], np->vir_regs_2, op 10132 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[3])); op 10137 drivers/net/ethernet/sun/niu.c of_iounmap(&op->resource[1], np->regs, op 10138 drivers/net/ethernet/sun/niu.c resource_size(&op->resource[1])); op 3302 drivers/net/ethernet/sun/niu.h struct platform_device *op; op 1072 drivers/net/ethernet/sun/sunbmac.c static int bigmac_ether_init(struct platform_device *op, op 1095 drivers/net/ethernet/sun/sunbmac.c bp->bigmac_op = op; op 1097 drivers/net/ethernet/sun/sunbmac.c SET_NETDEV_DEV(dev, &op->dev); op 1135 drivers/net/ethernet/sun/sunbmac.c bp->creg = of_ioremap(&op->resource[0], 0, op 1143 drivers/net/ethernet/sun/sunbmac.c bp->bregs = of_ioremap(&op->resource[1], 0, op 1153 drivers/net/ethernet/sun/sunbmac.c bp->tregs = of_ioremap(&op->resource[2], 0, op 1209 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); op 1211 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); op 1213 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); op 1229 drivers/net/ethernet/sun/sunbmac.c static int bigmac_sbus_probe(struct platform_device *op) op 1231 drivers/net/ethernet/sun/sunbmac.c struct device *parent = op->dev.parent; op 1236 drivers/net/ethernet/sun/sunbmac.c return bigmac_ether_init(op, qec_op); op 1239 drivers/net/ethernet/sun/sunbmac.c static int bigmac_sbus_remove(struct platform_device *op) op 1241 drivers/net/ethernet/sun/sunbmac.c struct bigmac *bp = platform_get_drvdata(op); op 1242 drivers/net/ethernet/sun/sunbmac.c struct device *parent = op->dev.parent; op 1251 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); op 1252 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); op 1253 drivers/net/ethernet/sun/sunbmac.c of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); op 1254 drivers/net/ethernet/sun/sunbmac.c dma_free_coherent(&op->dev, op 1592 drivers/net/ethernet/sun/sunhme.c struct platform_device *op = hp->happy_dev; op 1594 drivers/net/ethernet/sun/sunhme.c sbus_set_sbus64(&op->dev, op 2523 drivers/net/ethernet/sun/sunhme.c struct platform_device *op = hp->happy_dev; op 2524 drivers/net/ethernet/sun/sunhme.c regs = of_get_property(op->dev.of_node, "regs", NULL); op 2562 drivers/net/ethernet/sun/sunhme.c struct platform_device *op; op 2565 drivers/net/ethernet/sun/sunhme.c op = to_platform_device(parent); op 2566 drivers/net/ethernet/sun/sunhme.c qp = platform_get_drvdata(op); op 2581 drivers/net/ethernet/sun/sunhme.c platform_set_drvdata(op, qp); op 2595 drivers/net/ethernet/sun/sunhme.c struct platform_device *op = qp->quattro_dev; op 2605 drivers/net/ethernet/sun/sunhme.c err = request_irq(op->archdata.irqs[0], op 2624 drivers/net/ethernet/sun/sunhme.c struct platform_device *op = qp->quattro_dev; op 2634 drivers/net/ethernet/sun/sunhme.c free_irq(op->archdata.irqs[0], qp); op 2682 drivers/net/ethernet/sun/sunhme.c static int happy_meal_sbus_probe_one(struct platform_device *op, int is_qfe) op 2684 drivers/net/ethernet/sun/sunhme.c struct device_node *dp = op->dev.of_node, *sbus_dp; op 2691 drivers/net/ethernet/sun/sunhme.c sbus_dp = op->dev.parent->of_node; op 2698 drivers/net/ethernet/sun/sunhme.c qp = quattro_sbus_find(op); op 2712 drivers/net/ethernet/sun/sunhme.c SET_NETDEV_DEV(dev, &op->dev); op 2742 drivers/net/ethernet/sun/sunhme.c hp->happy_dev = op; op 2743 drivers/net/ethernet/sun/sunhme.c hp->dma_dev = &op->dev; op 2754 drivers/net/ethernet/sun/sunhme.c hp->gregs = of_ioremap(&op->resource[0], 0, op 2761 drivers/net/ethernet/sun/sunhme.c hp->etxregs = of_ioremap(&op->resource[1], 0, op 2768 drivers/net/ethernet/sun/sunhme.c hp->erxregs = of_ioremap(&op->resource[2], 0, op 2775 drivers/net/ethernet/sun/sunhme.c hp->bigmacregs = of_ioremap(&op->resource[3], 0, op 2782 drivers/net/ethernet/sun/sunhme.c hp->tcvregs = of_ioremap(&op->resource[4], 0, op 2832 drivers/net/ethernet/sun/sunhme.c hp->irq = op->archdata.irqs[0]; op 2857 drivers/net/ethernet/sun/sunhme.c platform_set_drvdata(op, hp); op 2878 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); op 2880 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[1], hp->etxregs, ETX_REG_SIZE); op 2882 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); op 2884 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[3], hp->bigmacregs, BMAC_REG_SIZE); op 2886 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[4], hp->tcvregs, TCVR_REG_SIZE); op 3268 drivers/net/ethernet/sun/sunhme.c static int hme_sbus_probe(struct platform_device *op) op 3271 drivers/net/ethernet/sun/sunhme.c struct device_node *dp = op->dev.of_node; op 3275 drivers/net/ethernet/sun/sunhme.c match = of_match_device(hme_sbus_match, &op->dev); op 3283 drivers/net/ethernet/sun/sunhme.c return happy_meal_sbus_probe_one(op, is_qfe); op 3286 drivers/net/ethernet/sun/sunhme.c static int hme_sbus_remove(struct platform_device *op) op 3288 drivers/net/ethernet/sun/sunhme.c struct happy_meal *hp = platform_get_drvdata(op); op 3295 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); op 3296 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[1], hp->etxregs, ETX_REG_SIZE); op 3297 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); op 3298 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[3], hp->bigmacregs, BMAC_REG_SIZE); op 3299 drivers/net/ethernet/sun/sunhme.c of_iounmap(&op->resource[4], hp->tcvregs, TCVR_REG_SIZE); op 685 drivers/net/ethernet/sun/sunqe.c struct platform_device *op; op 690 drivers/net/ethernet/sun/sunqe.c op = qep->op; op 691 drivers/net/ethernet/sun/sunqe.c regs = of_get_property(op->dev.of_node, "reg", NULL); op 717 drivers/net/ethernet/sun/sunqe.c static void qec_init_once(struct sunqec *qecp, struct platform_device *op) op 735 drivers/net/ethernet/sun/sunqe.c sbus_writel((resource_size(&op->resource[1]) >> 2), op 741 drivers/net/ethernet/sun/sunqe.c sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, op 743 drivers/net/ethernet/sun/sunqe.c sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, op 769 drivers/net/ethernet/sun/sunqe.c struct platform_device *op = to_platform_device(child->dev.parent); op 772 drivers/net/ethernet/sun/sunqe.c qecp = platform_get_drvdata(op); op 778 drivers/net/ethernet/sun/sunqe.c qecp->op = op; op 779 drivers/net/ethernet/sun/sunqe.c qecp->gregs = of_ioremap(&op->resource[0], 0, op 796 drivers/net/ethernet/sun/sunqe.c qecp->qec_bursts = qec_get_burst(op->dev.of_node); op 798 drivers/net/ethernet/sun/sunqe.c qec_init_once(qecp, op); op 800 drivers/net/ethernet/sun/sunqe.c if (request_irq(op->archdata.irqs[0], qec_interrupt, op 806 drivers/net/ethernet/sun/sunqe.c platform_set_drvdata(op, qecp); op 817 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], qecp->gregs, GLOB_REG_SIZE); op 832 drivers/net/ethernet/sun/sunqe.c static int qec_ether_init(struct platform_device *op) op 853 drivers/net/ethernet/sun/sunqe.c i = of_getintprop_default(op->dev.of_node, "channel#", -1); op 859 drivers/net/ethernet/sun/sunqe.c qecp = get_qec(op); op 866 drivers/net/ethernet/sun/sunqe.c qe->op = op; op 869 drivers/net/ethernet/sun/sunqe.c qe->qcregs = of_ioremap(&op->resource[0], 0, op 876 drivers/net/ethernet/sun/sunqe.c qe->mregs = of_ioremap(&op->resource[1], 0, op 883 drivers/net/ethernet/sun/sunqe.c qe->qe_block = dma_alloc_coherent(&op->dev, PAGE_SIZE, op 885 drivers/net/ethernet/sun/sunqe.c qe->buffers = dma_alloc_coherent(&op->dev, sizeof(struct sunqe_buffers), op 894 drivers/net/ethernet/sun/sunqe.c SET_NETDEV_DEV(dev, &op->dev); op 897 drivers/net/ethernet/sun/sunqe.c dev->irq = op->archdata.irqs[0]; op 906 drivers/net/ethernet/sun/sunqe.c platform_set_drvdata(op, qe); op 914 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], qe->qcregs, CREG_REG_SIZE); op 916 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[1], qe->mregs, MREGS_REG_SIZE); op 918 drivers/net/ethernet/sun/sunqe.c dma_free_coherent(&op->dev, PAGE_SIZE, op 921 drivers/net/ethernet/sun/sunqe.c dma_free_coherent(&op->dev, op 931 drivers/net/ethernet/sun/sunqe.c static int qec_sbus_probe(struct platform_device *op) op 933 drivers/net/ethernet/sun/sunqe.c return qec_ether_init(op); op 936 drivers/net/ethernet/sun/sunqe.c static int qec_sbus_remove(struct platform_device *op) op 938 drivers/net/ethernet/sun/sunqe.c struct sunqe *qp = platform_get_drvdata(op); op 943 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], qp->qcregs, CREG_REG_SIZE); op 944 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[1], qp->mregs, MREGS_REG_SIZE); op 945 drivers/net/ethernet/sun/sunqe.c dma_free_coherent(&op->dev, PAGE_SIZE, op 947 drivers/net/ethernet/sun/sunqe.c dma_free_coherent(&op->dev, sizeof(struct sunqe_buffers), op 984 drivers/net/ethernet/sun/sunqe.c struct platform_device *op = root_qec_dev->op; op 986 drivers/net/ethernet/sun/sunqe.c free_irq(op->archdata.irqs[0], (void *) root_qec_dev); op 987 drivers/net/ethernet/sun/sunqe.c of_iounmap(&op->resource[0], root_qec_dev->gregs, op 318 drivers/net/ethernet/sun/sunqe.h struct platform_device *op; /* QEC's OF device */ op 346 drivers/net/ethernet/sun/sunqe.h struct platform_device *op; /* QE's OF device struct */ op 260 drivers/net/ethernet/xilinx/ll_temac_main.c static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, op 272 drivers/net/ethernet/xilinx/ll_temac_main.c dev_dbg(&op->dev, "DCR base: %x\n", dcrs); op 285 drivers/net/ethernet/xilinx/ll_temac_main.c static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, op 598 drivers/net/hyperv/hyperv_net.h u32 op; op 645 drivers/net/hyperv/hyperv_net.h u32 op; op 719 drivers/net/hyperv/hyperv_net.h u32 op; op 1141 drivers/net/hyperv/rndis_filter.c init_packet->msg.v5_msg.subchn_req.op = NVSP_SUBCHANNEL_ALLOCATE; op 94 drivers/net/phy/mdio-bitbang.c static void mdiobb_cmd(struct mdiobb_ctrl *ctrl, int op, u8 phy, u8 reg) op 117 drivers/net/phy/mdio-bitbang.c if (op & MDIO_C45) op 121 drivers/net/phy/mdio-bitbang.c mdiobb_send_bit(ctrl, (op >> 1) & 1); op 122 drivers/net/phy/mdio-bitbang.c mdiobb_send_bit(ctrl, (op >> 0) & 1); op 67 drivers/net/phy/mdio-cavium.c unsigned int op = 1; /* MDIO_CLAUSE_22_READ */ op 77 drivers/net/phy/mdio-cavium.c op = 3; /* MDIO_CLAUSE_45_READ */ op 83 drivers/net/phy/mdio-cavium.c smi_cmd.s.phy_op = op; op 108 drivers/net/phy/mdio-cavium.c unsigned int op = 0; /* MDIO_CLAUSE_22_WRITE */ op 118 drivers/net/phy/mdio-cavium.c op = 1; /* MDIO_CLAUSE_45_WRITE */ op 128 drivers/net/phy/mdio-cavium.c smi_cmd.s.phy_op = op; op 108 drivers/net/phy/mdio-mux-bcm-iproc.c u16 phyid, u32 reg, u16 val, u32 op) op 128 drivers/net/phy/mdio-mux-bcm-iproc.c writel(op, base + MDIO_CTRL_OFFSET); op 134 drivers/net/phy/mdio-mux-bcm-iproc.c if (op == MDIO_CTRL_READ_OP) op 1943 drivers/net/phy/mscc.c u32 op) op 1950 drivers/net/phy/mscc.c op | (1 << mcb)); op 1962 drivers/net/phy/mscc.c } while (time_before(jiffies, deadline) && (val & op)); op 1964 drivers/net/phy/mscc.c if (val & op) op 430 drivers/net/wireless/ath/ar5523/ar5523.c static int ar5523_set_rxfilter(struct ar5523 *ar, u32 bits, u32 op) op 435 drivers/net/wireless/ath/ar5523/ar5523.c rxfilter.op = cpu_to_be32(op); op 437 drivers/net/wireless/ath/ar5523/ar5523.c ar5523_dbg(ar, "setting Rx filter=0x%x flags=0x%x\n", bits, op); op 301 drivers/net/wireless/ath/ar5523/ar5523_hw.h __be32 op; op 185 drivers/net/wireless/ath/wil6210/pmc.c pmc_cmd.op = WMI_PMC_ALLOCATE; op 260 drivers/net/wireless/ath/wil6210/pmc.c pmc_cmd.op = WMI_PMC_RELEASE; op 1460 drivers/net/wireless/ath/wil6210/wmi.h u8 op; op 98 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s32 qm_shl32(s32 op, int shift) op 102 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = op; op 123 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_shl16(s16 op, int shift) op 127 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c result = op; op 147 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_shr16(s16 op, int shift) op 149 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c return qm_shl16(op, -shift); op 156 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c s16 qm_norm32(s32 op) op 159 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c if (op == 0) { op 163 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c while ((op >> 31) == (op >> 30)) { op 165 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.c op = op << 1; op 21 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s32 qm_shl32(s32 op, int shift); op 23 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_shl16(s16 op, int shift); op 25 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_shr16(s16 op, int shift); op 27 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_qmath.h s16 qm_norm32(s32 op); op 2634 drivers/net/wireless/intel/ipw2x00/ipw2200.c static void eeprom_op(struct ipw_priv *priv, u8 op, u8 addr) op 2640 drivers/net/wireless/intel/ipw2x00/ipw2200.c eeprom_write_bit(priv, op & 2); op 2641 drivers/net/wireless/intel/ipw2x00/ipw2200.c eeprom_write_bit(priv, op & 1); op 847 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c } op = NONE; op 857 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c op = ADD; op 860 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c op = REMOVE; op 863 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c op = HT_RATE_INIT; op 867 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c op = ADD_RATE_INIT; op 870 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c op = REMOVE; op 873 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c switch (op) { op 334 drivers/net/wireless/intel/iwlwifi/fw/api/debug.h __le32 op; op 590 drivers/net/wireless/intel/iwlwifi/fw/file.h u8 op; op 1274 drivers/net/wireless/intel/iwlwifi/iwl-drv.c _iwl_op_mode_start(struct iwl_drv *drv, struct iwlwifi_opmode_table *op) op 1276 drivers/net/wireless/intel/iwlwifi/iwl-drv.c const struct iwl_op_mode_ops *ops = op->ops; op 1281 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->dbgfs_op_mode = debugfs_create_dir(op->name, op 1323 drivers/net/wireless/intel/iwlwifi/iwl-drv.c struct iwlwifi_opmode_table *op; op 1550 drivers/net/wireless/intel/iwlwifi/iwl-drv.c op = &iwlwifi_opmode_table[DVM_OP_MODE]; op 1556 drivers/net/wireless/intel/iwlwifi/iwl-drv.c op = &iwlwifi_opmode_table[MVM_OP_MODE]; op 1561 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->fw.fw_version, op->name); op 1564 drivers/net/wireless/intel/iwlwifi/iwl-drv.c list_add_tail(&drv->list, &op->drv); op 1566 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (op->ops) { op 1567 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->op_mode = _iwl_op_mode_start(drv, op); op 1591 drivers/net/wireless/intel/iwlwifi/iwl-drv.c request_module("%s", op->name); op 1596 drivers/net/wireless/intel/iwlwifi/iwl-drv.c op->name, err); op 1712 drivers/net/wireless/intel/iwlwifi/iwl-drv.c struct iwlwifi_opmode_table *op; op 1716 drivers/net/wireless/intel/iwlwifi/iwl-drv.c op = &iwlwifi_opmode_table[i]; op 1717 drivers/net/wireless/intel/iwlwifi/iwl-drv.c if (strcmp(op->name, name)) op 1719 drivers/net/wireless/intel/iwlwifi/iwl-drv.c op->ops = ops; op 1721 drivers/net/wireless/intel/iwlwifi/iwl-drv.c list_for_each_entry(drv, &op->drv, list) op 1722 drivers/net/wireless/intel/iwlwifi/iwl-drv.c drv->op_mode = _iwl_op_mode_start(drv, op); op 1862 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd.op = cpu_to_le32(DEBUG_MEM_OP_READ); op 1909 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c u32 op, len; op 1919 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c op = DEBUG_MEM_OP_WRITE_BYTES; op 1923 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c op = DEBUG_MEM_OP_WRITE; op 1933 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c cmd->op = cpu_to_le32(op); op 1974 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 budget); op 507 drivers/net/wireless/intel/iwlwifi/mvm/tt.c int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) op 510 drivers/net/wireless/intel/iwlwifi/mvm/tt.c .operation = cpu_to_le32(op), op 529 drivers/net/wireless/intel/iwlwifi/mvm/tt.c switch (op) { op 928 drivers/net/wireless/intel/iwlwifi/pcie/trans.c switch (dest->reg_ops[i].op) { op 957 drivers/net/wireless/intel/iwlwifi/pcie/trans.c dest->reg_ops[i].op); op 300 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c __le32 op; op 302 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c .op = cpu_to_le32(get ? PATCH_SEM_GET : PATCH_SEM_RELEASE), op 132 drivers/net/xen-netback/common.h struct gnttab_copy op[COPY_BATCH_SIZE]; op 138 drivers/net/xen-netback/rx.c gnttab_batch_copy(queue->rx_copy.op, queue->rx_copy.num); op 141 drivers/net/xen-netback/rx.c struct gnttab_copy *op; op 143 drivers/net/xen-netback/rx.c op = &queue->rx_copy.op[i]; op 148 drivers/net/xen-netback/rx.c if (unlikely(op->status != GNTST_okay)) { op 153 drivers/net/xen-netback/rx.c rsp->status = op->status; op 171 drivers/net/xen-netback/rx.c struct gnttab_copy *op; op 178 drivers/net/xen-netback/rx.c op = &queue->rx_copy.op[queue->rx_copy.num]; op 182 drivers/net/xen-netback/rx.c op->flags = GNTCOPY_dest_gref; op 186 drivers/net/xen-netback/rx.c op->source.domid = foreign->domid; op 187 drivers/net/xen-netback/rx.c op->source.u.ref = foreign->gref; op 188 drivers/net/xen-netback/rx.c op->flags |= GNTCOPY_source_gref; op 190 drivers/net/xen-netback/rx.c op->source.u.gmfn = virt_to_gfn(data); op 191 drivers/net/xen-netback/rx.c op->source.domid = DOMID_SELF; op 194 drivers/net/xen-netback/rx.c op->source.offset = xen_offset_in_page(data); op 195 drivers/net/xen-netback/rx.c op->dest.u.ref = req->gref; op 196 drivers/net/xen-netback/rx.c op->dest.domid = queue->vif->domid; op 197 drivers/net/xen-netback/rx.c op->dest.offset = offset; op 198 drivers/net/xen-netback/rx.c op->len = len; op 100 drivers/ntb/hw/mscc/ntb_hw_switchtec.c u32 op, int wait_status) op 112 drivers/ntb/hw/mscc/ntb_hw_switchtec.c switch (op) { op 126 drivers/ntb/hw/mscc/ntb_hw_switchtec.c iowrite32(op, &ctl->partition_op); op 146 drivers/ntb/hw/mscc/ntb_hw_switchtec.c op_text[op], op, op 1427 drivers/nvdimm/btt.c unsigned int op, sector_t sector) op 1431 drivers/nvdimm/btt.c if (!op_is_write(op)) { op 1487 drivers/nvdimm/btt.c struct page *page, unsigned int op) op 1494 drivers/nvdimm/btt.c rc = btt_do_bvec(btt, NULL, page, len, 0, op, sector); op 1496 drivers/nvdimm/btt.c page_endio(page, op_is_write(op), 0); op 141 drivers/nvdimm/pmem.c unsigned int len, unsigned int off, unsigned int op, op 152 drivers/nvdimm/pmem.c if (!op_is_write(op)) { op 222 drivers/nvdimm/pmem.c struct page *page, unsigned int op) op 228 drivers/nvdimm/pmem.c 0, op, sector); op 237 drivers/nvdimm/pmem.c page_endio(page, op_is_write(op), 0); op 482 drivers/nvme/host/core.c unsigned op = nvme_is_write(cmd) ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN; op 486 drivers/nvme/host/core.c req = blk_mq_alloc_request(q, op, flags); op 488 drivers/nvme/host/core.c req = blk_mq_alloc_request_hctx(q, op, flags, op 1171 drivers/nvme/host/core.c static int nvme_features(struct nvme_ctrl *dev, u8 op, unsigned int fid, op 1179 drivers/nvme/host/core.c c.features.opcode = op; op 1933 drivers/nvme/host/core.c u64 key, u64 sa_key, u8 op) op 1949 drivers/nvme/host/core.c c.common.opcode = op; op 97 drivers/nvme/host/fc.c struct nvme_fc_fcp_op op; op 1479 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op) op 1481 drivers/nvme/host/fc.c fc_dma_unmap_single(ctrl->lport->dev, op->fcp_req.rspdma, op 1482 drivers/nvme/host/fc.c sizeof(op->rsp_iu), DMA_FROM_DEVICE); op 1483 drivers/nvme/host/fc.c fc_dma_unmap_single(ctrl->lport->dev, op->fcp_req.cmddma, op 1484 drivers/nvme/host/fc.c sizeof(op->cmd_iu), DMA_TO_DEVICE); op 1486 drivers/nvme/host/fc.c atomic_set(&op->state, FCPOP_STATE_UNINIT); op 1493 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(rq); op 1495 drivers/nvme/host/fc.c return __nvme_fc_exit_request(set->driver_data, op); op 1499 drivers/nvme/host/fc.c __nvme_fc_abort_op(struct nvme_fc_ctrl *ctrl, struct nvme_fc_fcp_op *op) op 1505 drivers/nvme/host/fc.c opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); op 1507 drivers/nvme/host/fc.c atomic_set(&op->state, opstate); op 1517 drivers/nvme/host/fc.c op->queue->lldd_handle, op 1518 drivers/nvme/host/fc.c &op->fcp_req); op 1539 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op, int opstate) op 1556 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = fcp_req_to_fcp_op(req); op 1557 drivers/nvme/host/fc.c struct request *rq = op->rq; op 1558 drivers/nvme/host/fc.c struct nvmefc_fcp_req *freq = &op->fcp_req; op 1559 drivers/nvme/host/fc.c struct nvme_fc_ctrl *ctrl = op->ctrl; op 1560 drivers/nvme/host/fc.c struct nvme_fc_queue *queue = op->queue; op 1561 drivers/nvme/host/fc.c struct nvme_completion *cqe = &op->rsp_iu.cqe; op 1562 drivers/nvme/host/fc.c struct nvme_command *sqe = &op->cmd_iu.sqe; op 1605 drivers/nvme/host/fc.c opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); op 1607 drivers/nvme/host/fc.c fc_dma_sync_single_for_cpu(ctrl->lport->dev, op->fcp_req.rspdma, op 1608 drivers/nvme/host/fc.c sizeof(op->rsp_iu), DMA_FROM_DEVICE); op 1644 drivers/nvme/host/fc.c be32_to_cpu(op->cmd_iu.data_len)) { op 1650 drivers/nvme/host/fc.c be32_to_cpu(op->cmd_iu.data_len)); op 1661 drivers/nvme/host/fc.c if (unlikely(be16_to_cpu(op->rsp_iu.iu_len) != op 1663 drivers/nvme/host/fc.c be32_to_cpu(op->rsp_iu.xfrd_len) != op 1665 drivers/nvme/host/fc.c op->rsp_iu.status_code || op 1672 drivers/nvme/host/fc.c ctrl->cnum, be16_to_cpu(op->rsp_iu.iu_len), op 1673 drivers/nvme/host/fc.c be32_to_cpu(op->rsp_iu.xfrd_len), op 1675 drivers/nvme/host/fc.c op->rsp_iu.status_code, op 1696 drivers/nvme/host/fc.c if (op->flags & FCOP_FLAGS_AEN) { op 1698 drivers/nvme/host/fc.c __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); op 1699 drivers/nvme/host/fc.c atomic_set(&op->state, FCPOP_STATE_IDLE); op 1700 drivers/nvme/host/fc.c op->flags = FCOP_FLAGS_AEN; /* clear other flags */ op 1705 drivers/nvme/host/fc.c __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); op 1715 drivers/nvme/host/fc.c struct nvme_fc_queue *queue, struct nvme_fc_fcp_op *op, op 1719 drivers/nvme/host/fc.c container_of(op, typeof(*op_w_sgl), op); op 1720 drivers/nvme/host/fc.c struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; op 1723 drivers/nvme/host/fc.c memset(op, 0, sizeof(*op)); op 1724 drivers/nvme/host/fc.c op->fcp_req.cmdaddr = &op->cmd_iu; op 1725 drivers/nvme/host/fc.c op->fcp_req.cmdlen = sizeof(op->cmd_iu); op 1726 drivers/nvme/host/fc.c op->fcp_req.rspaddr = &op->rsp_iu; op 1727 drivers/nvme/host/fc.c op->fcp_req.rsplen = sizeof(op->rsp_iu); op 1728 drivers/nvme/host/fc.c op->fcp_req.done = nvme_fc_fcpio_done; op 1729 drivers/nvme/host/fc.c op->ctrl = ctrl; op 1730 drivers/nvme/host/fc.c op->queue = queue; op 1731 drivers/nvme/host/fc.c op->rq = rq; op 1732 drivers/nvme/host/fc.c op->rqno = rqno; op 1738 drivers/nvme/host/fc.c op->fcp_req.cmddma = fc_dma_map_single(ctrl->lport->dev, op 1739 drivers/nvme/host/fc.c &op->cmd_iu, sizeof(op->cmd_iu), DMA_TO_DEVICE); op 1740 drivers/nvme/host/fc.c if (fc_dma_mapping_error(ctrl->lport->dev, op->fcp_req.cmddma)) { op 1747 drivers/nvme/host/fc.c op->fcp_req.rspdma = fc_dma_map_single(ctrl->lport->dev, op 1748 drivers/nvme/host/fc.c &op->rsp_iu, sizeof(op->rsp_iu), op 1750 drivers/nvme/host/fc.c if (fc_dma_mapping_error(ctrl->lport->dev, op->fcp_req.rspdma)) { op 1756 drivers/nvme/host/fc.c atomic_set(&op->state, FCPOP_STATE_IDLE); op 1766 drivers/nvme/host/fc.c struct nvme_fcp_op_w_sgl *op = blk_mq_rq_to_pdu(rq); op 1771 drivers/nvme/host/fc.c res = __nvme_fc_init_request(ctrl, queue, &op->op, rq, queue->rqcnt++); op 1774 drivers/nvme/host/fc.c op->op.fcp_req.first_sgl = &op->sgl[0]; op 1775 drivers/nvme/host/fc.c op->op.fcp_req.private = &op->priv[0]; op 2109 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(rq); op 2110 drivers/nvme/host/fc.c struct nvme_fc_ctrl *ctrl = op->ctrl; op 2131 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op) op 2133 drivers/nvme/host/fc.c struct nvmefc_fcp_req *freq = &op->fcp_req; op 2148 drivers/nvme/host/fc.c op->nents = blk_rq_map_sg(rq->q, rq, freq->sg_table.sgl); op 2149 drivers/nvme/host/fc.c WARN_ON(op->nents > blk_rq_nr_phys_segments(rq)); op 2151 drivers/nvme/host/fc.c op->nents, rq_dma_dir(rq)); op 2166 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op) op 2168 drivers/nvme/host/fc.c struct nvmefc_fcp_req *freq = &op->fcp_req; op 2173 drivers/nvme/host/fc.c fc_dma_unmap_sg(ctrl->lport->dev, freq->sg_table.sgl, op->nents, op 2208 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op, u32 data_len, op 2211 drivers/nvme/host/fc.c struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; op 2239 drivers/nvme/host/fc.c op->fcp_req.payload_length = data_len; op 2240 drivers/nvme/host/fc.c op->fcp_req.io_dir = io_dir; op 2241 drivers/nvme/host/fc.c op->fcp_req.transferred_length = 0; op 2242 drivers/nvme/host/fc.c op->fcp_req.rcv_rsplen = 0; op 2243 drivers/nvme/host/fc.c op->fcp_req.status = NVME_SC_SUCCESS; op 2244 drivers/nvme/host/fc.c op->fcp_req.sqid = cpu_to_le16(queue->qnum); op 2265 drivers/nvme/host/fc.c if (!(op->flags & FCOP_FLAGS_AEN)) { op 2266 drivers/nvme/host/fc.c ret = nvme_fc_map_data(ctrl, op->rq, op); op 2268 drivers/nvme/host/fc.c nvme_cleanup_cmd(op->rq); op 2276 drivers/nvme/host/fc.c fc_dma_sync_single_for_device(ctrl->lport->dev, op->fcp_req.cmddma, op 2277 drivers/nvme/host/fc.c sizeof(op->cmd_iu), DMA_TO_DEVICE); op 2279 drivers/nvme/host/fc.c atomic_set(&op->state, FCPOP_STATE_ACTIVE); op 2281 drivers/nvme/host/fc.c if (!(op->flags & FCOP_FLAGS_AEN)) op 2282 drivers/nvme/host/fc.c blk_mq_start_request(op->rq); op 2287 drivers/nvme/host/fc.c queue->lldd_handle, &op->fcp_req); op 2302 drivers/nvme/host/fc.c opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); op 2303 drivers/nvme/host/fc.c __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); op 2305 drivers/nvme/host/fc.c if (!(op->flags & FCOP_FLAGS_AEN)) op 2306 drivers/nvme/host/fc.c nvme_fc_unmap_data(ctrl, op->rq, op); op 2328 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(rq); op 2329 drivers/nvme/host/fc.c struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; op 2362 drivers/nvme/host/fc.c return nvme_fc_start_fcp_op(ctrl, queue, op, data_len, io_dir); op 2394 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(rq); op 2395 drivers/nvme/host/fc.c struct nvme_fc_ctrl *ctrl = op->ctrl; op 2397 drivers/nvme/host/fc.c atomic_set(&op->state, FCPOP_STATE_IDLE); op 2399 drivers/nvme/host/fc.c nvme_fc_unmap_data(ctrl, rq, op); op 2422 drivers/nvme/host/fc.c struct nvme_fc_fcp_op *op = blk_mq_rq_to_pdu(req); op 2424 drivers/nvme/host/fc.c __nvme_fc_abort_op(ctrl, op); op 1097 drivers/nvme/host/rdma.c const char *op) op 1105 drivers/nvme/host/rdma.c op, wc->wr_cqe, op 1783 drivers/nvme/target/fc.c if (fod->fcpreq->op == NVMET_FCOP_READDATA_RSP) op 1863 drivers/nvme/target/fc.c fod->fcpreq->op = NVMET_FCOP_RSP; op 1875 drivers/nvme/target/fc.c struct nvmet_fc_fcp_iod *fod, u8 op) op 1884 drivers/nvme/target/fc.c fcpreq->op = op; op 1925 drivers/nvme/target/fc.c if ((op == NVMET_FCOP_READDATA) && op 1928 drivers/nvme/target/fc.c fcpreq->op = NVMET_FCOP_READDATA_RSP; op 1941 drivers/nvme/target/fc.c if (op == NVMET_FCOP_WRITEDATA) { op 1962 drivers/nvme/target/fc.c if (fcpreq->op == NVMET_FCOP_WRITEDATA) { op 1990 drivers/nvme/target/fc.c switch (fcpreq->op) { op 2033 drivers/nvme/target/fc.c if (fcpreq->op == NVMET_FCOP_READDATA_RSP) { op 561 drivers/nvme/target/fcloop.c fcloop_fcp_copy_data(u8 op, struct scatterlist *data_sg, op 589 drivers/nvme/target/fcloop.c if (op == NVMET_FCOP_WRITEDATA) op 622 drivers/nvme/target/fcloop.c u8 op = tgt_fcpreq->op; op 652 drivers/nvme/target/fcloop.c switch (op) { op 656 drivers/nvme/target/fcloop.c fcloop_fcp_copy_data(op, tgt_fcpreq->sg, op 667 drivers/nvme/target/fcloop.c fcloop_fcp_copy_data(op, tgt_fcpreq->sg, op 672 drivers/nvme/target/fcloop.c if (op == NVMET_FCOP_READDATA) op 151 drivers/nvme/target/io-cmd-bdev.c int op, op_flags = 0, i; op 159 drivers/nvme/target/io-cmd-bdev.c op = REQ_OP_WRITE; op 164 drivers/nvme/target/io-cmd-bdev.c op = REQ_OP_READ; op 183 drivers/nvme/target/io-cmd-bdev.c bio_set_op_attrs(bio, op, op_flags); op 193 drivers/nvme/target/io-cmd-bdev.c bio_set_op_attrs(bio, op, op_flags); op 50 drivers/nvmem/stm32-romem.c static int stm32_bsec_smc(u8 op, u32 otp, u32 data, u32 *result) op 55 drivers/nvmem/stm32-romem.c arm_smccc_smc(STM32_SMC_BSEC, op, otp, data, 0, 0, 0, 0, &res); op 269 drivers/parport/parport_sunbpp.c static int bpp_probe(struct platform_device *op) op 278 drivers/parport/parport_sunbpp.c irq = op->archdata.irqs[0]; op 279 drivers/parport/parport_sunbpp.c base = of_ioremap(&op->resource[0], 0, op 280 drivers/parport/parport_sunbpp.c resource_size(&op->resource[0]), op 285 drivers/parport/parport_sunbpp.c size = resource_size(&op->resource[0]); op 302 drivers/parport/parport_sunbpp.c p->dev = &op->dev; op 319 drivers/parport/parport_sunbpp.c dev_set_drvdata(&op->dev, p); op 332 drivers/parport/parport_sunbpp.c of_iounmap(&op->resource[0], base, size); op 337 drivers/parport/parport_sunbpp.c static int bpp_remove(struct platform_device *op) op 339 drivers/parport/parport_sunbpp.c struct parport *p = dev_get_drvdata(&op->dev); op 349 drivers/parport/parport_sunbpp.c of_iounmap(&op->resource[0], (void __iomem *) p->base, p->size); op 353 drivers/parport/parport_sunbpp.c dev_set_drvdata(&op->dev, NULL); op 157 drivers/pci/hotplug/cpqphp_nvram.c int op = operation; op 172 drivers/pci/hotplug/cpqphp_nvram.c : "a" (op), "c" (*buf_size), "S" (ev_name), op 114 drivers/pci/xen-pcifront.c static int do_pci_op(struct pcifront_device *pdev, struct xen_pci_op *op) op 117 drivers/pci/xen-pcifront.c struct xen_pci_op *active_op = &pdev->sh_info->op; op 125 drivers/pci/xen-pcifront.c memcpy(active_op, op, sizeof(struct xen_pci_op)); op 169 drivers/pci/xen-pcifront.c memcpy(op, active_op, sizeof(struct xen_pci_op)); op 171 drivers/pci/xen-pcifront.c err = op->err; op 182 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 199 drivers/pci/xen-pcifront.c err = do_pci_op(pdev, &op); op 204 drivers/pci/xen-pcifront.c op.value); op 206 drivers/pci/xen-pcifront.c *val = op.value; op 220 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 239 drivers/pci/xen-pcifront.c return errno_to_pcibios_err(do_pci_op(pdev, &op)); op 253 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 272 drivers/pci/xen-pcifront.c op.msix_entries[i].entry = entry->msi_attrib.entry_nr; op 274 drivers/pci/xen-pcifront.c op.msix_entries[i].vector = -1; op 278 drivers/pci/xen-pcifront.c err = do_pci_op(pdev, &op); op 281 drivers/pci/xen-pcifront.c if (likely(!op.value)) { op 284 drivers/pci/xen-pcifront.c if (op.msix_entries[i].vector <= 0) { op 286 drivers/pci/xen-pcifront.c i, op.msix_entries[i].vector); op 291 drivers/pci/xen-pcifront.c vector[i] = op.msix_entries[i].vector; op 294 drivers/pci/xen-pcifront.c pr_info("enable msix get value %x\n", op.value); op 295 drivers/pci/xen-pcifront.c err = op.value; op 306 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 315 drivers/pci/xen-pcifront.c err = do_pci_op(pdev, &op); op 325 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 334 drivers/pci/xen-pcifront.c err = do_pci_op(pdev, &op); op 336 drivers/pci/xen-pcifront.c vector[0] = op.value; op 337 drivers/pci/xen-pcifront.c if (op.value <= 0) { op 339 drivers/pci/xen-pcifront.c op.value); op 345 drivers/pci/xen-pcifront.c "%x:%x\n", op.bus, op.devfn); op 354 drivers/pci/xen-pcifront.c struct xen_pci_op op = { op 363 drivers/pci/xen-pcifront.c err = do_pci_op(pdev, &op); op 36 drivers/phy/mscc/phy-ocelot-serdes.c static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) op 40 drivers/phy/mscc/phy-ocelot-serdes.c regmap_write(regmap, HSIO_MCB_S6G_ADDR_CFG, op | op 44 drivers/phy/mscc/phy-ocelot-serdes.c (regval & op) != op, 100, op 268 drivers/phy/mscc/phy-ocelot-serdes.c static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) op 272 drivers/phy/mscc/phy-ocelot-serdes.c regmap_write(regmap, HSIO_MCB_S1G_ADDR_CFG, op | op 276 drivers/phy/mscc/phy-ocelot-serdes.c (regval & op) != op, 100, op 438 drivers/pinctrl/cirrus/pinctrl-lochnagar.c { .name = NAME, .type = LN_FTYPE_##TYPE, .op = OP } op 470 drivers/pinctrl/cirrus/pinctrl-lochnagar.c u8 op; op 793 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int op) op 807 drivers/pinctrl/cirrus/pinctrl-lochnagar.c if (val == op) op 817 drivers/pinctrl/cirrus/pinctrl-lochnagar.c LOCHNAGAR2_GPIO_CHANNEL_SRC_MASK, op); op 823 drivers/pinctrl/cirrus/pinctrl-lochnagar.c dev_dbg(priv->dev, "Set channel %d to 0x%x\n", free, op); op 833 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int op) op 841 drivers/pinctrl/cirrus/pinctrl-lochnagar.c ret = lochnagar2_get_gpio_chan(priv, op); op 848 drivers/pinctrl/cirrus/pinctrl-lochnagar.c op = ret; op 852 drivers/pinctrl/cirrus/pinctrl-lochnagar.c dev_dbg(priv->dev, "Set pin %s to 0x%x\n", pin->name, op); op 854 drivers/pinctrl/cirrus/pinctrl-lochnagar.c ret = regmap_write(priv->lochnagar->regmap, pin->reg, op); op 864 drivers/pinctrl/cirrus/pinctrl-lochnagar.c unsigned int op) op 871 drivers/pinctrl/cirrus/pinctrl-lochnagar.c ret = regmap_update_bits(regmap, aif->src_reg, aif->src_mask, op); op 920 drivers/pinctrl/cirrus/pinctrl-lochnagar.c return lochnagar_aif_set_mux(priv, group, func->op); op 926 drivers/pinctrl/cirrus/pinctrl-lochnagar.c return lochnagar_pin_set_mux(priv, pin, func->op); op 27 drivers/platform/chrome/cros_ec_vbc.c const size_t para_sz = sizeof(params->op); op 37 drivers/platform/chrome/cros_ec_vbc.c params->op = EC_VBNV_CONTEXT_OP_READ; op 79 drivers/platform/chrome/cros_ec_vbc.c params->op = EC_VBNV_CONTEXT_OP_WRITE; op 17 drivers/platform/chrome/wilco_ec/properties.c u8 op; /* One of enum ec_property_op */ op 25 drivers/platform/chrome/wilco_ec/properties.c u8 op; /* One of enum ec_property_op */ op 48 drivers/platform/chrome/wilco_ec/properties.c if (rs->op != rq->op) op 64 drivers/platform/chrome/wilco_ec/properties.c rq.op = EC_OP_GET; op 86 drivers/platform/chrome/wilco_ec/properties.c rq.op = EC_OP_SET; op 37 drivers/platform/chrome/wilco_ec/sysfs.c u8 op; /* One of enum get_ec_info_op */ op 79 drivers/platform/chrome/wilco_ec/sysfs.c static ssize_t get_info(struct device *dev, char *buf, enum get_ec_info_op op) op 82 drivers/platform/chrome/wilco_ec/sysfs.c struct get_ec_info_req req = { .cmd = CMD_EC_INFO, .op = op }; op 142 drivers/platform/x86/fujitsu-laptop.c int func, int op, int feature, int state) op 146 drivers/platform/x86/fujitsu-laptop.c { .integer.type = ACPI_TYPE_INTEGER, .integer.value = op }, op 163 drivers/platform/x86/fujitsu-laptop.c func, op, feature, state, (int)value); op 207 drivers/platform/x86/intel_scu_ipc.c static int pwr_reg_rdwr(u16 *addr, u8 *data, u32 count, u32 op, u32 id) op 233 drivers/platform/x86/intel_scu_ipc.c ipc_command(scu, (count * 2) << 16 | id << 12 | 0 << 8 | op); op 239 drivers/platform/x86/intel_scu_ipc.c ipc_command(scu, (count * 3) << 16 | id << 12 | 0 << 8 | op); op 244 drivers/platform/x86/intel_scu_ipc.c ipc_command(scu, 4 << 16 | id << 12 | 0 << 8 | op); op 288 drivers/ps3/ps3-sys-manager.c enum ps3_sys_manager_next_op op, op 303 drivers/ps3/ps3-sys-manager.c dev_dbg(&dev->core, "%s:%d: (%xh)\n", __func__, __LINE__, op); op 313 drivers/ps3/ps3-sys-manager.c payload.type = op; op 268 drivers/ps3/ps3stor_lib.c const char *op = write ? "write" : "read"; op 272 drivers/ps3/ps3stor_lib.c __func__, __LINE__, op, sectors, start_sector); op 283 drivers/ps3/ps3stor_lib.c __LINE__, op, res); op 290 drivers/ps3/ps3stor_lib.c __LINE__, op, dev->lv1_status); op 295 drivers/ps3/ps3stor_lib.c op); op 118 drivers/rapidio/devices/tsi721.c u32 op = do_wr ? MAINT_WR : MAINT_RD; op 130 drivers/rapidio/devices/tsi721.c bd_ptr[0].type_id = cpu_to_le32((DTYPE2 << 29) | (op << 19) | destid); op 77 drivers/rtc/rtc-isl12026.c u8 op[3]; op 82 drivers/rtc/rtc-isl12026.c .buf = op op 86 drivers/rtc/rtc-isl12026.c op[0] = 0; op 87 drivers/rtc/rtc-isl12026.c op[1] = ISL12026_REG_SR; op 88 drivers/rtc/rtc-isl12026.c op[2] = ISL12026_REG_SR_WEL; op 98 drivers/rtc/rtc-isl12026.c op[2] = ISL12026_REG_SR_WEL | ISL12026_REG_SR_RWEL; op 116 drivers/rtc/rtc-isl12026.c u8 op[3] = {0, ISL12026_REG_SR, 0}; op 120 drivers/rtc/rtc-isl12026.c .len = sizeof(op), op 121 drivers/rtc/rtc-isl12026.c .buf = op op 139 drivers/rtc/rtc-isl12026.c u8 op[3] = {0, reg, val}; op 143 drivers/rtc/rtc-isl12026.c .len = sizeof(op), op 144 drivers/rtc/rtc-isl12026.c .buf = op op 169 drivers/rtc/rtc-isl12026.c u8 op[10]; op 173 drivers/rtc/rtc-isl12026.c .len = sizeof(op), op 174 drivers/rtc/rtc-isl12026.c .buf = op op 182 drivers/rtc/rtc-isl12026.c op[0] = 0; op 183 drivers/rtc/rtc-isl12026.c op[1] = ISL12026_REG_SC; op 184 drivers/rtc/rtc-isl12026.c op[2] = bin2bcd(tm->tm_sec); /* SC */ op 185 drivers/rtc/rtc-isl12026.c op[3] = bin2bcd(tm->tm_min); /* MN */ op 186 drivers/rtc/rtc-isl12026.c op[4] = bin2bcd(tm->tm_hour) | ISL12026_REG_HR_MIL; /* HR */ op 187 drivers/rtc/rtc-isl12026.c op[5] = bin2bcd(tm->tm_mday); /* DT */ op 188 drivers/rtc/rtc-isl12026.c op[6] = bin2bcd(tm->tm_mon + 1); /* MO */ op 189 drivers/rtc/rtc-isl12026.c op[7] = bin2bcd(tm->tm_year % 100); /* YR */ op 190 drivers/rtc/rtc-isl12026.c op[8] = bin2bcd(tm->tm_wday & 7); /* DW */ op 191 drivers/rtc/rtc-isl12026.c op[9] = bin2bcd(tm->tm_year >= 100 ? 20 : 19); /* Y2K */ op 314 drivers/rtc/rtc-max77686.c enum MAX77686_RTC_OP op) op 320 drivers/rtc/rtc-max77686.c if (op == MAX77686_RTC_WRITE) op 309 drivers/rtc/rtc-mpc5121.c static int mpc5121_rtc_probe(struct platform_device *op) op 314 drivers/rtc/rtc-mpc5121.c rtc = devm_kzalloc(&op->dev, sizeof(*rtc), GFP_KERNEL); op 318 drivers/rtc/rtc-mpc5121.c rtc->regs = of_iomap(op->dev.of_node, 0); op 320 drivers/rtc/rtc-mpc5121.c dev_err(&op->dev, "%s: couldn't map io space\n", __func__); op 324 drivers/rtc/rtc-mpc5121.c device_init_wakeup(&op->dev, 1); op 326 drivers/rtc/rtc-mpc5121.c platform_set_drvdata(op, rtc); op 328 drivers/rtc/rtc-mpc5121.c rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1); op 330 drivers/rtc/rtc-mpc5121.c "mpc5121-rtc", &op->dev); op 332 drivers/rtc/rtc-mpc5121.c dev_err(&op->dev, "%s: could not request irq: %i\n", op 337 drivers/rtc/rtc-mpc5121.c rtc->irq_periodic = irq_of_parse_and_map(op->dev.of_node, 0); op 339 drivers/rtc/rtc-mpc5121.c 0, "mpc5121-rtc_upd", &op->dev); op 341 drivers/rtc/rtc-mpc5121.c dev_err(&op->dev, "%s: could not request irq: %i\n", op 346 drivers/rtc/rtc-mpc5121.c if (of_device_is_compatible(op->dev.of_node, "fsl,mpc5121-rtc")) { op 350 drivers/rtc/rtc-mpc5121.c dev_warn(&op->dev, op 355 drivers/rtc/rtc-mpc5121.c rtc->rtc = devm_rtc_device_register(&op->dev, "mpc5121-rtc", op 358 drivers/rtc/rtc-mpc5121.c rtc->rtc = devm_rtc_device_register(&op->dev, "mpc5200-rtc", op 371 drivers/rtc/rtc-mpc5121.c free_irq(rtc->irq_periodic, &op->dev); op 374 drivers/rtc/rtc-mpc5121.c free_irq(rtc->irq, &op->dev); op 382 drivers/rtc/rtc-mpc5121.c static int mpc5121_rtc_remove(struct platform_device *op) op 384 drivers/rtc/rtc-mpc5121.c struct mpc5121_rtc_data *rtc = platform_get_drvdata(op); op 392 drivers/rtc/rtc-mpc5121.c free_irq(rtc->irq, &op->dev); op 393 drivers/rtc/rtc-mpc5121.c free_irq(rtc->irq_periodic, &op->dev); op 164 drivers/s390/block/dasd_genhd.c barg.op = BLKPG_DEL_PARTITION; op 363 drivers/s390/char/sclp_tty.c unsigned char *ip, *op; op 368 drivers/s390/char/sclp_tty.c ip = op = buf; op 378 drivers/s390/char/sclp_tty.c *op++ = *ip++; op 394 drivers/s390/char/sclp_tty.c *op++ = _ebc_toupper[(int) *ip++]; op 397 drivers/s390/char/sclp_tty.c *op++ = _ebc_tolower[(int) *ip++]; op 400 drivers/s390/char/sclp_tty.c *op++ = *ip++; op 403 drivers/s390/char/sclp_tty.c return op - buf; op 138 drivers/s390/char/tape.h enum tape_op op; op 96 drivers/s390/char/tape_34xx.c request->op = TO_MSEN; op 113 drivers/s390/char/tape_34xx.c request->op = TO_MSEN; op 122 drivers/s390/char/tape_34xx.c enum tape_op op; op 143 drivers/s390/char/tape_34xx.c switch(p->op) { op 155 drivers/s390/char/tape_34xx.c tape_34xx_schedule_work(struct tape_device *device, enum tape_op op) op 165 drivers/s390/char/tape_34xx.c p->op = op; op 177 drivers/s390/char/tape_34xx.c DBF_EVENT(6, "%s done\n", tape_op_verbose[request->op]); op 179 drivers/s390/char/tape_34xx.c switch (request->op) { op 198 drivers/s390/char/tape_34xx.c tape_op_verbose[request->op], rc); op 206 drivers/s390/char/tape_34xx.c tape_op_verbose[request->op]); op 213 drivers/s390/char/tape_34xx.c DBF_EVENT(3, "xerp retr %s\n", tape_op_verbose[request->op]); op 244 drivers/s390/char/tape_34xx.c if (request->op == TO_RFO) { op 265 drivers/s390/char/tape_34xx.c if (request->op != TO_ASSIGN) { op 331 drivers/s390/char/tape_34xx.c request->op == TO_DSE || op 332 drivers/s390/char/tape_34xx.c request->op == TO_WRI || op 333 drivers/s390/char/tape_34xx.c request->op == TO_WTM op 362 drivers/s390/char/tape_34xx.c switch (request->op) { op 529 drivers/s390/char/tape_34xx.c if (request->op == TO_RUN) { op 544 drivers/s390/char/tape_34xx.c if (request->op == TO_DSE) op 583 drivers/s390/char/tape_34xx.c if (request->op == TO_RUN) op 616 drivers/s390/char/tape_34xx.c if (request->op==TO_WRI || op 617 drivers/s390/char/tape_34xx.c request->op==TO_DSE || op 618 drivers/s390/char/tape_34xx.c request->op==TO_WTM) op 648 drivers/s390/char/tape_34xx.c switch(request->op) { op 662 drivers/s390/char/tape_34xx.c if (request->op != TO_BLOCK && request->op != TO_LBL) op 754 drivers/s390/char/tape_34xx.c if (request->op == TO_RUN) { op 840 drivers/s390/char/tape_34xx.c (request->op == TO_WRI)) { op 853 drivers/s390/char/tape_34xx.c if (request->op == TO_BSB || request->op == TO_FSB) op 1101 drivers/s390/char/tape_34xx.c request->op = TO_LBL; op 222 drivers/s390/char/tape_3590.c request->op = TO_KEKL_QUERY; op 296 drivers/s390/char/tape_3590.c request->op = TO_KEKL_SET; op 349 drivers/s390/char/tape_3590.c request->op = TO_CRYPT_ON; op 396 drivers/s390/char/tape_3590.c request->op = TO_CRYPT_OFF; op 500 drivers/s390/char/tape_3590.c request->op = TO_MSEN; op 512 drivers/s390/char/tape_3590.c request->op = TO_MSEN; op 544 drivers/s390/char/tape_3590.c request->op = TO_LBL; op 567 drivers/s390/char/tape_3590.c request->op = TO_RBA; op 601 drivers/s390/char/tape_3590.c request->op = TO_READ_ATTMSG; op 620 drivers/s390/char/tape_3590.c enum tape_op op; op 630 drivers/s390/char/tape_3590.c switch (p->op) { op 645 drivers/s390/char/tape_3590.c "operation 0x%02x\n", p->op); op 652 drivers/s390/char/tape_3590.c tape_3590_schedule_work(struct tape_device *device, enum tape_op op) op 662 drivers/s390/char/tape_3590.c p->op = op; op 709 drivers/s390/char/tape_3590.c DBF_EVENT(6, "%s done\n", tape_op_verbose[request->op]); op 711 drivers/s390/char/tape_3590.c switch (request->op) { op 767 drivers/s390/char/tape_3590.c tape_op_verbose[request->op]); op 779 drivers/s390/char/tape_3590.c tape_op_verbose[request->op]); op 791 drivers/s390/char/tape_3590.c DBF_EVENT(2, "Retry: %s\n", tape_op_verbose[request->op]); op 935 drivers/s390/char/tape_3590.c switch (request->op) { op 1459 drivers/s390/char/tape_3590.c (request->op == TO_WRI)) { op 1470 drivers/s390/char/tape_3590.c if (request->op == TO_FSB || request->op == TO_BSB) op 1504 drivers/s390/char/tape_3590.c request->op = TO_RDC; op 170 drivers/s390/char/tape_3590.h __u8 op; op 349 drivers/s390/char/tape_char.c struct mtop op; op 351 drivers/s390/char/tape_char.c if (copy_from_user(&op, (char __user *) data, sizeof(op)) != 0) op 353 drivers/s390/char/tape_char.c if (op.mt_count < 0) op 360 drivers/s390/char/tape_char.c switch (op.mt_op) { op 377 drivers/s390/char/tape_char.c rc = tape_mtop(device, op.mt_op, op.mt_count); op 379 drivers/s390/char/tape_char.c if (op.mt_op == MTWEOF && rc == 0) { op 380 drivers/s390/char/tape_char.c if (op.mt_count > device->required_tapemarks) op 383 drivers/s390/char/tape_char.c device->required_tapemarks -= op.mt_count; op 148 drivers/s390/char/tape_core.c rc = scnprintf(buf,PAGE_SIZE, "%s\n", tape_op_verbose[req->op]); op 917 drivers/s390/char/tape_core.c const char* op; op 920 drivers/s390/char/tape_core.c op = tape_op_verbose[request->op]; op 922 drivers/s390/char/tape_core.c op = "---"; op 925 drivers/s390/char/tape_core.c DBF_EVENT(3, "DEVICE: %08x OP\t: %s\n", device->cdev_id, op); op 943 drivers/s390/char/tape_core.c switch (request->op) { op 74 drivers/s390/char/tape_proc.c str = tape_op_verbose[request->op]; op 63 drivers/s390/char/tape_std.c request->op = TO_ASSIGN; op 108 drivers/s390/char/tape_std.c request->op = TO_UNASSIGN; op 135 drivers/s390/char/tape_std.c request->op = TO_DIS; op 163 drivers/s390/char/tape_std.c request->op = TO_RBI; op 275 drivers/s390/char/tape_std.c request->op = TO_FSF; op 300 drivers/s390/char/tape_std.c request->op = TO_FSB; op 332 drivers/s390/char/tape_std.c request->op = TO_BSB; op 362 drivers/s390/char/tape_std.c request->op = TO_WTM; op 387 drivers/s390/char/tape_std.c request->op = TO_BSF; op 412 drivers/s390/char/tape_std.c request->op = TO_BSF; op 443 drivers/s390/char/tape_std.c request->op = TO_FSF; op 471 drivers/s390/char/tape_std.c request->op = TO_REW; op 494 drivers/s390/char/tape_std.c request->op = TO_RUN; op 515 drivers/s390/char/tape_std.c request->op = TO_NOP; op 566 drivers/s390/char/tape_std.c request->op = TO_FSF; op 589 drivers/s390/char/tape_std.c request->op = TO_DSE; op 627 drivers/s390/char/tape_std.c request->op = TO_NOP; op 656 drivers/s390/char/tape_std.c request->op = TO_RFO; op 675 drivers/s390/char/tape_std.c request->op = TO_RBA; op 696 drivers/s390/char/tape_std.c request->op = TO_WRI; op 496 drivers/s390/cio/chsc.c u8 op; op 517 drivers/s390/cio/chsc.c events[data->op], chpid.cssid, chpid.id); op 518 drivers/s390/cio/chsc.c switch (data->op) { op 1209 drivers/s390/cio/chsc.c int chsc_sstpc(void *page, unsigned int op, u16 ctrl, u64 *clock_delta) op 1214 drivers/s390/cio/chsc.c unsigned int op : 8; op 1229 drivers/s390/cio/chsc.c rr->op = op; op 1373 drivers/s390/cio/chsc.c u16 op; op 1394 drivers/s390/cio/chsc.c sgib_area->op = 0x1; op 178 drivers/s390/cio/itcw.c struct itcw *itcw_init(void *buffer, size_t size, int op, int intrg, op 214 drivers/s390/cio/itcw.c tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, op 215 drivers/s390/cio/itcw.c (op == ITCW_OP_WRITE) ? 1 : 0); op 446 drivers/sbus/char/bbc_envctrl.c static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op, op 458 drivers/sbus/char/bbc_envctrl.c tp->client = bbc_i2c_attach(bp, op); op 494 drivers/sbus/char/bbc_envctrl.c static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op, op 506 drivers/sbus/char/bbc_envctrl.c fp->client = bbc_i2c_attach(bp, op); op 568 drivers/sbus/char/bbc_envctrl.c struct platform_device *op; op 573 drivers/sbus/char/bbc_envctrl.c while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) { op 574 drivers/sbus/char/bbc_envctrl.c if (of_node_name_eq(op->dev.of_node, "temperature")) op 575 drivers/sbus/char/bbc_envctrl.c attach_one_temp(bp, op, temp_index++); op 576 drivers/sbus/char/bbc_envctrl.c if (of_node_name_eq(op->dev.of_node, "fan-control")) op 577 drivers/sbus/char/bbc_envctrl.c attach_one_fan(bp, op, fan_index++); op 54 drivers/sbus/char/bbc_i2c.c static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) op 59 drivers/sbus/char/bbc_i2c.c if (bp->devs[i].device == op) { op 71 drivers/sbus/char/bbc_i2c.c struct platform_device *op = NULL; op 75 drivers/sbus/char/bbc_i2c.c if (!(op = bp->devs[i].device)) op 79 drivers/sbus/char/bbc_i2c.c op = NULL; op 85 drivers/sbus/char/bbc_i2c.c return op; op 89 drivers/sbus/char/bbc_i2c.c struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) op 98 drivers/sbus/char/bbc_i2c.c client->op = op; op 100 drivers/sbus/char/bbc_i2c.c reg = of_get_property(op->dev.of_node, "reg", NULL); op 109 drivers/sbus/char/bbc_i2c.c claim_device(bp, op); op 117 drivers/sbus/char/bbc_i2c.c struct platform_device *op = client->op; op 119 drivers/sbus/char/bbc_i2c.c release_device(bp, op); op 294 drivers/sbus/char/bbc_i2c.c static struct bbc_i2c_bus * attach_one_i2c(struct platform_device *op, int index) op 307 drivers/sbus/char/bbc_i2c.c bp->i2c_control_regs = of_ioremap(&op->resource[0], 0, 0x2, "bbc_i2c_regs"); op 311 drivers/sbus/char/bbc_i2c.c if (op->num_resources == 2) { op 312 drivers/sbus/char/bbc_i2c.c bp->i2c_bussel_reg = of_ioremap(&op->resource[1], 0, 0x1, "bbc_i2c_bussel"); op 319 drivers/sbus/char/bbc_i2c.c if (request_irq(op->archdata.irqs[0], bbc_i2c_interrupt, op 324 drivers/sbus/char/bbc_i2c.c bp->op = op; op 329 drivers/sbus/char/bbc_i2c.c for (dp = op->dev.of_node->child; op 353 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[1], bp->i2c_bussel_reg, 1); op 355 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[0], bp->i2c_control_regs, 2); op 363 drivers/sbus/char/bbc_i2c.c static int bbc_i2c_probe(struct platform_device *op) op 368 drivers/sbus/char/bbc_i2c.c bp = attach_one_i2c(op, index); op 374 drivers/sbus/char/bbc_i2c.c free_irq(op->archdata.irqs[0], bp); op 376 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); op 378 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); op 381 drivers/sbus/char/bbc_i2c.c dev_set_drvdata(&op->dev, bp); op 387 drivers/sbus/char/bbc_i2c.c static int bbc_i2c_remove(struct platform_device *op) op 389 drivers/sbus/char/bbc_i2c.c struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); op 393 drivers/sbus/char/bbc_i2c.c free_irq(op->archdata.irqs[0], bp); op 396 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); op 398 drivers/sbus/char/bbc_i2c.c of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); op 11 drivers/sbus/char/bbc_i2c.h struct platform_device *op; op 68 drivers/sbus/char/bbc_i2c.h struct platform_device *op; op 171 drivers/sbus/char/display7seg.c static int d7s_probe(struct platform_device *op) op 181 drivers/sbus/char/display7seg.c p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); op 186 drivers/sbus/char/display7seg.c p->regs = of_ioremap(&op->resource[0], 0, sizeof(u8), "d7s"); op 216 drivers/sbus/char/display7seg.c op->dev.of_node, op 218 drivers/sbus/char/display7seg.c op->resource[0].start, op 221 drivers/sbus/char/display7seg.c dev_set_drvdata(&op->dev, p); op 230 drivers/sbus/char/display7seg.c of_iounmap(&op->resource[0], p->regs, sizeof(u8)); op 236 drivers/sbus/char/display7seg.c static int d7s_remove(struct platform_device *op) op 238 drivers/sbus/char/display7seg.c struct d7s *p = dev_get_drvdata(&op->dev); op 251 drivers/sbus/char/display7seg.c of_iounmap(&op->resource[0], p->regs, sizeof(u8)); op 1028 drivers/sbus/char/envctrl.c static int envctrl_probe(struct platform_device *op) op 1036 drivers/sbus/char/envctrl.c i2c = of_ioremap(&op->resource[0], 0, 0x2, DRIVER_NAME); op 1041 drivers/sbus/char/envctrl.c dp = op->dev.of_node->child; op 1097 drivers/sbus/char/envctrl.c of_iounmap(&op->resource[0], i2c, 0x2); op 1104 drivers/sbus/char/envctrl.c static int envctrl_remove(struct platform_device *op) op 1110 drivers/sbus/char/envctrl.c of_iounmap(&op->resource[0], i2c, 0x2); op 162 drivers/sbus/char/flash.c static int flash_probe(struct platform_device *op) op 164 drivers/sbus/char/flash.c struct device_node *dp = op->dev.of_node; op 174 drivers/sbus/char/flash.c flash.read_base = op->resource[0].start; op 175 drivers/sbus/char/flash.c flash.read_size = resource_size(&op->resource[0]); op 176 drivers/sbus/char/flash.c if (op->resource[1].flags) { op 177 drivers/sbus/char/flash.c flash.write_base = op->resource[1].start; op 178 drivers/sbus/char/flash.c flash.write_size = resource_size(&op->resource[1]); op 180 drivers/sbus/char/flash.c flash.write_base = op->resource[0].start; op 181 drivers/sbus/char/flash.c flash.write_size = resource_size(&op->resource[0]); op 186 drivers/sbus/char/flash.c op->dev.of_node, op 193 drivers/sbus/char/flash.c static int flash_remove(struct platform_device *op) op 130 drivers/sbus/char/openprom.c static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) op 136 drivers/sbus/char/openprom.c !(pval = of_get_property(dp, op->oprom_array, &len)) || op 138 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int)); op 140 drivers/sbus/char/openprom.c memcpy(op->oprom_array, pval, len); op 141 drivers/sbus/char/openprom.c op->oprom_array[len] = '\0'; op 142 drivers/sbus/char/openprom.c op->oprom_size = len; op 144 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int) + bufsize); op 147 drivers/sbus/char/openprom.c static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize) op 153 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int)); op 154 drivers/sbus/char/openprom.c if (op->oprom_array[0] == '\0') { op 157 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int)); op 160 drivers/sbus/char/openprom.c prop = of_find_property(dp, op->oprom_array, NULL); op 165 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int)); op 170 drivers/sbus/char/openprom.c memcpy(op->oprom_array, prop->name, len); op 171 drivers/sbus/char/openprom.c op->oprom_array[len] = '\0'; op 172 drivers/sbus/char/openprom.c op->oprom_size = ++len; op 174 drivers/sbus/char/openprom.c return copyout(argp, op, sizeof(int) + bufsize); op 177 drivers/sbus/char/openprom.c static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) op 179 drivers/sbus/char/openprom.c char *buf = op->oprom_array + strlen(op->oprom_array) + 1; op 180 drivers/sbus/char/openprom.c int len = op->oprom_array + bufsize - buf; op 182 drivers/sbus/char/openprom.c return of_set_property(options_node, op->oprom_array, buf, len); op 185 drivers/sbus/char/openprom.c static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) op 194 drivers/sbus/char/openprom.c ph = *((int *) op->oprom_array); op 226 drivers/sbus/char/openprom.c *((int *) op->oprom_array) = ph; op 227 drivers/sbus/char/openprom.c op->oprom_size = sizeof(phandle); op 229 drivers/sbus/char/openprom.c return copyout(argp, op, bufsize + sizeof(int)); op 232 drivers/sbus/char/openprom.c static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) op 242 drivers/sbus/char/openprom.c ((int *) op->oprom_array)[0], op 243 drivers/sbus/char/openprom.c ((int *) op->oprom_array)[1]); op 247 drivers/sbus/char/openprom.c *((int *)op->oprom_array) = dp->phandle; op 248 drivers/sbus/char/openprom.c op->oprom_size = sizeof(int); op 249 drivers/sbus/char/openprom.c err = copyout(argp, op, bufsize + sizeof(int)); op 258 drivers/sbus/char/openprom.c static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data) op 262 drivers/sbus/char/openprom.c dp = of_find_node_by_path(op->oprom_array); op 266 drivers/sbus/char/openprom.c *((int *)op->oprom_array) = ph; op 267 drivers/sbus/char/openprom.c op->oprom_size = sizeof(int); op 269 drivers/sbus/char/openprom.c return copyout(argp, op, bufsize + sizeof(int)); op 272 drivers/sbus/char/openprom.c static int opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize) op 280 drivers/sbus/char/openprom.c strcpy(op->oprom_array, buf); op 281 drivers/sbus/char/openprom.c op->oprom_size = len; op 283 drivers/sbus/char/openprom.c return copyout(argp, op, bufsize + sizeof(int)); op 387 drivers/sbus/char/openprom.c struct opiocdesc op; op 393 drivers/sbus/char/openprom.c if (copy_from_user(&op, argp, sizeof(op))) op 396 drivers/sbus/char/openprom.c dp = get_node(op.op_nodeid, data); op 398 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); op 404 drivers/sbus/char/openprom.c if (!pval || len > op.op_buflen) { op 407 drivers/sbus/char/openprom.c op.op_buflen = len; op 408 drivers/sbus/char/openprom.c if (copy_to_user(argp, &op, sizeof(op)) || op 409 drivers/sbus/char/openprom.c copy_to_user(op.op_buf, pval, len)) op 419 drivers/sbus/char/openprom.c struct opiocdesc op; op 425 drivers/sbus/char/openprom.c if (copy_from_user(&op, argp, sizeof(op))) op 428 drivers/sbus/char/openprom.c dp = get_node(op.op_nodeid, data); op 432 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); op 450 drivers/sbus/char/openprom.c if (len > op.op_buflen) op 451 drivers/sbus/char/openprom.c len = op.op_buflen; op 453 drivers/sbus/char/openprom.c if (copy_to_user(argp, &op, sizeof(op))) op 457 drivers/sbus/char/openprom.c copy_to_user(op.op_buf, prop->value, len)) op 465 drivers/sbus/char/openprom.c struct opiocdesc op; op 470 drivers/sbus/char/openprom.c if (copy_from_user(&op, argp, sizeof(op))) op 473 drivers/sbus/char/openprom.c dp = get_node(op.op_nodeid, data); op 477 drivers/sbus/char/openprom.c str = copyin_string(op.op_name, op.op_namelen); op 481 drivers/sbus/char/openprom.c tmp = copyin_string(op.op_buf, op.op_buflen); op 487 drivers/sbus/char/openprom.c err = of_set_property(dp, str, tmp, op.op_buflen); op 350 drivers/sbus/char/uctrl.c static int uctrl_probe(struct platform_device *op) op 361 drivers/sbus/char/uctrl.c p->regs = of_ioremap(&op->resource[0], 0, op 362 drivers/sbus/char/uctrl.c resource_size(&op->resource[0]), op 369 drivers/sbus/char/uctrl.c p->irq = op->archdata.irqs[0]; op 384 drivers/sbus/char/uctrl.c op->dev.of_node, p->regs, p->irq); op 388 drivers/sbus/char/uctrl.c dev_set_drvdata(&op->dev, p); op 398 drivers/sbus/char/uctrl.c of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); op 405 drivers/sbus/char/uctrl.c static int uctrl_remove(struct platform_device *op) op 407 drivers/sbus/char/uctrl.c struct uctrl_driver *p = dev_get_drvdata(&op->dev); op 412 drivers/sbus/char/uctrl.c of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); op 483 drivers/scsi/aha1542.c ccb[mbo].op = 2; /* SCSI Initiator Command w/scatter-gather */ op 495 drivers/scsi/aha1542.c ccb[mbo].op = 0; /* SCSI Initiator Command */ op 890 drivers/scsi/aha1542.c ccb[mbo].op = 0x81; /* BUS DEVICE RESET */ op 82 drivers/scsi/aha1542.h u8 op; /* Command Control Block Operation Code */ op 519 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) op 524 drivers/scsi/aic7xxx/aic79xx_core.c /*len*/sizeof(*scb->hscb), op); op 528 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) op 536 drivers/scsi/aic7xxx/aic79xx_core.c /*len*/ahd_sg_size(ahd) * scb->sg_count, op); op 540 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) op 545 drivers/scsi/aic7xxx/aic79xx_core.c /*len*/AHD_SENSE_BUFSIZE, op); op 887 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) op 891 drivers/scsi/aic7xxx/aic79xx_core.c /*len*/AHD_SCB_MAX * sizeof(struct ahd_completion), op); op 895 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) op 903 drivers/scsi/aic7xxx/aic79xx_core.c op); op 107 drivers/scsi/aic7xxx/aic79xx_inline.h struct scb *scb, int op); op 204 drivers/scsi/aic7xxx/aic79xx_osm.h #define ahd_dmamap_sync(ahd, dma_tag, dmamap, offset, len, op) op 395 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) op 400 drivers/scsi/aic7xxx/aic7xxx_core.c /*len*/sizeof(*scb->hscb), op); op 404 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) op 412 drivers/scsi/aic7xxx/aic7xxx_core.c /*len*/sizeof(struct ahc_dma_seg) * scb->sg_count, op); op 667 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) op 670 drivers/scsi/aic7xxx/aic7xxx_core.c /*offset*/0, /*len*/256, op); op 674 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) op 682 drivers/scsi/aic7xxx/aic7xxx_core.c op); op 55 drivers/scsi/aic7xxx/aic7xxx_inline.h struct scb *scb, int op); op 217 drivers/scsi/aic7xxx/aic7xxx_osm.h #define ahc_dmamap_sync(ahc, dma_tag, dmamap, offset, len, op) op 1261 drivers/scsi/aic94xx/aic94xx_hwi.c void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op) op 1265 drivers/scsi/aic94xx/aic94xx_hwi.c if (op) op 1282 drivers/scsi/aic94xx/aic94xx_hwi.c void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op) op 1288 drivers/scsi/aic94xx/aic94xx_hwi.c if (op) op 1295 drivers/scsi/aic94xx/aic94xx_hwi.c if (op) op 372 drivers/scsi/aic94xx/aic94xx_hwi.h void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op); op 373 drivers/scsi/aic94xx/aic94xx_hwi.h void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op); op 136 drivers/scsi/bfa/bfa_ioc.c bfa_fsm_state_decl(bfa_ioc, op, struct bfa_ioc_s, enum ioc_event); op 6738 drivers/scsi/bfa/bfa_ioc.c u8 rd_cnt, u8 ad_cnt, u8 op) op 6747 drivers/scsi/bfa/bfa_ioc.c cmd.r.cmd = op; op 573 drivers/scsi/bnx2fc/bnx2fc.h struct fc_frame *fp, unsigned int op, op 23 drivers/scsi/bnx2fc/bnx2fc_els.c static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, op 670 drivers/scsi/bnx2fc/bnx2fc_els.c static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, op 691 drivers/scsi/bnx2fc/bnx2fc_els.c printk(KERN_ERR PFX "els 0x%x: rport not ready\n", op); op 696 drivers/scsi/bnx2fc/bnx2fc_els.c printk(KERN_ERR PFX "els 0x%x: link is not ready\n", op); op 701 drivers/scsi/bnx2fc/bnx2fc_els.c printk(KERN_ERR PFX "els 0x%x: tgt not ready\n", op); op 738 drivers/scsi/bnx2fc/bnx2fc_els.c if ((op >= ELS_LS_RJT) && (op <= ELS_AUTH_ELS)) { op 741 drivers/scsi/bnx2fc/bnx2fc_els.c printk(KERN_ERR PFX "Invalid ELS op 0x%x\n", op); op 759 drivers/scsi/bnx2fc/bnx2fc_els.c if (op == ELS_SRR) op 926 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_frame *fp, unsigned int op, op 937 drivers/scsi/bnx2fc/bnx2fc_els.c switch (op) { op 940 drivers/scsi/bnx2fc/bnx2fc_els.c return fc_elsct_send(lport, did, fp, op, bnx2fc_flogi_resp, op 946 drivers/scsi/bnx2fc/bnx2fc_els.c return fc_elsct_send(lport, did, fp, op, bnx2fc_logo_resp, op 949 drivers/scsi/bnx2fc/bnx2fc_els.c return fc_elsct_send(lport, did, fp, op, resp, arg, timeout); op 1108 drivers/scsi/bnx2fc/bnx2fc_fcoe.c u16 op; op 1113 drivers/scsi/bnx2fc/bnx2fc_fcoe.c op = ntohs(fiph->fip_op); op 1116 drivers/scsi/bnx2fc/bnx2fc_fcoe.c if (op == FIP_OP_CTRL && sub == FIP_SC_SOL && bnx2fc_log_fka) op 561 drivers/scsi/bnx2fc/bnx2fc_hwi.c u8 op; op 595 drivers/scsi/bnx2fc/bnx2fc_hwi.c op = fc_frame_payload_op(fp); op 596 drivers/scsi/bnx2fc/bnx2fc_hwi.c if ((op == ELS_TEST) || (op == ELS_ESTC) || op 597 drivers/scsi/bnx2fc/bnx2fc_hwi.c (op == ELS_FAN) || (op == ELS_CSU)) { op 602 drivers/scsi/bnx2fc/bnx2fc_hwi.c printk(KERN_ERR PFX "dropping ELS 0x%x\n", op); op 3936 drivers/scsi/csiostor/csio_hw.c __u8 op; op 3941 drivers/scsi/csiostor/csio_hw.c op = ((struct rss_header *) wr)->opcode; op 3942 drivers/scsi/csiostor/csio_hw.c if (op == CPL_FW6_PLD) { op 3952 drivers/scsi/csiostor/csio_hw.c } else if (op == CPL_FW6_MSG || op == CPL_FW4_MSG) { op 3957 drivers/scsi/csiostor/csio_hw.c msg_len = (op == CPL_FW6_MSG) ? sizeof(struct cpl_fw6_msg) : op 3960 drivers/scsi/csiostor/csio_hw.c csio_warn(hw, "unexpected CPL %#x on FW event queue\n", op); op 211 drivers/scsi/csiostor/csio_lnode.c csio_fill_ct_iu(void *buf, uint8_t type, uint8_t sub_type, uint16_t op) op 217 drivers/scsi/csiostor/csio_lnode.c cmd->ct_cmd = htons(op); op 120 drivers/scsi/fcoe/fcoe.c unsigned int op, op 2622 drivers/scsi/fcoe/fcoe.c struct fc_frame *fp, unsigned int op, op 2633 drivers/scsi/fcoe/fcoe.c switch (op) { op 2638 drivers/scsi/fcoe/fcoe.c return fc_elsct_send(lport, did, fp, op, fcoe_flogi_resp, op 2644 drivers/scsi/fcoe/fcoe.c return fc_elsct_send(lport, did, fp, op, fcoe_logo_resp, op 2647 drivers/scsi/fcoe/fcoe.c return fc_elsct_send(lport, did, fp, op, resp, arg, timeout); op 615 drivers/scsi/fcoe/fcoe_ctlr.c u8 op; op 618 drivers/scsi/fcoe/fcoe_ctlr.c op = *(u8 *)(fh + 1); op 643 drivers/scsi/fcoe/fcoe_ctlr.c if (op == ELS_LS_ACC || op == ELS_LS_RJT) op 652 drivers/scsi/fcoe/fcoe_ctlr.c if (op != ELS_LS_RJT) { op 701 drivers/scsi/fcoe/fcoe_ctlr.c u8 op; op 706 drivers/scsi/fcoe/fcoe_ctlr.c op = *(u8 *)(fh + 1); op 708 drivers/scsi/fcoe/fcoe_ctlr.c if (op == ELS_FLOGI && fip->mode != FIP_MODE_VN2VN) { op 728 drivers/scsi/fcoe/fcoe_ctlr.c switch (op) { op 730 drivers/scsi/fcoe/fcoe_ctlr.c op = FIP_DT_FLOGI; op 743 drivers/scsi/fcoe/fcoe_ctlr.c op = FIP_DT_FDISC; op 757 drivers/scsi/fcoe/fcoe_ctlr.c op = FIP_DT_LOGO; op 776 drivers/scsi/fcoe/fcoe_ctlr.c op = fr_encaps(fp); op 777 drivers/scsi/fcoe/fcoe_ctlr.c if (op) op 787 drivers/scsi/fcoe/fcoe_ctlr.c op, ntoh24(fh->fh_d_id)); op 788 drivers/scsi/fcoe/fcoe_ctlr.c if (fcoe_ctlr_encaps(fip, lport, op, skb, ntoh24(fh->fh_d_id))) op 794 drivers/scsi/fcoe/fcoe_ctlr.c op, ntoh24(fh->fh_d_id)); op 1541 drivers/scsi/fcoe/fcoe_ctlr.c u16 op; op 1558 drivers/scsi/fcoe/fcoe_ctlr.c op = ntohs(fiph->fip_op); op 1577 drivers/scsi/fcoe/fcoe_ctlr.c if (fip->mode == FIP_MODE_VN2VN && op == FIP_OP_VN2VN) op 1580 drivers/scsi/fcoe/fcoe_ctlr.c if (fip_vlan_resp && op == FIP_OP_VLAN) { op 1589 drivers/scsi/fcoe/fcoe_ctlr.c if (op == FIP_OP_LS) { op 1597 drivers/scsi/fcoe/fcoe_ctlr.c if (op == FIP_OP_DISC && sub == FIP_SC_ADV) op 1599 drivers/scsi/fcoe/fcoe_ctlr.c else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) op 1906 drivers/scsi/fcoe/fcoe_ctlr.c u8 op; op 1914 drivers/scsi/fcoe/fcoe_ctlr.c op = fc_frame_payload_op(fp); op 1915 drivers/scsi/fcoe/fcoe_ctlr.c if (op == ELS_LS_ACC && fh->fh_r_ctl == FC_RCTL_ELS_REP && op 1942 drivers/scsi/fcoe/fcoe_ctlr.c } else if (op == ELS_FLOGI && fh->fh_r_ctl == FC_RCTL_ELS_REQ && sa) { op 313 drivers/scsi/fnic/fnic_fcs.c u16 op; op 328 drivers/scsi/fnic/fnic_fcs.c op = ntohs(fiph->fip_op); op 331 drivers/scsi/fnic/fnic_fcs.c if (op != FIP_OP_LS) op 571 drivers/scsi/fnic/fnic_fcs.c u16 op; op 581 drivers/scsi/fnic/fnic_fcs.c op = ntohs(fiph->fip_op); op 590 drivers/scsi/fnic/fnic_fcs.c if (op == FIP_OP_DISC && sub == FIP_SC_ADV) { op 595 drivers/scsi/fnic/fnic_fcs.c } else if (op == FIP_OP_VLAN && sub == FIP_SC_VL_NOTE) { op 599 drivers/scsi/fnic/fnic_fcs.c } else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) { op 297 drivers/scsi/isci/request.c static void scu_ssp_ireq_dif_insert(struct isci_request *ireq, u8 type, u8 op) op 337 drivers/scsi/isci/request.c tc->bgctl_f.op = 0x2; op 352 drivers/scsi/isci/request.c static void scu_ssp_ireq_dif_strip(struct isci_request *ireq, u8 type, u8 op) op 397 drivers/scsi/isci/request.c tc->bgctl_f.op = 0x1; op 927 drivers/scsi/isci/scu_task_context.h u16 op:2; op 183 drivers/scsi/libfc/fc_disc.c u8 op; op 186 drivers/scsi/libfc/fc_disc.c op = fc_frame_payload_op(fp); op 187 drivers/scsi/libfc/fc_disc.c switch (op) { op 195 drivers/scsi/libfc/fc_disc.c "the opcode is (%x)\n", op); op 32 drivers/scsi/libfc/fc_elsct.c struct fc_frame *fp, unsigned int op, op 43 drivers/scsi/libfc/fc_elsct.c if ((op >= ELS_LS_RJT) && (op <= ELS_AUTH_ELS)) op 44 drivers/scsi/libfc/fc_elsct.c rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); op 47 drivers/scsi/libfc/fc_elsct.c rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); op 220 drivers/scsi/libfc/fc_exch.c static inline const char *fc_exch_name_lookup(unsigned int op, char **table, op 225 drivers/scsi/libfc/fc_exch.c if (op < max_index) op 226 drivers/scsi/libfc/fc_exch.c name = table[op]; op 236 drivers/scsi/libfc/fc_exch.c static const char *fc_exch_rctl_name(unsigned int op) op 238 drivers/scsi/libfc/fc_exch.c return fc_exch_name_lookup(op, fc_exch_rctl_names, op 2088 drivers/scsi/libfc/fc_exch.c unsigned int op; op 2100 drivers/scsi/libfc/fc_exch.c op = fc_frame_payload_op(fp); op 2103 drivers/scsi/libfc/fc_exch.c switch (op) { op 2111 drivers/scsi/libfc/fc_exch.c op); op 348 drivers/scsi/libfc/fc_lport.c unsigned int op) op 354 drivers/scsi/libfc/fc_lport.c flogi->fl_cmd = (u8) op; op 364 drivers/scsi/libfc/fc_lport.c if (op != ELS_FLOGI) { op 1264 drivers/scsi/libfc/fc_lport.c u8 op; op 1286 drivers/scsi/libfc/fc_lport.c op = fc_frame_payload_op(fp); op 1287 drivers/scsi/libfc/fc_lport.c if (op == ELS_LS_ACC) op 1605 drivers/scsi/libfc/fc_lport.c u8 op; op 1627 drivers/scsi/libfc/fc_lport.c op = fc_frame_payload_op(fp); op 1628 drivers/scsi/libfc/fc_lport.c if (op == ELS_LS_ACC) op 985 drivers/scsi/libfc/fc_rport.c u8 op; op 1007 drivers/scsi/libfc/fc_rport.c op = fc_frame_payload_op(fp); op 1008 drivers/scsi/libfc/fc_rport.c if (op == ELS_LS_ACC && op 1123 drivers/scsi/libfc/fc_rport.c u8 op; op 1149 drivers/scsi/libfc/fc_rport.c op = fc_frame_payload_op(fp); op 1150 drivers/scsi/libfc/fc_rport.c if (op == ELS_LS_ACC) { op 1314 drivers/scsi/libfc/fc_rport.c u8 op; op 1336 drivers/scsi/libfc/fc_rport.c op = fc_frame_payload_op(fp); op 1337 drivers/scsi/libfc/fc_rport.c if (op == ELS_LS_ACC) { op 1498 drivers/scsi/libfc/fc_rport.c u8 op; op 1525 drivers/scsi/libfc/fc_rport.c op = fc_frame_payload_op(fp); op 1527 drivers/scsi/libfc/fc_rport.c if (op != ELS_LS_ACC || !adisc || op 3052 drivers/scsi/lpfc/lpfc_debugfs.c if (debug->op == LPFC_IDIAG_OP_WR) { op 3111 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 3232 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 3407 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 3557 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 4063 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 4141 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 4440 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 4496 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 4658 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 4711 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 4851 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 4895 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 5169 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_WR; op 5217 drivers/scsi/lpfc/lpfc_debugfs.c debug->op = LPFC_IDIAG_OP_RD; op 213 drivers/scsi/lpfc/lpfc_debugfs.h char op; op 716 drivers/scsi/lpfc/lpfc_nvmet.c uint32_t status, result, op, start_clean, logerr; op 725 drivers/scsi/lpfc/lpfc_nvmet.c op = rsp->op; op 736 drivers/scsi/lpfc/lpfc_nvmet.c ctxp->oxid, op, status); op 768 drivers/scsi/lpfc/lpfc_nvmet.c if (op == NVMET_FCOP_RSP) op 776 drivers/scsi/lpfc/lpfc_nvmet.c if ((op == NVMET_FCOP_READDATA_RSP) || op 777 drivers/scsi/lpfc/lpfc_nvmet.c (op == NVMET_FCOP_RSP)) { op 784 drivers/scsi/lpfc/lpfc_nvmet.c if (rsp->op == NVMET_FCOP_READDATA_RSP) { op 955 drivers/scsi/lpfc/lpfc_nvmet.c if (rsp->op == NVMET_FCOP_RSP) op 1007 drivers/scsi/lpfc/lpfc_nvmet.c ctxp->oxid, rsp->op, rsp->rsplen); op 1015 drivers/scsi/lpfc/lpfc_nvmet.c if (rsp->op == NVMET_FCOP_RSP) op 1891 drivers/scsi/lpfc/lpfc_nvmet.c if (ctxp->ctx.fcp_req.op == NVMET_FCOP_RSP) op 2663 drivers/scsi/lpfc/lpfc_nvmet.c switch (rsp->op) { op 2729 drivers/scsi/lpfc/lpfc_nvmet.c if (rsp->op == NVMET_FCOP_READDATA_RSP) { op 2894 drivers/scsi/lpfc/lpfc_nvmet.c rsp->op); op 992 drivers/scsi/lpfc/lpfc_scsi.c uint32_t op = scsi_get_prot_op(sc); op 999 drivers/scsi/lpfc/lpfc_scsi.c if (op == SCSI_PROT_NORMAL) op 1053 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 1142 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 1173 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 1261 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 1293 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 1345 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 2441 drivers/scsi/lpfc/lpfc_scsi.c unsigned char op = scsi_get_prot_op(sc); op 2443 drivers/scsi/lpfc/lpfc_scsi.c switch (op) { op 2458 drivers/scsi/lpfc/lpfc_scsi.c op); op 208 drivers/scsi/myrb.c enum myrb_cmd_opcode op, dma_addr_t addr) op 217 drivers/scsi/myrb.c mbox->type3.opcode = op; op 230 drivers/scsi/myrb.c enum myrb_cmd_opcode op, struct scsi_device *sdev, op 247 drivers/scsi/myrb.c mbox->type3D.opcode = op; op 3433 drivers/scsi/myrb.c enum myrb_cmd_opcode op; op 3458 drivers/scsi/myrb.c op = mbox->common.opcode; op 3459 drivers/scsi/myrb.c switch (op) { op 1088 drivers/scsi/ncr53c8xx.h #define SCR_SFBR_REG(reg,op,data) \ op 1089 drivers/scsi/ncr53c8xx.h (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 1091 drivers/scsi/ncr53c8xx.h #define SCR_REG_SFBR(reg,op,data) \ op 1092 drivers/scsi/ncr53c8xx.h (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 1094 drivers/scsi/ncr53c8xx.h #define SCR_REG_REG(reg,op,data) \ op 1095 drivers/scsi/ncr53c8xx.h (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 994 drivers/scsi/pmcraid.h ({ u8 op = opcode; u8 __type = 0;\ op 995 drivers/scsi/pmcraid.h if (op == READ_6 || op == READ_10 || op == READ_12 || op == READ_16)\ op 997 drivers/scsi/pmcraid.h else if (op == WRITE_6 || op == WRITE_10 || op == WRITE_12 || \ op 998 drivers/scsi/pmcraid.h op == WRITE_16)\ op 76 drivers/scsi/qedf/qedf.h u8 op; /* Used to keep track of ELS op */ op 285 drivers/scsi/qedf/qedf.h unsigned char op; /* SCSI CDB */ op 260 drivers/scsi/qedf/qedf_debugfs.c seq_printf(s, "0x%02x:", io_log->op); op 9 drivers/scsi/qedf/qedf_els.c static int qedf_initiate_els(struct qedf_rport *fcport, unsigned int op, op 40 drivers/scsi/qedf/qedf_els.c QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: rport not ready\n", op); op 46 drivers/scsi/qedf/qedf_els.c op); op 52 drivers/scsi/qedf/qedf_els.c QEDF_ERR(&(qedf->dbg_ctx), "els 0x%x: fcport not ready\n", op); op 60 drivers/scsi/qedf/qedf_els.c "Failed to alloc ELS request 0x%x\n", op); op 73 drivers/scsi/qedf/qedf_els.c cb_arg->op = op; op 91 drivers/scsi/qedf/qedf_els.c if ((op >= ELS_LS_RJT) && (op <= ELS_AUTH_ELS)) { op 94 drivers/scsi/qedf/qedf_els.c QEDF_ERR(&(qedf->dbg_ctx), "Invalid ELS op 0x%x\n", op); op 451 drivers/scsi/qedf/qedf_els.c if (cb_arg->op == ELS_ADISC) op 126 drivers/scsi/qedf/qedf_fip.c u16 op, vlan_tci = 0; op 138 drivers/scsi/qedf/qedf_fip.c op = ntohs(fiph->fip_op); op 151 drivers/scsi/qedf/qedf_fip.c "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub, op 177 drivers/scsi/qedf/qedf_fip.c u16 op; op 188 drivers/scsi/qedf/qedf_fip.c op = ntohs(fiph->fip_op); op 193 drivers/scsi/qedf/qedf_fip.c skb, fiph, eth_hdr->h_source, eth_hdr->h_dest, op, op 204 drivers/scsi/qedf/qedf_fip.c op, eth_hdr->h_dest, qedf->mac, op 211 drivers/scsi/qedf/qedf_fip.c if (op == FIP_OP_VLAN && sub == FIP_SC_VL_NOTE) { op 214 drivers/scsi/qedf/qedf_fip.c } else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) { op 25 drivers/scsi/qedf/qedf_io.c u8 op = 0; op 92 drivers/scsi/qedf/qedf_io.c op = io_req->cb_arg->op; op 815 drivers/scsi/qedf/qedf_io.c uint8_t op; op 824 drivers/scsi/qedf/qedf_io.c io_log->op = op = sc_cmd->cmnd[0]; op 296 drivers/scsi/qedf/qedf_main.c struct fc_frame *fp, unsigned int op, op 310 drivers/scsi/qedf/qedf_main.c return fc_elsct_send(lport, did, fp, op, qedf_flogi_resp, op 314 drivers/scsi/qedf/qedf_main.c return fc_elsct_send(lport, did, fp, op, resp, arg, timeout); op 227 drivers/scsi/qedi/qedi.h u8 op; /* SCSI CDB */ op 193 drivers/scsi/qedi/qedi_debugfs.c seq_printf(s, "op-0x%02x:", io_log->op); op 1989 drivers/scsi/qedi/qedi_fw.c io_log->op = sc_cmd->cmnd[0]; op 1826 drivers/scsi/qla2xxx/qla_attr.c static int qla_set_ini_mode(scsi_qla_host_t *vha, int op) op 1841 drivers/scsi/qla2xxx/qla_attr.c switch (op) { op 1909 drivers/scsi/qla2xxx/qla_attr.c switch (op) { op 1970 drivers/scsi/qla2xxx/qla_attr.c switch (op) { op 1993 drivers/scsi/qla2xxx/qla_attr.c switch (op) { op 2064 drivers/scsi/qla2xxx/qla_attr.c mode_to_str[vha->qlini_mode], mode_to_str[op], op 2068 drivers/scsi/qla2xxx/qla_attr.c vha->qlini_mode = op; op 2080 drivers/scsi/qla2xxx/qla_attr.c mode_to_str[vha->qlini_mode], mode_to_str[op], op 2083 drivers/scsi/qla2xxx/qla_attr.c vha->qlini_mode = op; op 2097 drivers/scsi/qla2xxx/qla_attr.c vha->qlini_mode, op, op 1955 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *op; op 1962 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry(op, &vha->qla_sess_op_cmd_list, cmd_list) { op 1966 drivers/scsi/qla2xxx/qla_target.c op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); op 1968 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); op 1970 drivers/scsi/qla2xxx/qla_target.c op->aborted = true; op 1973 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry(op, &vha->unknown_atio_list, cmd_list) { op 1977 drivers/scsi/qla2xxx/qla_target.c op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); op 1979 drivers/scsi/qla2xxx/qla_target.c (struct scsi_lun *)&op->atio.u.isp24.fcp_cmnd.lun); op 1981 drivers/scsi/qla2xxx/qla_target.c op->aborted = true; op 4630 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *op; op 4641 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry(op, &vha->qla_sess_op_cmd_list, cmd_list) { op 4642 drivers/scsi/qla2xxx/qla_target.c uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); op 4645 drivers/scsi/qla2xxx/qla_target.c op->aborted = true; op 4650 drivers/scsi/qla2xxx/qla_target.c list_for_each_entry(op, &vha->unknown_atio_list, cmd_list) { op 4651 drivers/scsi/qla2xxx/qla_target.c uint32_t op_key = sid_to_key(op->atio.u.isp24.fcp_hdr.s_id); op 4654 drivers/scsi/qla2xxx/qla_target.c op->aborted = true; op 7130 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *op = container_of(work, op 7132 drivers/scsi/qla2xxx/qla_target.c scsi_qla_host_t *vha = op->vha; op 7137 drivers/scsi/qla2xxx/qla_target.c (op->chip_reset != ha->base_qpair->chip_reset)) op 7145 drivers/scsi/qla2xxx/qla_target.c qlt_response_pkt_all_vps(vha, op->rsp, (response_t *)&op->atio); op 7148 drivers/scsi/qla2xxx/qla_target.c kfree(op); op 7155 drivers/scsi/qla2xxx/qla_target.c struct qla_tgt_sess_op *op; op 7157 drivers/scsi/qla2xxx/qla_target.c op = kzalloc(sizeof(*op), GFP_ATOMIC); op 7159 drivers/scsi/qla2xxx/qla_target.c if (!op) { op 7167 drivers/scsi/qla2xxx/qla_target.c memcpy(&op->atio, pkt, sizeof(*pkt)); op 7168 drivers/scsi/qla2xxx/qla_target.c op->vha = vha; op 7169 drivers/scsi/qla2xxx/qla_target.c op->chip_reset = vha->hw->base_qpair->chip_reset; op 7170 drivers/scsi/qla2xxx/qla_target.c op->rsp = rsp; op 7171 drivers/scsi/qla2xxx/qla_target.c INIT_WORK(&op->work, qlt_handle_abts_recv_work); op 7172 drivers/scsi/qla2xxx/qla_target.c queue_work(qla_tgt_wq, &op->work); op 905 drivers/scsi/qla2xxx/tcm_qla2xxx.c unsigned long op; op 908 drivers/scsi/qla2xxx/tcm_qla2xxx.c rc = kstrtoul(page, 0, &op); op 913 drivers/scsi/qla2xxx/tcm_qla2xxx.c if ((op != 1) && (op != 0)) { op 914 drivers/scsi/qla2xxx/tcm_qla2xxx.c pr_err("Illegal value for tpg_enable: %lu\n", op); op 917 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (op) { op 1067 drivers/scsi/qla2xxx/tcm_qla2xxx.c unsigned long op; op 1070 drivers/scsi/qla2xxx/tcm_qla2xxx.c rc = kstrtoul(page, 0, &op); op 1075 drivers/scsi/qla2xxx/tcm_qla2xxx.c if ((op != 1) && (op != 0)) { op 1076 drivers/scsi/qla2xxx/tcm_qla2xxx.c pr_err("Illegal value for tpg_enable: %lu\n", op); op 1079 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (op) { op 488 drivers/scsi/qlogicpti.c err = request_firmware(&fw, fwname, &qpti->op->dev); op 717 drivers/scsi/qlogicpti.c struct platform_device *op = qpti->op; op 719 drivers/scsi/qlogicpti.c qpti->qregs = of_ioremap(&op->resource[0], 0, op 720 drivers/scsi/qlogicpti.c resource_size(&op->resource[0]), op 727 drivers/scsi/qlogicpti.c qpti->sreg = of_ioremap(&op->resource[0], (16 * 4096), op 740 drivers/scsi/qlogicpti.c struct platform_device *op = qpti->op; op 742 drivers/scsi/qlogicpti.c qpti->qhost->irq = qpti->irq = op->archdata.irqs[0]; op 765 drivers/scsi/qlogicpti.c struct platform_device *op = qpti->op; op 768 drivers/scsi/qlogicpti.c dp = op->dev.of_node; op 786 drivers/scsi/qlogicpti.c struct platform_device *op = qpti->op; op 789 drivers/scsi/qlogicpti.c bursts = of_getintprop_default(op->dev.of_node, "burst-sizes", 0xff); op 790 drivers/scsi/qlogicpti.c bmask = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0xff); op 819 drivers/scsi/qlogicpti.c struct platform_device *op = qpti->op; op 822 drivers/scsi/qlogicpti.c qpti->res_cpu = dma_alloc_coherent(&op->dev, op 831 drivers/scsi/qlogicpti.c qpti->req_cpu = dma_alloc_coherent(&op->dev, op 836 drivers/scsi/qlogicpti.c dma_free_coherent(&op->dev, QSIZE(RES_QUEUE_LEN), op 909 drivers/scsi/qlogicpti.c sg_count = dma_map_sg(&qpti->op->dev, sg, op 1189 drivers/scsi/qlogicpti.c dma_unmap_sg(&qpti->op->dev, op 1304 drivers/scsi/qlogicpti.c static int qpti_sbus_probe(struct platform_device *op) op 1306 drivers/scsi/qlogicpti.c struct device_node *dp = op->dev.of_node; op 1315 drivers/scsi/qlogicpti.c if (op->archdata.irqs[0] == 0) op 1326 drivers/scsi/qlogicpti.c qpti->op = op; op 1328 drivers/scsi/qlogicpti.c qpti->is_pti = !of_node_name_eq(op->dev.of_node, "QLGC,isp"); op 1373 drivers/scsi/qlogicpti.c if (scsi_add_host(host, &op->dev)) { op 1378 drivers/scsi/qlogicpti.c dev_set_drvdata(&op->dev, qpti); op 1389 drivers/scsi/qlogicpti.c dma_free_coherent(&op->dev, op 1392 drivers/scsi/qlogicpti.c dma_free_coherent(&op->dev, op 1401 drivers/scsi/qlogicpti.c of_iounmap(&op->resource[0], qpti->qregs, op 1402 drivers/scsi/qlogicpti.c resource_size(&op->resource[0])); op 1404 drivers/scsi/qlogicpti.c of_iounmap(&op->resource[0], qpti->sreg, op 1413 drivers/scsi/qlogicpti.c static int qpti_sbus_remove(struct platform_device *op) op 1415 drivers/scsi/qlogicpti.c struct qlogicpti *qpti = dev_get_drvdata(&op->dev); op 1428 drivers/scsi/qlogicpti.c dma_free_coherent(&op->dev, op 1431 drivers/scsi/qlogicpti.c dma_free_coherent(&op->dev, op 1436 drivers/scsi/qlogicpti.c of_iounmap(&op->resource[0], qpti->qregs, op 1437 drivers/scsi/qlogicpti.c resource_size(&op->resource[0])); op 1439 drivers/scsi/qlogicpti.c of_iounmap(&op->resource[0], qpti->sreg, sizeof(unsigned char)); op 346 drivers/scsi/qlogicpti.h struct platform_device *op; op 84 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 91 drivers/scsi/sun_esp.c res = &op->resource[1]; op 93 drivers/scsi/sun_esp.c res = &op->resource[0]; op 115 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 117 drivers/scsi/sun_esp.c host->irq = op->archdata.irqs[0]; op 123 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 126 drivers/scsi/sun_esp.c dp = op->dev.of_node; op 145 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 148 drivers/scsi/sun_esp.c dp = op->dev.of_node; op 157 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 161 drivers/scsi/sun_esp.c dp = op->dev.of_node; op 174 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 178 drivers/scsi/sun_esp.c dp = op->dev.of_node; op 225 drivers/scsi/sun_esp.c struct platform_device *op = to_platform_device(esp->dev); op 261 drivers/scsi/sun_esp.c sbus_set_sbus64(&op->dev, esp->bursts); op 451 drivers/scsi/sun_esp.c static int esp_sbus_probe_one(struct platform_device *op, op 469 drivers/scsi/sun_esp.c esp->dev = &op->dev; op 503 drivers/scsi/sun_esp.c dev_set_drvdata(&op->dev, esp); op 514 drivers/scsi/sun_esp.c dma_free_coherent(&op->dev, 16, op 518 drivers/scsi/sun_esp.c of_iounmap(&op->resource[(hme ? 1 : 0)], esp->regs, SBUS_ESP_REG_SIZE); op 525 drivers/scsi/sun_esp.c static int esp_sbus_probe(struct platform_device *op) op 528 drivers/scsi/sun_esp.c struct device_node *dp = op->dev.of_node; op 537 drivers/scsi/sun_esp.c dma_node = op->dev.of_node; op 545 drivers/scsi/sun_esp.c ret = esp_sbus_probe_one(op, dma_of, hme); op 552 drivers/scsi/sun_esp.c static int esp_sbus_remove(struct platform_device *op) op 554 drivers/scsi/sun_esp.c struct esp *esp = dev_get_drvdata(&op->dev); op 570 drivers/scsi/sun_esp.c dma_free_coherent(&op->dev, 16, op 573 drivers/scsi/sun_esp.c of_iounmap(&op->resource[(is_hme ? 1 : 0)], esp->regs, op 580 drivers/scsi/sun_esp.c dev_set_drvdata(&op->dev, NULL); op 571 drivers/scsi/sym53c8xx_2/sym_defs.h #define SCR_SFBR_REG(reg,op,data) \ op 572 drivers/scsi/sym53c8xx_2/sym_defs.h (0x68000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 574 drivers/scsi/sym53c8xx_2/sym_defs.h #define SCR_REG_SFBR(reg,op,data) \ op 575 drivers/scsi/sym53c8xx_2/sym_defs.h (0x70000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 577 drivers/scsi/sym53c8xx_2/sym_defs.h #define SCR_REG_REG(reg,op,data) \ op 578 drivers/scsi/sym53c8xx_2/sym_defs.h (0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul)) op 578 drivers/scsi/sym53c8xx_2/sym_glue.c static int sym_eh_handler(int op, char *opname, struct scsi_cmnd *cmd) op 634 drivers/scsi/sym53c8xx_2/sym_glue.c switch(op) { op 110 drivers/scsi/ufs/ufshcd.h #define ufshcd_is_runtime_pm(op) ((op) == UFS_RUNTIME_PM) op 111 drivers/scsi/ufs/ufshcd.h #define ufshcd_is_system_pm(op) ((op) == UFS_SYSTEM_PM) op 112 drivers/scsi/ufs/ufshcd.h #define ufshcd_is_shutdown_pm(op) ((op) == UFS_SHUTDOWN_PM) op 1064 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_suspend(struct ufs_hba *hba, enum ufs_pm_op op) op 1067 drivers/scsi/ufs/ufshcd.h return hba->vops->suspend(hba, op); op 1072 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_resume(struct ufs_hba *hba, enum ufs_pm_op op) op 1075 drivers/scsi/ufs/ufshcd.h return hba->vops->resume(hba, op); op 281 drivers/scsi/vmw_pvscsi.c static int scsi_is_rw(unsigned char op) op 283 drivers/scsi/vmw_pvscsi.c return op == READ_6 || op == WRITE_6 || op 284 drivers/scsi/vmw_pvscsi.c op == READ_10 || op == WRITE_10 || op 285 drivers/scsi/vmw_pvscsi.c op == READ_12 || op == WRITE_12 || op 286 drivers/scsi/vmw_pvscsi.c op == READ_16 || op == WRITE_16; op 290 drivers/scsi/vmw_pvscsi.c unsigned char op) op 292 drivers/scsi/vmw_pvscsi.c if (scsi_is_rw(op)) { op 766 drivers/scsi/vmw_pvscsi.c unsigned char op; op 779 drivers/scsi/vmw_pvscsi.c op = cmd->cmnd[0]; op 782 drivers/scsi/vmw_pvscsi.c "queued cmd %p, ctx %p, op=%x\n", cmd, ctx, op); op 786 drivers/scsi/vmw_pvscsi.c pvscsi_kick_io(adapter, op); op 968 drivers/scsi/xen-scsifront.c static void scsifront_do_lun_hotplug(struct vscsifrnt_info *info, int op) op 1010 drivers/scsi/xen-scsifront.c switch (op) { op 41 drivers/soc/samsung/pm_domains.c char *op; op 54 drivers/soc/samsung/pm_domains.c op = (power_on) ? "enable" : "disable"; op 55 drivers/soc/samsung/pm_domains.c pr_err("Power domain %s %s failed\n", domain->name, op); op 176 drivers/spi/atmel-quadspi.c static inline bool atmel_qspi_is_compatible(const struct spi_mem_op *op, op 179 drivers/spi/atmel-quadspi.c if (op->cmd.buswidth != mode->cmd_buswidth) op 182 drivers/spi/atmel-quadspi.c if (op->addr.nbytes && op->addr.buswidth != mode->addr_buswidth) op 185 drivers/spi/atmel-quadspi.c if (op->data.nbytes && op->data.buswidth != mode->data_buswidth) op 191 drivers/spi/atmel-quadspi.c static int atmel_qspi_find_mode(const struct spi_mem_op *op) op 196 drivers/spi/atmel-quadspi.c if (atmel_qspi_is_compatible(op, &atmel_qspi_modes[i])) op 203 drivers/spi/atmel-quadspi.c const struct spi_mem_op *op) op 205 drivers/spi/atmel-quadspi.c if (atmel_qspi_find_mode(op) < 0) op 209 drivers/spi/atmel-quadspi.c if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth && op 210 drivers/spi/atmel-quadspi.c op->dummy.nbytes == 0) op 217 drivers/spi/atmel-quadspi.c const struct spi_mem_op *op, u32 *offset) op 224 drivers/spi/atmel-quadspi.c icr = QSPI_ICR_INST(op->cmd.opcode); op 227 drivers/spi/atmel-quadspi.c mode = atmel_qspi_find_mode(op); op 232 drivers/spi/atmel-quadspi.c if (op->dummy.buswidth && op->dummy.nbytes) op 233 drivers/spi/atmel-quadspi.c dummy_cycles = op->dummy.nbytes * 8 / op->dummy.buswidth; op 247 drivers/spi/atmel-quadspi.c if (op->addr.buswidth) { op 248 drivers/spi/atmel-quadspi.c switch (op->addr.nbytes) { op 253 drivers/spi/atmel-quadspi.c icr |= QSPI_ICR_OPT(op->addr.val & 0xff); op 256 drivers/spi/atmel-quadspi.c if (dummy_cycles < 8 / op->addr.buswidth) { op 259 drivers/spi/atmel-quadspi.c iar = (op->cmd.opcode << 16) | op 260 drivers/spi/atmel-quadspi.c (op->addr.val & 0xffff); op 263 drivers/spi/atmel-quadspi.c iar = (op->addr.val << 8) & 0xffffff; op 264 drivers/spi/atmel-quadspi.c dummy_cycles -= 8 / op->addr.buswidth; op 269 drivers/spi/atmel-quadspi.c iar = op->addr.val & 0xffffff; op 273 drivers/spi/atmel-quadspi.c iar = op->addr.val & 0x7ffffff; op 288 drivers/spi/atmel-quadspi.c if (op->data.nbytes) op 304 drivers/spi/atmel-quadspi.c if (!op->addr.nbytes && op->data.dir == SPI_MEM_DATA_IN) op 309 drivers/spi/atmel-quadspi.c if (op->data.dir == SPI_MEM_DATA_IN) op 315 drivers/spi/atmel-quadspi.c if (op->data.dir == SPI_MEM_DATA_OUT) op 327 drivers/spi/atmel-quadspi.c static int atmel_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 338 drivers/spi/atmel-quadspi.c if (op->addr.val + op->data.nbytes > aq->mmap_size) op 341 drivers/spi/atmel-quadspi.c err = atmel_qspi_set_cfg(aq, op, &offset); op 346 drivers/spi/atmel-quadspi.c if (op->data.nbytes) { op 351 drivers/spi/atmel-quadspi.c if (op->data.dir == SPI_MEM_DATA_IN) op 352 drivers/spi/atmel-quadspi.c _memcpy_fromio(op->data.buf.in, aq->mem + offset, op 353 drivers/spi/atmel-quadspi.c op->data.nbytes); op 355 drivers/spi/atmel-quadspi.c _memcpy_toio(aq->mem + offset, op->data.buf.out, op 356 drivers/spi/atmel-quadspi.c op->data.nbytes); op 342 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op, int hp) op 345 drivers/spi/spi-bcm-qspi.c u8 command = op->cmd.opcode; op 346 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; op 347 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; op 356 drivers/spi/spi-bcm-qspi.c bpp |= (op->dummy.nbytes * 8) / op->dummy.buswidth; op 388 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op, int hp) op 390 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; op 391 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; op 427 drivers/spi/spi-bcm-qspi.c bcm_qspi_bspi_set_xfer_params(qspi, op->cmd.opcode, 0, 0, 0); op 433 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op, int hp) op 436 drivers/spi/spi-bcm-qspi.c int width = op->data.buswidth ? op->data.buswidth : SPI_NBITS_SINGLE; op 437 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; op 450 drivers/spi/spi-bcm-qspi.c error = bcm_qspi_bspi_set_override(qspi, op, hp); op 455 drivers/spi/spi-bcm-qspi.c error = bcm_qspi_bspi_set_flex_mode(qspi, op, hp); op 793 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op) op 802 drivers/spi/spi-bcm-qspi.c if (op->addr.nbytes == BSPI_ADDRLEN_4BYTES) op 805 drivers/spi/spi-bcm-qspi.c from = op->addr.val; op 831 drivers/spi/spi-bcm-qspi.c len = op->data.nbytes; op 843 drivers/spi/spi-bcm-qspi.c qspi->bspi_rf_op = op; op 906 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op) op 919 drivers/spi/spi-bcm-qspi.c cmd[0] = op->cmd.opcode; op 920 drivers/spi/spi-bcm-qspi.c for (i = 0; i < op->addr.nbytes; i++) op 921 drivers/spi/spi-bcm-qspi.c cmd[1 + i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); op 924 drivers/spi/spi-bcm-qspi.c t[0].len = op->addr.nbytes + op->dummy.nbytes + 1; op 926 drivers/spi/spi-bcm-qspi.c t[0].tx_nbits = op->cmd.buswidth; op 935 drivers/spi/spi-bcm-qspi.c t[1].rx_buf = op->data.buf.in; op 936 drivers/spi/spi-bcm-qspi.c t[1].len = op->data.nbytes; op 937 drivers/spi/spi-bcm-qspi.c t[1].rx_nbits = op->data.buswidth; op 946 drivers/spi/spi-bcm-qspi.c const struct spi_mem_op *op) op 955 drivers/spi/spi-bcm-qspi.c if (!op->data.nbytes || !op->addr.nbytes || op->addr.nbytes > 4 || op 956 drivers/spi/spi-bcm-qspi.c op->data.dir != SPI_MEM_DATA_IN) op 959 drivers/spi/spi-bcm-qspi.c buf = op->data.buf.in; op 960 drivers/spi/spi-bcm-qspi.c addr = op->addr.val; op 961 drivers/spi/spi-bcm-qspi.c len = op->data.nbytes; op 983 drivers/spi/spi-bcm-qspi.c return bcm_qspi_mspi_exec_mem_op(spi, op); op 985 drivers/spi/spi-bcm-qspi.c ret = bcm_qspi_bspi_set_mode(qspi, op, 0); op 988 drivers/spi/spi-bcm-qspi.c ret = bcm_qspi_bspi_exec_mem_op(spi, op); op 357 drivers/spi/spi-fsl-qspi.c const struct spi_mem_op *op) op 362 drivers/spi/spi-fsl-qspi.c ret = fsl_qspi_check_buswidth(q, op->cmd.buswidth); op 364 drivers/spi/spi-fsl-qspi.c if (op->addr.nbytes) op 365 drivers/spi/spi-fsl-qspi.c ret |= fsl_qspi_check_buswidth(q, op->addr.buswidth); op 367 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes) op 368 drivers/spi/spi-fsl-qspi.c ret |= fsl_qspi_check_buswidth(q, op->dummy.buswidth); op 370 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes) op 371 drivers/spi/spi-fsl-qspi.c ret |= fsl_qspi_check_buswidth(q, op->data.buswidth); op 380 drivers/spi/spi-fsl-qspi.c if (op->addr.nbytes + op 381 drivers/spi/spi-fsl-qspi.c (op->dummy.nbytes ? 1:0) + op 382 drivers/spi/spi-fsl-qspi.c (op->data.nbytes ? 1:0) > 6) op 386 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes && op 387 drivers/spi/spi-fsl-qspi.c (op->dummy.nbytes * 8 / op->dummy.buswidth > 64)) op 391 drivers/spi/spi-fsl-qspi.c if (op->data.dir == SPI_MEM_DATA_IN && op 392 drivers/spi/spi-fsl-qspi.c (op->data.nbytes > q->devtype_data->ahb_buf_size || op 393 drivers/spi/spi-fsl-qspi.c (op->data.nbytes > q->devtype_data->rxfifo - 4 && op 394 drivers/spi/spi-fsl-qspi.c !IS_ALIGNED(op->data.nbytes, 8)))) op 397 drivers/spi/spi-fsl-qspi.c if (op->data.dir == SPI_MEM_DATA_OUT && op 398 drivers/spi/spi-fsl-qspi.c op->data.nbytes > q->devtype_data->txfifo) op 401 drivers/spi/spi-fsl-qspi.c return spi_mem_default_supports_op(mem, op); op 405 drivers/spi/spi-fsl-qspi.c const struct spi_mem_op *op) op 411 drivers/spi/spi-fsl-qspi.c lutval[0] |= LUT_DEF(0, LUT_CMD, LUT_PAD(op->cmd.buswidth), op 412 drivers/spi/spi-fsl-qspi.c op->cmd.opcode); op 419 drivers/spi/spi-fsl-qspi.c for (i = 0; i < op->addr.nbytes; i++) { op 420 drivers/spi/spi-fsl-qspi.c u8 addrbyte = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); op 423 drivers/spi/spi-fsl-qspi.c LUT_PAD(op->addr.buswidth), op 428 drivers/spi/spi-fsl-qspi.c if (op->dummy.nbytes) { op 430 drivers/spi/spi-fsl-qspi.c LUT_PAD(op->dummy.buswidth), op 431 drivers/spi/spi-fsl-qspi.c op->dummy.nbytes * 8 / op 432 drivers/spi/spi-fsl-qspi.c op->dummy.buswidth); op 436 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes) { op 438 drivers/spi/spi-fsl-qspi.c op->data.dir == SPI_MEM_DATA_IN ? op 440 drivers/spi/spi-fsl-qspi.c LUT_PAD(op->data.buswidth), op 540 drivers/spi/spi-fsl-qspi.c static void fsl_qspi_read_ahb(struct fsl_qspi *q, const struct spi_mem_op *op) op 542 drivers/spi/spi-fsl-qspi.c memcpy_fromio(op->data.buf.in, op 544 drivers/spi/spi-fsl-qspi.c op->data.nbytes); op 548 drivers/spi/spi-fsl-qspi.c const struct spi_mem_op *op) op 554 drivers/spi/spi-fsl-qspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { op 555 drivers/spi/spi-fsl-qspi.c memcpy(&val, op->data.buf.out + i, 4); op 560 drivers/spi/spi-fsl-qspi.c if (i < op->data.nbytes) { op 561 drivers/spi/spi-fsl-qspi.c memcpy(&val, op->data.buf.out + i, op->data.nbytes - i); op 567 drivers/spi/spi-fsl-qspi.c for (i = op->data.nbytes; i < 16; i += 4) op 573 drivers/spi/spi-fsl-qspi.c const struct spi_mem_op *op) op 577 drivers/spi/spi-fsl-qspi.c u8 *buf = op->data.buf.in; op 580 drivers/spi/spi-fsl-qspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 4); i += 4) { op 586 drivers/spi/spi-fsl-qspi.c if (i < op->data.nbytes) { op 589 drivers/spi/spi-fsl-qspi.c memcpy(buf + i, &val, op->data.nbytes - i); op 593 drivers/spi/spi-fsl-qspi.c static int fsl_qspi_do_op(struct fsl_qspi *q, const struct spi_mem_op *op) op 605 drivers/spi/spi-fsl-qspi.c qspi_writel(q, op->data.nbytes | QUADSPI_IPCR_SEQID(SEQID_LUT), op 612 drivers/spi/spi-fsl-qspi.c if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) op 613 drivers/spi/spi-fsl-qspi.c fsl_qspi_read_rxfifo(q, op); op 630 drivers/spi/spi-fsl-qspi.c static int fsl_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 659 drivers/spi/spi-fsl-qspi.c fsl_qspi_prepare_lut(q, op); op 666 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > (q->devtype_data->rxfifo - 4) && op 667 drivers/spi/spi-fsl-qspi.c op->data.dir == SPI_MEM_DATA_IN) { op 668 drivers/spi/spi-fsl-qspi.c fsl_qspi_read_ahb(q, op); op 673 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) op 674 drivers/spi/spi-fsl-qspi.c fsl_qspi_fill_txfifo(q, op); op 676 drivers/spi/spi-fsl-qspi.c err = fsl_qspi_do_op(q, op); op 687 drivers/spi/spi-fsl-qspi.c static int fsl_qspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) op 691 drivers/spi/spi-fsl-qspi.c if (op->data.dir == SPI_MEM_DATA_OUT) { op 692 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > q->devtype_data->txfifo) op 693 drivers/spi/spi-fsl-qspi.c op->data.nbytes = q->devtype_data->txfifo; op 695 drivers/spi/spi-fsl-qspi.c if (op->data.nbytes > q->devtype_data->ahb_buf_size) op 696 drivers/spi/spi-fsl-qspi.c op->data.nbytes = q->devtype_data->ahb_buf_size; op 697 drivers/spi/spi-fsl-qspi.c else if (op->data.nbytes > (q->devtype_data->rxfifo - 4)) op 698 drivers/spi/spi-fsl-qspi.c op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); op 35 drivers/spi/spi-mem.c const struct spi_mem_op *op, op 40 drivers/spi/spi-mem.c if (!op->data.nbytes) op 43 drivers/spi/spi-mem.c if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) op 45 drivers/spi/spi-mem.c else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) op 53 drivers/spi/spi-mem.c return spi_map_buf(ctlr, dmadev, sgt, op->data.buf.in, op->data.nbytes, op 54 drivers/spi/spi-mem.c op->data.dir == SPI_MEM_DATA_IN ? op 81 drivers/spi/spi-mem.c const struct spi_mem_op *op, op 86 drivers/spi/spi-mem.c if (!op->data.nbytes) op 89 drivers/spi/spi-mem.c if (op->data.dir == SPI_MEM_DATA_OUT && ctlr->dma_tx) op 91 drivers/spi/spi-mem.c else if (op->data.dir == SPI_MEM_DATA_IN && ctlr->dma_rx) op 97 drivers/spi/spi-mem.c op->data.dir == SPI_MEM_DATA_IN ? op 139 drivers/spi/spi-mem.c const struct spi_mem_op *op) op 141 drivers/spi/spi-mem.c if (spi_check_buswidth_req(mem, op->cmd.buswidth, true)) op 144 drivers/spi/spi-mem.c if (op->addr.nbytes && op 145 drivers/spi/spi-mem.c spi_check_buswidth_req(mem, op->addr.buswidth, true)) op 148 drivers/spi/spi-mem.c if (op->dummy.nbytes && op 149 drivers/spi/spi-mem.c spi_check_buswidth_req(mem, op->dummy.buswidth, true)) op 152 drivers/spi/spi-mem.c if (op->data.dir != SPI_MEM_NO_DATA && op 153 drivers/spi/spi-mem.c spi_check_buswidth_req(mem, op->data.buswidth, op 154 drivers/spi/spi-mem.c op->data.dir == SPI_MEM_DATA_OUT)) op 169 drivers/spi/spi-mem.c static int spi_mem_check_op(const struct spi_mem_op *op) op 171 drivers/spi/spi-mem.c if (!op->cmd.buswidth) op 174 drivers/spi/spi-mem.c if ((op->addr.nbytes && !op->addr.buswidth) || op 175 drivers/spi/spi-mem.c (op->dummy.nbytes && !op->dummy.buswidth) || op 176 drivers/spi/spi-mem.c (op->data.nbytes && !op->data.buswidth)) op 179 drivers/spi/spi-mem.c if (!spi_mem_buswidth_is_valid(op->cmd.buswidth) || op 180 drivers/spi/spi-mem.c !spi_mem_buswidth_is_valid(op->addr.buswidth) || op 181 drivers/spi/spi-mem.c !spi_mem_buswidth_is_valid(op->dummy.buswidth) || op 182 drivers/spi/spi-mem.c !spi_mem_buswidth_is_valid(op->data.buswidth)) op 189 drivers/spi/spi-mem.c const struct spi_mem_op *op) op 194 drivers/spi/spi-mem.c return ctlr->mem_ops->supports_op(mem, op); op 196 drivers/spi/spi-mem.c return spi_mem_default_supports_op(mem, op); op 214 drivers/spi/spi-mem.c bool spi_mem_supports_op(struct spi_mem *mem, const struct spi_mem_op *op) op 216 drivers/spi/spi-mem.c if (spi_mem_check_op(op)) op 219 drivers/spi/spi-mem.c return spi_mem_internal_supports_op(mem, op); op 273 drivers/spi/spi-mem.c int spi_mem_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 282 drivers/spi/spi-mem.c ret = spi_mem_check_op(op); op 286 drivers/spi/spi-mem.c if (!spi_mem_internal_supports_op(mem, op)) op 294 drivers/spi/spi-mem.c ret = ctlr->mem_ops->exec_op(mem, op); op 307 drivers/spi/spi-mem.c tmpbufsize = sizeof(op->cmd.opcode) + op->addr.nbytes + op 308 drivers/spi/spi-mem.c op->dummy.nbytes; op 321 drivers/spi/spi-mem.c tmpbuf[0] = op->cmd.opcode; op 323 drivers/spi/spi-mem.c xfers[xferpos].len = sizeof(op->cmd.opcode); op 324 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->cmd.buswidth; op 329 drivers/spi/spi-mem.c if (op->addr.nbytes) { op 332 drivers/spi/spi-mem.c for (i = 0; i < op->addr.nbytes; i++) op 333 drivers/spi/spi-mem.c tmpbuf[i + 1] = op->addr.val >> op 334 drivers/spi/spi-mem.c (8 * (op->addr.nbytes - i - 1)); op 337 drivers/spi/spi-mem.c xfers[xferpos].len = op->addr.nbytes; op 338 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->addr.buswidth; op 341 drivers/spi/spi-mem.c totalxferlen += op->addr.nbytes; op 344 drivers/spi/spi-mem.c if (op->dummy.nbytes) { op 345 drivers/spi/spi-mem.c memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); op 346 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; op 347 drivers/spi/spi-mem.c xfers[xferpos].len = op->dummy.nbytes; op 348 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->dummy.buswidth; op 351 drivers/spi/spi-mem.c totalxferlen += op->dummy.nbytes; op 354 drivers/spi/spi-mem.c if (op->data.nbytes) { op 355 drivers/spi/spi-mem.c if (op->data.dir == SPI_MEM_DATA_IN) { op 356 drivers/spi/spi-mem.c xfers[xferpos].rx_buf = op->data.buf.in; op 357 drivers/spi/spi-mem.c xfers[xferpos].rx_nbits = op->data.buswidth; op 359 drivers/spi/spi-mem.c xfers[xferpos].tx_buf = op->data.buf.out; op 360 drivers/spi/spi-mem.c xfers[xferpos].tx_nbits = op->data.buswidth; op 363 drivers/spi/spi-mem.c xfers[xferpos].len = op->data.nbytes; op 366 drivers/spi/spi-mem.c totalxferlen += op->data.nbytes; op 416 drivers/spi/spi-mem.c int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) op 421 drivers/spi/spi-mem.c len = sizeof(op->cmd.opcode) + op->addr.nbytes + op->dummy.nbytes; op 424 drivers/spi/spi-mem.c return ctlr->mem_ops->adjust_op_size(mem, op); op 430 drivers/spi/spi-mem.c op->data.nbytes = min3((size_t)op->data.nbytes, op 434 drivers/spi/spi-mem.c if (!op->data.nbytes) op 445 drivers/spi/spi-mem.c struct spi_mem_op op = desc->info.op_tmpl; op 448 drivers/spi/spi-mem.c op.addr.val = desc->info.offset + offs; op 449 drivers/spi/spi-mem.c op.data.buf.in = buf; op 450 drivers/spi/spi-mem.c op.data.nbytes = len; op 451 drivers/spi/spi-mem.c ret = spi_mem_adjust_op_size(desc->mem, &op); op 455 drivers/spi/spi-mem.c ret = spi_mem_exec_op(desc->mem, &op); op 459 drivers/spi/spi-mem.c return op.data.nbytes; op 465 drivers/spi/spi-mem.c struct spi_mem_op op = desc->info.op_tmpl; op 468 drivers/spi/spi-mem.c op.addr.val = desc->info.offset + offs; op 469 drivers/spi/spi-mem.c op.data.buf.out = buf; op 470 drivers/spi/spi-mem.c op.data.nbytes = len; op 471 drivers/spi/spi-mem.c ret = spi_mem_adjust_op_size(desc->mem, &op); op 475 drivers/spi/spi-mem.c ret = spi_mem_exec_op(desc->mem, &op); op 479 drivers/spi/spi-mem.c return op.data.nbytes; op 587 drivers/spi/spi-mpc512x-psc.c static int mpc512x_psc_spi_of_probe(struct platform_device *op) op 592 drivers/spi/spi-mpc512x-psc.c regaddr_p = of_get_address(op->dev.of_node, 0, &size64, NULL); op 594 drivers/spi/spi-mpc512x-psc.c dev_err(&op->dev, "Invalid PSC address\n"); op 597 drivers/spi/spi-mpc512x-psc.c regaddr64 = of_translate_address(op->dev.of_node, regaddr_p); op 599 drivers/spi/spi-mpc512x-psc.c return mpc512x_psc_spi_do_probe(&op->dev, (u32) regaddr64, (u32) size64, op 600 drivers/spi/spi-mpc512x-psc.c irq_of_parse_and_map(op->dev.of_node, 0)); op 603 drivers/spi/spi-mpc512x-psc.c static int mpc512x_psc_spi_of_remove(struct platform_device *op) op 605 drivers/spi/spi-mpc512x-psc.c return mpc512x_psc_spi_do_remove(&op->dev); op 439 drivers/spi/spi-mpc52xx-psc.c static int mpc52xx_psc_spi_of_probe(struct platform_device *op) op 445 drivers/spi/spi-mpc52xx-psc.c regaddr_p = of_get_address(op->dev.of_node, 0, &size64, NULL); op 447 drivers/spi/spi-mpc52xx-psc.c dev_err(&op->dev, "Invalid PSC address\n"); op 450 drivers/spi/spi-mpc52xx-psc.c regaddr64 = of_translate_address(op->dev.of_node, regaddr_p); op 453 drivers/spi/spi-mpc52xx-psc.c if (op->dev.platform_data == NULL) { op 456 drivers/spi/spi-mpc52xx-psc.c psc_nump = of_get_property(op->dev.of_node, "cell-index", NULL); op 458 drivers/spi/spi-mpc52xx-psc.c dev_err(&op->dev, "Invalid cell-index property\n"); op 464 drivers/spi/spi-mpc52xx-psc.c return mpc52xx_psc_spi_do_probe(&op->dev, (u32)regaddr64, (u32)size64, op 465 drivers/spi/spi-mpc52xx-psc.c irq_of_parse_and_map(op->dev.of_node, 0), id); op 468 drivers/spi/spi-mpc52xx-psc.c static int mpc52xx_psc_spi_of_remove(struct platform_device *op) op 470 drivers/spi/spi-mpc52xx-psc.c struct spi_master *master = spi_master_get(platform_get_drvdata(op)); op 379 drivers/spi/spi-mpc52xx.c static int mpc52xx_spi_probe(struct platform_device *op) op 389 drivers/spi/spi-mpc52xx.c dev_dbg(&op->dev, "probing mpc5200 SPI device\n"); op 390 drivers/spi/spi-mpc52xx.c regs = of_iomap(op->dev.of_node, 0); op 410 drivers/spi/spi-mpc52xx.c dev_err(&op->dev, "mode fault; is port_config correct?\n"); op 415 drivers/spi/spi-mpc52xx.c dev_dbg(&op->dev, "allocating spi_master struct\n"); op 416 drivers/spi/spi-mpc52xx.c master = spi_alloc_master(&op->dev, sizeof *ms); op 425 drivers/spi/spi-mpc52xx.c master->dev.of_node = op->dev.of_node; op 427 drivers/spi/spi-mpc52xx.c platform_set_drvdata(op, master); op 432 drivers/spi/spi-mpc52xx.c ms->irq0 = irq_of_parse_and_map(op->dev.of_node, 0); op 433 drivers/spi/spi-mpc52xx.c ms->irq1 = irq_of_parse_and_map(op->dev.of_node, 1); op 435 drivers/spi/spi-mpc52xx.c ms->ipb_freq = mpc5xxx_get_bus_frequency(op->dev.of_node); op 436 drivers/spi/spi-mpc52xx.c ms->gpio_cs_count = of_gpio_count(op->dev.of_node); op 448 drivers/spi/spi-mpc52xx.c gpio_cs = of_get_gpio(op->dev.of_node, i); op 450 drivers/spi/spi-mpc52xx.c dev_err(&op->dev, op 456 drivers/spi/spi-mpc52xx.c rc = gpio_request(gpio_cs, dev_name(&op->dev)); op 458 drivers/spi/spi-mpc52xx.c dev_err(&op->dev, op 490 drivers/spi/spi-mpc52xx.c dev_info(&op->dev, "using polled mode\n"); op 492 drivers/spi/spi-mpc52xx.c dev_dbg(&op->dev, "registering spi_master struct\n"); op 516 drivers/spi/spi-mpc52xx.c static int mpc52xx_spi_remove(struct platform_device *op) op 518 drivers/spi/spi-mpc52xx.c struct spi_master *master = spi_master_get(platform_get_drvdata(op)); op 336 drivers/spi/spi-mxic.c const struct spi_mem_op *op) op 338 drivers/spi/spi-mxic.c if (op->data.buswidth > 4 || op->addr.buswidth > 4 || op 339 drivers/spi/spi-mxic.c op->dummy.buswidth > 4 || op->cmd.buswidth > 4) op 342 drivers/spi/spi-mxic.c if (op->data.nbytes && op->dummy.nbytes && op 343 drivers/spi/spi-mxic.c op->data.buswidth != op->dummy.buswidth) op 346 drivers/spi/spi-mxic.c if (op->addr.nbytes > 7) op 353 drivers/spi/spi-mxic.c const struct spi_mem_op *op) op 376 drivers/spi/spi-mxic.c ss_ctrl = OP_CMD_BYTES(1) | OP_CMD_BUSW(fls(op->cmd.buswidth) - 1); op 378 drivers/spi/spi-mxic.c if (op->addr.nbytes) op 379 drivers/spi/spi-mxic.c ss_ctrl |= OP_ADDR_BYTES(op->addr.nbytes) | op 380 drivers/spi/spi-mxic.c OP_ADDR_BUSW(fls(op->addr.buswidth) - 1); op 382 drivers/spi/spi-mxic.c if (op->dummy.nbytes) op 383 drivers/spi/spi-mxic.c ss_ctrl |= OP_DUMMY_CYC(op->dummy.nbytes); op 385 drivers/spi/spi-mxic.c if (op->data.nbytes) { op 386 drivers/spi/spi-mxic.c ss_ctrl |= OP_DATA_BUSW(fls(op->data.buswidth) - 1); op 387 drivers/spi/spi-mxic.c if (op->data.dir == SPI_MEM_DATA_IN) op 396 drivers/spi/spi-mxic.c ret = mxic_spi_data_xfer(mxic, &op->cmd.opcode, NULL, 1); op 400 drivers/spi/spi-mxic.c for (i = 0; i < op->addr.nbytes; i++) op 401 drivers/spi/spi-mxic.c addr[i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); op 403 drivers/spi/spi-mxic.c ret = mxic_spi_data_xfer(mxic, addr, NULL, op->addr.nbytes); op 407 drivers/spi/spi-mxic.c ret = mxic_spi_data_xfer(mxic, NULL, NULL, op->dummy.nbytes); op 412 drivers/spi/spi-mxic.c op->data.dir == SPI_MEM_DATA_OUT ? op 413 drivers/spi/spi-mxic.c op->data.buf.out : NULL, op 414 drivers/spi/spi-mxic.c op->data.dir == SPI_MEM_DATA_IN ? op 415 drivers/spi/spi-mxic.c op->data.buf.in : NULL, op 416 drivers/spi/spi-mxic.c op->data.nbytes); op 246 drivers/spi/spi-npcm-fiu.c const struct spi_mem_op *op) op 250 drivers/spi/spi-npcm-fiu.c ilog2(op->addr.buswidth) << op 252 drivers/spi/spi-npcm-fiu.c fiu->drd_op.addr.buswidth = op->addr.buswidth; op 255 drivers/spi/spi-npcm-fiu.c ((op->dummy.nbytes * ilog2(op->addr.buswidth)) op 257 drivers/spi/spi-npcm-fiu.c fiu->drd_op.dummy.nbytes = op->dummy.nbytes; op 259 drivers/spi/spi-npcm-fiu.c NPCM_FIU_DRD_CFG_RDCMD, op->cmd.opcode); op 260 drivers/spi/spi-npcm-fiu.c fiu->drd_op.cmd.opcode = op->cmd.opcode; op 263 drivers/spi/spi-npcm-fiu.c (op->addr.nbytes - 3) << NPCM_FIU_DRD_ADDSIZ_SHIFT); op 264 drivers/spi/spi-npcm-fiu.c fiu->drd_op.addr.nbytes = op->addr.nbytes; op 315 drivers/spi/spi-npcm-fiu.c const struct spi_mem_op *op, u32 addr, op 331 drivers/spi/spi-npcm-fiu.c NPCM_FIU_UMA_CMD_CMD, op->cmd.opcode); op 334 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->cmd.buswidth); op 335 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->addr.buswidth) op 337 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->dummy.buswidth) op 339 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->data.buswidth) op 341 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->dummy.nbytes << NPCM_FIU_UMA_CFG_DBSIZ_SHIFT; op 342 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; op 370 drivers/spi/spi-npcm-fiu.c const struct spi_mem_op *op, u8 cmd, op 396 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->cmd.buswidth); op 397 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->addr.buswidth) << op 399 drivers/spi/spi-npcm-fiu.c uma_cfg |= ilog2(op->data.buswidth) << op 401 drivers/spi/spi-npcm-fiu.c uma_cfg |= op->addr.nbytes << NPCM_FIU_UMA_CFG_ADDSIZ_SHIFT; op 402 drivers/spi/spi-npcm-fiu.c regmap_write(fiu->regmap, NPCM_FIU_UMA_ADDR, op->addr.val); op 420 drivers/spi/spi-npcm-fiu.c const struct spi_mem_op *op) op 424 drivers/spi/spi-npcm-fiu.c u8 *data = (u8 *)op->data.buf.out; op 430 drivers/spi/spi-npcm-fiu.c num_data_chunks = op->data.nbytes / CHUNK_SIZE; op 431 drivers/spi/spi-npcm-fiu.c remain_data = op->data.nbytes % CHUNK_SIZE; op 440 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, op->cmd.opcode, true, NULL, 0); op 446 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, data[0], false, op 456 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, data[0], false, op 468 drivers/spi/spi-npcm-fiu.c static int npcm_fiu_read(struct spi_mem *mem, const struct spi_mem_op *op) op 470 drivers/spi/spi-npcm-fiu.c u8 *data = op->data.buf.in; op 477 drivers/spi/spi-npcm-fiu.c currlen = op->data.nbytes; op 480 drivers/spi/spi-npcm-fiu.c addr = ((u32)op->addr.val + i); op 487 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_read(mem, op, addr, true, buf_ptr, op 525 drivers/spi/spi-npcm-fiu.c static int npcm_fiu_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 534 drivers/spi/spi-npcm-fiu.c op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, op 535 drivers/spi/spi-npcm-fiu.c op->dummy.buswidth, op->data.buswidth, op->addr.val, op 536 drivers/spi/spi-npcm-fiu.c op->data.nbytes); op 538 drivers/spi/spi-npcm-fiu.c if (fiu->spix_mode || op->addr.nbytes > 4) op 550 drivers/spi/spi-npcm-fiu.c if (op->data.dir == SPI_MEM_DATA_IN) { op 551 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes) { op 552 drivers/spi/spi-npcm-fiu.c buf = op->data.buf.in; op 553 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_read(mem, op, op->addr.val, false, op 554 drivers/spi/spi-npcm-fiu.c buf, op->data.nbytes); op 556 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_read(mem, op); op 559 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes && !op->data.nbytes) op 560 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, op->cmd.opcode, false, op 562 drivers/spi/spi-npcm-fiu.c if (op->addr.nbytes && !op->data.nbytes) { op 565 drivers/spi/spi-npcm-fiu.c u32 addr = op->addr.val; op 567 drivers/spi/spi-npcm-fiu.c for (i = op->addr.nbytes - 1; i >= 0; i--) { op 571 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, op->cmd.opcode, false, op 572 drivers/spi/spi-npcm-fiu.c buf_addr, op->addr.nbytes); op 574 drivers/spi/spi-npcm-fiu.c if (!op->addr.nbytes && op->data.nbytes) op 575 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_uma_write(mem, op, op->cmd.opcode, false, op 576 drivers/spi/spi-npcm-fiu.c (u8 *)op->data.buf.out, op 577 drivers/spi/spi-npcm-fiu.c op->data.nbytes); op 578 drivers/spi/spi-npcm-fiu.c if (op->addr.nbytes && op->data.nbytes) op 579 drivers/spi/spi-npcm-fiu.c ret = npcm_fiu_manualwrite(mem, op); op 393 drivers/spi/spi-nxp-fspi.c const struct spi_mem_op *op) op 398 drivers/spi/spi-nxp-fspi.c ret = nxp_fspi_check_buswidth(f, op->cmd.buswidth); op 400 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes) op 401 drivers/spi/spi-nxp-fspi.c ret |= nxp_fspi_check_buswidth(f, op->addr.buswidth); op 403 drivers/spi/spi-nxp-fspi.c if (op->dummy.nbytes) op 404 drivers/spi/spi-nxp-fspi.c ret |= nxp_fspi_check_buswidth(f, op->dummy.buswidth); op 406 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes) op 407 drivers/spi/spi-nxp-fspi.c ret |= nxp_fspi_check_buswidth(f, op->data.buswidth); op 415 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes > 4) op 423 drivers/spi/spi-nxp-fspi.c if (op->addr.val >= f->memmap_phy_size) op 427 drivers/spi/spi-nxp-fspi.c if (op->dummy.buswidth && op 428 drivers/spi/spi-nxp-fspi.c (op->dummy.nbytes * 8 / op->dummy.buswidth > 64)) op 432 drivers/spi/spi-nxp-fspi.c if (op->data.dir == SPI_MEM_DATA_IN && op 433 drivers/spi/spi-nxp-fspi.c (op->data.nbytes > f->devtype_data->ahb_buf_size || op 434 drivers/spi/spi-nxp-fspi.c (op->data.nbytes > f->devtype_data->rxfifo - 4 && op 435 drivers/spi/spi-nxp-fspi.c !IS_ALIGNED(op->data.nbytes, 8)))) op 438 drivers/spi/spi-nxp-fspi.c if (op->data.dir == SPI_MEM_DATA_OUT && op 439 drivers/spi/spi-nxp-fspi.c op->data.nbytes > f->devtype_data->txfifo) op 442 drivers/spi/spi-nxp-fspi.c return spi_mem_default_supports_op(mem, op); op 483 drivers/spi/spi-nxp-fspi.c const struct spi_mem_op *op) op 490 drivers/spi/spi-nxp-fspi.c lutval[0] |= LUT_DEF(0, LUT_CMD, LUT_PAD(op->cmd.buswidth), op 491 drivers/spi/spi-nxp-fspi.c op->cmd.opcode); op 494 drivers/spi/spi-nxp-fspi.c if (op->addr.nbytes) { op 496 drivers/spi/spi-nxp-fspi.c LUT_PAD(op->addr.buswidth), op 497 drivers/spi/spi-nxp-fspi.c op->addr.nbytes * 8); op 502 drivers/spi/spi-nxp-fspi.c if (op->dummy.nbytes) { op 508 drivers/spi/spi-nxp-fspi.c LUT_PAD(op->data.buswidth), op 509 drivers/spi/spi-nxp-fspi.c op->dummy.nbytes * 8 / op 510 drivers/spi/spi-nxp-fspi.c op->dummy.buswidth); op 515 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes) { op 517 drivers/spi/spi-nxp-fspi.c op->data.dir == SPI_MEM_DATA_IN ? op 519 drivers/spi/spi-nxp-fspi.c LUT_PAD(op->data.buswidth), op 536 drivers/spi/spi-nxp-fspi.c op->cmd.opcode, lutval[0], lutval[1], lutval[2], lutval[3]); op 644 drivers/spi/spi-nxp-fspi.c static void nxp_fspi_read_ahb(struct nxp_fspi *f, const struct spi_mem_op *op) op 646 drivers/spi/spi-nxp-fspi.c u32 len = op->data.nbytes; op 649 drivers/spi/spi-nxp-fspi.c memcpy_fromio(op->data.buf.in, (f->ahb_addr + op->addr.val), len); op 653 drivers/spi/spi-nxp-fspi.c const struct spi_mem_op *op) op 657 drivers/spi/spi-nxp-fspi.c u8 *buf = (u8 *) op->data.buf.out; op 667 drivers/spi/spi-nxp-fspi.c for (i = 0; i < ALIGN_DOWN(op->data.nbytes, 8); i += 8) { op 679 drivers/spi/spi-nxp-fspi.c if (i < op->data.nbytes) { op 688 drivers/spi/spi-nxp-fspi.c for (j = 0; j < ALIGN(op->data.nbytes - i, 4); j += 4) { op 697 drivers/spi/spi-nxp-fspi.c const struct spi_mem_op *op) op 701 drivers/spi/spi-nxp-fspi.c int len = op->data.nbytes; op 702 drivers/spi/spi-nxp-fspi.c u8 *buf = (u8 *) op->data.buf.in; op 725 drivers/spi/spi-nxp-fspi.c buf = op->data.buf.in + i; op 732 drivers/spi/spi-nxp-fspi.c len = op->data.nbytes - i; op 733 drivers/spi/spi-nxp-fspi.c for (j = 0; j < op->data.nbytes - i; j += 4) { op 747 drivers/spi/spi-nxp-fspi.c static int nxp_fspi_do_op(struct nxp_fspi *f, const struct spi_mem_op *op) op 762 drivers/spi/spi-nxp-fspi.c fspi_writel(f, op->addr.val, base + FSPI_IPCR0); op 768 drivers/spi/spi-nxp-fspi.c fspi_writel(f, op->data.nbytes | op 781 drivers/spi/spi-nxp-fspi.c if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) op 782 drivers/spi/spi-nxp-fspi.c nxp_fspi_read_rxfifo(f, op); op 787 drivers/spi/spi-nxp-fspi.c static int nxp_fspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 801 drivers/spi/spi-nxp-fspi.c nxp_fspi_prepare_lut(f, op); op 807 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > (f->devtype_data->rxfifo - 4) && op 808 drivers/spi/spi-nxp-fspi.c op->data.dir == SPI_MEM_DATA_IN) { op 809 drivers/spi/spi-nxp-fspi.c nxp_fspi_read_ahb(f, op); op 811 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) op 812 drivers/spi/spi-nxp-fspi.c nxp_fspi_fill_txfifo(f, op); op 814 drivers/spi/spi-nxp-fspi.c err = nxp_fspi_do_op(f, op); op 825 drivers/spi/spi-nxp-fspi.c static int nxp_fspi_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op) op 829 drivers/spi/spi-nxp-fspi.c if (op->data.dir == SPI_MEM_DATA_OUT) { op 830 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > f->devtype_data->txfifo) op 831 drivers/spi/spi-nxp-fspi.c op->data.nbytes = f->devtype_data->txfifo; op 833 drivers/spi/spi-nxp-fspi.c if (op->data.nbytes > f->devtype_data->ahb_buf_size) op 834 drivers/spi/spi-nxp-fspi.c op->data.nbytes = f->devtype_data->ahb_buf_size; op 835 drivers/spi/spi-nxp-fspi.c else if (op->data.nbytes > (f->devtype_data->rxfifo - 4)) op 836 drivers/spi/spi-nxp-fspi.c op->data.nbytes = ALIGN_DOWN(op->data.nbytes, 8); op 378 drivers/spi/spi-ppc4xx.c static int spi_ppc4xx_of_probe(struct platform_device *op) op 384 drivers/spi/spi-ppc4xx.c struct device_node *np = op->dev.of_node; op 385 drivers/spi/spi-ppc4xx.c struct device *dev = &op->dev; op 395 drivers/spi/spi-ppc4xx.c platform_set_drvdata(op, master); op 550 drivers/spi/spi-ppc4xx.c static int spi_ppc4xx_of_remove(struct platform_device *op) op 552 drivers/spi/spi-ppc4xx.c struct spi_master *master = platform_get_drvdata(op); op 153 drivers/spi/spi-stm32-qspi.c const struct spi_mem_op *op) op 156 drivers/spi/spi-stm32-qspi.c u32 len = op->data.nbytes, sr; op 160 drivers/spi/spi-stm32-qspi.c if (op->data.dir == SPI_MEM_DATA_IN) { op 162 drivers/spi/spi-stm32-qspi.c buf = op->data.buf.in; op 166 drivers/spi/spi-stm32-qspi.c buf = (u8 *)op->data.buf.out; op 185 drivers/spi/spi-stm32-qspi.c const struct spi_mem_op *op) op 187 drivers/spi/spi-stm32-qspi.c memcpy_fromio(op->data.buf.in, qspi->mm_base + op->addr.val, op 188 drivers/spi/spi-stm32-qspi.c op->data.nbytes); op 200 drivers/spi/spi-stm32-qspi.c const struct spi_mem_op *op) op 210 drivers/spi/spi-stm32-qspi.c if (op->data.dir == SPI_MEM_DATA_IN) { op 222 drivers/spi/spi-stm32-qspi.c err = spi_controller_dma_map_mem_op_data(qspi->ctrl, op, &sgt); op 258 drivers/spi/spi-stm32-qspi.c spi_controller_dma_unmap_mem_op_data(qspi->ctrl, op, &sgt); op 263 drivers/spi/spi-stm32-qspi.c static int stm32_qspi_tx(struct stm32_qspi *qspi, const struct spi_mem_op *op) op 265 drivers/spi/spi-stm32-qspi.c if (!op->data.nbytes) op 269 drivers/spi/spi-stm32-qspi.c return stm32_qspi_tx_mm(qspi, op); op 270 drivers/spi/spi-stm32-qspi.c else if ((op->data.dir == SPI_MEM_DATA_IN && qspi->dma_chrx) || op 271 drivers/spi/spi-stm32-qspi.c (op->data.dir == SPI_MEM_DATA_OUT && qspi->dma_chtx)) op 272 drivers/spi/spi-stm32-qspi.c if (!stm32_qspi_tx_dma(qspi, op)) op 275 drivers/spi/spi-stm32-qspi.c return stm32_qspi_tx_poll(qspi, op); op 288 drivers/spi/spi-stm32-qspi.c const struct spi_mem_op *op) op 293 drivers/spi/spi-stm32-qspi.c if (!op->data.nbytes) op 327 drivers/spi/spi-stm32-qspi.c static int stm32_qspi_send(struct spi_mem *mem, const struct spi_mem_op *op) op 335 drivers/spi/spi-stm32-qspi.c op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, op 336 drivers/spi/spi-stm32-qspi.c op->dummy.buswidth, op->data.buswidth, op 337 drivers/spi/spi-stm32-qspi.c op->addr.val, op->data.nbytes); op 343 drivers/spi/spi-stm32-qspi.c addr_max = op->addr.val + op->data.nbytes + 1; op 345 drivers/spi/spi-stm32-qspi.c if (op->data.dir == SPI_MEM_DATA_IN) { op 347 drivers/spi/spi-stm32-qspi.c op->addr.buswidth) op 361 drivers/spi/spi-stm32-qspi.c if (op->data.nbytes) op 362 drivers/spi/spi-stm32-qspi.c writel_relaxed(op->data.nbytes - 1, op 368 drivers/spi/spi-stm32-qspi.c ccr |= FIELD_PREP(CCR_INST_MASK, op->cmd.opcode); op 370 drivers/spi/spi-stm32-qspi.c stm32_qspi_get_mode(qspi, op->cmd.buswidth)); op 372 drivers/spi/spi-stm32-qspi.c if (op->addr.nbytes) { op 374 drivers/spi/spi-stm32-qspi.c stm32_qspi_get_mode(qspi, op->addr.buswidth)); op 375 drivers/spi/spi-stm32-qspi.c ccr |= FIELD_PREP(CCR_ADSIZE_MASK, op->addr.nbytes - 1); op 378 drivers/spi/spi-stm32-qspi.c if (op->dummy.buswidth && op->dummy.nbytes) op 380 drivers/spi/spi-stm32-qspi.c op->dummy.nbytes * 8 / op->dummy.buswidth); op 382 drivers/spi/spi-stm32-qspi.c if (op->data.nbytes) { op 384 drivers/spi/spi-stm32-qspi.c stm32_qspi_get_mode(qspi, op->data.buswidth)); op 389 drivers/spi/spi-stm32-qspi.c if (op->addr.nbytes && qspi->fmode != CCR_FMODE_MM) op 390 drivers/spi/spi-stm32-qspi.c writel_relaxed(op->addr.val, qspi->io_base + QSPI_AR); op 392 drivers/spi/spi-stm32-qspi.c err = stm32_qspi_tx(qspi, op); op 405 drivers/spi/spi-stm32-qspi.c err = stm32_qspi_wait_cmd(qspi, op); op 429 drivers/spi/spi-stm32-qspi.c static int stm32_qspi_exec_op(struct spi_mem *mem, const struct spi_mem_op *op) op 435 drivers/spi/spi-stm32-qspi.c ret = stm32_qspi_send(mem, op); op 531 drivers/spi/spi-ti-qspi.c const struct spi_mem_op *op) op 538 drivers/spi/spi-ti-qspi.c if (!op->data.nbytes || op->data.dir != SPI_MEM_DATA_IN || op 539 drivers/spi/spi-ti-qspi.c !op->addr.nbytes || op->addr.nbytes > 4) op 543 drivers/spi/spi-ti-qspi.c from = op->addr.val; op 544 drivers/spi/spi-ti-qspi.c if (from + op->data.nbytes > qspi->mmap_size) op 551 drivers/spi/spi-ti-qspi.c ti_qspi_setup_mmap_read(mem->spi, op->cmd.opcode, op->data.buswidth, op 552 drivers/spi/spi-ti-qspi.c op->addr.nbytes, op->dummy.nbytes); op 557 drivers/spi/spi-ti-qspi.c if (virt_addr_valid(op->data.buf.in) && op 558 drivers/spi/spi-ti-qspi.c !spi_controller_dma_map_mem_op_data(mem->spi->master, op, op 562 drivers/spi/spi-ti-qspi.c op, &sgt); op 565 drivers/spi/spi-ti-qspi.c op->data.buf.in, op 566 drivers/spi/spi-ti-qspi.c op->data.nbytes); op 569 drivers/spi/spi-ti-qspi.c memcpy_fromio(op->data.buf.in, qspi->mmap_base + from, op 570 drivers/spi/spi-ti-qspi.c op->data.nbytes); op 221 drivers/spi/spi-zynq-qspi.c const struct spi_mem_op *op) op 223 drivers/spi/spi-zynq-qspi.c if (!spi_mem_default_supports_op(mem, op)) op 229 drivers/spi/spi-zynq-qspi.c if (op->addr.nbytes > 3) op 514 drivers/spi/spi-zynq-qspi.c const struct spi_mem_op *op) op 521 drivers/spi/spi-zynq-qspi.c op->cmd.opcode, op->cmd.buswidth, op->addr.buswidth, op 522 drivers/spi/spi-zynq-qspi.c op->dummy.buswidth, op->data.buswidth); op 527 drivers/spi/spi-zynq-qspi.c if (op->cmd.opcode) { op 529 drivers/spi/spi-zynq-qspi.c xqspi->txbuf = (u8 *)&op->cmd.opcode; op 531 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = sizeof(op->cmd.opcode); op 532 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = sizeof(op->cmd.opcode); op 541 drivers/spi/spi-zynq-qspi.c if (op->addr.nbytes) { op 542 drivers/spi/spi-zynq-qspi.c for (i = 0; i < op->addr.nbytes; i++) { op 543 drivers/spi/spi-zynq-qspi.c xqspi->txbuf[i] = op->addr.val >> op 544 drivers/spi/spi-zynq-qspi.c (8 * (op->addr.nbytes - i - 1)); op 549 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->addr.nbytes; op 550 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->addr.nbytes; op 559 drivers/spi/spi-zynq-qspi.c if (op->dummy.nbytes) { op 560 drivers/spi/spi-zynq-qspi.c tmpbuf = kzalloc(op->dummy.nbytes, GFP_KERNEL); op 561 drivers/spi/spi-zynq-qspi.c memset(tmpbuf, 0xff, op->dummy.nbytes); op 565 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->dummy.nbytes; op 566 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->dummy.nbytes; op 577 drivers/spi/spi-zynq-qspi.c if (op->data.nbytes) { op 579 drivers/spi/spi-zynq-qspi.c if (op->data.dir == SPI_MEM_DATA_OUT) { op 580 drivers/spi/spi-zynq-qspi.c xqspi->txbuf = (u8 *)op->data.buf.out; op 581 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->data.nbytes; op 583 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->data.nbytes; op 586 drivers/spi/spi-zynq-qspi.c xqspi->rxbuf = (u8 *)op->data.buf.in; op 587 drivers/spi/spi-zynq-qspi.c xqspi->rx_bytes = op->data.nbytes; op 588 drivers/spi/spi-zynq-qspi.c xqspi->tx_bytes = op->data.nbytes; op 184 drivers/staging/comedi/drivers/usbduxfast.c u8 len, u8 op, u8 out, u8 log) op 190 drivers/staging/comedi/drivers/usbduxfast.c devpriv->duxbuf[1 + 0x08 + index] = op; op 582 drivers/staging/gdm724x/gdm_lte.c u8 op; /* BOOTREQUEST or BOOTREPLY */ op 141 drivers/staging/greybus/audio_module.c static int gbaudio_codec_request_handler(struct gb_operation *op) op 143 drivers/staging/greybus/audio_module.c struct gb_connection *connection = op->connection; op 146 drivers/staging/greybus/audio_module.c struct gb_operation_msg_hdr *header = op->request->header; op 154 drivers/staging/greybus/audio_module.c stream_req = op->request->payload; op 159 drivers/staging/greybus/audio_module.c jack_req = op->request->payload; op 164 drivers/staging/greybus/audio_module.c button_req = op->request->payload; op 109 drivers/staging/greybus/authentication.c struct gb_operation *op; op 112 drivers/staging/greybus/authentication.c op = gb_operation_create_flags(connection, op 117 drivers/staging/greybus/authentication.c if (!op) op 120 drivers/staging/greybus/authentication.c request = op->request->payload; op 124 drivers/staging/greybus/authentication.c ret = gb_operation_request_send_sync(op); op 130 drivers/staging/greybus/authentication.c response = op->response->payload; op 132 drivers/staging/greybus/authentication.c *size = op->response->payload_size - sizeof(*response); op 136 drivers/staging/greybus/authentication.c gb_operation_put(op); op 148 drivers/staging/greybus/authentication.c struct gb_operation *op; op 151 drivers/staging/greybus/authentication.c op = gb_operation_create_flags(connection, GB_CAP_TYPE_AUTHENTICATE, op 155 drivers/staging/greybus/authentication.c if (!op) op 158 drivers/staging/greybus/authentication.c request = op->request->payload; op 163 drivers/staging/greybus/authentication.c ret = gb_operation_request_send_sync(op); op 169 drivers/staging/greybus/authentication.c response = op->response->payload; op 171 drivers/staging/greybus/authentication.c *signature_size = op->response->payload_size - sizeof(*response); op 176 drivers/staging/greybus/authentication.c gb_operation_put(op); op 188 drivers/staging/greybus/bootrom.c static int gb_bootrom_firmware_size_request(struct gb_operation *op) op 190 drivers/staging/greybus/bootrom.c struct gb_bootrom *bootrom = gb_connection_get_data(op->connection); op 192 drivers/staging/greybus/bootrom.c op->request->payload; op 194 drivers/staging/greybus/bootrom.c struct device *dev = &op->connection->bundle->dev; op 200 drivers/staging/greybus/bootrom.c if (op->request->payload_size != sizeof(*size_request)) { op 202 drivers/staging/greybus/bootrom.c __func__, op->request->payload_size, op 214 drivers/staging/greybus/bootrom.c if (!gb_operation_response_alloc(op, sizeof(*size_response), op 222 drivers/staging/greybus/bootrom.c size_response = op->response->payload; op 241 drivers/staging/greybus/bootrom.c static int gb_bootrom_get_firmware(struct gb_operation *op) op 243 drivers/staging/greybus/bootrom.c struct gb_bootrom *bootrom = gb_connection_get_data(op->connection); op 247 drivers/staging/greybus/bootrom.c struct device *dev = &op->connection->bundle->dev; op 255 drivers/staging/greybus/bootrom.c if (op->request->payload_size != sizeof(*firmware_request)) { op 257 drivers/staging/greybus/bootrom.c __func__, op->request->payload_size, op 272 drivers/staging/greybus/bootrom.c firmware_request = op->request->payload; op 283 drivers/staging/greybus/bootrom.c if (!gb_operation_response_alloc(op, sizeof(*firmware_response) + size, op 290 drivers/staging/greybus/bootrom.c firmware_response = op->response->payload; op 311 drivers/staging/greybus/bootrom.c static int gb_bootrom_ready_to_boot(struct gb_operation *op) op 313 drivers/staging/greybus/bootrom.c struct gb_connection *connection = op->connection; op 323 drivers/staging/greybus/bootrom.c if (op->request->payload_size != sizeof(*rtb_request)) { op 325 drivers/staging/greybus/bootrom.c __func__, op->request->payload_size, op 331 drivers/staging/greybus/bootrom.c rtb_request = op->request->payload; op 357 drivers/staging/greybus/bootrom.c static int gb_bootrom_request_handler(struct gb_operation *op) op 359 drivers/staging/greybus/bootrom.c u8 type = op->type; op 363 drivers/staging/greybus/bootrom.c return gb_bootrom_firmware_size_request(op); op 365 drivers/staging/greybus/bootrom.c return gb_bootrom_get_firmware(op); op 367 drivers/staging/greybus/bootrom.c return gb_bootrom_ready_to_boot(op); op 369 drivers/staging/greybus/bootrom.c dev_err(&op->connection->bundle->dev, op 720 drivers/staging/greybus/camera.c static int gb_camera_request_handler(struct gb_operation *op) op 722 drivers/staging/greybus/camera.c struct gb_camera *gcam = gb_connection_get_data(op->connection); op 726 drivers/staging/greybus/camera.c if (op->type != GB_CAMERA_TYPE_METADATA) { op 727 drivers/staging/greybus/camera.c gcam_err(gcam, "Unsupported unsolicited event: %u\n", op->type); op 731 drivers/staging/greybus/camera.c request = op->request; op 1093 drivers/staging/greybus/camera.c const struct gb_camera_debugfs_entry *op = file->private_data; op 1099 drivers/staging/greybus/camera.c if (!(op->mask & 0222)) { op 1100 drivers/staging/greybus/camera.c ret = op->execute(gcam, NULL, 0); op 1105 drivers/staging/greybus/camera.c buffer = &gcam->debugfs.buffers[op->buffer]; op 1115 drivers/staging/greybus/camera.c const struct gb_camera_debugfs_entry *op = file->private_data; op 1134 drivers/staging/greybus/camera.c ret = op->execute(gcam, kbuf, len); op 26 drivers/staging/greybus/firmware.h int gb_fw_mgmt_request_handler(struct gb_operation *op); op 31 drivers/staging/greybus/firmware.h int gb_fw_download_request_handler(struct gb_operation *op); op 222 drivers/staging/greybus/fw-download.c static int fw_download_find_firmware(struct gb_operation *op) op 224 drivers/staging/greybus/fw-download.c struct gb_connection *connection = op->connection; op 231 drivers/staging/greybus/fw-download.c if (op->request->payload_size != sizeof(*request)) { op 234 drivers/staging/greybus/fw-download.c op->request->payload_size, sizeof(*request)); op 238 drivers/staging/greybus/fw-download.c request = op->request->payload; op 253 drivers/staging/greybus/fw-download.c if (!gb_operation_response_alloc(op, sizeof(*response), GFP_KERNEL)) { op 259 drivers/staging/greybus/fw-download.c response = op->response->payload; op 269 drivers/staging/greybus/fw-download.c static int fw_download_fetch_firmware(struct gb_operation *op) op 271 drivers/staging/greybus/fw-download.c struct gb_connection *connection = op->connection; op 281 drivers/staging/greybus/fw-download.c if (op->request->payload_size != sizeof(*request)) { op 284 drivers/staging/greybus/fw-download.c op->request->payload_size, sizeof(*request)); op 288 drivers/staging/greybus/fw-download.c request = op->request->payload; op 328 drivers/staging/greybus/fw-download.c if (!gb_operation_response_alloc(op, sizeof(*response) + size, op 336 drivers/staging/greybus/fw-download.c response = op->response->payload; op 352 drivers/staging/greybus/fw-download.c static int fw_download_release_firmware(struct gb_operation *op) op 354 drivers/staging/greybus/fw-download.c struct gb_connection *connection = op->connection; op 360 drivers/staging/greybus/fw-download.c if (op->request->payload_size != sizeof(*request)) { op 363 drivers/staging/greybus/fw-download.c op->request->payload_size, sizeof(*request)); op 367 drivers/staging/greybus/fw-download.c request = op->request->payload; op 387 drivers/staging/greybus/fw-download.c int gb_fw_download_request_handler(struct gb_operation *op) op 389 drivers/staging/greybus/fw-download.c u8 type = op->type; op 393 drivers/staging/greybus/fw-download.c return fw_download_find_firmware(op); op 395 drivers/staging/greybus/fw-download.c return fw_download_fetch_firmware(op); op 397 drivers/staging/greybus/fw-download.c return fw_download_release_firmware(op); op 399 drivers/staging/greybus/fw-download.c dev_err(&op->connection->bundle->dev, op 192 drivers/staging/greybus/fw-management.c static int fw_mgmt_interface_fw_loaded_operation(struct gb_operation *op) op 194 drivers/staging/greybus/fw-management.c struct gb_connection *connection = op->connection; op 205 drivers/staging/greybus/fw-management.c if (op->request->payload_size != sizeof(*request)) { op 207 drivers/staging/greybus/fw-management.c op->request->payload_size, sizeof(*request)); op 211 drivers/staging/greybus/fw-management.c request = op->request->payload; op 342 drivers/staging/greybus/fw-management.c static int fw_mgmt_backend_fw_updated_operation(struct gb_operation *op) op 344 drivers/staging/greybus/fw-management.c struct gb_connection *connection = op->connection; op 354 drivers/staging/greybus/fw-management.c if (op->request->payload_size != sizeof(*request)) { op 356 drivers/staging/greybus/fw-management.c op->request->payload_size, sizeof(*request)); op 360 drivers/staging/greybus/fw-management.c request = op->request->payload; op 571 drivers/staging/greybus/fw-management.c int gb_fw_mgmt_request_handler(struct gb_operation *op) op 573 drivers/staging/greybus/fw-management.c u8 type = op->type; op 577 drivers/staging/greybus/fw-management.c return fw_mgmt_interface_fw_loaded_operation(op); op 579 drivers/staging/greybus/fw-management.c return fw_mgmt_backend_fw_updated_operation(op); op 581 drivers/staging/greybus/fw-management.c dev_err(&op->connection->bundle->dev, op 119 drivers/staging/greybus/gb-camera.h #define gb_camera_call(f, op, args...) \ op 120 drivers/staging/greybus/gb-camera.h (!(f) ? -ENODEV : (((f)->ops->op) ? \ op 121 drivers/staging/greybus/gb-camera.h (f)->ops->op((f)->priv, ##args) : -ENOIOCTLCMD)) op 359 drivers/staging/greybus/gpio.c static int gb_gpio_request_handler(struct gb_operation *op) op 361 drivers/staging/greybus/gpio.c struct gb_connection *connection = op->connection; op 366 drivers/staging/greybus/gpio.c u8 type = op->type; op 375 drivers/staging/greybus/gpio.c request = op->request; op 133 drivers/staging/greybus/hid.c static int gb_hid_request_handler(struct gb_operation *op) op 135 drivers/staging/greybus/hid.c struct gb_connection *connection = op->connection; op 137 drivers/staging/greybus/hid.c struct gb_hid_input_report_request *request = op->request->payload; op 139 drivers/staging/greybus/hid.c if (op->type != GB_HID_TYPE_IRQ_EVENT) { op 147 drivers/staging/greybus/hid.c request->report, op->request->payload_size, 1); op 68 drivers/staging/greybus/i2c.c gb_i2c_fill_transfer_op(struct gb_i2c_transfer_op *op, struct i2c_msg *msg) op 72 drivers/staging/greybus/i2c.c op->addr = cpu_to_le16(msg->addr); op 73 drivers/staging/greybus/i2c.c op->flags = cpu_to_le16(flags); op 74 drivers/staging/greybus/i2c.c op->size = cpu_to_le16(msg->len); op 84 drivers/staging/greybus/i2c.c struct gb_i2c_transfer_op *op; op 112 drivers/staging/greybus/i2c.c request_size += msg_count * sizeof(*op); op 124 drivers/staging/greybus/i2c.c op = &request->ops[0]; op 127 drivers/staging/greybus/i2c.c gb_i2c_fill_transfer_op(op++, msg++); op 133 drivers/staging/greybus/i2c.c data = op; op 1208 drivers/staging/greybus/light.c static int gb_lights_request_handler(struct gb_operation *op) op 1210 drivers/staging/greybus/light.c struct gb_connection *connection = op->connection; op 1220 drivers/staging/greybus/light.c if (op->type != GB_LIGHTS_TYPE_EVENT) { op 1221 drivers/staging/greybus/light.c dev_err(dev, "Unsupported unsolicited event: %u\n", op->type); op 1225 drivers/staging/greybus/light.c request = op->request; op 18 drivers/staging/greybus/log.c static int gb_log_request_handler(struct gb_operation *op) op 20 drivers/staging/greybus/log.c struct gb_connection *connection = op->connection; op 25 drivers/staging/greybus/log.c if (op->type != GB_LOG_TYPE_SEND_LOG) { op 26 drivers/staging/greybus/log.c dev_err(dev, "unknown request type 0x%02x\n", op->type); op 31 drivers/staging/greybus/log.c if (op->request->payload_size < sizeof(*receive)) { op 33 drivers/staging/greybus/log.c op->request->payload_size, sizeof(*receive)); op 36 drivers/staging/greybus/log.c receive = op->request->payload; op 38 drivers/staging/greybus/log.c if (len != (op->request->payload_size - sizeof(*receive))) { op 40 drivers/staging/greybus/log.c (op->request->payload_size - sizeof(*receive))); op 511 drivers/staging/greybus/power_supply.c struct gb_operation *op; op 520 drivers/staging/greybus/power_supply.c op = gb_operation_create(connection, op 525 drivers/staging/greybus/power_supply.c if (!op) op 528 drivers/staging/greybus/power_supply.c req = op->request->payload; op 531 drivers/staging/greybus/power_supply.c ret = gb_operation_request_send_sync(op); op 535 drivers/staging/greybus/power_supply.c resp = op->response->payload; op 584 drivers/staging/greybus/power_supply.c gb_operation_put(op); op 988 drivers/staging/greybus/power_supply.c static int gb_supplies_request_handler(struct gb_operation *op) op 990 drivers/staging/greybus/power_supply.c struct gb_connection *connection = op->connection; op 999 drivers/staging/greybus/power_supply.c if (op->type != GB_POWER_SUPPLY_TYPE_EVENT) { op 1001 drivers/staging/greybus/power_supply.c "Unsupported unsolicited event: %u\n", op->type); op 1005 drivers/staging/greybus/power_supply.c request = op->request; op 89 drivers/staging/greybus/raw.c static int gb_raw_request_handler(struct gb_operation *op) op 91 drivers/staging/greybus/raw.c struct gb_connection *connection = op->connection; op 97 drivers/staging/greybus/raw.c if (op->type != GB_RAW_TYPE_SEND) { op 98 drivers/staging/greybus/raw.c dev_err(dev, "unknown request type 0x%02x\n", op->type); op 103 drivers/staging/greybus/raw.c if (op->request->payload_size < sizeof(*receive)) { op 105 drivers/staging/greybus/raw.c op->request->payload_size, sizeof(*receive)); op 108 drivers/staging/greybus/raw.c receive = op->request->payload; op 110 drivers/staging/greybus/raw.c if (len != (int)(op->request->payload_size - sizeof(__le32))) { op 112 drivers/staging/greybus/raw.c (int)(op->request->payload_size - sizeof(__le32))); op 205 drivers/staging/greybus/sdio.c static int gb_sdio_request_handler(struct gb_operation *op) op 207 drivers/staging/greybus/sdio.c struct gb_sdio_host *host = gb_connection_get_data(op->connection); op 210 drivers/staging/greybus/sdio.c u8 type = op->type; op 220 drivers/staging/greybus/sdio.c request = op->request; op 81 drivers/staging/greybus/uart.c static int gb_uart_receive_data_handler(struct gb_operation *op) op 83 drivers/staging/greybus/uart.c struct gb_connection *connection = op->connection; op 86 drivers/staging/greybus/uart.c struct gb_message *request = op->request; op 99 drivers/staging/greybus/uart.c receive_data = op->request->payload; op 137 drivers/staging/greybus/uart.c static int gb_uart_serial_state_handler(struct gb_operation *op) op 139 drivers/staging/greybus/uart.c struct gb_connection *connection = op->connection; op 141 drivers/staging/greybus/uart.c struct gb_message *request = op->request; op 157 drivers/staging/greybus/uart.c static int gb_uart_receive_credits_handler(struct gb_operation *op) op 159 drivers/staging/greybus/uart.c struct gb_connection *connection = op->connection; op 161 drivers/staging/greybus/uart.c struct gb_message *request = op->request; op 207 drivers/staging/greybus/uart.c static int gb_uart_request_handler(struct gb_operation *op) op 209 drivers/staging/greybus/uart.c struct gb_connection *connection = op->connection; op 211 drivers/staging/greybus/uart.c int type = op->type; op 216 drivers/staging/greybus/uart.c ret = gb_uart_receive_data_handler(op); op 219 drivers/staging/greybus/uart.c ret = gb_uart_serial_state_handler(op); op 222 drivers/staging/greybus/uart.c ret = gb_uart_receive_credits_handler(op); op 3941 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int cla, op; op 3945 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c for (op = 0; op_class[op].op_class; op++) { op 3947 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c struct p2p_oper_class_map *o = &op_class[op]; op 574 drivers/staging/rtl8712/rtl871x_cmd.h u8 op; /*0: add, 1:del*/ op 360 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int cla, op; op 364 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c for (op = 0; op_class[op].op_class; op++) { op 366 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c struct p2p_oper_class_map *o = &op_class[op]; op 370 drivers/staging/wusbcore/wa-hc.h static inline int __wa_feature(struct wahc *wa, unsigned op, u16 feature) op 373 drivers/staging/wusbcore/wa-hc.h op ? USB_REQ_SET_FEATURE : USB_REQ_CLEAR_FEATURE, op 190 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_add_packet_rsp(struct sk_buff *skb, u8 op, const __be64 *rsp) op 235 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_add_packet_gl(struct sk_buff *skb, u8 op, const struct pkt_gl *gl) op 242 drivers/target/iscsi/cxgbit/cxgbit_main.c if (op == CPL_ISCSI_HDR) { op 257 drivers/target/iscsi/cxgbit/cxgbit_main.c } else if (op == CPL_ISCSI_DATA) { op 309 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_init_skb(struct cxgbit_sock *csk, u8 op, const struct pkt_gl *gl, op 372 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_receive(struct cxgbit_sock *csk, u8 op, const __be64 *rsp, op 380 drivers/target/iscsi/cxgbit/cxgbit_main.c pr_err("%s: csk NULL, op 0x%x.\n", __func__, op); op 393 drivers/target/iscsi/cxgbit/cxgbit_main.c skb = cxgbit_lro_init_skb(csk, op, gl, rsp, napi); op 414 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_add_packet_gl(skb, op, gl); op 416 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_lro_add_packet_rsp(skb, op, rsp); op 437 drivers/target/iscsi/cxgbit/cxgbit_main.c unsigned int op = *(u8 *)rsp; op 440 drivers/target/iscsi/cxgbit/cxgbit_main.c switch (op) { op 470 drivers/target/iscsi/cxgbit/cxgbit_main.c if (op == CPL_RX_ISCSI_DDP) { op 471 drivers/target/iscsi/cxgbit/cxgbit_main.c if (!cxgbit_lro_receive(csk, op, rsp, NULL, lro_mgr, op 483 drivers/target/iscsi/cxgbit/cxgbit_main.c if (unlikely(op != *(u8 *)gl->va)) { op 491 drivers/target/iscsi/cxgbit/cxgbit_main.c if ((op == CPL_ISCSI_HDR) || (op == CPL_ISCSI_DATA) || op 492 drivers/target/iscsi/cxgbit/cxgbit_main.c (op == CPL_RX_ISCSI_CMP)) { op 493 drivers/target/iscsi/cxgbit/cxgbit_main.c if (!cxgbit_lro_receive(csk, op, rsp, gl, lro_mgr, op 505 drivers/target/iscsi/cxgbit/cxgbit_main.c op = rpl->ot.opcode; op 506 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_skcb_rx_opcode(skb) = op; op 509 drivers/target/iscsi/cxgbit/cxgbit_main.c cdev, op, rpl->ot.opcode_tid, op 512 drivers/target/iscsi/cxgbit/cxgbit_main.c if (op < NUM_CPL_CMDS && cxgbit_cplhandlers[op]) { op 513 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_cplhandlers[op](cdev, skb); op 515 drivers/target/iscsi/cxgbit/cxgbit_main.c pr_err("No handler for opcode 0x%x.\n", op); op 63 drivers/target/iscsi/iscsi_target_configfs.c u32 op; op 66 drivers/target/iscsi/iscsi_target_configfs.c rc = kstrtou32(page, 0, &op); op 69 drivers/target/iscsi/iscsi_target_configfs.c if ((op != 1) && (op != 0)) { op 70 drivers/target/iscsi/iscsi_target_configfs.c pr_err("Illegal value for tpg_enable: %u\n", op); op 84 drivers/target/iscsi/iscsi_target_configfs.c if (op) { op 1030 drivers/target/iscsi/iscsi_target_configfs.c u32 op; op 1033 drivers/target/iscsi/iscsi_target_configfs.c ret = kstrtou32(page, 0, &op); op 1036 drivers/target/iscsi/iscsi_target_configfs.c if ((op != 1) && (op != 0)) { op 1037 drivers/target/iscsi/iscsi_target_configfs.c pr_err("Illegal value for tpg_enable: %u\n", op); op 1045 drivers/target/iscsi/iscsi_target_configfs.c if (op) { op 1271 drivers/target/iscsi/iscsi_target_configfs.c u32 op; op 1274 drivers/target/iscsi/iscsi_target_configfs.c err = kstrtou32(page, 0, &op); op 1277 drivers/target/iscsi/iscsi_target_configfs.c if ((op != 1) && (op != 0)) { op 1279 drivers/target/iscsi/iscsi_target_configfs.c " %u\n", op); op 1293 drivers/target/iscsi/iscsi_target_configfs.c if (op) { op 307 drivers/target/target_core_iblock.c iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, int op, op 330 drivers/target/target_core_iblock.c bio_set_op_attrs(bio, op, op_flags); op 692 drivers/target/target_core_iblock.c int i, rc, op, op_flags = 0; op 702 drivers/target/target_core_iblock.c op = REQ_OP_WRITE; op 710 drivers/target/target_core_iblock.c op = REQ_OP_READ; op 724 drivers/target/target_core_iblock.c bio = iblock_get_bio(cmd, block_lba, sgl_nents, op, op_flags); op 736 drivers/target/target_core_iblock.c op == REQ_OP_READ ? SG_MITER_FROM_SG : op 758 drivers/target/target_core_iblock.c bio = iblock_get_bio(cmd, block_lba, sg_num, op, op 161 drivers/thermal/qcom/tsens-common.c struct platform_device *op = of_find_device_by_node(priv->dev->of_node); op 163 drivers/thermal/qcom/tsens-common.c if (!op) op 166 drivers/thermal/qcom/tsens-common.c if (op->num_resources > 1) { op 169 drivers/thermal/qcom/tsens-common.c res = platform_get_resource(op, IORESOURCE_MEM, 1); op 170 drivers/thermal/qcom/tsens-common.c srot_base = devm_ioremap_resource(&op->dev, res); op 187 drivers/thermal/qcom/tsens-common.c res = platform_get_resource(op, IORESOURCE_MEM, 0); op 188 drivers/thermal/qcom/tsens-common.c tm_base = devm_ioremap_resource(&op->dev, res); op 242 drivers/thermal/qcom/tsens-common.c put_device(&op->dev); op 639 drivers/tty/n_tty.c unsigned char op; op 654 drivers/tty/n_tty.c op = echo_buf(ldata, tail + 1); op 656 drivers/tty/n_tty.c switch (op) { op 729 drivers/tty/n_tty.c tty_put_char(tty, op ^ 0100); op 553 drivers/tty/serial/apbuart.c static int apbuart_probe(struct platform_device *op) op 559 drivers/tty/serial/apbuart.c if (op->dev.of_node == grlib_apbuart_nodes[i]) op 564 drivers/tty/serial/apbuart.c port->dev = &op->dev; op 565 drivers/tty/serial/apbuart.c port->irq = op->archdata.irqs[0]; op 1741 drivers/tty/serial/mpc52xx_uart.c static int mpc52xx_uart_of_probe(struct platform_device *op) op 1751 drivers/tty/serial/mpc52xx_uart.c if (mpc52xx_uart_nodes[idx] == op->dev.of_node) op 1761 drivers/tty/serial/mpc52xx_uart.c uartclk = mpc5xxx_get_bus_frequency(op->dev.of_node); op 1763 drivers/tty/serial/mpc52xx_uart.c dev_dbg(&op->dev, "Could not find uart clock frequency!\n"); op 1778 drivers/tty/serial/mpc52xx_uart.c port->dev = &op->dev; op 1781 drivers/tty/serial/mpc52xx_uart.c ret = of_address_to_resource(op->dev.of_node, 0, &res); op 1787 drivers/tty/serial/mpc52xx_uart.c dev_dbg(&op->dev, "Could not allocate resources for PSC\n"); op 1791 drivers/tty/serial/mpc52xx_uart.c psc_ops->get_irq(port, op->dev.of_node); op 1793 drivers/tty/serial/mpc52xx_uart.c dev_dbg(&op->dev, "Could not get irq\n"); op 1797 drivers/tty/serial/mpc52xx_uart.c dev_dbg(&op->dev, "mpc52xx-psc uart at %p, irq=%x, freq=%i\n", op 1805 drivers/tty/serial/mpc52xx_uart.c platform_set_drvdata(op, (void *)port); op 1810 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_of_remove(struct platform_device *op) op 1812 drivers/tty/serial/mpc52xx_uart.c struct uart_port *port = platform_get_drvdata(op); op 1822 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_of_suspend(struct platform_device *op, pm_message_t state) op 1824 drivers/tty/serial/mpc52xx_uart.c struct uart_port *port = platform_get_drvdata(op); op 1833 drivers/tty/serial/mpc52xx_uart.c mpc52xx_uart_of_resume(struct platform_device *op) op 1835 drivers/tty/serial/mpc52xx_uart.c struct uart_port *port = platform_get_drvdata(op); op 524 drivers/tty/serial/sunhv.c static int hv_probe(struct platform_device *op) op 530 drivers/tty/serial/sunhv.c if (op->archdata.irqs[0] == 0xffffffff) op 562 drivers/tty/serial/sunhv.c port->irq = op->archdata.irqs[0]; op 564 drivers/tty/serial/sunhv.c port->dev = &op->dev; op 570 drivers/tty/serial/sunhv.c sunserial_console_match(&sunhv_console, op->dev.of_node, op 581 drivers/tty/serial/sunhv.c platform_set_drvdata(op, port); op 969 drivers/tty/serial/sunsab.c struct platform_device *op, op 974 drivers/tty/serial/sunsab.c up->port.dev = &op->dev; op 976 drivers/tty/serial/sunsab.c up->port.mapbase = op->resource[0].start + offset; op 977 drivers/tty/serial/sunsab.c up->port.membase = of_ioremap(&op->resource[0], offset, op 984 drivers/tty/serial/sunsab.c up->port.irq = op->archdata.irqs[0]; op 1021 drivers/tty/serial/sunsab.c static int sab_probe(struct platform_device *op) op 1029 drivers/tty/serial/sunsab.c err = sunsab_init_one(&up[0], op, op 1035 drivers/tty/serial/sunsab.c err = sunsab_init_one(&up[1], op, op 1041 drivers/tty/serial/sunsab.c sunserial_console_match(SUNSAB_CONSOLE(), op->dev.of_node, op 1045 drivers/tty/serial/sunsab.c sunserial_console_match(SUNSAB_CONSOLE(), op->dev.of_node, op 1057 drivers/tty/serial/sunsab.c platform_set_drvdata(op, &up[0]); op 1066 drivers/tty/serial/sunsab.c of_iounmap(&op->resource[0], op 1070 drivers/tty/serial/sunsab.c of_iounmap(&op->resource[0], op 1077 drivers/tty/serial/sunsab.c static int sab_remove(struct platform_device *op) op 1079 drivers/tty/serial/sunsab.c struct uart_sunsab_port *up = platform_get_drvdata(op); op 1083 drivers/tty/serial/sunsab.c of_iounmap(&op->resource[0], op 1086 drivers/tty/serial/sunsab.c of_iounmap(&op->resource[0], op 1436 drivers/tty/serial/sunsu.c static int su_probe(struct platform_device *op) op 1438 drivers/tty/serial/sunsu.c struct device_node *dp = op->dev.of_node; op 1462 drivers/tty/serial/sunsu.c rp = &op->resource[0]; op 1472 drivers/tty/serial/sunsu.c up->port.irq = op->archdata.irqs[0]; op 1474 drivers/tty/serial/sunsu.c up->port.dev = &op->dev; op 1483 drivers/tty/serial/sunsu.c of_iounmap(&op->resource[0], op 1488 drivers/tty/serial/sunsu.c platform_set_drvdata(op, up); op 1517 drivers/tty/serial/sunsu.c platform_set_drvdata(op, up); op 1524 drivers/tty/serial/sunsu.c of_iounmap(&op->resource[0], up->port.membase, up->reg_size); op 1529 drivers/tty/serial/sunsu.c static int su_remove(struct platform_device *op) op 1531 drivers/tty/serial/sunsu.c struct uart_sunsu_port *up = platform_get_drvdata(op); op 1546 drivers/tty/serial/sunsu.c of_iounmap(&op->resource[0], up->port.membase, up->reg_size); op 1403 drivers/tty/serial/sunzilog.c static int zs_probe(struct platform_device *op) op 1412 drivers/tty/serial/sunzilog.c if (of_find_property(op->dev.of_node, "keyboard", NULL)) op 1421 drivers/tty/serial/sunzilog.c sunzilog_chip_regs[inst] = of_ioremap(&op->resource[0], 0, op 1430 drivers/tty/serial/sunzilog.c zilog_irq = op->archdata.irqs[0]; op 1435 drivers/tty/serial/sunzilog.c up[0].port.mapbase = op->resource[0].start + 0x00; op 1438 drivers/tty/serial/sunzilog.c up[0].port.irq = op->archdata.irqs[0]; op 1445 drivers/tty/serial/sunzilog.c up[0].port.dev = &op->dev; op 1452 drivers/tty/serial/sunzilog.c up[1].port.mapbase = op->resource[0].start + 0x04; op 1455 drivers/tty/serial/sunzilog.c up[1].port.irq = op->archdata.irqs[0]; op 1462 drivers/tty/serial/sunzilog.c up[1].port.dev = &op->dev; op 1469 drivers/tty/serial/sunzilog.c if (sunserial_console_match(SUNZILOG_CONSOLE(), op->dev.of_node, op 1475 drivers/tty/serial/sunzilog.c of_iounmap(&op->resource[0], op 1479 drivers/tty/serial/sunzilog.c if (sunserial_console_match(SUNZILOG_CONSOLE(), op->dev.of_node, op 1486 drivers/tty/serial/sunzilog.c of_iounmap(&op->resource[0], op 1494 drivers/tty/serial/sunzilog.c dev_name(&op->dev), op 1496 drivers/tty/serial/sunzilog.c op->archdata.irqs[0], sunzilog_type(&up[0].port)); op 1499 drivers/tty/serial/sunzilog.c dev_name(&op->dev), op 1501 drivers/tty/serial/sunzilog.c op->archdata.irqs[0], sunzilog_type(&up[1].port)); op 1505 drivers/tty/serial/sunzilog.c platform_set_drvdata(op, &up[0]); op 1520 drivers/tty/serial/sunzilog.c static int zs_remove(struct platform_device *op) op 1522 drivers/tty/serial/sunzilog.c struct uart_sunzilog_port *up = platform_get_drvdata(op); op 1529 drivers/tty/serial/sunzilog.c of_iounmap(&op->resource[0], regs, sizeof(struct zilog_layout)); op 3297 drivers/tty/tty_io.c const struct tty_operations *op) op 3299 drivers/tty/tty_io.c driver->ops = op; op 4466 drivers/tty/vt/vt.c static int con_font_get(struct vc_data *vc, struct console_font_op *op) op 4472 drivers/tty/vt/vt.c if (op->data) { op 4493 drivers/tty/vt/vt.c if (op->data && font.charcount > op->charcount) op 4495 drivers/tty/vt/vt.c if (!(op->flags & KD_FONT_FLAG_OLD)) { op 4496 drivers/tty/vt/vt.c if (font.width > op->width || font.height > op->height) op 4501 drivers/tty/vt/vt.c else if ((op->height && font.height > op->height) || op 4508 drivers/tty/vt/vt.c op->height = font.height; op 4509 drivers/tty/vt/vt.c op->width = font.width; op 4510 drivers/tty/vt/vt.c op->charcount = font.charcount; op 4512 drivers/tty/vt/vt.c if (op->data && copy_to_user(op->data, font.data, c)) op 4520 drivers/tty/vt/vt.c static int con_font_set(struct vc_data *vc, struct console_font_op *op) op 4528 drivers/tty/vt/vt.c if (!op->data) op 4530 drivers/tty/vt/vt.c if (op->charcount > 512) op 4532 drivers/tty/vt/vt.c if (op->width <= 0 || op->width > 32 || op->height > 32) op 4534 drivers/tty/vt/vt.c size = (op->width+7)/8 * 32 * op->charcount; op 4538 drivers/tty/vt/vt.c font.data = memdup_user(op->data, size); op 4542 drivers/tty/vt/vt.c if (!op->height) { /* Need to guess font height [compat] */ op 4550 drivers/tty/vt/vt.c if (!(op->flags & KD_FONT_FLAG_OLD)) { op 4556 drivers/tty/vt/vt.c for (i = 0; i < op->charcount; i++) op 4564 drivers/tty/vt/vt.c op->height = h; op 4567 drivers/tty/vt/vt.c font.charcount = op->charcount; op 4568 drivers/tty/vt/vt.c font.width = op->width; op 4569 drivers/tty/vt/vt.c font.height = op->height; op 4575 drivers/tty/vt/vt.c rc = vc->vc_sw->con_font_set(vc, &font, op->flags); op 4583 drivers/tty/vt/vt.c static int con_font_default(struct vc_data *vc, struct console_font_op *op) op 4585 drivers/tty/vt/vt.c struct console_font font = {.width = op->width, .height = op->height}; op 4591 drivers/tty/vt/vt.c if (!op->data) op 4593 drivers/tty/vt/vt.c else if (strncpy_from_user(name, op->data, MAX_FONT_NAME - 1) < 0) op 4609 drivers/tty/vt/vt.c op->width = font.width; op 4610 drivers/tty/vt/vt.c op->height = font.height; op 4615 drivers/tty/vt/vt.c static int con_font_copy(struct vc_data *vc, struct console_font_op *op) op 4617 drivers/tty/vt/vt.c int con = op->height; op 4636 drivers/tty/vt/vt.c int con_font_op(struct vc_data *vc, struct console_font_op *op) op 4638 drivers/tty/vt/vt.c switch (op->op) { op 4640 drivers/tty/vt/vt.c return con_font_set(vc, op); op 4642 drivers/tty/vt/vt.c return con_font_get(vc, op); op 4644 drivers/tty/vt/vt.c return con_font_default(vc, op); op 4646 drivers/tty/vt/vt.c return con_font_copy(vc, op); op 247 drivers/tty/vt/vt_ioctl.c do_fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) op 259 drivers/tty/vt/vt_ioctl.c op->op = KD_FONT_OP_SET; op 260 drivers/tty/vt/vt_ioctl.c op->flags = KD_FONT_FLAG_OLD; op 261 drivers/tty/vt/vt_ioctl.c op->width = 8; op 262 drivers/tty/vt/vt_ioctl.c op->height = cfdarg.charheight; op 263 drivers/tty/vt/vt_ioctl.c op->charcount = cfdarg.charcount; op 264 drivers/tty/vt/vt_ioctl.c op->data = cfdarg.chardata; op 265 drivers/tty/vt/vt_ioctl.c return con_font_op(vc_cons[fg_console].d, op); op 267 drivers/tty/vt/vt_ioctl.c op->op = KD_FONT_OP_GET; op 268 drivers/tty/vt/vt_ioctl.c op->flags = KD_FONT_FLAG_OLD; op 269 drivers/tty/vt/vt_ioctl.c op->width = 8; op 270 drivers/tty/vt/vt_ioctl.c op->height = cfdarg.charheight; op 271 drivers/tty/vt/vt_ioctl.c op->charcount = cfdarg.charcount; op 272 drivers/tty/vt/vt_ioctl.c op->data = cfdarg.chardata; op 273 drivers/tty/vt/vt_ioctl.c i = con_font_op(vc_cons[fg_console].d, op); op 276 drivers/tty/vt/vt_ioctl.c cfdarg.charheight = op->height; op 277 drivers/tty/vt/vt_ioctl.c cfdarg.charcount = op->charcount; op 354 drivers/tty/vt/vt_ioctl.c struct console_font_op op; /* used in multiple places here */ op 911 drivers/tty/vt/vt_ioctl.c op.op = KD_FONT_OP_SET; op 912 drivers/tty/vt/vt_ioctl.c op.flags = KD_FONT_FLAG_OLD | KD_FONT_FLAG_DONT_RECALC; /* Compatibility */ op 913 drivers/tty/vt/vt_ioctl.c op.width = 8; op 914 drivers/tty/vt/vt_ioctl.c op.height = 0; op 915 drivers/tty/vt/vt_ioctl.c op.charcount = 256; op 916 drivers/tty/vt/vt_ioctl.c op.data = up; op 917 drivers/tty/vt/vt_ioctl.c ret = con_font_op(vc_cons[fg_console].d, &op); op 922 drivers/tty/vt/vt_ioctl.c op.op = KD_FONT_OP_GET; op 923 drivers/tty/vt/vt_ioctl.c op.flags = KD_FONT_FLAG_OLD; op 924 drivers/tty/vt/vt_ioctl.c op.width = 8; op 925 drivers/tty/vt/vt_ioctl.c op.height = 32; op 926 drivers/tty/vt/vt_ioctl.c op.charcount = 256; op 927 drivers/tty/vt/vt_ioctl.c op.data = up; op 928 drivers/tty/vt/vt_ioctl.c ret = con_font_op(vc_cons[fg_console].d, &op); op 945 drivers/tty/vt/vt_ioctl.c ret = do_fontx_ioctl(cmd, up, perm, &op); op 960 drivers/tty/vt/vt_ioctl.c op.op = KD_FONT_OP_SET_DEFAULT; op 961 drivers/tty/vt/vt_ioctl.c op.data = NULL; op 962 drivers/tty/vt/vt_ioctl.c ret = con_font_op(vc_cons[fg_console].d, &op); op 974 drivers/tty/vt/vt_ioctl.c if (copy_from_user(&op, up, sizeof(op))) { op 978 drivers/tty/vt/vt_ioctl.c if (!perm && op.op != KD_FONT_OP_GET) op 980 drivers/tty/vt/vt_ioctl.c ret = con_font_op(vc, &op); op 983 drivers/tty/vt/vt_ioctl.c if (copy_to_user(up, &op, sizeof(op))) op 1094 drivers/tty/vt/vt_ioctl.c int perm, struct console_font_op *op) op 1106 drivers/tty/vt/vt_ioctl.c op->op = KD_FONT_OP_SET; op 1107 drivers/tty/vt/vt_ioctl.c op->flags = KD_FONT_FLAG_OLD; op 1108 drivers/tty/vt/vt_ioctl.c op->width = 8; op 1109 drivers/tty/vt/vt_ioctl.c op->height = cfdarg.charheight; op 1110 drivers/tty/vt/vt_ioctl.c op->charcount = cfdarg.charcount; op 1111 drivers/tty/vt/vt_ioctl.c op->data = compat_ptr(cfdarg.chardata); op 1112 drivers/tty/vt/vt_ioctl.c return con_font_op(vc_cons[fg_console].d, op); op 1114 drivers/tty/vt/vt_ioctl.c op->op = KD_FONT_OP_GET; op 1115 drivers/tty/vt/vt_ioctl.c op->flags = KD_FONT_FLAG_OLD; op 1116 drivers/tty/vt/vt_ioctl.c op->width = 8; op 1117 drivers/tty/vt/vt_ioctl.c op->height = cfdarg.charheight; op 1118 drivers/tty/vt/vt_ioctl.c op->charcount = cfdarg.charcount; op 1119 drivers/tty/vt/vt_ioctl.c op->data = compat_ptr(cfdarg.chardata); op 1120 drivers/tty/vt/vt_ioctl.c i = con_font_op(vc_cons[fg_console].d, op); op 1123 drivers/tty/vt/vt_ioctl.c cfdarg.charheight = op->height; op 1124 drivers/tty/vt/vt_ioctl.c cfdarg.charcount = op->charcount; op 1133 drivers/tty/vt/vt_ioctl.c compat_uint_t op; /* operation code KD_FONT_OP_* */ op 1142 drivers/tty/vt/vt_ioctl.c int perm, struct console_font_op *op, struct vc_data *vc) op 1146 drivers/tty/vt/vt_ioctl.c if (copy_from_user(op, fontop, sizeof(struct compat_console_font_op))) op 1148 drivers/tty/vt/vt_ioctl.c if (!perm && op->op != KD_FONT_OP_GET) op 1150 drivers/tty/vt/vt_ioctl.c op->data = compat_ptr(((struct compat_console_font_op *)op)->data); op 1151 drivers/tty/vt/vt_ioctl.c i = con_font_op(vc, op); op 1154 drivers/tty/vt/vt_ioctl.c ((struct compat_console_font_op *)op)->data = (unsigned long)op->data; op 1155 drivers/tty/vt/vt_ioctl.c if (copy_to_user(fontop, op, sizeof(struct compat_console_font_op))) op 1192 drivers/tty/vt/vt_ioctl.c struct console_font_op op; /* used in multiple places here */ op 1210 drivers/tty/vt/vt_ioctl.c return compat_fontx_ioctl(cmd, up, perm, &op); op 1213 drivers/tty/vt/vt_ioctl.c return compat_kdfontop_ioctl(up, perm, &op, vc); op 153 drivers/usb/chipidea/ci.h void __iomem *op; op 130 drivers/usb/chipidea/core.c (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + op 134 drivers/usb/chipidea/core.c ci->hw_bank.regmap[i] = ci->hw_bank.op + op 245 drivers/usb/chipidea/core.c ci->hw_bank.op = ci->hw_bank.cap + (ioread32(ci->hw_bank.cap) & 0xff); op 253 drivers/usb/chipidea/core.c ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; op 276 drivers/usb/chipidea/core.c ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); op 1512 drivers/usb/gadget/function/f_tcm.c bool op; op 1515 drivers/usb/gadget/function/f_tcm.c ret = strtobool(page, &op); op 1519 drivers/usb/gadget/function/f_tcm.c if ((op && tpg->gadget_connect) || (!op && !tpg->gadget_connect)) op 1522 drivers/usb/gadget/function/f_tcm.c if (op) op 1529 drivers/usb/gadget/function/f_tcm.c tpg->gadget_connect = op; op 72 drivers/usb/host/ehci-grlib.c static int ehci_hcd_grlib_probe(struct platform_device *op) op 74 drivers/usb/host/ehci-grlib.c struct device_node *dn = op->dev.of_node; op 85 drivers/usb/host/ehci-grlib.c dev_dbg(&op->dev, "initializing GRUSBHC EHCI USB Controller\n"); op 92 drivers/usb/host/ehci-grlib.c op->dev.dma_mask = &op->dev.coherent_dma_mask; op 93 drivers/usb/host/ehci-grlib.c hcd = usb_create_hcd(&ehci_grlib_hc_driver, &op->dev, op 103 drivers/usb/host/ehci-grlib.c dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", op 109 drivers/usb/host/ehci-grlib.c hcd->regs = devm_ioremap_resource(&op->dev, &res); op 143 drivers/usb/host/ehci-grlib.c static int ehci_hcd_grlib_remove(struct platform_device *op) op 145 drivers/usb/host/ehci-grlib.c struct usb_hcd *hcd = platform_get_drvdata(op); op 147 drivers/usb/host/ehci-grlib.c dev_dbg(&op->dev, "stopping GRLIB GRUSBHC EHCI USB Controller\n"); op 94 drivers/usb/host/ehci-ppc-of.c static int ehci_hcd_ppc_of_probe(struct platform_device *op) op 96 drivers/usb/host/ehci-ppc-of.c struct device_node *dn = op->dev.of_node; op 108 drivers/usb/host/ehci-ppc-of.c dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); op 114 drivers/usb/host/ehci-ppc-of.c hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); op 123 drivers/usb/host/ehci-ppc-of.c dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", op 129 drivers/usb/host/ehci-ppc-of.c hcd->regs = devm_ioremap_resource(&op->dev, &res); op 141 drivers/usb/host/ehci-ppc-of.c devm_ioremap(&op->dev, op 186 drivers/usb/host/ehci-ppc-of.c static int ehci_hcd_ppc_of_remove(struct platform_device *op) op 188 drivers/usb/host/ehci-ppc-of.c struct usb_hcd *hcd = platform_get_drvdata(op); op 194 drivers/usb/host/ehci-ppc-of.c dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n"); op 116 drivers/usb/host/ehci-xilinx-of.c static int ehci_hcd_xilinx_of_probe(struct platform_device *op) op 118 drivers/usb/host/ehci-xilinx-of.c struct device_node *dn = op->dev.of_node; op 129 drivers/usb/host/ehci-xilinx-of.c dev_dbg(&op->dev, "initializing XILINX-OF USB Controller\n"); op 135 drivers/usb/host/ehci-xilinx-of.c hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev, op 145 drivers/usb/host/ehci-xilinx-of.c dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", op 151 drivers/usb/host/ehci-xilinx-of.c hcd->regs = devm_ioremap_resource(&op->dev, &res); op 200 drivers/usb/host/ehci-xilinx-of.c static int ehci_hcd_xilinx_of_remove(struct platform_device *op) op 202 drivers/usb/host/ehci-xilinx-of.c struct usb_hcd *hcd = platform_get_drvdata(op); op 204 drivers/usb/host/ehci-xilinx-of.c dev_dbg(&op->dev, "stopping XILINX-OF USB Controller\n"); op 87 drivers/usb/host/ohci-ppc-of.c static int ohci_hcd_ppc_of_probe(struct platform_device *op) op 89 drivers/usb/host/ohci-ppc-of.c struct device_node *dn = op->dev.of_node; op 106 drivers/usb/host/ohci-ppc-of.c dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); op 112 drivers/usb/host/ohci-ppc-of.c hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); op 119 drivers/usb/host/ohci-ppc-of.c hcd->regs = devm_ioremap_resource(&op->dev, &res); op 127 drivers/usb/host/ohci-ppc-of.c dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", op 181 drivers/usb/host/ohci-ppc-of.c static int ohci_hcd_ppc_of_remove(struct platform_device *op) op 183 drivers/usb/host/ohci-ppc-of.c struct usb_hcd *hcd = platform_get_drvdata(op); op 185 drivers/usb/host/ohci-ppc-of.c dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n"); op 90 drivers/usb/host/uhci-grlib.c static int uhci_hcd_grlib_probe(struct platform_device *op) op 92 drivers/usb/host/uhci-grlib.c struct device_node *dn = op->dev.of_node; op 102 drivers/usb/host/uhci-grlib.c dev_dbg(&op->dev, "initializing GRUSBHC UHCI USB Controller\n"); op 109 drivers/usb/host/uhci-grlib.c op->dev.dma_mask = &op->dev.coherent_dma_mask; op 110 drivers/usb/host/uhci-grlib.c hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev, op 125 drivers/usb/host/uhci-grlib.c hcd->regs = devm_ioremap_resource(&op->dev, &res); op 150 drivers/usb/host/uhci-grlib.c static int uhci_hcd_grlib_remove(struct platform_device *op) op 152 drivers/usb/host/uhci-grlib.c struct usb_hcd *hcd = platform_get_drvdata(op); op 154 drivers/usb/host/uhci-grlib.c dev_dbg(&op->dev, "stopping GRLIB GRUSBHC UHCI USB Controller\n"); op 171 drivers/usb/host/uhci-grlib.c static void uhci_hcd_grlib_shutdown(struct platform_device *op) op 173 drivers/usb/host/uhci-grlib.c struct usb_hcd *hcd = platform_get_drvdata(op); op 169 drivers/usb/host/uhci-platform.c static void uhci_hcd_platform_shutdown(struct platform_device *op) op 171 drivers/usb/host/uhci-platform.c struct usb_hcd *hcd = platform_get_drvdata(op); op 2074 drivers/usb/typec/tcpm/tcpm.c unsigned int max, op, pdo_max, index; op 2087 drivers/usb/typec/tcpm/tcpm.c op = rdo_op_current(rdo); op 2090 drivers/usb/typec/tcpm/tcpm.c if (op > pdo_max) op 2098 drivers/usb/typec/tcpm/tcpm.c pdo_fixed_voltage(pdo), pdo_max, op, max); op 2103 drivers/usb/typec/tcpm/tcpm.c pdo_max, op, max); op 2107 drivers/usb/typec/tcpm/tcpm.c op = rdo_op_power(rdo); op 2110 drivers/usb/typec/tcpm/tcpm.c if (op > pdo_max) op 2117 drivers/usb/typec/tcpm/tcpm.c pdo_max, op, max); op 35 drivers/vfio/vfio_spapr_eeh.c struct vfio_eeh_pe_op op; op 51 drivers/vfio/vfio_spapr_eeh.c minsz = offsetofend(struct vfio_eeh_pe_op, op); op 52 drivers/vfio/vfio_spapr_eeh.c if (copy_from_user(&op, (void __user *)arg, minsz)) op 54 drivers/vfio/vfio_spapr_eeh.c if (op.argsz < minsz || op.flags) op 57 drivers/vfio/vfio_spapr_eeh.c switch (op.op) { op 87 drivers/vfio/vfio_spapr_eeh.c if (op.argsz < minsz) op 89 drivers/vfio/vfio_spapr_eeh.c if (copy_from_user(&op, (void __user *)arg, minsz)) op 92 drivers/vfio/vfio_spapr_eeh.c ret = eeh_pe_inject_err(pe, op.err.type, op.err.func, op 93 drivers/vfio/vfio_spapr_eeh.c op.err.addr, op.err.mask); op 54 drivers/video/console/newport_con.c static int newport_set_def_font(int unit, struct console_font *op); op 502 drivers/video/console/newport_con.c static int newport_set_font(int unit, struct console_font *op) op 504 drivers/video/console/newport_con.c int w = op->width; op 505 drivers/video/console/newport_con.c int h = op->height; op 506 drivers/video/console/newport_con.c int size = h * op->charcount; op 508 drivers/video/console/newport_con.c unsigned char *new_data, *data = op->data, *p; op 513 drivers/video/console/newport_con.c || (op->charcount != 256 && op->charcount != 512)) op 521 drivers/video/console/newport_con.c FNTCHARCNT(new_data) = op->charcount; op 525 drivers/video/console/newport_con.c for (i = 0; i < op->charcount; i++) { op 556 drivers/video/console/newport_con.c static int newport_set_def_font(int unit, struct console_font *op) op 568 drivers/video/console/newport_con.c static int newport_font_default(struct vc_data *vc, struct console_font *op, char *name) op 570 drivers/video/console/newport_con.c return newport_set_def_font(vc->vc_num, op); op 438 drivers/video/fbdev/broadsheetfb.c u8 op, u32 addr) op 446 drivers/video/fbdev/broadsheetfb.c err = broadsheet_spiflash_write_byte(par, op); op 276 drivers/video/fbdev/bw2.c static int bw2_probe(struct platform_device *op) op 278 drivers/video/fbdev/bw2.c struct device_node *dp = op->dev.of_node; op 283 drivers/video/fbdev/bw2.c info = framebuffer_alloc(sizeof(struct bw2_par), &op->dev); op 292 drivers/video/fbdev/bw2.c info->fix.smem_start = op->resource[0].start; op 293 drivers/video/fbdev/bw2.c par->which_io = op->resource[0].flags & IORESOURCE_BITS; op 304 drivers/video/fbdev/bw2.c par->regs = of_ioremap(&op->resource[0], BWTWO_REGISTER_OFFSET, op 320 drivers/video/fbdev/bw2.c info->screen_base = of_ioremap(&op->resource[0], 0, op 335 drivers/video/fbdev/bw2.c dev_set_drvdata(&op->dev, info); op 343 drivers/video/fbdev/bw2.c of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); op 346 drivers/video/fbdev/bw2.c of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); op 355 drivers/video/fbdev/bw2.c static int bw2_remove(struct platform_device *op) op 357 drivers/video/fbdev/bw2.c struct fb_info *info = dev_get_drvdata(&op->dev); op 362 drivers/video/fbdev/bw2.c of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); op 363 drivers/video/fbdev/bw2.c of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); op 448 drivers/video/fbdev/cg14.c static void cg14_unmap_regs(struct platform_device *op, struct fb_info *info, op 452 drivers/video/fbdev/cg14.c of_iounmap(&op->resource[0], op 455 drivers/video/fbdev/cg14.c of_iounmap(&op->resource[0], op 458 drivers/video/fbdev/cg14.c of_iounmap(&op->resource[0], op 461 drivers/video/fbdev/cg14.c of_iounmap(&op->resource[1], op 465 drivers/video/fbdev/cg14.c static int cg14_probe(struct platform_device *op) op 467 drivers/video/fbdev/cg14.c struct device_node *dp = op->dev.of_node; op 472 drivers/video/fbdev/cg14.c info = framebuffer_alloc(sizeof(struct cg14_par), &op->dev); op 492 drivers/video/fbdev/cg14.c info->fix.smem_start = op->resource[0].start; op 493 drivers/video/fbdev/cg14.c par->iospace = op->resource[0].flags & IORESOURCE_BITS; op 495 drivers/video/fbdev/cg14.c info->fix.smem_start = op->resource[1].start; op 496 drivers/video/fbdev/cg14.c par->iospace = op->resource[0].flags & IORESOURCE_BITS; op 499 drivers/video/fbdev/cg14.c par->regs = of_ioremap(&op->resource[0], 0, op 501 drivers/video/fbdev/cg14.c par->clut = of_ioremap(&op->resource[0], CG14_CLUT1, op 503 drivers/video/fbdev/cg14.c par->cursor = of_ioremap(&op->resource[0], CG14_CURSORREGS, op 506 drivers/video/fbdev/cg14.c info->screen_base = of_ioremap(&op->resource[1], 0, op 512 drivers/video/fbdev/cg14.c is_8mb = (((op->resource[1].end - op->resource[1].start) + 1) == op 526 drivers/video/fbdev/cg14.c (op->resource[0].start - op 527 drivers/video/fbdev/cg14.c op->resource[1].start); op 553 drivers/video/fbdev/cg14.c dev_set_drvdata(&op->dev, info); op 566 drivers/video/fbdev/cg14.c cg14_unmap_regs(op, info, par); op 573 drivers/video/fbdev/cg14.c static int cg14_remove(struct platform_device *op) op 575 drivers/video/fbdev/cg14.c struct fb_info *info = dev_get_drvdata(&op->dev); op 581 drivers/video/fbdev/cg14.c cg14_unmap_regs(op, info, par); op 350 drivers/video/fbdev/cg3.c static int cg3_probe(struct platform_device *op) op 352 drivers/video/fbdev/cg3.c struct device_node *dp = op->dev.of_node; op 357 drivers/video/fbdev/cg3.c info = framebuffer_alloc(sizeof(struct cg3_par), &op->dev); op 366 drivers/video/fbdev/cg3.c info->fix.smem_start = op->resource[0].start; op 367 drivers/video/fbdev/cg3.c par->which_io = op->resource[0].flags & IORESOURCE_BITS; op 382 drivers/video/fbdev/cg3.c par->regs = of_ioremap(&op->resource[0], CG3_REGS_OFFSET, op 389 drivers/video/fbdev/cg3.c info->screen_base = of_ioremap(&op->resource[0], CG3_RAM_OFFSET, op 414 drivers/video/fbdev/cg3.c dev_set_drvdata(&op->dev, info); op 425 drivers/video/fbdev/cg3.c of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); op 428 drivers/video/fbdev/cg3.c of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); op 437 drivers/video/fbdev/cg3.c static int cg3_remove(struct platform_device *op) op 439 drivers/video/fbdev/cg3.c struct fb_info *info = dev_get_drvdata(&op->dev); op 445 drivers/video/fbdev/cg3.c of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); op 446 drivers/video/fbdev/cg3.c of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); op 722 drivers/video/fbdev/cg6.c static void cg6_unmap_regs(struct platform_device *op, struct fb_info *info, op 726 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], par->fbc, 4096); op 728 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], par->tec, sizeof(struct cg6_tec)); op 730 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], par->thc, sizeof(struct cg6_thc)); op 732 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], par->bt, sizeof(struct bt_regs)); op 734 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], par->fhc, sizeof(u32)); op 737 drivers/video/fbdev/cg6.c of_iounmap(&op->resource[0], info->screen_base, op 741 drivers/video/fbdev/cg6.c static int cg6_probe(struct platform_device *op) op 743 drivers/video/fbdev/cg6.c struct device_node *dp = op->dev.of_node; op 749 drivers/video/fbdev/cg6.c info = framebuffer_alloc(sizeof(struct cg6_par), &op->dev); op 758 drivers/video/fbdev/cg6.c info->fix.smem_start = op->resource[0].start; op 759 drivers/video/fbdev/cg6.c par->which_io = op->resource[0].flags & IORESOURCE_BITS; op 774 drivers/video/fbdev/cg6.c par->fbc = of_ioremap(&op->resource[0], CG6_FBC_OFFSET, op 776 drivers/video/fbdev/cg6.c par->tec = of_ioremap(&op->resource[0], CG6_TEC_OFFSET, op 778 drivers/video/fbdev/cg6.c par->thc = of_ioremap(&op->resource[0], CG6_THC_OFFSET, op 780 drivers/video/fbdev/cg6.c par->bt = of_ioremap(&op->resource[0], CG6_BROOKTREE_OFFSET, op 782 drivers/video/fbdev/cg6.c par->fhc = of_ioremap(&op->resource[0], CG6_FHC_OFFSET, op 790 drivers/video/fbdev/cg6.c info->screen_base = of_ioremap(&op->resource[0], CG6_RAM_OFFSET, op 812 drivers/video/fbdev/cg6.c dev_set_drvdata(&op->dev, info); op 824 drivers/video/fbdev/cg6.c cg6_unmap_regs(op, info, par); op 831 drivers/video/fbdev/cg6.c static int cg6_remove(struct platform_device *op) op 833 drivers/video/fbdev/cg6.c struct fb_info *info = dev_get_drvdata(&op->dev); op 839 drivers/video/fbdev/cg6.c cg6_unmap_regs(op, info, par); op 1814 drivers/video/fbdev/cirrusfb.c unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; op 1822 drivers/video/fbdev/cirrusfb.c op == 0xc) op 1851 drivers/video/fbdev/cirrusfb.c info->fix.line_length, op); op 2705 drivers/video/fbdev/cirrusfb.c u_char op; op 2714 drivers/video/fbdev/cirrusfb.c op = 0x80; op 2718 drivers/video/fbdev/cirrusfb.c op = 0x90; op 2723 drivers/video/fbdev/cirrusfb.c op = 0xa0; op 2728 drivers/video/fbdev/cirrusfb.c op = 0xb0; op 2731 drivers/video/fbdev/cirrusfb.c 0, ndest, op | blitmode, line_length); op 897 drivers/video/fbdev/ffb.c static int ffb_probe(struct platform_device *op) op 899 drivers/video/fbdev/ffb.c struct device_node *dp = op->dev.of_node; op 907 drivers/video/fbdev/ffb.c info = framebuffer_alloc(sizeof(struct ffb_par), &op->dev); op 916 drivers/video/fbdev/ffb.c par->fbc = of_ioremap(&op->resource[2], 0, op 921 drivers/video/fbdev/ffb.c par->dac = of_ioremap(&op->resource[1], 0, op 927 drivers/video/fbdev/ffb.c par->physbase = op->resource[0].start; op 999 drivers/video/fbdev/ffb.c dev_set_drvdata(&op->dev, info); op 1014 drivers/video/fbdev/ffb.c of_iounmap(&op->resource[1], par->dac, sizeof(struct ffb_dac)); op 1017 drivers/video/fbdev/ffb.c of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc)); op 1026 drivers/video/fbdev/ffb.c static int ffb_remove(struct platform_device *op) op 1028 drivers/video/fbdev/ffb.c struct fb_info *info = dev_get_drvdata(&op->dev); op 1034 drivers/video/fbdev/ffb.c of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc)); op 1035 drivers/video/fbdev/ffb.c of_iounmap(&op->resource[1], par->dac, sizeof(struct ffb_dac)); op 533 drivers/video/fbdev/leo.c static void leo_unmap_regs(struct platform_device *op, struct fb_info *info, op 537 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); op 539 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); op 541 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); op 543 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], par->lx_krn, 0x1000); op 545 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], op 548 drivers/video/fbdev/leo.c of_iounmap(&op->resource[0], info->screen_base, 0x800000); op 551 drivers/video/fbdev/leo.c static int leo_probe(struct platform_device *op) op 553 drivers/video/fbdev/leo.c struct device_node *dp = op->dev.of_node; op 558 drivers/video/fbdev/leo.c info = framebuffer_alloc(sizeof(struct leo_par), &op->dev); op 567 drivers/video/fbdev/leo.c info->fix.smem_start = op->resource[0].start; op 568 drivers/video/fbdev/leo.c par->which_io = op->resource[0].flags & IORESOURCE_BITS; op 578 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_LC_SS0_USR, op 581 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_LD_SS0, op 584 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_LD_SS1, op 587 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_LX_KRN, op 590 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_LX_CURSOR, op 593 drivers/video/fbdev/leo.c of_ioremap(&op->resource[0], LEO_OFF_SS0, op 621 drivers/video/fbdev/leo.c dev_set_drvdata(&op->dev, info); op 633 drivers/video/fbdev/leo.c leo_unmap_regs(op, info, par); op 640 drivers/video/fbdev/leo.c static int leo_remove(struct platform_device *op) op 642 drivers/video/fbdev/leo.c struct fb_info *info = dev_get_drvdata(&op->dev); op 648 drivers/video/fbdev/leo.c leo_unmap_regs(op, info, par); op 137 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 139 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = &dss_data.ovl_priv_data_array[i]; op 141 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.color_mode = OMAP_DSS_COLOR_RGB16; op 142 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.rotation_type = OMAP_DSS_ROT_DMA; op 144 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.global_alpha = 255; op 148 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.zorder = 0; op 151 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.zorder = op 155 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.zorder = op 159 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info.zorder = op 164 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->user_info = op->info; op 204 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 219 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 221 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->enabled && !op->enabling) op 223 drivers/video/fbdev/omap2/omapfb/dss/apply.c else if (applying && op->user_info_dirty) op 224 drivers/video/fbdev/omap2/omapfb/dss/apply.c oi = &op->user_info; op 226 drivers/video/fbdev/omap2/omapfb/dss/apply.c oi = &op->info; op 299 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 301 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 310 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->extra_info_dirty) op 314 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->shadow_extra_info_dirty) op 317 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->enabled) op 321 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->info_dirty) op 325 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->shadow_info_dirty) op 338 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 346 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 347 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->shadow_info_dirty || op->shadow_extra_info_dirty) op 378 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 380 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->extra_info_dirty || op->shadow_extra_info_dirty) op 542 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 574 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 580 drivers/video/fbdev/omap2/omapfb/dss/apply.c dirty = op->info_dirty; op 581 drivers/video/fbdev/omap2/omapfb/dss/apply.c shadow_dirty = op->shadow_info_dirty; op 618 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 626 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->enabled || !op->info_dirty) op 629 drivers/video/fbdev/omap2/omapfb/dss/apply.c oi = &op->info; op 644 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->enabled = false; op 649 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info_dirty = false; op 651 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->shadow_info_dirty = true; op 656 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 661 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->extra_info_dirty) op 667 drivers/video/fbdev/omap2/omapfb/dss/apply.c dispc_ovl_enable(ovl->id, op->enabled); op 668 drivers/video/fbdev/omap2/omapfb/dss/apply.c dispc_ovl_set_fifo_threshold(ovl->id, op->fifo_low, op->fifo_high); op 672 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->extra_info_dirty = false; op 674 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->shadow_extra_info_dirty = true; op 784 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 791 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 792 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->shadow_info_dirty = false; op 793 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->shadow_extra_info_dirty = false; op 939 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 941 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 943 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->user_info_dirty) op 946 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->user_info_dirty = false; op 947 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info_dirty = true; op 948 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->info = op->user_info; op 999 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op; op 1001 drivers/video/fbdev/omap2/omapfb/dss/apply.c op = get_ovl_priv(ovl); op 1003 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->enabled == enable) op 1006 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->enabled = enable; op 1007 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->extra_info_dirty = true; op 1013 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1015 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->fifo_low == fifo_low && op->fifo_high == fifo_high) op 1018 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->fifo_low = fifo_low; op 1019 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->fifo_high = fifo_high; op 1020 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->extra_info_dirty = true; op 1025 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1029 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->enabled && !op->enabling) op 1303 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1313 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->user_info = *info; op 1314 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->user_info_dirty = true; op 1324 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1329 drivers/video/fbdev/omap2/omapfb/dss/apply.c *info = op->user_info; op 1337 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1359 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->enabled) { op 1388 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1402 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->enabled) { op 1426 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (ovl_manual_update(ovl) && op->extra_info_dirty) { op 1448 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1454 drivers/video/fbdev/omap2/omapfb/dss/apply.c e = op->enabled; op 1463 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1469 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (op->enabled) { op 1481 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->enabling = true; op 1492 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->enabling = false; op 1504 drivers/video/fbdev/omap2/omapfb/dss/apply.c op->enabling = false; op 1513 drivers/video/fbdev/omap2/omapfb/dss/apply.c struct ovl_priv_data *op = get_ovl_priv(ovl); op 1519 drivers/video/fbdev/omap2/omapfb/dss/apply.c if (!op->enabled) { op 253 drivers/video/fbdev/p9100.c static int p9100_probe(struct platform_device *op) op 255 drivers/video/fbdev/p9100.c struct device_node *dp = op->dev.of_node; op 260 drivers/video/fbdev/p9100.c info = framebuffer_alloc(sizeof(struct p9100_par), &op->dev); op 270 drivers/video/fbdev/p9100.c info->fix.smem_start = op->resource[2].start; op 271 drivers/video/fbdev/p9100.c par->which_io = op->resource[2].flags & IORESOURCE_BITS; op 281 drivers/video/fbdev/p9100.c par->regs = of_ioremap(&op->resource[0], 0, op 288 drivers/video/fbdev/p9100.c info->screen_base = of_ioremap(&op->resource[2], 0, op 306 drivers/video/fbdev/p9100.c dev_set_drvdata(&op->dev, info); op 318 drivers/video/fbdev/p9100.c of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); op 321 drivers/video/fbdev/p9100.c of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); op 330 drivers/video/fbdev/p9100.c static int p9100_remove(struct platform_device *op) op 332 drivers/video/fbdev/p9100.c struct fb_info *info = dev_get_drvdata(&op->dev); op 338 drivers/video/fbdev/p9100.c of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); op 339 drivers/video/fbdev/p9100.c of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); op 1121 drivers/video/fbdev/sm501fb.c unsigned int op; op 1126 drivers/video/fbdev/sm501fb.c for (op = 0; op < (64*64*2)/8; op+=4) op 1127 drivers/video/fbdev/sm501fb.c smc501_writel(0x0, dst + op); op 1140 drivers/video/fbdev/sm501fb.c op = (dcol & 1) ? 1 : 3; op 1141 drivers/video/fbdev/sm501fb.c op <<= ((x % 4) * 2); op 1143 drivers/video/fbdev/sm501fb.c op |= readb(dst + (x / 4)); op 1144 drivers/video/fbdev/sm501fb.c writeb(op, dst + (x / 4)); op 115 drivers/video/fbdev/sunxvr1000.c static int gfb_probe(struct platform_device *op) op 117 drivers/video/fbdev/sunxvr1000.c struct device_node *dp = op->dev.of_node; op 122 drivers/video/fbdev/sunxvr1000.c info = framebuffer_alloc(sizeof(struct gfb_info), &op->dev); op 132 drivers/video/fbdev/sunxvr1000.c gp->fb_base_phys = op->resource[6].start; op 142 drivers/video/fbdev/sunxvr1000.c gp->fb_base = of_ioremap(&op->resource[6], 0, op 162 drivers/video/fbdev/sunxvr1000.c dev_set_drvdata(&op->dev, info); op 167 drivers/video/fbdev/sunxvr1000.c of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); op 346 drivers/video/fbdev/tcx.c static void tcx_unmap_regs(struct platform_device *op, struct fb_info *info, op 350 drivers/video/fbdev/tcx.c of_iounmap(&op->resource[7], op 353 drivers/video/fbdev/tcx.c of_iounmap(&op->resource[9], op 356 drivers/video/fbdev/tcx.c of_iounmap(&op->resource[8], op 359 drivers/video/fbdev/tcx.c of_iounmap(&op->resource[4], op 362 drivers/video/fbdev/tcx.c of_iounmap(&op->resource[0], op 366 drivers/video/fbdev/tcx.c static int tcx_probe(struct platform_device *op) op 368 drivers/video/fbdev/tcx.c struct device_node *dp = op->dev.of_node; op 373 drivers/video/fbdev/tcx.c info = framebuffer_alloc(sizeof(struct tcx_par), &op->dev); op 394 drivers/video/fbdev/tcx.c par->tec = of_ioremap(&op->resource[7], 0, op 396 drivers/video/fbdev/tcx.c par->thc = of_ioremap(&op->resource[9], 0, op 398 drivers/video/fbdev/tcx.c par->bt = of_ioremap(&op->resource[8], 0, op 400 drivers/video/fbdev/tcx.c info->screen_base = of_ioremap(&op->resource[0], 0, op 408 drivers/video/fbdev/tcx.c par->cplane = of_ioremap(&op->resource[4], 0, op 420 drivers/video/fbdev/tcx.c info->fix.smem_start = op->resource[0].start; op 421 drivers/video/fbdev/tcx.c par->which_io = op->resource[0].flags & IORESOURCE_BITS; op 439 drivers/video/fbdev/tcx.c par->mmap_map[i].poff = op->resource[j].start; op 469 drivers/video/fbdev/tcx.c dev_set_drvdata(&op->dev, info); op 483 drivers/video/fbdev/tcx.c tcx_unmap_regs(op, info, par); op 490 drivers/video/fbdev/tcx.c static int tcx_remove(struct platform_device *op) op 492 drivers/video/fbdev/tcx.c struct fb_info *info = dev_get_drvdata(&op->dev); op 498 drivers/video/fbdev/tcx.c tcx_unmap_regs(op, info, par); op 145 drivers/video/fbdev/vga16fb.c static inline int setop(int op) op 150 drivers/video/fbdev/vga16fb.c vga_io_w(VGA_GFX_D, op); op 39 drivers/video/fbdev/via/accel.c static int hw_bitblt_1(void __iomem *engine, u8 op, u32 width, u32 height, op 47 drivers/video/fbdev/via/accel.c if (!op || op > 3) { op 48 drivers/video/fbdev/via/accel.c printk(KERN_WARNING "hw_bitblt_1: Invalid operation: %d\n", op); op 52 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { op 65 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) { op 83 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_FILL) { op 84 drivers/video/fbdev/via/accel.c if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) op 110 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_COLOR) op 113 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_MONO) op 116 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_FILL) { op 135 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) op 147 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) op 153 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_MONO) op 160 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL || !src_mem) op 163 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + op 172 drivers/video/fbdev/via/accel.c static int hw_bitblt_2(void __iomem *engine, u8 op, u32 width, u32 height, op 180 drivers/video/fbdev/via/accel.c if (!op || op > 3) { op 181 drivers/video/fbdev/via/accel.c printk(KERN_WARNING "hw_bitblt_2: Invalid operation: %d\n", op); op 185 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { op 198 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) { op 216 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) op 252 drivers/video/fbdev/via/accel.c if (op != VIA_BITBLT_FILL) { op 253 drivers/video/fbdev/via/accel.c if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) op 272 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) { op 274 drivers/video/fbdev/via/accel.c } else if (op == VIA_BITBLT_MONO) { op 279 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL) op 285 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_MONO) op 292 drivers/video/fbdev/via/accel.c if (op == VIA_BITBLT_FILL || !src_mem) op 295 drivers/video/fbdev/via/accel.c tmp = (width * height * (op == VIA_BITBLT_MONO ? 1 : (dst_bpp >> 3)) + op 728 drivers/video/fbdev/via/viafbdev.c u8 op; op 737 drivers/video/fbdev/via/viafbdev.c op = VIA_BITBLT_MONO; op 748 drivers/video/fbdev/via/viafbdev.c op = VIA_BITBLT_COLOR; op 751 drivers/video/fbdev/via/viafbdev.c if (shared->hw_bitblt(shared->vdev->engine_mmio, op, op 52 drivers/video/fbdev/via/viafbdev.h int (*hw_bitblt)(void __iomem *engine, u8 op, u32 width, u32 height, op 479 drivers/video/fbdev/xilinxfb.c static int xilinxfb_of_remove(struct platform_device *op) op 481 drivers/video/fbdev/xilinxfb.c return xilinxfb_release(&op->dev); op 514 drivers/watchdog/cpwd.c static int cpwd_probe(struct platform_device *op) op 525 drivers/watchdog/cpwd.c p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); op 529 drivers/watchdog/cpwd.c p->irq = op->archdata.irqs[0]; op 533 drivers/watchdog/cpwd.c p->regs = of_ioremap(&op->resource[0], 0, op 563 drivers/watchdog/cpwd.c str_prop = of_get_property(op->dev.of_node, "model", NULL); op 604 drivers/watchdog/cpwd.c platform_set_drvdata(op, p); op 613 drivers/watchdog/cpwd.c of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ); op 618 drivers/watchdog/cpwd.c static int cpwd_remove(struct platform_device *op) op 620 drivers/watchdog/cpwd.c struct cpwd *p = platform_get_drvdata(op); op 639 drivers/watchdog/cpwd.c of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ); op 177 drivers/watchdog/riowd.c static int riowd_probe(struct platform_device *op) op 186 drivers/watchdog/riowd.c p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); op 192 drivers/watchdog/riowd.c p->regs = of_ioremap(&op->resource[0], 0, 2, DRIVER_NAME); op 209 drivers/watchdog/riowd.c platform_set_drvdata(op, p); op 214 drivers/watchdog/riowd.c of_iounmap(&op->resource[0], p->regs, 2); op 220 drivers/watchdog/riowd.c static int riowd_remove(struct platform_device *op) op 222 drivers/watchdog/riowd.c struct riowd *p = platform_get_drvdata(op); op 225 drivers/watchdog/riowd.c of_iounmap(&op->resource[0], p->regs, 2); op 44 drivers/xen/acpi.c struct xen_platform_op op = { op 61 drivers/xen/acpi.c HYPERVISOR_platform_op(&op); op 10 drivers/xen/dbgp.c static int xen_dbgp_op(struct usb_hcd *hcd, int op) op 20 drivers/xen/dbgp.c dbgp.op = op; op 41 drivers/xen/efi.c #define efi_data(op) (op.u.efi_runtime_call) op 45 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(get_time); op 47 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 51 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); op 52 drivers/xen/efi.c memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); op 56 drivers/xen/efi.c tc->resolution = efi_data(op).u.get_time.resolution; op 57 drivers/xen/efi.c tc->accuracy = efi_data(op).u.get_time.accuracy; op 58 drivers/xen/efi.c tc->sets_to_zero = !!(efi_data(op).misc & op 62 drivers/xen/efi.c return efi_data(op).status; op 67 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(set_time); op 69 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); op 70 drivers/xen/efi.c memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); op 72 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 75 drivers/xen/efi.c return efi_data(op).status; op 82 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(get_wakeup_time); op 84 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 88 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); op 89 drivers/xen/efi.c memcpy(tm, &efi_data(op).u.get_wakeup_time, sizeof(*tm)); op 93 drivers/xen/efi.c *enabled = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_ENABLED); op 96 drivers/xen/efi.c *pending = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_PENDING); op 98 drivers/xen/efi.c return efi_data(op).status; op 103 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(set_wakeup_time); op 105 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_wakeup_time)); op 107 drivers/xen/efi.c efi_data(op).misc = XEN_EFI_SET_WAKEUP_TIME_ENABLE; op 109 drivers/xen/efi.c memcpy(&efi_data(op).u.set_wakeup_time, tm, sizeof(*tm)); op 111 drivers/xen/efi.c efi_data(op).misc |= XEN_EFI_SET_WAKEUP_TIME_ENABLE_ONLY; op 113 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 116 drivers/xen/efi.c return efi_data(op).status; op 123 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(get_variable); op 125 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_variable.name, name); op 127 drivers/xen/efi.c sizeof(efi_data(op).u.get_variable.vendor_guid)); op 128 drivers/xen/efi.c memcpy(&efi_data(op).u.get_variable.vendor_guid, vendor, sizeof(*vendor)); op 129 drivers/xen/efi.c efi_data(op).u.get_variable.size = *data_size; op 130 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_variable.data, data); op 132 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 135 drivers/xen/efi.c *data_size = efi_data(op).u.get_variable.size; op 137 drivers/xen/efi.c *attr = efi_data(op).misc; op 139 drivers/xen/efi.c return efi_data(op).status; op 146 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(get_next_variable_name); op 148 drivers/xen/efi.c efi_data(op).u.get_next_variable_name.size = *name_size; op 149 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.get_next_variable_name.name, name); op 151 drivers/xen/efi.c sizeof(efi_data(op).u.get_next_variable_name.vendor_guid)); op 152 drivers/xen/efi.c memcpy(&efi_data(op).u.get_next_variable_name.vendor_guid, vendor, op 155 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 158 drivers/xen/efi.c *name_size = efi_data(op).u.get_next_variable_name.size; op 159 drivers/xen/efi.c memcpy(vendor, &efi_data(op).u.get_next_variable_name.vendor_guid, op 162 drivers/xen/efi.c return efi_data(op).status; op 169 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(set_variable); op 171 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.set_variable.name, name); op 172 drivers/xen/efi.c efi_data(op).misc = attr; op 174 drivers/xen/efi.c sizeof(efi_data(op).u.set_variable.vendor_guid)); op 175 drivers/xen/efi.c memcpy(&efi_data(op).u.set_variable.vendor_guid, vendor, sizeof(*vendor)); op 176 drivers/xen/efi.c efi_data(op).u.set_variable.size = data_size; op 177 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.set_variable.data, data); op 179 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 182 drivers/xen/efi.c return efi_data(op).status; op 189 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(query_variable_info); op 194 drivers/xen/efi.c efi_data(op).u.query_variable_info.attr = attr; op 196 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 199 drivers/xen/efi.c *storage_space = efi_data(op).u.query_variable_info.max_store_size; op 200 drivers/xen/efi.c *remaining_space = efi_data(op).u.query_variable_info.remain_store_size; op 201 drivers/xen/efi.c *max_variable_size = efi_data(op).u.query_variable_info.max_size; op 203 drivers/xen/efi.c return efi_data(op).status; op 208 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(get_next_high_monotonic_count); op 210 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 213 drivers/xen/efi.c *count = efi_data(op).misc; op 215 drivers/xen/efi.c return efi_data(op).status; op 221 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(update_capsule); op 226 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.update_capsule.capsule_header_array, op 228 drivers/xen/efi.c efi_data(op).u.update_capsule.capsule_count = count; op 229 drivers/xen/efi.c efi_data(op).u.update_capsule.sg_list = sg_list; op 231 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 234 drivers/xen/efi.c return efi_data(op).status; op 240 drivers/xen/efi.c struct xen_platform_op op = INIT_EFI_OP(query_capsule_capabilities); op 245 drivers/xen/efi.c set_xen_guest_handle(efi_data(op).u.query_capsule_capabilities.capsule_header_array, op 247 drivers/xen/efi.c efi_data(op).u.query_capsule_capabilities.capsule_count = count; op 249 drivers/xen/efi.c if (HYPERVISOR_platform_op(&op) < 0) op 252 drivers/xen/efi.c *max_size = efi_data(op).u.query_capsule_capabilities.max_capsule_size; op 253 drivers/xen/efi.c *reset_type = efi_data(op).u.query_capsule_capabilities.reset_type; op 255 drivers/xen/efi.c return efi_data(op).status; op 121 drivers/xen/gntalloc.c static int add_grefs(struct ioctl_gntalloc_alloc_gref *op, op 129 drivers/xen/gntalloc.c readonly = !(op->flags & GNTALLOC_FLAG_WRITABLE); op 130 drivers/xen/gntalloc.c for (i = 0; i < op->count; i++) { op 139 drivers/xen/gntalloc.c gref->file_index = op->index + i * PAGE_SIZE; op 147 drivers/xen/gntalloc.c rc = gnttab_grant_foreign_access(op->domid, op 165 drivers/xen/gntalloc.c gref_size -= (op->count - i); op 287 drivers/xen/gntalloc.c struct ioctl_gntalloc_alloc_gref op; op 292 drivers/xen/gntalloc.c if (copy_from_user(&op, arg, sizeof(op))) { op 297 drivers/xen/gntalloc.c gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_KERNEL); op 309 drivers/xen/gntalloc.c if (gref_size + op.count > limit) { op 314 drivers/xen/gntalloc.c gref_size += op.count; op 315 drivers/xen/gntalloc.c op.index = priv->index; op 316 drivers/xen/gntalloc.c priv->index += op.count * PAGE_SIZE; op 319 drivers/xen/gntalloc.c rc = add_grefs(&op, gref_ids, priv); op 330 drivers/xen/gntalloc.c if (copy_to_user(arg, &op, sizeof(op))) { op 335 drivers/xen/gntalloc.c sizeof(gref_ids[0]) * op.count)) { op 350 drivers/xen/gntalloc.c struct ioctl_gntalloc_dealloc_gref op; op 355 drivers/xen/gntalloc.c if (copy_from_user(&op, arg, sizeof(op))) { op 361 drivers/xen/gntalloc.c gref = find_grefs(priv, op.index, op.count); op 367 drivers/xen/gntalloc.c for (i = 0; i < op.count; i++) { op 388 drivers/xen/gntalloc.c struct ioctl_gntalloc_unmap_notify op; op 394 drivers/xen/gntalloc.c if (copy_from_user(&op, arg, sizeof(op))) op 397 drivers/xen/gntalloc.c index = op.index & ~(PAGE_SIZE - 1); op 398 drivers/xen/gntalloc.c pgoff = op.index & (PAGE_SIZE - 1); op 408 drivers/xen/gntalloc.c if (op.action & ~(UNMAP_NOTIFY_CLEAR_BYTE|UNMAP_NOTIFY_SEND_EVENT)) { op 420 drivers/xen/gntalloc.c if (op.action & UNMAP_NOTIFY_SEND_EVENT) { op 421 drivers/xen/gntalloc.c if (evtchn_get(op.event_channel_port)) { op 430 drivers/xen/gntalloc.c gref->notify.flags = op.action; op 432 drivers/xen/gntalloc.c gref->notify.event = op.event_channel_port; op 761 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_exp_from_refs op; op 771 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 774 drivers/xen/gntdev-dmabuf.c if (unlikely(op.count <= 0)) op 777 drivers/xen/gntdev-dmabuf.c refs = kcalloc(op.count, sizeof(*refs), GFP_KERNEL); op 781 drivers/xen/gntdev-dmabuf.c if (copy_from_user(refs, u->refs, sizeof(*refs) * op.count) != 0) { op 786 drivers/xen/gntdev-dmabuf.c ret = dmabuf_exp_from_refs(priv, op.flags, op.count, op 787 drivers/xen/gntdev-dmabuf.c op.domid, refs, &op.fd); op 791 drivers/xen/gntdev-dmabuf.c if (copy_to_user(u, &op, sizeof(op)) != 0) op 802 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_exp_wait_released op; op 804 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 807 drivers/xen/gntdev-dmabuf.c return dmabuf_exp_wait_released(priv->dmabuf_priv, op.fd, op 808 drivers/xen/gntdev-dmabuf.c op.wait_to_ms); op 814 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_imp_to_refs op; op 818 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 821 drivers/xen/gntdev-dmabuf.c if (unlikely(op.count <= 0)) op 825 drivers/xen/gntdev-dmabuf.c priv->dma_dev, op.fd, op 826 drivers/xen/gntdev-dmabuf.c op.count, op.domid); op 831 drivers/xen/gntdev-dmabuf.c sizeof(*u->refs) * op.count) != 0) { op 838 drivers/xen/gntdev-dmabuf.c dmabuf_imp_release(priv->dmabuf_priv, op.fd); op 845 drivers/xen/gntdev-dmabuf.c struct ioctl_gntdev_dmabuf_imp_release op; op 847 drivers/xen/gntdev-dmabuf.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 850 drivers/xen/gntdev-dmabuf.c return dmabuf_imp_release(priv->dmabuf_priv, op.fd); op 664 drivers/xen/gntdev.c struct ioctl_gntdev_map_grant_ref op; op 668 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 670 drivers/xen/gntdev.c pr_debug("priv %p, add %d\n", priv, op.count); op 671 drivers/xen/gntdev.c if (unlikely(op.count <= 0)) op 675 drivers/xen/gntdev.c map = gntdev_alloc_map(priv, op.count, 0 /* This is not a dma-buf. */); op 679 drivers/xen/gntdev.c if (unlikely(gntdev_account_mapped_pages(op.count))) { op 686 drivers/xen/gntdev.c sizeof(map->grants[0]) * op.count) != 0) { op 693 drivers/xen/gntdev.c op.index = map->index << PAGE_SHIFT; op 696 drivers/xen/gntdev.c if (copy_to_user(u, &op, sizeof(op)) != 0) op 705 drivers/xen/gntdev.c struct ioctl_gntdev_unmap_grant_ref op; op 709 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 711 drivers/xen/gntdev.c pr_debug("priv %p, del %d+%d\n", priv, (int)op.index, (int)op.count); op 714 drivers/xen/gntdev.c map = gntdev_find_map_index(priv, op.index >> PAGE_SHIFT, op.count); op 730 drivers/xen/gntdev.c struct ioctl_gntdev_get_offset_for_vaddr op; op 735 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op)) != 0) op 737 drivers/xen/gntdev.c pr_debug("priv %p, offset for vaddr %lx\n", priv, (unsigned long)op.vaddr); op 740 drivers/xen/gntdev.c vma = find_vma(current->mm, op.vaddr); op 748 drivers/xen/gntdev.c op.offset = map->index << PAGE_SHIFT; op 749 drivers/xen/gntdev.c op.count = map->count; op 755 drivers/xen/gntdev.c if (rv == 0 && copy_to_user(u, &op, sizeof(op)) != 0) op 762 drivers/xen/gntdev.c struct ioctl_gntdev_unmap_notify op; op 768 drivers/xen/gntdev.c if (copy_from_user(&op, u, sizeof(op))) op 771 drivers/xen/gntdev.c if (op.action & ~(UNMAP_NOTIFY_CLEAR_BYTE|UNMAP_NOTIFY_SEND_EVENT)) op 781 drivers/xen/gntdev.c if (op.action & UNMAP_NOTIFY_SEND_EVENT) { op 782 drivers/xen/gntdev.c if (evtchn_get(op.event_channel_port)) op 786 drivers/xen/gntdev.c out_flags = op.action; op 787 drivers/xen/gntdev.c out_event = op.event_channel_port; op 794 drivers/xen/gntdev.c if (op.index >= begin && op.index < end) op 801 drivers/xen/gntdev.c if ((op.action & UNMAP_NOTIFY_CLEAR_BYTE) && op 810 drivers/xen/gntdev.c map->notify.flags = op.action; op 811 drivers/xen/gntdev.c map->notify.addr = op.index - (map->index << PAGE_SHIFT); op 812 drivers/xen/gntdev.c map->notify.event = op.event_channel_port; op 925 drivers/xen/gntdev.c struct gnttab_copy *op; op 939 drivers/xen/gntdev.c op = &batch->ops[batch->nr_ops]; op 940 drivers/xen/gntdev.c op->flags = 0; op 943 drivers/xen/gntdev.c op->source.u.ref = seg->source.foreign.ref; op 944 drivers/xen/gntdev.c op->source.domid = seg->source.foreign.domid; op 945 drivers/xen/gntdev.c op->source.offset = seg->source.foreign.offset + copied; op 946 drivers/xen/gntdev.c op->flags |= GNTCOPY_source_gref; op 956 drivers/xen/gntdev.c op->source.u.gmfn = gfn; op 957 drivers/xen/gntdev.c op->source.domid = DOMID_SELF; op 958 drivers/xen/gntdev.c op->source.offset = off; op 962 drivers/xen/gntdev.c op->dest.u.ref = seg->dest.foreign.ref; op 963 drivers/xen/gntdev.c op->dest.domid = seg->dest.foreign.domid; op 964 drivers/xen/gntdev.c op->dest.offset = seg->dest.foreign.offset + copied; op 965 drivers/xen/gntdev.c op->flags |= GNTCOPY_dest_gref; op 975 drivers/xen/gntdev.c op->dest.u.gmfn = gfn; op 976 drivers/xen/gntdev.c op->dest.domid = DOMID_SELF; op 977 drivers/xen/gntdev.c op->dest.offset = off; op 980 drivers/xen/gntdev.c op->len = len; op 960 drivers/xen/grant-table.c struct gnttab_map_grant_ref *op; op 964 drivers/xen/grant-table.c for (op = batch; op < batch + count; op++) op 965 drivers/xen/grant-table.c if (op->status == GNTST_eagain) op 966 drivers/xen/grant-table.c gnttab_retry_eagain_gop(GNTTABOP_map_grant_ref, op, op 967 drivers/xen/grant-table.c &op->status, __func__); op 973 drivers/xen/grant-table.c struct gnttab_copy *op; op 977 drivers/xen/grant-table.c for (op = batch; op < batch + count; op++) op 978 drivers/xen/grant-table.c if (op->status == GNTST_eagain) op 979 drivers/xen/grant-table.c gnttab_retry_eagain_gop(GNTTABOP_copy, op, op 980 drivers/xen/grant-table.c &op->status, __func__); op 75 drivers/xen/pcpu.c struct xen_platform_op op = { op 81 drivers/xen/pcpu.c return HYPERVISOR_platform_op(&op); op 86 drivers/xen/pcpu.c struct xen_platform_op op = { op 92 drivers/xen/pcpu.c return HYPERVISOR_platform_op(&op); op 274 drivers/xen/pcpu.c struct xen_platform_op op = { op 280 drivers/xen/pcpu.c ret = HYPERVISOR_platform_op(&op); op 284 drivers/xen/pcpu.c info = &op.u.pcpu_info; op 362 drivers/xen/pcpu.c struct xen_platform_op op; op 364 drivers/xen/pcpu.c op.cmd = XENPF_get_cpuinfo; op 366 drivers/xen/pcpu.c op.u.pcpu_info.xen_cpuid = cpu_id; op 367 drivers/xen/pcpu.c if (HYPERVISOR_platform_op(&op)) { op 372 drivers/xen/pcpu.c if (acpi_id == op.u.pcpu_info.acpi_id) op 374 drivers/xen/pcpu.c if (op.u.pcpu_info.max_present > max_id) op 375 drivers/xen/pcpu.c max_id = op.u.pcpu_info.max_present; op 84 drivers/xen/privcmd.c ret = privcmd_call(hypercall.op, op 178 drivers/xen/xen-acpi-cpuhotplug.c struct xen_platform_op op; op 194 drivers/xen/xen-acpi-cpuhotplug.c op.cmd = XENPF_cpu_hotadd; op 195 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.apic_id = apic_id; op 196 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.acpi_id = pr->acpi_id; op 197 drivers/xen/xen-acpi-cpuhotplug.c op.u.cpu_add.pxm = pxm; op 199 drivers/xen/xen-acpi-cpuhotplug.c cpu_id = HYPERVISOR_platform_op(&op); op 41 drivers/xen/xen-acpi-memhotplug.c struct xen_platform_op op; op 43 drivers/xen/xen-acpi-memhotplug.c op.cmd = XENPF_mem_hotadd; op 44 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.spfn = info->start_addr >> PAGE_SHIFT; op 45 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.epfn = (info->start_addr + info->length) >> PAGE_SHIFT; op 46 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.pxm = pxm; op 48 drivers/xen/xen-acpi-memhotplug.c rc = HYPERVISOR_dom0_op(&op); op 26 drivers/xen/xen-acpi-pad.c struct xen_platform_op op; op 28 drivers/xen/xen-acpi-pad.c op.cmd = XENPF_core_parking; op 29 drivers/xen/xen-acpi-pad.c op.u.core_parking.type = XEN_CORE_PARKING_SET; op 30 drivers/xen/xen-acpi-pad.c op.u.core_parking.idle_nums = idle_nums; op 32 drivers/xen/xen-acpi-pad.c return HYPERVISOR_platform_op(&op); op 37 drivers/xen/xen-acpi-pad.c struct xen_platform_op op; op 39 drivers/xen/xen-acpi-pad.c op.cmd = XENPF_core_parking; op 40 drivers/xen/xen-acpi-pad.c op.u.core_parking.type = XEN_CORE_PARKING_GET; op 42 drivers/xen/xen-acpi-pad.c return HYPERVISOR_platform_op(&op) op 43 drivers/xen/xen-acpi-pad.c ?: op.u.core_parking.idle_nums; op 52 drivers/xen/xen-acpi-processor.c struct xen_platform_op op = { op 102 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.count = ok; op 103 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_control = _pr->flags.bm_control; op 104 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_check = _pr->flags.bm_check; op 105 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.has_cst = _pr->flags.has_cst; op 106 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.power_setup_done = op 109 drivers/xen/xen-acpi-processor.c set_xen_guest_handle(op.u.set_pminfo.power.states, dst_cx_states); op 112 drivers/xen/xen-acpi-processor.c ret = HYPERVISOR_platform_op(&op); op 206 drivers/xen/xen-acpi-processor.c struct xen_platform_op op = { op 215 drivers/xen/xen-acpi-processor.c dst_perf = &op.u.set_pminfo.perf; op 240 drivers/xen/xen-acpi-processor.c ret = HYPERVISOR_platform_op(&op); op 288 drivers/xen/xen-acpi-processor.c struct xen_platform_op op = { op 295 drivers/xen/xen-acpi-processor.c info = &op.u.pcpu_info; op 298 drivers/xen/xen-acpi-processor.c ret = HYPERVISOR_platform_op(&op); op 303 drivers/xen/xen-acpi-processor.c last_cpu = op.u.pcpu_info.max_present; op 306 drivers/xen/xen-acpi-processor.c ret = HYPERVISOR_platform_op(&op); op 25 drivers/xen/xen-pciback/conf_space.c #define DEFINE_PCI_CONFIG(op, size, type) \ op 26 drivers/xen/xen-pciback/conf_space.c int xen_pcibk_##op##_config_##size \ op 29 drivers/xen/xen-pciback/conf_space.c return pci_##op##_config_##size(dev, offset, value); \ op 41 drivers/xen/xen-pciback/pciback.h struct xen_pci_op op; op 145 drivers/xen/xen-pciback/pciback_ops.c struct pci_dev *dev, struct xen_pci_op *op) op 164 drivers/xen/xen-pciback/pciback_ops.c op->value = 0; op 171 drivers/xen/xen-pciback/pciback_ops.c op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; op 174 drivers/xen/xen-pciback/pciback_ops.c op->value); op 185 drivers/xen/xen-pciback/pciback_ops.c struct pci_dev *dev, struct xen_pci_op *op) op 200 drivers/xen/xen-pciback/pciback_ops.c op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; op 203 drivers/xen/xen-pciback/pciback_ops.c op->value); op 209 drivers/xen/xen-pciback/pciback_ops.c struct pci_dev *dev, struct xen_pci_op *op) op 220 drivers/xen/xen-pciback/pciback_ops.c if (op->value > SH_INFO_MAX_VEC) op 235 drivers/xen/xen-pciback/pciback_ops.c entries = kmalloc_array(op->value, sizeof(*entries), GFP_KERNEL); op 239 drivers/xen/xen-pciback/pciback_ops.c for (i = 0; i < op->value; i++) { op 240 drivers/xen/xen-pciback/pciback_ops.c entries[i].entry = op->msix_entries[i].entry; op 241 drivers/xen/xen-pciback/pciback_ops.c entries[i].vector = op->msix_entries[i].vector; op 244 drivers/xen/xen-pciback/pciback_ops.c result = pci_enable_msix_exact(dev, entries, op->value); op 246 drivers/xen/xen-pciback/pciback_ops.c for (i = 0; i < op->value; i++) { op 247 drivers/xen/xen-pciback/pciback_ops.c op->msix_entries[i].entry = entries[i].entry; op 249 drivers/xen/xen-pciback/pciback_ops.c op->msix_entries[i].vector = op 255 drivers/xen/xen-pciback/pciback_ops.c op->msix_entries[i].vector); op 264 drivers/xen/xen-pciback/pciback_ops.c op->value = result; op 274 drivers/xen/xen-pciback/pciback_ops.c struct pci_dev *dev, struct xen_pci_op *op) op 293 drivers/xen/xen-pciback/pciback_ops.c op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; op 296 drivers/xen/xen-pciback/pciback_ops.c pci_name(dev), op->value); op 333 drivers/xen/xen-pciback/pciback_ops.c struct xen_pci_op *op = &pdev->op; op 339 drivers/xen/xen-pciback/pciback_ops.c *op = pdev->sh_info->op; op 341 drivers/xen/xen-pciback/pciback_ops.c dev = xen_pcibk_get_pci_dev(pdev, op->domain, op->bus, op->devfn); op 344 drivers/xen/xen-pciback/pciback_ops.c op->err = XEN_PCI_ERR_dev_not_found; op 349 drivers/xen/xen-pciback/pciback_ops.c switch (op->cmd) { op 351 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_config_read(dev, op 352 drivers/xen/xen-pciback/pciback_ops.c op->offset, op->size, &op->value); op 355 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_config_write(dev, op 356 drivers/xen/xen-pciback/pciback_ops.c op->offset, op->size, op->value); op 360 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_enable_msi(pdev, dev, op); op 363 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_disable_msi(pdev, dev, op); op 366 drivers/xen/xen-pciback/pciback_ops.c nr = op->value; op 367 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_enable_msix(pdev, dev, op); op 370 drivers/xen/xen-pciback/pciback_ops.c op->err = xen_pcibk_disable_msix(pdev, dev, op); op 374 drivers/xen/xen-pciback/pciback_ops.c op->err = XEN_PCI_ERR_not_implemented; op 378 drivers/xen/xen-pciback/pciback_ops.c if (!op->err && dev && dev_data) { op 383 drivers/xen/xen-pciback/pciback_ops.c pdev->sh_info->op.err = op->err; op 384 drivers/xen/xen-pciback/pciback_ops.c pdev->sh_info->op.value = op->value; op 386 drivers/xen/xen-pciback/pciback_ops.c if (op->cmd == XEN_PCI_OP_enable_msix && op->err == 0) { op 390 drivers/xen/xen-pciback/pciback_ops.c pdev->sh_info->op.msix_entries[i].vector = op 391 drivers/xen/xen-pciback/pciback_ops.c op->msix_entries[i].vector; op 1053 drivers/xen/xen-scsiback.c static void scsiback_do_1lun_hotplug(struct vscsibk_info *info, int op, op 1098 drivers/xen/xen-scsiback.c switch (op) { op 1133 drivers/xen/xen-scsiback.c static void scsiback_do_lun_hotplug(struct vscsibk_info *info, int op) op 1145 drivers/xen/xen-scsiback.c scsiback_do_1lun_hotplug(info, op, dir[i]); op 17 drivers/xen/xenfs/xensyms.c struct xen_platform_op op; op 26 drivers/xen/xenfs/xensyms.c struct xenpf_symdata *symdata = &xs->op.u.symdata; op 34 drivers/xen/xenfs/xensyms.c ret = HYPERVISOR_platform_op(&xs->op); op 53 drivers/xen/xenfs/xensyms.c ret = HYPERVISOR_platform_op(&xs->op); op 69 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.symnum = *pos; op 81 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.symnum = ++(*pos); op 92 drivers/xen/xenfs/xensyms.c struct xenpf_symdata *symdata = &xs->op.u.symdata; op 131 drivers/xen/xenfs/xensyms.c set_xen_guest_handle(xs->op.u.symdata.name, xs->name); op 132 drivers/xen/xenfs/xensyms.c xs->op.cmd = XENPF_get_symbol; op 133 drivers/xen/xenfs/xensyms.c xs->op.u.symdata.namelen = xs->namelen; op 778 fs/afs/flock.c enum afs_flock_operation op; op 802 fs/afs/flock.c case 0: op = afs_flock_op_return_ok; break; op 803 fs/afs/flock.c case -EAGAIN: op = afs_flock_op_return_eagain; break; op 804 fs/afs/flock.c case -EDEADLK: op = afs_flock_op_return_edeadlk; break; op 805 fs/afs/flock.c default: op = afs_flock_op_return_error; break; op 807 fs/afs/flock.c trace_afs_flock_op(vnode, fl, op); op 817 fs/afs/flock.c enum afs_flock_operation op; op 844 fs/afs/flock.c case 0: op = afs_flock_op_return_ok; break; op 845 fs/afs/flock.c case -EAGAIN: op = afs_flock_op_return_eagain; break; op 846 fs/afs/flock.c case -EDEADLK: op = afs_flock_op_return_edeadlk; break; op 847 fs/afs/flock.c default: op = afs_flock_op_return_error; break; op 849 fs/afs/flock.c trace_afs_flock_op(vnode, fl, op); op 272 fs/afs/fsclient.c .op = afs_FS_FetchStatus, op 465 fs/afs/fsclient.c .op = afs_FS_FetchData, op 472 fs/afs/fsclient.c .op = afs_FS_FetchData64, op 600 fs/afs/fsclient.c .op = afs_FS_CreateFile, op 607 fs/afs/fsclient.c .op = afs_FS_MakeDir, op 710 fs/afs/fsclient.c .op = afs_FS_RemoveFile, op 717 fs/afs/fsclient.c .op = afs_FS_RemoveDir, op 806 fs/afs/fsclient.c .op = afs_FS_Link, op 900 fs/afs/fsclient.c .op = afs_FS_Symlink, op 1012 fs/afs/fsclient.c .op = afs_FS_Rename, op 1122 fs/afs/fsclient.c .op = afs_FS_StoreData, op 1129 fs/afs/fsclient.c .op = afs_FS_StoreData64, op 1302 fs/afs/fsclient.c .op = afs_FS_StoreStatus, op 1309 fs/afs/fsclient.c .op = afs_FS_StoreData, op 1316 fs/afs/fsclient.c .op = afs_FS_StoreData64, op 1598 fs/afs/fsclient.c .op = afs_FS_GetVolumeStatus, op 1666 fs/afs/fsclient.c .op = afs_FS_SetLock, op 1677 fs/afs/fsclient.c .op = afs_FS_ExtendLock, op 1688 fs/afs/fsclient.c .op = afs_FS_ReleaseLock, op 1819 fs/afs/fsclient.c .op = afs_FS_GiveUpAllCallBacks, op 1903 fs/afs/fsclient.c .op = afs_FS_GetCapabilities, op 1974 fs/afs/fsclient.c .op = afs_FS_FetchStatus, op 2139 fs/afs/fsclient.c .op = afs_FS_InlineBulkStatus, op 2274 fs/afs/fsclient.c .op = afs_FS_FetchACL, op 2345 fs/afs/fsclient.c .op = afs_FS_StoreACL, op 180 fs/afs/internal.h unsigned int op; /* Really enum afs_fs_operation */ op 254 fs/afs/rxrpc.c call->operation_ID = type->op; op 119 fs/afs/vlclient.c .op = afs_VL_GetEntryByNameU, op 258 fs/afs/vlclient.c .op = afs_VL_GetAddrsU, op 366 fs/afs/vlclient.c .op = afs_VL_GetCapabilities, op 615 fs/afs/vlclient.c .op = afs_YFSVL_GetEndpoints, op 389 fs/afs/yfsclient.c .op = yfs_FS_FetchStatus, op 579 fs/afs/yfsclient.c .op = yfs_FS_FetchData64, op 666 fs/afs/yfsclient.c .op = yfs_FS_CreateFile, op 730 fs/afs/yfsclient.c .op = yfs_FS_MakeDir, op 825 fs/afs/yfsclient.c .op = yfs_FS_RemoveFile2, op 906 fs/afs/yfsclient.c .op = yfs_FS_RemoveFile, op 913 fs/afs/yfsclient.c .op = yfs_FS_RemoveDir, op 994 fs/afs/yfsclient.c .op = yfs_FS_Link, op 1082 fs/afs/yfsclient.c .op = yfs_FS_Symlink, op 1175 fs/afs/yfsclient.c .op = yfs_FS_Rename, op 1239 fs/afs/yfsclient.c .op = yfs_FS_StoreData64, op 1318 fs/afs/yfsclient.c .op = yfs_FS_StoreStatus, op 1325 fs/afs/yfsclient.c .op = yfs_FS_StoreData64, op 1556 fs/afs/yfsclient.c .op = yfs_FS_GetVolumeStatus, op 1606 fs/afs/yfsclient.c .op = yfs_FS_SetLock, op 1617 fs/afs/yfsclient.c .op = yfs_FS_ExtendLock, op 1628 fs/afs/yfsclient.c .op = yfs_FS_ReleaseLock, op 1755 fs/afs/yfsclient.c .op = yfs_FS_FetchStatus, op 1922 fs/afs/yfsclient.c .op = yfs_FS_InlineBulkStatus, op 2101 fs/afs/yfsclient.c .op = yfs_FS_FetchOpaqueACL, op 2155 fs/afs/yfsclient.c .op = yfs_FS_StoreOpaqueACL2, op 184 fs/block_dev.c unsigned int op = REQ_OP_WRITE | REQ_SYNC | REQ_IDLE; op 188 fs/block_dev.c op |= REQ_FUA; op 189 fs/block_dev.c return op; op 2734 fs/btrfs/check-integrity.c int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh) op 2739 fs/btrfs/check-integrity.c return submit_bh(op, op_flags, bh); op 2748 fs/btrfs/check-integrity.c (op == REQ_OP_WRITE) && bh->b_size > 0) { op 2755 fs/btrfs/check-integrity.c op, op_flags, (unsigned long long)bh->b_blocknr, op 2764 fs/btrfs/check-integrity.c op, op_flags, bh->b_bdev); op 2788 fs/btrfs/check-integrity.c return submit_bh(op, op_flags, bh); op 10 fs/btrfs/check-integrity.h int btrfsic_submit_bh(int op, int op_flags, struct buffer_head *bh); op 291 fs/btrfs/ctree.c enum mod_log_op op; op 470 fs/btrfs/ctree.c enum mod_log_op op, gfp_t flags) op 479 fs/btrfs/ctree.c if (op != MOD_LOG_KEY_ADD) { op 483 fs/btrfs/ctree.c tm->op = op; op 492 fs/btrfs/ctree.c enum mod_log_op op, gfp_t flags) op 500 fs/btrfs/ctree.c tm = alloc_tree_mod_elem(eb, slot, op, flags); op 543 fs/btrfs/ctree.c tm->op = MOD_LOG_MOVE_KEYS; op 652 fs/btrfs/ctree.c tm->op = MOD_LOG_ROOT_REPLACE; op 1199 fs/btrfs/ctree.c if (tm->op != MOD_LOG_ROOT_REPLACE) op 1238 fs/btrfs/ctree.c switch (tm->op) { op 1317 fs/btrfs/ctree.c if (tm->op == MOD_LOG_KEY_REMOVE_WHILE_FREEING) { op 1376 fs/btrfs/ctree.c if (tm->op == MOD_LOG_ROOT_REPLACE) { op 1387 fs/btrfs/ctree.c if (old_root && tm && tm->op != MOD_LOG_KEY_REMOVE_WHILE_FREEING) { op 1439 fs/btrfs/ctree.c if (tm && tm->op == MOD_LOG_ROOT_REPLACE) { op 303 fs/btrfs/delayed-ref.h btrfs_free_delayed_extent_op(struct btrfs_delayed_extent_op *op) op 305 fs/btrfs/delayed-ref.h if (op) op 306 fs/btrfs/delayed-ref.h kmem_cache_free(btrfs_delayed_extent_op_cachep, op); op 784 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); op 1884 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); op 1894 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); op 2060 fs/btrfs/free-space-cache.c if (!ctl->op->use_bitmap(ctl, info)) op 2063 fs/btrfs/free-space-cache.c if (ctl->op == &free_space_op) op 2521 fs/btrfs/free-space-cache.c ctl->op = &free_space_op; op 2826 fs/btrfs/free-space-cache.c ctl->op->recalc_thresholds(ctl); op 27 fs/btrfs/free-space-cache.h const struct btrfs_free_space_op *op; op 377 fs/btrfs/inode-map.c ctl->op = &free_ino_op; op 393 fs/btrfs/inode-map.c pinned->op = &pinned_free_ino_op; op 403 fs/btrfs/tests/free-space-tests.c .recalc_thresholds = cache->free_space_ctl->op->recalc_thresholds, op 428 fs/btrfs/tests/free-space-tests.c orig_free_space_ops = cache->free_space_ctl->op; op 429 fs/btrfs/tests/free-space-tests.c cache->free_space_ctl->op = &test_free_space_ops; op 823 fs/btrfs/tests/free-space-tests.c cache->free_space_ctl->op = orig_free_space_ops; op 197 fs/btrfs/volumes.c enum btrfs_map_op op, op 5858 fs/btrfs/volumes.c static void handle_ops_on_dev_replace(enum btrfs_map_op op, op 5870 fs/btrfs/volumes.c if (op == BTRFS_MAP_WRITE) { op 5903 fs/btrfs/volumes.c } else if (op == BTRFS_MAP_GET_READ_MIRRORS) { op 5952 fs/btrfs/volumes.c static bool need_full_stripe(enum btrfs_map_op op) op 5954 fs/btrfs/volumes.c return (op == BTRFS_MAP_WRITE || op == BTRFS_MAP_GET_READ_MIRRORS); op 5971 fs/btrfs/volumes.c int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 5984 fs/btrfs/volumes.c ASSERT(op != BTRFS_MAP_DISCARD); op 6034 fs/btrfs/volumes.c if (op == BTRFS_MAP_WRITE) { op 6058 fs/btrfs/volumes.c enum btrfs_map_op op, op 6086 fs/btrfs/volumes.c if (op == BTRFS_MAP_DISCARD) op 6090 fs/btrfs/volumes.c ret = btrfs_get_io_geometry(fs_info, op, logical, *length, &geom); op 6115 fs/btrfs/volumes.c !need_full_stripe(op) && dev_replace->tgtdev != NULL) { op 6133 fs/btrfs/volumes.c if (!need_full_stripe(op)) op 6136 fs/btrfs/volumes.c if (need_full_stripe(op)) op 6147 fs/btrfs/volumes.c if (need_full_stripe(op)) { op 6161 fs/btrfs/volumes.c if (need_full_stripe(op)) op 6174 fs/btrfs/volumes.c if (need_raid_map && (need_full_stripe(op) || mirror_num > 1)) { op 6200 fs/btrfs/volumes.c if (!need_full_stripe(op) && mirror_num <= 1) op 6223 fs/btrfs/volumes.c if (op == BTRFS_MAP_WRITE) op 6225 fs/btrfs/volumes.c if (op == BTRFS_MAP_GET_READ_MIRRORS) op 6240 fs/btrfs/volumes.c (need_full_stripe(op) || mirror_num > 1)) { op 6275 fs/btrfs/volumes.c if (need_full_stripe(op)) op 6282 fs/btrfs/volumes.c need_full_stripe(op)) { op 6283 fs/btrfs/volumes.c handle_ops_on_dev_replace(op, &bbio, dev_replace, &num_stripes, op 6314 fs/btrfs/volumes.c int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 6318 fs/btrfs/volumes.c return __btrfs_map_block(fs_info, op, logical, length, bbio_ret, op 6323 fs/btrfs/volumes.c int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 6327 fs/btrfs/volumes.c return __btrfs_map_block(fs_info, op, logical, length, bbio_ret, 0, 1); op 423 fs/btrfs/volumes.h int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 426 fs/btrfs/volumes.h int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 429 fs/btrfs/volumes.h int btrfs_get_io_geometry(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, op 52 fs/buffer.c static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, op 3036 fs/buffer.c static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, op 3050 fs/buffer.c if (test_set_buffer_req(bh) && (op == REQ_OP_WRITE)) op 3073 fs/buffer.c bio_set_op_attrs(bio, op, op_flags); op 3087 fs/buffer.c int submit_bh(int op, int op_flags, struct buffer_head *bh) op 3089 fs/buffer.c return submit_bh_wbc(op, op_flags, bh, 0, NULL); op 3119 fs/buffer.c void ll_rw_block(int op, int op_flags, int nr, struct buffer_head *bhs[]) op 3128 fs/buffer.c if (op == WRITE) { op 3132 fs/buffer.c submit_bh(op, op_flags, bh); op 3139 fs/buffer.c submit_bh(op, op_flags, bh); op 405 fs/cachefiles/interface.c static int cachefiles_check_consistency(struct fscache_operation *op) op 412 fs/cachefiles/interface.c _enter("{OBJ%x}", op->object->debug_id); op 414 fs/cachefiles/interface.c object = container_of(op->object, struct cachefiles_object, fscache); op 499 fs/cachefiles/interface.c static void cachefiles_invalidate_object(struct fscache_operation *op) op 508 fs/cachefiles/interface.c object = container_of(op->object, struct cachefiles_object, fscache); op 512 fs/cachefiles/interface.c ni_size = op->object->store_limit_l; op 515 fs/cachefiles/interface.c op->object->debug_id, (unsigned long long)ni_size); op 539 fs/cachefiles/interface.c fscache_op_complete(op, true); op 99 fs/cachefiles/internal.h struct fscache_retrieval *op; /* retrieval op covering this */ op 26 fs/cachefiles/rdwr.c struct fscache_retrieval *op = monitor->op; op 51 fs/cachefiles/rdwr.c ASSERT(op); op 58 fs/cachefiles/rdwr.c fscache_get_retrieval(op); op 60 fs/cachefiles/rdwr.c object = container_of(op->op.object, struct cachefiles_object, fscache); op 62 fs/cachefiles/rdwr.c list_add_tail(&monitor->op_link, &op->to_do); op 63 fs/cachefiles/rdwr.c fscache_enqueue_retrieval(op); op 66 fs/cachefiles/rdwr.c fscache_put_retrieval(op); op 156 fs/cachefiles/rdwr.c struct fscache_retrieval *op; op 159 fs/cachefiles/rdwr.c op = container_of(_op, struct fscache_retrieval, op); op 160 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 168 fs/cachefiles/rdwr.c while (!list_empty(&op->to_do)) { op 169 fs/cachefiles/rdwr.c monitor = list_entry(op->to_do.next, op 183 fs/cachefiles/rdwr.c fscache_mark_page_cached(monitor->op, op 202 fs/cachefiles/rdwr.c fscache_end_io(op, monitor->netfs_page, error); op 204 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 205 fs/cachefiles/rdwr.c fscache_put_retrieval(op); op 212 fs/cachefiles/rdwr.c if (!list_empty(&op->to_do)) op 213 fs/cachefiles/rdwr.c fscache_enqueue_retrieval(op); op 230 fs/cachefiles/rdwr.c struct fscache_retrieval *op, op 248 fs/cachefiles/rdwr.c monitor->op = fscache_get_retrieval(op); op 335 fs/cachefiles/rdwr.c fscache_mark_page_cached(op, netpage); op 338 fs/cachefiles/rdwr.c fscache_end_io(op, netpage, 0); op 339 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 349 fs/cachefiles/rdwr.c fscache_put_retrieval(monitor->op); op 358 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 363 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 370 fs/cachefiles/rdwr.c fscache_put_retrieval(monitor->op); op 373 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 392 fs/cachefiles/rdwr.c int cachefiles_read_or_alloc_page(struct fscache_retrieval *op, op 403 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 421 fs/cachefiles/rdwr.c op->op.flags &= FSCACHE_OP_KEEP_FLAGS; op 422 fs/cachefiles/rdwr.c op->op.flags |= FSCACHE_OP_ASYNC; op 423 fs/cachefiles/rdwr.c op->op.processor = cachefiles_read_copier; op 442 fs/cachefiles/rdwr.c ret = cachefiles_read_backing_file_one(object, op, page); op 445 fs/cachefiles/rdwr.c fscache_mark_page_cached(op, page); op 446 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 456 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 466 fs/cachefiles/rdwr.c struct fscache_retrieval *op, op 487 fs/cachefiles/rdwr.c monitor->op = fscache_get_retrieval(op); op 530 fs/cachefiles/rdwr.c ret = add_to_page_cache_lru(netpage, op->mapping, op 538 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 606 fs/cachefiles/rdwr.c ret = add_to_page_cache_lru(netpage, op->mapping, op 614 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 625 fs/cachefiles/rdwr.c fscache_mark_page_cached(op, netpage); op 628 fs/cachefiles/rdwr.c fscache_end_io(op, netpage, 0); op 631 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 648 fs/cachefiles/rdwr.c fscache_put_retrieval(op); op 655 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 674 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 682 fs/cachefiles/rdwr.c int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, op 696 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 702 fs/cachefiles/rdwr.c object->fscache.debug_id, atomic_read(&op->op.usage), op 722 fs/cachefiles/rdwr.c op->op.flags &= FSCACHE_OP_KEEP_FLAGS; op 723 fs/cachefiles/rdwr.c op->op.flags |= FSCACHE_OP_ASYNC; op 724 fs/cachefiles/rdwr.c op->op.processor = cachefiles_read_copier; op 755 fs/cachefiles/rdwr.c fscache_mark_pages_cached(op, &pagevec); op 756 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 759 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 764 fs/cachefiles/rdwr.c fscache_mark_pages_cached(op, &pagevec); op 772 fs/cachefiles/rdwr.c ret2 = cachefiles_read_backing_file(object, op, &backpages); op 782 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, *nr_pages); op 797 fs/cachefiles/rdwr.c int cachefiles_allocate_page(struct fscache_retrieval *op, op 805 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 814 fs/cachefiles/rdwr.c fscache_mark_page_cached(op, page); op 818 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, 1); op 834 fs/cachefiles/rdwr.c int cachefiles_allocate_pages(struct fscache_retrieval *op, op 845 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 858 fs/cachefiles/rdwr.c fscache_mark_pages_cached(op, &pagevec); op 862 fs/cachefiles/rdwr.c fscache_mark_pages_cached(op, &pagevec); op 868 fs/cachefiles/rdwr.c fscache_retrieval_complete(op, *nr_pages); op 880 fs/cachefiles/rdwr.c int cachefiles_write_page(struct fscache_storage *op, struct page *page) op 891 fs/cachefiles/rdwr.c ASSERT(op != NULL); op 894 fs/cachefiles/rdwr.c object = container_of(op->op.object, op 728 fs/ceph/addr.c if (req->r_ops[i].op != CEPH_OSD_OP_WRITE) op 1121 fs/ceph/caps.c int op, caps, wanted, dirty; op 1145 fs/ceph/caps.c " xattr_ver %llu xattr_len %d\n", ceph_cap_op_name(arg->op), op 1168 fs/ceph/caps.c fc->op = cpu_to_le32(arg->op); op 1270 fs/ceph/caps.c int op, int flags, int used, int want, int retain, op 1354 fs/ceph/caps.c arg.op = op; op 1424 fs/ceph/caps.c arg.op = CEPH_CAP_OP_FLUSHSNAP; op 3267 fs/ceph/caps.c if ((was_stale || le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) && op 3329 fs/ceph/caps.c if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) { op 3811 fs/ceph/caps.c int op; op 3827 fs/ceph/caps.c op = le32_to_cpu(h->op); op 3846 fs/ceph/caps.c if (op == CEPH_CAP_OP_IMPORT) { op 3851 fs/ceph/caps.c } else if (op == CEPH_CAP_OP_EXPORT) { op 3918 fs/ceph/caps.c dout(" op %s ino %llx.%llx inode %p\n", ceph_cap_op_name(op), vino.ino, op 3929 fs/ceph/caps.c if (op == CEPH_CAP_OP_IMPORT) { op 3945 fs/ceph/caps.c switch (op) { op 3987 fs/ceph/caps.c switch (op) { op 4007 fs/ceph/caps.c pr_err("ceph_handle_caps: unknown cap op %d %s\n", op, op 4008 fs/ceph/caps.c ceph_cap_op_name(op)); op 359 fs/ceph/dir.c int op = ceph_snap(inode) == CEPH_SNAPDIR ? op 380 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); op 390 fs/ceph/dir.c if (op == CEPH_MDS_OP_READDIR) { op 739 fs/ceph/dir.c int op; op 772 fs/ceph/dir.c op = ceph_snap(dir) == CEPH_SNAPDIR ? op 774 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); op 941 fs/ceph/dir.c int op; op 945 fs/ceph/dir.c op = CEPH_MDS_OP_MKSNAP; op 950 fs/ceph/dir.c op = CEPH_MDS_OP_MKDIR; op 955 fs/ceph/dir.c if (op == CEPH_MDS_OP_MKDIR && op 969 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); op 1049 fs/ceph/dir.c int op; op 1054 fs/ceph/dir.c op = CEPH_MDS_OP_RMSNAP; op 1058 fs/ceph/dir.c op = d_is_dir(dentry) ? op 1062 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); op 1089 fs/ceph/dir.c int op = CEPH_MDS_OP_RENAME; op 1099 fs/ceph/dir.c op = CEPH_MDS_OP_RENAMESNAP; op 1110 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); op 1596 fs/ceph/dir.c int op, err; op 1602 fs/ceph/dir.c op = ceph_snap(dir) == CEPH_SNAPDIR ? op 1604 fs/ceph/dir.c req = ceph_mdsc_create_request(mdsc, op, USE_ANY_MDS); op 187 fs/ceph/file.c int op = (flags & O_CREAT) ? CEPH_MDS_OP_CREATE : CEPH_MDS_OP_OPEN; op 192 fs/ceph/file.c req = ceph_mdsc_create_request(mdsc, op, want_auth); op 1706 fs/ceph/file.c int op; op 1709 fs/ceph/file.c op = offset ? CEPH_OSD_OP_DELETE : CEPH_OSD_OP_TRUNCATE; op 1712 fs/ceph/file.c op = CEPH_OSD_OP_ZERO; op 1718 fs/ceph/file.c 0, 1, op, op 1598 fs/ceph/inode.c if (le32_to_cpu(rinfo->head->op) == CEPH_MDS_OP_LSSNAP) { op 222 fs/ceph/locks.c u16 op = CEPH_MDS_OP_SETFILELOCK; op 236 fs/ceph/locks.c op = CEPH_MDS_OP_GETFILELOCK; op 246 fs/ceph/locks.c if (op == CEPH_MDS_OP_SETFILELOCK && F_UNLCK == fl->fl_type) op 258 fs/ceph/locks.c err = ceph_lock_message(CEPH_LOCK_FCNTL, op, inode, lock_cmd, wait, fl); op 260 fs/ceph/locks.c if (op == CEPH_MDS_OP_SETFILELOCK) { op 267 fs/ceph/locks.c ceph_lock_message(CEPH_LOCK_FCNTL, op, inode, op 452 fs/ceph/mds_client.c u32 op = le32_to_cpu(info->head->op); op 454 fs/ceph/mds_client.c if (op == CEPH_MDS_OP_GETFILELOCK) op 456 fs/ceph/mds_client.c else if (op == CEPH_MDS_OP_READDIR || op == CEPH_MDS_OP_LSSNAP) op 458 fs/ceph/mds_client.c else if (op == CEPH_MDS_OP_CREATE) op 1030 fs/ceph/mds_client.c static struct ceph_msg *create_session_msg(u32 op, u64 seq) op 1042 fs/ceph/mds_client.c h->op = cpu_to_le32(op); op 1113 fs/ceph/mds_client.c h->op = cpu_to_le32(CEPH_SESSION_REQUEST_OPEN); op 2071 fs/ceph/mds_client.c ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode) op 2096 fs/ceph/mds_client.c req->r_op = op; op 2347 fs/ceph/mds_client.c head->op = cpu_to_le32(req->r_op); op 2925 fs/ceph/mds_client.c le32_to_cpu(head->op) == CEPH_MDS_OP_RMSNAP, op 3074 fs/ceph/mds_client.c u32 op; op 3084 fs/ceph/mds_client.c op = le32_to_cpu(h->op); op 3099 fs/ceph/mds_client.c if (op == CEPH_SESSION_CLOSE) { op 3110 fs/ceph/mds_client.c mds, ceph_session_op_name(op), session, op 3118 fs/ceph/mds_client.c switch (op) { op 3182 fs/ceph/mds_client.c pr_err("mdsc_handle_session bad op %d mds%d\n", op, mds); op 3194 fs/ceph/mds_client.c if (op == CEPH_SESSION_CLOSE) op 440 fs/ceph/mds_client.h extern const char *ceph_mds_op_name(int op); op 470 fs/ceph/mds_client.h ceph_mdsc_create_request(struct ceph_mds_client *mdsc, int op, int mode); op 313 fs/ceph/quota.c static bool check_quota_exceeded(struct inode *inode, enum quota_check_op op, op 354 fs/ceph/quota.c if (op == QUOTA_CHECK_MAX_FILES_OP) { op 362 fs/ceph/quota.c switch (op) { op 385 fs/ceph/quota.c pr_warn("Invalid quota check op (%d)\n", op); op 849 fs/ceph/snap.c int op; op 864 fs/ceph/snap.c op = le32_to_cpu(h->op); op 873 fs/ceph/snap.c ceph_snap_op_name(op), split, trace_len); op 882 fs/ceph/snap.c if (op == CEPH_SNAP_OP_SPLIT) { op 988 fs/ceph/snap.c op == CEPH_SNAP_OP_DESTROY, NULL); op 990 fs/ceph/snap.c if (op == CEPH_SNAP_OP_SPLIT) op 34 fs/ceph/strings.c const char *ceph_session_op_name(int op) op 36 fs/ceph/strings.c switch (op) { op 53 fs/ceph/strings.c const char *ceph_mds_op_name(int op) op 55 fs/ceph/strings.c switch (op) { op 88 fs/ceph/strings.c const char *ceph_cap_op_name(int op) op 90 fs/ceph/strings.c switch (op) { op 953 fs/ceph/xattr.c int op = CEPH_MDS_OP_SETXATTR; op 967 fs/ceph/xattr.c op = CEPH_MDS_OP_RMXATTR; op 975 fs/ceph/xattr.c req = ceph_mdsc_create_request(mdsc, op, USE_AUTH_MDS); op 988 fs/ceph/xattr.c if (op == CEPH_MDS_OP_SETXATTR) { op 61 fs/coda/upcall.c #define UPARG(op)\ op 63 fs/coda/upcall.c inp = (union inputArgs *)alloc_upcall(op, insize); \ op 1833 fs/dcache.c void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) op 1842 fs/dcache.c dentry->d_op = op; op 1843 fs/dcache.c if (!op) op 1845 fs/dcache.c if (op->d_hash) op 1847 fs/dcache.c if (op->d_compare) op 1849 fs/dcache.c if (op->d_revalidate) op 1851 fs/dcache.c if (op->d_weak_revalidate) op 1853 fs/dcache.c if (op->d_delete) op 1855 fs/dcache.c if (op->d_prune) op 1857 fs/dcache.c if (op->d_real) op 246 fs/devpts/inode.c static int parse_mount_options(char *data, int op, struct pts_mount_opts *opts) op 263 fs/devpts/inode.c if (op == PARSE_MOUNT) op 118 fs/direct-io.c int op; op 174 fs/direct-io.c if (ret < 0 && sdio->blocks_available && (dio->op == REQ_OP_WRITE)) { op 274 fs/direct-io.c if ((dio->op == REQ_OP_READ) && op 309 fs/direct-io.c ret > 0 && dio->op == REQ_OP_WRITE && op 328 fs/direct-io.c if (ret > 0 && dio->op == REQ_OP_WRITE) op 376 fs/direct-io.c (dio->op == REQ_OP_WRITE && op 442 fs/direct-io.c bio_set_op_attrs(bio, dio->op, dio->op_flags); op 472 fs/direct-io.c if (dio->is_async && dio->op == REQ_OP_READ && dio->should_dirty) op 541 fs/direct-io.c bool should_dirty = dio->op == REQ_OP_READ && dio->should_dirty; op 702 fs/direct-io.c create = dio->op == REQ_OP_WRITE; op 852 fs/direct-io.c if (dio->op == REQ_OP_WRITE) { op 1040 fs/direct-io.c if (dio->op == REQ_OP_WRITE) { op 1254 fs/direct-io.c dio->op = REQ_OP_WRITE; op 1259 fs/direct-io.c dio->op = REQ_OP_READ; op 428 fs/dlm/debug_fs.c int toss = (seq->op == &format4_seq_ops); op 441 fs/dlm/debug_fs.c if (seq->op == &format1_seq_ops) op 443 fs/dlm/debug_fs.c if (seq->op == &format2_seq_ops) op 445 fs/dlm/debug_fs.c if (seq->op == &format3_seq_ops) op 447 fs/dlm/debug_fs.c if (seq->op == &format4_seq_ops) op 508 fs/dlm/debug_fs.c int toss = (seq->op == &format4_seq_ops); op 61 fs/dlm/plock.c static void send_op(struct plock_op *op) op 63 fs/dlm/plock.c set_version(&op->info); op 64 fs/dlm/plock.c INIT_LIST_HEAD(&op->list); op 66 fs/dlm/plock.c list_add_tail(&op->list, &send_list); op 80 fs/dlm/plock.c struct plock_op *op; op 82 fs/dlm/plock.c op = kzalloc(sizeof(*op), GFP_NOFS); op 83 fs/dlm/plock.c if (!op) op 86 fs/dlm/plock.c op->info.optype = DLM_PLOCK_OP_UNLOCK; op 87 fs/dlm/plock.c op->info.pid = fl->fl_pid; op 88 fs/dlm/plock.c op->info.fsid = ls->ls_global_id; op 89 fs/dlm/plock.c op->info.number = number; op 90 fs/dlm/plock.c op->info.start = 0; op 91 fs/dlm/plock.c op->info.end = OFFSET_MAX; op 93 fs/dlm/plock.c op->info.owner = (__u64) fl->fl_pid; op 95 fs/dlm/plock.c op->info.owner = (__u64)(long) fl->fl_owner; op 97 fs/dlm/plock.c op->info.flags |= DLM_PLOCK_FL_CLOSE; op 98 fs/dlm/plock.c send_op(op); op 105 fs/dlm/plock.c struct plock_op *op; op 119 fs/dlm/plock.c op = &xop->xop; op 120 fs/dlm/plock.c op->info.optype = DLM_PLOCK_OP_LOCK; op 121 fs/dlm/plock.c op->info.pid = fl->fl_pid; op 122 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); op 123 fs/dlm/plock.c op->info.wait = IS_SETLKW(cmd); op 124 fs/dlm/plock.c op->info.fsid = ls->ls_global_id; op 125 fs/dlm/plock.c op->info.number = number; op 126 fs/dlm/plock.c op->info.start = fl->fl_start; op 127 fs/dlm/plock.c op->info.end = fl->fl_end; op 131 fs/dlm/plock.c op->info.owner = (__u64) fl->fl_pid; op 138 fs/dlm/plock.c op->info.owner = (__u64)(long) fl->fl_owner; op 142 fs/dlm/plock.c send_op(op); op 145 fs/dlm/plock.c rv = wait_event_interruptible(recv_wq, (op->done != 0)); op 150 fs/dlm/plock.c list_del(&op->list); op 162 fs/dlm/plock.c if (!list_empty(&op->list)) { op 165 fs/dlm/plock.c list_del(&op->list); op 169 fs/dlm/plock.c rv = op->info.rv; op 185 fs/dlm/plock.c static int dlm_plock_callback(struct plock_op *op) op 191 fs/dlm/plock.c struct plock_xop *xop = (struct plock_xop *)op; op 195 fs/dlm/plock.c if (!list_empty(&op->list)) { op 197 fs/dlm/plock.c (unsigned long long)op->info.number); op 198 fs/dlm/plock.c list_del(&op->list); op 208 fs/dlm/plock.c if (op->info.rv) { op 209 fs/dlm/plock.c notify(fl, op->info.rv); op 225 fs/dlm/plock.c (unsigned long long)op->info.number, file, fl); op 245 fs/dlm/plock.c struct plock_op *op; op 253 fs/dlm/plock.c op = kzalloc(sizeof(*op), GFP_NOFS); op 254 fs/dlm/plock.c if (!op) { op 272 fs/dlm/plock.c op->info.optype = DLM_PLOCK_OP_UNLOCK; op 273 fs/dlm/plock.c op->info.pid = fl->fl_pid; op 274 fs/dlm/plock.c op->info.fsid = ls->ls_global_id; op 275 fs/dlm/plock.c op->info.number = number; op 276 fs/dlm/plock.c op->info.start = fl->fl_start; op 277 fs/dlm/plock.c op->info.end = fl->fl_end; op 279 fs/dlm/plock.c op->info.owner = (__u64) fl->fl_pid; op 281 fs/dlm/plock.c op->info.owner = (__u64)(long) fl->fl_owner; op 284 fs/dlm/plock.c op->info.flags |= DLM_PLOCK_FL_CLOSE; op 285 fs/dlm/plock.c send_op(op); op 290 fs/dlm/plock.c send_op(op); op 291 fs/dlm/plock.c wait_event(recv_wq, (op->done != 0)); op 294 fs/dlm/plock.c if (!list_empty(&op->list)) { op 297 fs/dlm/plock.c list_del(&op->list); op 301 fs/dlm/plock.c rv = op->info.rv; op 307 fs/dlm/plock.c kfree(op); op 319 fs/dlm/plock.c struct plock_op *op; op 326 fs/dlm/plock.c op = kzalloc(sizeof(*op), GFP_NOFS); op 327 fs/dlm/plock.c if (!op) { op 332 fs/dlm/plock.c op->info.optype = DLM_PLOCK_OP_GET; op 333 fs/dlm/plock.c op->info.pid = fl->fl_pid; op 334 fs/dlm/plock.c op->info.ex = (fl->fl_type == F_WRLCK); op 335 fs/dlm/plock.c op->info.fsid = ls->ls_global_id; op 336 fs/dlm/plock.c op->info.number = number; op 337 fs/dlm/plock.c op->info.start = fl->fl_start; op 338 fs/dlm/plock.c op->info.end = fl->fl_end; op 340 fs/dlm/plock.c op->info.owner = (__u64) fl->fl_pid; op 342 fs/dlm/plock.c op->info.owner = (__u64)(long) fl->fl_owner; op 344 fs/dlm/plock.c send_op(op); op 345 fs/dlm/plock.c wait_event(recv_wq, (op->done != 0)); op 348 fs/dlm/plock.c if (!list_empty(&op->list)) { op 351 fs/dlm/plock.c list_del(&op->list); op 358 fs/dlm/plock.c rv = op->info.rv; op 365 fs/dlm/plock.c fl->fl_type = (op->info.ex) ? F_WRLCK : F_RDLCK; op 367 fs/dlm/plock.c fl->fl_pid = -op->info.pid; op 368 fs/dlm/plock.c fl->fl_start = op->info.start; op 369 fs/dlm/plock.c fl->fl_end = op->info.end; op 373 fs/dlm/plock.c kfree(op); op 385 fs/dlm/plock.c struct plock_op *op = NULL; op 392 fs/dlm/plock.c op = list_entry(send_list.next, struct plock_op, list); op 393 fs/dlm/plock.c if (op->info.flags & DLM_PLOCK_FL_CLOSE) op 394 fs/dlm/plock.c list_del(&op->list); op 396 fs/dlm/plock.c list_move(&op->list, &recv_list); op 397 fs/dlm/plock.c memcpy(&info, &op->info, sizeof(info)); op 401 fs/dlm/plock.c if (!op) op 408 fs/dlm/plock.c if (op->info.flags & DLM_PLOCK_FL_CLOSE) op 409 fs/dlm/plock.c kfree(op); op 422 fs/dlm/plock.c struct plock_op *op; op 435 fs/dlm/plock.c list_for_each_entry(op, &recv_list, list) { op 436 fs/dlm/plock.c if (op->info.fsid == info.fsid && op 437 fs/dlm/plock.c op->info.number == info.number && op 438 fs/dlm/plock.c op->info.owner == info.owner) { op 439 fs/dlm/plock.c struct plock_xop *xop = (struct plock_xop *)op; op 440 fs/dlm/plock.c list_del_init(&op->list); op 441 fs/dlm/plock.c memcpy(&op->info, &info, sizeof(info)); op 445 fs/dlm/plock.c op->done = 1; op 454 fs/dlm/plock.c dlm_plock_callback(op); op 308 fs/ecryptfs/crypto.c unsigned char *iv, int op) op 354 fs/ecryptfs/crypto.c rc = op == ENCRYPT ? crypto_skcipher_encrypt(req) : op 396 fs/ecryptfs/crypto.c unsigned long extent_offset, int op) op 398 fs/ecryptfs/crypto.c pgoff_t page_index = op == ENCRYPT ? src_page->index : dst_page->index; op 424 fs/ecryptfs/crypto.c extent_iv, op); op 216 fs/erofs/xattr.c const struct xattr_iter_handlers *op, op 249 fs/erofs/xattr.c err = op->entry(it, &entry); op 272 fs/erofs/xattr.c err = op->name(it, processed, it->kaddr + it->ofs, slice); op 285 fs/erofs/xattr.c if (op->alloc_buffer) { op 286 fs/erofs/xattr.c err = op->alloc_buffer(it, value_sz); op 305 fs/erofs/xattr.c op->value(it, processed, it->kaddr + it->ofs, slice); op 358 fs/eventpoll.c static inline int ep_op_has_event(int op) op 360 fs/eventpoll.c return op != EPOLL_CTL_DEL; op 2108 fs/eventpoll.c SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd, op 2120 fs/eventpoll.c if (ep_op_has_event(op) && op 2140 fs/eventpoll.c if (ep_op_has_event(op)) op 2157 fs/eventpoll.c if (ep_op_has_event(op) && (epds.events & EPOLLEXCLUSIVE)) { op 2158 fs/eventpoll.c if (op == EPOLL_CTL_MOD) op 2160 fs/eventpoll.c if (op == EPOLL_CTL_ADD && (is_file_epoll(tf.file) || op 2187 fs/eventpoll.c if (op == EPOLL_CTL_ADD) { op 2218 fs/eventpoll.c switch (op) { op 64 fs/f2fs/checkpoint.c .op = REQ_OP_READ, op 219 fs/f2fs/checkpoint.c .op = REQ_OP_READ, op 294 fs/f2fs/data.c if (is_read_io(fio->op)) { op 366 fs/f2fs/data.c bio_set_op_attrs(io->bio, fio->op, fio->op_flags); op 368 fs/f2fs/data.c if (is_read_io(fio->op)) op 418 fs/f2fs/data.c io->fio.op = REQ_OP_WRITE; op 497 fs/f2fs/data.c if (fio->io_wbc && !is_read_io(fio->op)) op 500 fs/f2fs/data.c bio_set_op_attrs(bio, fio->op, fio->op_flags); op 502 fs/f2fs/data.c inc_page_count(fio->sbi, is_read_io(fio->op) ? op 520 fs/f2fs/data.c if (io->fio.op != fio->op) op 567 fs/f2fs/data.c bio_set_op_attrs(bio, fio->op, fio->op_flags); op 607 fs/f2fs/data.c f2fs_bug_on(sbi, is_read_io(fio->op)); op 1903 fs/f2fs/data.c fio && fio->op == REQ_OP_WRITE && op 2096 fs/f2fs/data.c .op = REQ_OP_WRITE, op 1053 fs/f2fs/f2fs.h int op; /* contains REQ_OP_ */ op 670 fs/f2fs/gc.c .op = REQ_OP_READ, op 753 fs/f2fs/gc.c .op = REQ_OP_READ, op 874 fs/f2fs/gc.c fio.op = REQ_OP_WRITE; op 948 fs/f2fs/gc.c .op = REQ_OP_WRITE, op 116 fs/f2fs/inline.c .op = REQ_OP_WRITE, op 1281 fs/f2fs/node.c .op = REQ_OP_READ, op 1509 fs/f2fs/node.c .op = REQ_OP_WRITE, op 387 fs/f2fs/segment.c .op = REQ_OP_WRITE, op 3202 fs/f2fs/segment.c .op = REQ_OP_WRITE, op 29 fs/f2fs/trace.c last_io.fio.op, last_io.fio.op_flags, op 107 fs/f2fs/trace.c last_io.fio.op == fio->op && op 147 fs/fat/dir.c unsigned char *op; op 151 fs/fat/dir.c op = ascii; op 155 fs/fat/dir.c charlen = nls->uni2char(ec, op, NLS_MAX_CHARSET_SIZE); op 157 fs/fat/dir.c op += charlen; op 161 fs/fat/dir.c *op++ = ':'; op 162 fs/fat/dir.c op = hex_byte_pack(op, ec >> 8); op 163 fs/fat/dir.c op = hex_byte_pack(op, ec); op 166 fs/fat/dir.c *op++ = '?'; op 177 fs/fat/dir.c *op = 0; op 178 fs/fat/dir.c return op - ascii; op 516 fs/fat/namei_vfat.c unsigned char *op; op 528 fs/fat/namei_vfat.c op = &outname[*outlen * sizeof(wchar_t)]; op 530 fs/fat/namei_vfat.c for (i = 0, ip = name, op = outname, *outlen = 0; op 542 fs/fat/namei_vfat.c *(wchar_t *)op = uc[0] << 8 | uc[1]; op 544 fs/fat/namei_vfat.c op += 2; op 549 fs/fat/namei_vfat.c (wchar_t *)op); op 554 fs/fat/namei_vfat.c op += 2; op 563 fs/fat/namei_vfat.c *op++ = 0; op 564 fs/fat/namei_vfat.c *op++ = 0; op 569 fs/fat/namei_vfat.c *op++ = 0xff; op 570 fs/fat/namei_vfat.c *op++ = 0xff; op 81 fs/freevxfs/vxfs_olt.c struct vxfs_olt *op; op 88 fs/freevxfs/vxfs_olt.c op = (struct vxfs_olt *)bp->b_data; op 89 fs/freevxfs/vxfs_olt.c if (fs32_to_cpu(infp, op->olt_magic) != VXFS_OLT_MAGIC) { op 104 fs/freevxfs/vxfs_olt.c oaddr = bp->b_data + fs32_to_cpu(infp, op->olt_size); op 891 fs/fscache/cookie.c struct fscache_operation *op; op 906 fs/fscache/cookie.c op = kzalloc(sizeof(*op), GFP_NOIO | __GFP_NOMEMALLOC | __GFP_NORETRY); op 907 fs/fscache/cookie.c if (!op) op 910 fs/fscache/cookie.c fscache_operation_init(cookie, op, NULL, NULL, NULL); op 911 fs/fscache/cookie.c op->flags = FSCACHE_OP_MYTHREAD | op 914 fs/fscache/cookie.c trace_fscache_page_op(cookie, NULL, op, fscache_page_op_check_consistency); op 928 fs/fscache/cookie.c op->debug_id = atomic_inc_return(&fscache_op_debug_id); op 931 fs/fscache/cookie.c if (fscache_submit_op(object, op) < 0) op 937 fs/fscache/cookie.c ret = fscache_wait_for_operation_activation(object, op, NULL, NULL); op 940 fs/fscache/cookie.c ret = object->cache->ops->check_consistency(op); op 941 fs/fscache/cookie.c fscache_op_complete(op, false); op 946 fs/fscache/cookie.c fscache_put_operation(op); op 956 fs/fscache/cookie.c kfree(op); op 967 fs/fscache/object.c struct fscache_operation *op; op 988 fs/fscache/object.c op = kzalloc(sizeof(*op), GFP_KERNEL); op 989 fs/fscache/object.c if (!op) op 992 fs/fscache/object.c fscache_operation_init(cookie, op, object->cache->ops->invalidate_object, op 994 fs/fscache/object.c op->flags = FSCACHE_OP_ASYNC | op 997 fs/fscache/object.c trace_fscache_page_op(cookie, NULL, op, fscache_page_op_invalidate); op 1000 fs/fscache/object.c if (fscache_submit_exclusive_op(object, op) < 0) op 1003 fs/fscache/object.c fscache_put_operation(op); op 1029 fs/fscache/object.c kfree(op); op 19 fs/fscache/operation.c static void fscache_operation_dummy_cancel(struct fscache_operation *op) op 32 fs/fscache/operation.c struct fscache_operation *op, op 37 fs/fscache/operation.c INIT_WORK(&op->work, fscache_op_work_func); op 38 fs/fscache/operation.c atomic_set(&op->usage, 1); op 39 fs/fscache/operation.c op->state = FSCACHE_OP_ST_INITIALISED; op 40 fs/fscache/operation.c op->debug_id = atomic_inc_return(&fscache_op_debug_id); op 41 fs/fscache/operation.c op->processor = processor; op 42 fs/fscache/operation.c op->cancel = cancel ?: fscache_operation_dummy_cancel; op 43 fs/fscache/operation.c op->release = release; op 44 fs/fscache/operation.c INIT_LIST_HEAD(&op->pend_link); op 46 fs/fscache/operation.c trace_fscache_op(cookie, op, fscache_op_init); op 58 fs/fscache/operation.c void fscache_enqueue_operation(struct fscache_operation *op) op 60 fs/fscache/operation.c struct fscache_cookie *cookie = op->object->cookie; op 63 fs/fscache/operation.c op->object->debug_id, op->debug_id, atomic_read(&op->usage)); op 65 fs/fscache/operation.c ASSERT(list_empty(&op->pend_link)); op 66 fs/fscache/operation.c ASSERT(op->processor != NULL); op 67 fs/fscache/operation.c ASSERT(fscache_object_is_available(op->object)); op 68 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); op 69 fs/fscache/operation.c ASSERTIFCMP(op->state != FSCACHE_OP_ST_IN_PROGRESS, op 70 fs/fscache/operation.c op->state, ==, FSCACHE_OP_ST_CANCELLED); op 73 fs/fscache/operation.c switch (op->flags & FSCACHE_OP_TYPE) { op 75 fs/fscache/operation.c trace_fscache_op(cookie, op, fscache_op_enqueue_async); op 77 fs/fscache/operation.c atomic_inc(&op->usage); op 78 fs/fscache/operation.c if (!queue_work(fscache_op_wq, &op->work)) op 79 fs/fscache/operation.c fscache_put_operation(op); op 82 fs/fscache/operation.c trace_fscache_op(cookie, op, fscache_op_enqueue_mythread); op 86 fs/fscache/operation.c pr_err("Unexpected op type %lx", op->flags); op 97 fs/fscache/operation.c struct fscache_operation *op) op 99 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); op 101 fs/fscache/operation.c op->state = FSCACHE_OP_ST_IN_PROGRESS; op 103 fs/fscache/operation.c if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) op 104 fs/fscache/operation.c wake_up_bit(&op->flags, FSCACHE_OP_WAITING); op 105 fs/fscache/operation.c if (op->processor) op 106 fs/fscache/operation.c fscache_enqueue_operation(op); op 108 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_run); op 116 fs/fscache/operation.c struct fscache_operation *op, op 128 fs/fscache/operation.c op->debug_id, object->debug_id, object->state->name); op 139 fs/fscache/operation.c kdebug("%p %p", op->processor, op->release); op 155 fs/fscache/operation.c struct fscache_operation *op) op 161 fs/fscache/operation.c _enter("{OBJ%x OP%x},", object->debug_id, op->debug_id); op 163 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_submit_ex); op 165 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); op 166 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); op 171 fs/fscache/operation.c ASSERT(list_empty(&op->pend_link)); op 176 fs/fscache/operation.c op->state = FSCACHE_OP_ST_PENDING; op 180 fs/fscache/operation.c op->cancel(op); op 181 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 184 fs/fscache/operation.c op->cancel(op); op 185 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 188 fs/fscache/operation.c op->object = object; op 193 fs/fscache/operation.c atomic_inc(&op->usage); op 194 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 197 fs/fscache/operation.c atomic_inc(&op->usage); op 198 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 203 fs/fscache/operation.c fscache_run_op(object, op); op 210 fs/fscache/operation.c op->object = object; op 213 fs/fscache/operation.c atomic_inc(&op->usage); op 214 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 218 fs/fscache/operation.c op->cancel(op); op 219 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 222 fs/fscache/operation.c fscache_report_unexpected_submission(object, op, ostate); op 223 fs/fscache/operation.c op->cancel(op); op 224 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 241 fs/fscache/operation.c struct fscache_operation *op) op 248 fs/fscache/operation.c object->debug_id, op->debug_id, atomic_read(&op->usage)); op 250 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_submit); op 252 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_INITIALISED); op 253 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); op 258 fs/fscache/operation.c ASSERT(list_empty(&op->pend_link)); op 263 fs/fscache/operation.c op->state = FSCACHE_OP_ST_PENDING; op 267 fs/fscache/operation.c op->cancel(op); op 268 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 271 fs/fscache/operation.c op->cancel(op); op 272 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 275 fs/fscache/operation.c op->object = object; op 279 fs/fscache/operation.c atomic_inc(&op->usage); op 280 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 283 fs/fscache/operation.c atomic_inc(&op->usage); op 284 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 289 fs/fscache/operation.c fscache_run_op(object, op); op 293 fs/fscache/operation.c op->object = object; op 295 fs/fscache/operation.c atomic_inc(&op->usage); op 296 fs/fscache/operation.c list_add_tail(&op->pend_link, &object->pending_ops); op 300 fs/fscache/operation.c op->cancel(op); op 301 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 304 fs/fscache/operation.c fscache_report_unexpected_submission(object, op, ostate); op 306 fs/fscache/operation.c op->cancel(op); op 307 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 332 fs/fscache/operation.c struct fscache_operation *op; op 336 fs/fscache/operation.c op = list_entry(object->pending_ops.next, op 339 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) { op 344 fs/fscache/operation.c list_del_init(&op->pend_link); op 345 fs/fscache/operation.c fscache_run_op(object, op); op 348 fs/fscache/operation.c fscache_put_operation(op); op 360 fs/fscache/operation.c int fscache_cancel_op(struct fscache_operation *op, op 363 fs/fscache/operation.c struct fscache_object *object = op->object; op 367 fs/fscache/operation.c _enter("OBJ%x OP%x}", op->object->debug_id, op->debug_id); op 369 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_cancel); op 371 fs/fscache/operation.c ASSERTCMP(op->state, >=, FSCACHE_OP_ST_PENDING); op 372 fs/fscache/operation.c ASSERTCMP(op->state, !=, FSCACHE_OP_ST_CANCELLED); op 373 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); op 378 fs/fscache/operation.c if (op->state == FSCACHE_OP_ST_PENDING) { op 379 fs/fscache/operation.c ASSERT(!list_empty(&op->pend_link)); op 380 fs/fscache/operation.c list_del_init(&op->pend_link); op 384 fs/fscache/operation.c op->cancel(op); op 385 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 386 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) op 388 fs/fscache/operation.c if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) op 389 fs/fscache/operation.c wake_up_bit(&op->flags, FSCACHE_OP_WAITING); op 391 fs/fscache/operation.c } else if (op->state == FSCACHE_OP_ST_IN_PROGRESS && cancel_in_progress_op) { op 393 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) op 400 fs/fscache/operation.c op->cancel(op); op 401 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 402 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) op 404 fs/fscache/operation.c if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) op 405 fs/fscache/operation.c wake_up_bit(&op->flags, FSCACHE_OP_WAITING); op 410 fs/fscache/operation.c fscache_put_operation(op); op 421 fs/fscache/operation.c struct fscache_operation *op; op 428 fs/fscache/operation.c op = list_entry(object->pending_ops.next, op 431 fs/fscache/operation.c list_del_init(&op->pend_link); op 433 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_cancel_all); op 435 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_PENDING); op 436 fs/fscache/operation.c op->cancel(op); op 437 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 439 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) op 441 fs/fscache/operation.c if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) op 442 fs/fscache/operation.c wake_up_bit(&op->flags, FSCACHE_OP_WAITING); op 443 fs/fscache/operation.c fscache_put_operation(op); op 454 fs/fscache/operation.c void fscache_op_complete(struct fscache_operation *op, bool cancelled) op 456 fs/fscache/operation.c struct fscache_object *object = op->object; op 460 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); op 462 fs/fscache/operation.c ASSERTIFCMP(test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags), op 464 fs/fscache/operation.c ASSERTIFCMP(test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags), op 470 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_completed); op 471 fs/fscache/operation.c op->state = FSCACHE_OP_ST_COMPLETE; op 473 fs/fscache/operation.c op->cancel(op); op 474 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_cancelled); op 475 fs/fscache/operation.c op->state = FSCACHE_OP_ST_CANCELLED; op 478 fs/fscache/operation.c if (test_bit(FSCACHE_OP_EXCLUSIVE, &op->flags)) op 493 fs/fscache/operation.c void fscache_put_operation(struct fscache_operation *op) op 499 fs/fscache/operation.c op->object ? op->object->debug_id : 0, op 500 fs/fscache/operation.c op->debug_id, atomic_read(&op->usage)); op 502 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), >, 0); op 504 fs/fscache/operation.c if (!atomic_dec_and_test(&op->usage)) op 507 fs/fscache/operation.c trace_fscache_op(op->object ? op->object->cookie : NULL, op, fscache_op_put); op 510 fs/fscache/operation.c ASSERTIFCMP(op->state != FSCACHE_OP_ST_INITIALISED && op 511 fs/fscache/operation.c op->state != FSCACHE_OP_ST_COMPLETE, op 512 fs/fscache/operation.c op->state, ==, FSCACHE_OP_ST_CANCELLED); op 516 fs/fscache/operation.c if (op->release) { op 517 fs/fscache/operation.c op->release(op); op 518 fs/fscache/operation.c op->release = NULL; op 520 fs/fscache/operation.c op->state = FSCACHE_OP_ST_DEAD; op 522 fs/fscache/operation.c object = op->object; op 524 fs/fscache/operation.c if (test_bit(FSCACHE_OP_DEC_READ_CNT, &op->flags)) op 526 fs/fscache/operation.c if (test_bit(FSCACHE_OP_UNUSE_COOKIE, &op->flags)) op 538 fs/fscache/operation.c list_add_tail(&op->pend_link, &cache->op_gc_list); op 553 fs/fscache/operation.c kfree(op); op 563 fs/fscache/operation.c struct fscache_operation *op; op 578 fs/fscache/operation.c op = list_entry(cache->op_gc_list.next, op 580 fs/fscache/operation.c list_del(&op->pend_link); op 583 fs/fscache/operation.c object = op->object; op 584 fs/fscache/operation.c trace_fscache_op(object->cookie, op, fscache_op_gc); op 589 fs/fscache/operation.c object->debug_id, op->debug_id); op 592 fs/fscache/operation.c ASSERTCMP(atomic_read(&op->usage), ==, 0); op 593 fs/fscache/operation.c ASSERTCMP(op->state, ==, FSCACHE_OP_ST_DEAD); op 601 fs/fscache/operation.c kfree(op); op 617 fs/fscache/operation.c struct fscache_operation *op = op 622 fs/fscache/operation.c op->object->debug_id, op->debug_id, atomic_read(&op->usage)); op 624 fs/fscache/operation.c trace_fscache_op(op->object->cookie, op, fscache_op_work); op 626 fs/fscache/operation.c ASSERT(op->processor != NULL); op 628 fs/fscache/operation.c op->processor(op); op 630 fs/fscache/operation.c fscache_put_operation(op); op 187 fs/fscache/page.c static void fscache_attr_changed_op(struct fscache_operation *op) op 189 fs/fscache/page.c struct fscache_object *object = op->object; op 192 fs/fscache/page.c _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); op 202 fs/fscache/page.c fscache_op_complete(op, ret < 0); op 204 fs/fscache/page.c fscache_op_complete(op, true); op 215 fs/fscache/page.c struct fscache_operation *op; op 225 fs/fscache/page.c op = kzalloc(sizeof(*op), GFP_KERNEL); op 226 fs/fscache/page.c if (!op) { op 232 fs/fscache/page.c fscache_operation_init(cookie, op, fscache_attr_changed_op, NULL, NULL); op 233 fs/fscache/page.c trace_fscache_page_op(cookie, NULL, op, fscache_page_op_attr_changed); op 234 fs/fscache/page.c op->flags = FSCACHE_OP_ASYNC | op 247 fs/fscache/page.c if (fscache_submit_exclusive_op(object, op) < 0) op 251 fs/fscache/page.c fscache_put_operation(op); op 259 fs/fscache/page.c fscache_put_operation(op); op 273 fs/fscache/page.c struct fscache_retrieval *op = op 274 fs/fscache/page.c container_of(_op, struct fscache_retrieval, op); op 276 fs/fscache/page.c atomic_set(&op->n_pages, 0); op 284 fs/fscache/page.c struct fscache_retrieval *op = op 285 fs/fscache/page.c container_of(_op, struct fscache_retrieval, op); op 287 fs/fscache/page.c _enter("{OP%x}", op->op.debug_id); op 289 fs/fscache/page.c ASSERTIFCMP(op->op.state != FSCACHE_OP_ST_INITIALISED, op 290 fs/fscache/page.c atomic_read(&op->n_pages), ==, 0); op 292 fs/fscache/page.c fscache_hist(fscache_retrieval_histogram, op->start_time); op 293 fs/fscache/page.c if (op->context) op 294 fs/fscache/page.c fscache_put_context(op->cookie, op->context); op 308 fs/fscache/page.c struct fscache_retrieval *op; op 311 fs/fscache/page.c op = kzalloc(sizeof(*op), GFP_NOIO); op 312 fs/fscache/page.c if (!op) { op 317 fs/fscache/page.c fscache_operation_init(cookie, &op->op, NULL, op 320 fs/fscache/page.c op->op.flags = FSCACHE_OP_MYTHREAD | op 323 fs/fscache/page.c op->cookie = cookie; op 324 fs/fscache/page.c op->mapping = mapping; op 325 fs/fscache/page.c op->end_io_func = end_io_func; op 326 fs/fscache/page.c op->context = context; op 327 fs/fscache/page.c op->start_time = jiffies; op 328 fs/fscache/page.c INIT_LIST_HEAD(&op->to_do); op 334 fs/fscache/page.c fscache_get_context(op->cookie, context); op 335 fs/fscache/page.c return op; op 374 fs/fscache/page.c struct fscache_operation *op, op 380 fs/fscache/page.c if (!test_bit(FSCACHE_OP_WAITING, &op->flags)) op 386 fs/fscache/page.c if (wait_on_bit(&op->flags, FSCACHE_OP_WAITING, op 388 fs/fscache/page.c trace_fscache_op(object->cookie, op, fscache_op_signal); op 389 fs/fscache/page.c ret = fscache_cancel_op(op, false); op 395 fs/fscache/page.c wait_on_bit(&op->flags, FSCACHE_OP_WAITING, op 401 fs/fscache/page.c if (op->state == FSCACHE_OP_ST_CANCELLED) { op 409 fs/fscache/page.c enum fscache_operation_state state = op->state; op 410 fs/fscache/page.c trace_fscache_op(object->cookie, op, fscache_op_signal); op 411 fs/fscache/page.c fscache_cancel_op(op, true); op 435 fs/fscache/page.c struct fscache_retrieval *op; op 458 fs/fscache/page.c op = fscache_alloc_retrieval(cookie, page->mapping, op 460 fs/fscache/page.c if (!op) { op 464 fs/fscache/page.c atomic_set(&op->n_pages, 1); op 465 fs/fscache/page.c trace_fscache_page_op(cookie, page, &op->op, fscache_page_op_retr_one); op 479 fs/fscache/page.c __set_bit(FSCACHE_OP_DEC_READ_CNT, &op->op.flags); op 481 fs/fscache/page.c if (fscache_submit_op(object, &op->op) < 0) op 490 fs/fscache/page.c object, &op->op, op 499 fs/fscache/page.c ret = object->cache->ops->allocate_page(op, page, gfp); op 505 fs/fscache/page.c ret = object->cache->ops->read_or_alloc_page(op, page, gfp); op 521 fs/fscache/page.c fscache_put_retrieval(op); op 532 fs/fscache/page.c fscache_put_retrieval(op); op 566 fs/fscache/page.c struct fscache_retrieval *op; op 590 fs/fscache/page.c op = fscache_alloc_retrieval(cookie, mapping, end_io_func, context); op 591 fs/fscache/page.c if (!op) op 593 fs/fscache/page.c atomic_set(&op->n_pages, *nr_pages); op 594 fs/fscache/page.c trace_fscache_page_op(cookie, NULL, &op->op, fscache_page_op_retr_multi); op 606 fs/fscache/page.c __set_bit(FSCACHE_OP_DEC_READ_CNT, &op->op.flags); op 608 fs/fscache/page.c if (fscache_submit_op(object, &op->op) < 0) op 617 fs/fscache/page.c object, &op->op, op 627 fs/fscache/page.c op, pages, nr_pages, gfp); op 632 fs/fscache/page.c op, pages, nr_pages, gfp); op 648 fs/fscache/page.c fscache_put_retrieval(op); op 657 fs/fscache/page.c fscache_put_retrieval(op); op 679 fs/fscache/page.c struct fscache_retrieval *op; op 702 fs/fscache/page.c op = fscache_alloc_retrieval(cookie, page->mapping, NULL, NULL); op 703 fs/fscache/page.c if (!op) op 705 fs/fscache/page.c atomic_set(&op->n_pages, 1); op 706 fs/fscache/page.c trace_fscache_page_op(cookie, page, &op->op, fscache_page_op_alloc_one); op 717 fs/fscache/page.c if (fscache_submit_op(object, &op->op) < 0) op 724 fs/fscache/page.c object, &op->op, op 732 fs/fscache/page.c ret = object->cache->ops->allocate_page(op, page, gfp); op 743 fs/fscache/page.c fscache_put_retrieval(op); op 751 fs/fscache/page.c fscache_put_retrieval(op); op 790 fs/fscache/page.c struct fscache_storage *op = op 791 fs/fscache/page.c container_of(_op, struct fscache_storage, op); op 792 fs/fscache/page.c struct fscache_object *object = op->op.object; op 799 fs/fscache/page.c _enter("{OP%x,%d}", op->op.debug_id, atomic_read(&op->op.usage)); op 811 fs/fscache/page.c fscache_op_complete(&op->op, true); op 824 fs/fscache/page.c fscache_op_complete(&op->op, true); op 840 fs/fscache/page.c trace_fscache_gang_lookup(cookie, &op->op, results, n, op->store_limit); op 855 fs/fscache/page.c if (page->index >= op->store_limit) op 860 fs/fscache/page.c ret = object->cache->ops->write_page(op, page); op 862 fs/fscache/page.c trace_fscache_wrote_page(cookie, page, &op->op, ret); op 866 fs/fscache/page.c fscache_op_complete(&op->op, true); op 868 fs/fscache/page.c fscache_enqueue_operation(&op->op); op 876 fs/fscache/page.c trace_fscache_wrote_page(cookie, page, &op->op, -ENOBUFS); op 887 fs/fscache/page.c fscache_op_complete(&op->op, false); op 965 fs/fscache/page.c struct fscache_storage *op; op 982 fs/fscache/page.c op = kzalloc(sizeof(*op), GFP_NOIO | __GFP_NOMEMALLOC | __GFP_NORETRY); op 983 fs/fscache/page.c if (!op) op 986 fs/fscache/page.c fscache_operation_init(cookie, &op->op, fscache_write_op, NULL, op 988 fs/fscache/page.c op->op.flags = FSCACHE_OP_ASYNC | op 996 fs/fscache/page.c trace_fscache_page_op(cookie, page, &op->op, fscache_page_op_write_one); op 1044 fs/fscache/page.c op->op.debug_id = atomic_inc_return(&fscache_op_debug_id); op 1045 fs/fscache/page.c op->store_limit = object->store_limit; op 1048 fs/fscache/page.c if (fscache_submit_op(object, &op->op) < 0) op 1057 fs/fscache/page.c fscache_put_operation(&op->op); op 1068 fs/fscache/page.c fscache_put_operation(&op->op); op 1089 fs/fscache/page.c fscache_put_operation(&op->op); op 1097 fs/fscache/page.c fscache_put_operation(&op->op); op 1165 fs/fscache/page.c void fscache_mark_page_cached(struct fscache_retrieval *op, struct page *page) op 1167 fs/fscache/page.c struct fscache_cookie *cookie = op->op.object->cookie; op 1187 fs/fscache/page.c op->mapping, page); op 1199 fs/fscache/page.c void fscache_mark_pages_cached(struct fscache_retrieval *op, op 1205 fs/fscache/page.c fscache_mark_page_cached(op, pagevec->pages[loop]); op 293 fs/gfs2/lops.c struct bio **biop, int op, op 305 fs/gfs2/lops.c gfs2_log_submit_bio(biop, op); op 212 fs/gfs2/meta_io.c static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[], op 232 fs/gfs2/meta_io.c bio_set_op_attrs(bio, op, op_flags); op 533 fs/hfsplus/hfsplus_fs.h void **data, int op, int op_flags); op 128 fs/hfsplus/unicode.c u8 *op; op 133 fs/hfsplus/unicode.c op = astr; op 193 fs/hfsplus/unicode.c res = nls->uni2char(c0, op, len); op 197 fs/hfsplus/unicode.c *op = '?'; op 200 fs/hfsplus/unicode.c op += res; op 236 fs/hfsplus/unicode.c res = nls->uni2char(cc, op, len); op 240 fs/hfsplus/unicode.c *op = '?'; op 243 fs/hfsplus/unicode.c op += res; op 248 fs/hfsplus/unicode.c *len_p = (char *)op - astr; op 49 fs/hfsplus/wrapper.c void *buf, void **data, int op, int op_flags) op 70 fs/hfsplus/wrapper.c bio_set_op_attrs(bio, op, op_flags); op 72 fs/hfsplus/wrapper.c if (op != WRITE && data) op 556 fs/inode.c const struct super_operations *op = inode->i_sb->s_op; op 574 fs/inode.c if (op->evict_inode) { op 575 fs/inode.c op->evict_inode(inode); op 1541 fs/inode.c const struct super_operations *op = inode->i_sb->s_op; op 1546 fs/inode.c if (op->drop_inode) op 1547 fs/inode.c drop = op->drop_inode(inode); op 124 fs/internal.h const struct open_flags *op); op 2360 fs/io_uring.c int op = READ_ONCE(sqe->opcode); op 2362 fs/io_uring.c switch (op) { op 21 fs/isofs/joliet.c unsigned char *op; op 24 fs/isofs/joliet.c op = ascii; op 28 fs/isofs/joliet.c llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); op 30 fs/isofs/joliet.c op += llen; op 32 fs/isofs/joliet.c *op++ = '?'; op 37 fs/isofs/joliet.c *op = 0; op 38 fs/isofs/joliet.c return (op - ascii); op 61 fs/mpage.c static struct bio *mpage_bio_submit(int op, int op_flags, struct bio *bio) op 64 fs/mpage.c bio_set_op_attrs(bio, op, op_flags); op 3048 fs/namei.c const struct open_flags *op, op 3072 fs/namei.c int acc_mode = op->acc_mode; op 3120 fs/namei.c const struct open_flags *op, op 3125 fs/namei.c int open_flag = op->open_flag; op 3128 fs/namei.c umode_t mode = op->mode; op 3195 fs/namei.c error = atomic_open(nd, dentry, path, file, op, open_flag, op 3249 fs/namei.c struct file *file, const struct open_flags *op) op 3254 fs/namei.c int open_flag = op->open_flag; op 3257 fs/namei.c int acc_mode = op->acc_mode; op 3264 fs/namei.c nd->flags |= op->intent; op 3317 fs/namei.c error = lookup_open(nd, &path, file, op, got_write); op 3415 fs/namei.c error = ima_file_check(file, op->acc_mode); op 3468 fs/namei.c const struct open_flags *op, op 3479 fs/namei.c child = vfs_tmpfile(path.dentry, op->mode, op->open_flag); op 3487 fs/namei.c error = may_open(&path, 0, op->open_flag); op 3512 fs/namei.c const struct open_flags *op, unsigned flags) op 3517 fs/namei.c file = alloc_empty_file(op->open_flag, current_cred()); op 3522 fs/namei.c error = do_tmpfile(nd, flags, op, file); op 3528 fs/namei.c (error = do_last(nd, file, op)) > 0) { op 3551 fs/namei.c const struct open_flags *op) op 3554 fs/namei.c int flags = op->lookup_flags; op 3558 fs/namei.c filp = path_openat(&nd, op, flags | LOOKUP_RCU); op 3560 fs/namei.c filp = path_openat(&nd, op, flags); op 3562 fs/namei.c filp = path_openat(&nd, op, flags | LOOKUP_REVAL); op 3568 fs/namei.c const char *name, const struct open_flags *op) op 3573 fs/namei.c int flags = op->lookup_flags | LOOKUP_ROOT; op 3578 fs/namei.c if (d_is_symlink(dentry) && op->intent & LOOKUP_OPEN) op 3586 fs/namei.c file = path_openat(&nd, op, flags | LOOKUP_RCU); op 3588 fs/namei.c file = path_openat(&nd, op, flags); op 3590 fs/namei.c file = path_openat(&nd, op, flags | LOOKUP_REVAL); op 166 fs/nfs/callback_xdr.c static __be32 decode_op_hdr(struct xdr_stream *xdr, unsigned int *op) op 172 fs/nfs/callback_xdr.c *op = ntohl(*p); op 672 fs/nfs/callback_xdr.c static __be32 encode_op_hdr(struct xdr_stream *xdr, uint32_t op, __be32 res) op 679 fs/nfs/callback_xdr.c *p++ = htonl(op); op 757 fs/nfs/callback_xdr.c preprocess_nfs41_op(int nop, unsigned int op_nr, struct callback_op **op) op 776 fs/nfs/callback_xdr.c *op = &callback_ops[op_nr]; op 817 fs/nfs/callback_xdr.c preprocess_nfs41_op(int nop, unsigned int op_nr, struct callback_op **op) op 829 fs/nfs/callback_xdr.c preprocess_nfs42_op(int nop, unsigned int op_nr, struct callback_op **op) op 831 fs/nfs/callback_xdr.c __be32 status = preprocess_nfs41_op(nop, op_nr, op); op 836 fs/nfs/callback_xdr.c *op = &callback_ops[op_nr]; op 844 fs/nfs/callback_xdr.c preprocess_nfs42_op(int nop, unsigned int op_nr, struct callback_op **op) op 851 fs/nfs/callback_xdr.c preprocess_nfs4_op(unsigned int op_nr, struct callback_op **op) op 856 fs/nfs/callback_xdr.c *op = &callback_ops[op_nr]; op 870 fs/nfs/callback_xdr.c struct callback_op *op = &callback_ops[0]; op 882 fs/nfs/callback_xdr.c status = preprocess_nfs4_op(op_nr, &op); op 885 fs/nfs/callback_xdr.c status = preprocess_nfs41_op(nop, op_nr, &op); op 888 fs/nfs/callback_xdr.c status = preprocess_nfs42_op(nop, op_nr, &op); op 906 fs/nfs/callback_xdr.c status = op->decode_args(rqstp, xdr_in, argp); op 908 fs/nfs/callback_xdr.c status = op->process_op(argp, resp, cps); op 916 fs/nfs/callback_xdr.c if (op->encode_res != NULL && status == 0) op 917 fs/nfs/callback_xdr.c status = op->encode_res(rqstp, xdr_out, resp); op 569 fs/nfs/nfs4trace.h u32 op, op 573 fs/nfs/nfs4trace.h TP_ARGS(xdr, op, error), op 579 fs/nfs/nfs4trace.h __field(u32, op) op 590 fs/nfs/nfs4trace.h __entry->op = op; op 598 fs/nfs/nfs4trace.h __entry->op op 1036 fs/nfs/nfs4xdr.c static void encode_op_hdr(struct xdr_stream *xdr, enum nfs_opnum4 op, op 1040 fs/nfs/nfs4xdr.c encode_uint32(xdr, op); op 36 fs/nfsd/fault_inject.c struct nfsd_fault_inject_op *op = file_inode(file)->i_private; op 39 fs/nfsd/fault_inject.c val = op->get(); op 52 fs/nfsd/fault_inject.c struct nfsd_fault_inject_op *op = file_inode(file)->i_private; op 69 fs/nfsd/fault_inject.c val = op->set_clnt(&sa, size); op 72 fs/nfsd/fault_inject.c op->file, write_buf, val); op 76 fs/nfsd/fault_inject.c pr_info("NFSD Fault Injection: %s (all)", op->file); op 79 fs/nfsd/fault_inject.c op->file, val); op 80 fs/nfsd/fault_inject.c val = op->set_val(val); op 81 fs/nfsd/fault_inject.c pr_info("NFSD: %s: found %llu", op->file, val); op 133 fs/nfsd/fault_inject.c struct nfsd_fault_inject_op *op; op 139 fs/nfsd/fault_inject.c op = &inject_ops[i]; op 140 fs/nfsd/fault_inject.c debugfs_create_file(op->file, mode, debug_dir, op, &fops_nfsd); op 103 fs/nfsd/nfs4callback.c static void encode_nfs_cb_opnum4(struct xdr_stream *xdr, enum nfs_cb_opnum4 op) op 108 fs/nfsd/nfs4callback.c *p = cpu_to_be32(op); op 222 fs/nfsd/nfs4callback.c u32 op; op 227 fs/nfsd/nfs4callback.c op = be32_to_cpup(p++); op 228 fs/nfsd/nfs4callback.c if (unlikely(op != expected)) op 236 fs/nfsd/nfs4callback.c "we issued a request for %d\n", op, expected); op 1279 fs/nfsd/nfs4callback.c const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op) op 1282 fs/nfsd/nfs4callback.c cb->cb_msg.rpc_proc = &nfs4_cb_procedures[op]; op 478 fs/nfsd/nfs4proc.c static __be32 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_op *op) op 480 fs/nfsd/nfs4proc.c struct nfsd4_open *open = &op->u.open; op 482 fs/nfsd/nfs4proc.c if (!seqid_mutating_err(ntohl(op->status))) op 483 fs/nfsd/nfs4proc.c return op->status; op 485 fs/nfsd/nfs4proc.c return op->status; op 486 fs/nfsd/nfs4proc.c open->op_xdr_error = op->status; op 487 fs/nfsd/nfs4proc.c return nfsd4_open(rqstp, cstate, &op->u); op 1851 fs/nfsd/nfs4proc.c const struct nfsd4_operation *OPDESC(struct nfsd4_op *op) op 1853 fs/nfsd/nfs4proc.c return &nfsd4_ops[op->opnum]; op 1856 fs/nfsd/nfs4proc.c bool nfsd4_cache_this_op(struct nfsd4_op *op) op 1858 fs/nfsd/nfs4proc.c if (op->opnum == OP_ILLEGAL) op 1860 fs/nfsd/nfs4proc.c return OPDESC(op)->op_flags & OP_CACHEME; op 1923 fs/nfsd/nfs4proc.c struct nfsd4_op *op; op 1958 fs/nfsd/nfs4proc.c op = &args->ops[0]; op 1959 fs/nfsd/nfs4proc.c op->status = status; op 1966 fs/nfsd/nfs4proc.c op = &args->ops[resp->opcnt++]; op 1973 fs/nfsd/nfs4proc.c if (op->status) { op 1974 fs/nfsd/nfs4proc.c if (op->opnum == OP_OPEN) op 1975 fs/nfsd/nfs4proc.c op->status = nfsd4_open_omfg(rqstp, cstate, op); op 1980 fs/nfsd/nfs4proc.c if (!(op->opdesc->op_flags & ALLOWED_WITHOUT_FH)) { op 1981 fs/nfsd/nfs4proc.c op->status = nfserr_nofilehandle; op 1985 fs/nfsd/nfs4proc.c !(op->opdesc->op_flags & ALLOWED_ON_ABSENT_FS)) { op 1986 fs/nfsd/nfs4proc.c op->status = nfserr_moved; op 1993 fs/nfsd/nfs4proc.c if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) { op 1998 fs/nfsd/nfs4proc.c u32 plen = op->opdesc->op_rsize_bop(rqstp, op); op 2005 fs/nfsd/nfs4proc.c op->status = nfsd4_check_resp_size(resp, plen); op 2008 fs/nfsd/nfs4proc.c if (op->status) op 2011 fs/nfsd/nfs4proc.c if (op->opdesc->op_get_currentstateid) op 2012 fs/nfsd/nfs4proc.c op->opdesc->op_get_currentstateid(cstate, &op->u); op 2013 fs/nfsd/nfs4proc.c op->status = op->opdesc->op_func(rqstp, cstate, &op->u); op 2018 fs/nfsd/nfs4proc.c status = op->status; op 2021 fs/nfsd/nfs4proc.c if (!op->status) { op 2022 fs/nfsd/nfs4proc.c if (op->opdesc->op_set_currentstateid) op 2023 fs/nfsd/nfs4proc.c op->opdesc->op_set_currentstateid(cstate, &op->u); op 2025 fs/nfsd/nfs4proc.c if (op->opdesc->op_flags & OP_CLEAR_STATEID) op 2029 fs/nfsd/nfs4proc.c op->status = check_nfsd_access(current_fh->fh_export, rqstp); op 2032 fs/nfsd/nfs4proc.c if (op->status == nfserr_replay_me) { op 2033 fs/nfsd/nfs4proc.c op->replay = &cstate->replay_owner->so_replay; op 2034 fs/nfsd/nfs4proc.c nfsd4_encode_replay(&resp->xdr, op); op 2035 fs/nfsd/nfs4proc.c status = op->status = op->replay->rp_status; op 2037 fs/nfsd/nfs4proc.c nfsd4_encode_operation(resp, op); op 2038 fs/nfsd/nfs4proc.c status = op->status; op 2042 fs/nfsd/nfs4proc.c nfsd4_op_name(op->opnum)); op 2045 fs/nfsd/nfs4proc.c nfsd4_increment_op_stats(op->opnum); op 2077 fs/nfsd/nfs4proc.c static inline u32 nfsd4_only_status_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2082 fs/nfsd/nfs4proc.c static inline u32 nfsd4_status_stateid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2087 fs/nfsd/nfs4proc.c static inline u32 nfsd4_access_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2093 fs/nfsd/nfs4proc.c static inline u32 nfsd4_commit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2098 fs/nfsd/nfs4proc.c static inline u32 nfsd4_create_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2110 fs/nfsd/nfs4proc.c struct nfsd4_op *op) op 2112 fs/nfsd/nfs4proc.c u32 *bmap = op->u.getattr.ga_bmval; op 2147 fs/nfsd/nfs4proc.c static inline u32 nfsd4_getfh_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2152 fs/nfsd/nfs4proc.c static inline u32 nfsd4_link_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2158 fs/nfsd/nfs4proc.c static inline u32 nfsd4_lock_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2164 fs/nfsd/nfs4proc.c static inline u32 nfsd4_open_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2172 fs/nfsd/nfs4proc.c static inline u32 nfsd4_read_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2177 fs/nfsd/nfs4proc.c rlen = min(op->u.read.rd_length, maxcount); op 2182 fs/nfsd/nfs4proc.c static inline u32 nfsd4_readdir_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2187 fs/nfsd/nfs4proc.c rlen = min(op->u.readdir.rd_maxcount, maxcount); op 2193 fs/nfsd/nfs4proc.c static inline u32 nfsd4_readlink_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2198 fs/nfsd/nfs4proc.c static inline u32 nfsd4_remove_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2204 fs/nfsd/nfs4proc.c static inline u32 nfsd4_rename_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2211 fs/nfsd/nfs4proc.c struct nfsd4_op *op) op 2217 fs/nfsd/nfs4proc.c static inline u32 nfsd4_test_stateid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2219 fs/nfsd/nfs4proc.c return (op_encode_hdr_size + 1 + op->u.test_stateid.ts_num_ids) op 2223 fs/nfsd/nfs4proc.c static inline u32 nfsd4_setattr_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2228 fs/nfsd/nfs4proc.c static inline u32 nfsd4_secinfo_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2234 fs/nfsd/nfs4proc.c static inline u32 nfsd4_setclientid_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2240 fs/nfsd/nfs4proc.c static inline u32 nfsd4_write_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2245 fs/nfsd/nfs4proc.c static inline u32 nfsd4_exchange_id_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2259 fs/nfsd/nfs4proc.c static inline u32 nfsd4_bind_conn_to_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2266 fs/nfsd/nfs4proc.c static inline u32 nfsd4_create_session_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2275 fs/nfsd/nfs4proc.c static inline u32 nfsd4_copy_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2288 fs/nfsd/nfs4proc.c struct nfsd4_op *op) op 2296 fs/nfsd/nfs4proc.c static inline u32 nfsd4_getdeviceinfo_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2301 fs/nfsd/nfs4proc.c rlen = min(op->u.getdeviceinfo.gd_maxcount, maxcount); op 2314 fs/nfsd/nfs4proc.c static inline u32 nfsd4_layoutget_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2323 fs/nfsd/nfs4proc.c static inline u32 nfsd4_layoutcommit_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2330 fs/nfsd/nfs4proc.c static inline u32 nfsd4_layoutreturn_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2339 fs/nfsd/nfs4proc.c static inline u32 nfsd4_seek_rsize(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2760 fs/nfsd/nfs4proc.c int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op) op 2762 fs/nfsd/nfs4proc.c if (op->opnum == OP_ILLEGAL || op->status == nfserr_notsupp) op 2765 fs/nfsd/nfs4proc.c BUG_ON(OPDESC(op)->op_rsize_bop == NULL); op 2766 fs/nfsd/nfs4proc.c return OPDESC(op)->op_rsize_bop(rqstp, op); op 2769 fs/nfsd/nfs4proc.c void warn_on_nonidempotent_op(struct nfsd4_op *op) op 2771 fs/nfsd/nfs4proc.c if (OPDESC(op)->op_flags & OP_MODIFIES_SOMETHING) { op 2773 fs/nfsd/nfs4proc.c op->opnum, nfsd4_op_name(op->opnum)); op 2844 fs/nfsd/nfs4state.c struct nfsd4_op *op; op 2848 fs/nfsd/nfs4state.c op = &args->ops[resp->opcnt - 1]; op 2849 fs/nfsd/nfs4state.c nfsd4_encode_operation(resp, op); op 2852 fs/nfsd/nfs4state.c return op->status; op 2859 fs/nfsd/nfs4state.c op->status = nfserr_seq_false_retry; op 2861 fs/nfsd/nfs4state.c op = &args->ops[resp->opcnt++]; op 2862 fs/nfsd/nfs4state.c op->status = nfserr_retry_uncached_rep; op 2863 fs/nfsd/nfs4state.c nfsd4_encode_operation(resp, op); op 2865 fs/nfsd/nfs4state.c return op->status; op 1892 fs/nfsd/nfs4xdr.c nfsd4_opnum_in_range(struct nfsd4_compoundargs *argp, struct nfsd4_op *op) op 1894 fs/nfsd/nfs4xdr.c if (op->opnum < FIRST_NFS4_OP) op 1896 fs/nfsd/nfs4xdr.c else if (argp->minorversion == 0 && op->opnum > LAST_NFS40_OP) op 1898 fs/nfsd/nfs4xdr.c else if (argp->minorversion == 1 && op->opnum > LAST_NFS41_OP) op 1900 fs/nfsd/nfs4xdr.c else if (argp->minorversion == 2 && op->opnum > LAST_NFS42_OP) op 1909 fs/nfsd/nfs4xdr.c struct nfsd4_op *op; op 1949 fs/nfsd/nfs4xdr.c op = &argp->ops[i]; op 1950 fs/nfsd/nfs4xdr.c op->replay = NULL; op 1953 fs/nfsd/nfs4xdr.c op->opnum = be32_to_cpup(p++); op 1955 fs/nfsd/nfs4xdr.c if (nfsd4_opnum_in_range(argp, op)) op 1956 fs/nfsd/nfs4xdr.c op->status = nfsd4_dec_ops[op->opnum](argp, &op->u); op 1958 fs/nfsd/nfs4xdr.c op->opnum = OP_ILLEGAL; op 1959 fs/nfsd/nfs4xdr.c op->status = nfserr_op_illegal; op 1961 fs/nfsd/nfs4xdr.c op->opdesc = OPDESC(op); op 1966 fs/nfsd/nfs4xdr.c cachethis |= nfsd4_cache_this_op(op); op 1968 fs/nfsd/nfs4xdr.c if (op->opnum == OP_READ) { op 1970 fs/nfsd/nfs4xdr.c readbytes += nfsd4_max_reply(argp->rqstp, op); op 1972 fs/nfsd/nfs4xdr.c max_reply += nfsd4_max_reply(argp->rqstp, op); op 1979 fs/nfsd/nfs4xdr.c if (op->opnum == OP_LOCK || op->opnum == OP_LOCKT) op 1982 fs/nfsd/nfs4xdr.c if (op->status) { op 4430 fs/nfsd/nfs4xdr.c nfsd4_encode_operation(struct nfsd4_compoundres *resp, struct nfsd4_op *op) op 4435 fs/nfsd/nfs4xdr.c const struct nfsd4_operation *opdesc = op->opdesc; op 4445 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(op->opnum); op 4448 fs/nfsd/nfs4xdr.c if (op->opnum == OP_ILLEGAL) op 4450 fs/nfsd/nfs4xdr.c if (op->status && opdesc && op 4453 fs/nfsd/nfs4xdr.c BUG_ON(op->opnum < 0 || op->opnum >= ARRAY_SIZE(nfsd4_enc_ops) || op 4454 fs/nfsd/nfs4xdr.c !nfsd4_enc_ops[op->opnum]); op 4455 fs/nfsd/nfs4xdr.c encoder = nfsd4_enc_ops[op->opnum]; op 4456 fs/nfsd/nfs4xdr.c op->status = encoder(resp, op->status, &op->u); op 4458 fs/nfsd/nfs4xdr.c opdesc->op_release(&op->u); op 4462 fs/nfsd/nfs4xdr.c if (!op->status) { op 4466 fs/nfsd/nfs4xdr.c op->status = nfsd4_check_resp_size(resp, space_needed); op 4468 fs/nfsd/nfs4xdr.c if (op->status == nfserr_resource && nfsd4_has_session(&resp->cstate)) { op 4472 fs/nfsd/nfs4xdr.c op->status = nfserr_rep_too_big_to_cache; op 4474 fs/nfsd/nfs4xdr.c op->status = nfserr_rep_too_big; op 4476 fs/nfsd/nfs4xdr.c if (op->status == nfserr_resource || op 4477 fs/nfsd/nfs4xdr.c op->status == nfserr_rep_too_big || op 4478 fs/nfsd/nfs4xdr.c op->status == nfserr_rep_too_big_to_cache) { op 4486 fs/nfsd/nfs4xdr.c warn_on_nonidempotent_op(op); op 4492 fs/nfsd/nfs4xdr.c so->so_replay.rp_status = op->status; op 4499 fs/nfsd/nfs4xdr.c write_bytes_to_xdr_buf(xdr->buf, post_err_offset - 4, &op->status, 4); op 4509 fs/nfsd/nfs4xdr.c nfsd4_encode_replay(struct xdr_stream *xdr, struct nfsd4_op *op) op 4512 fs/nfsd/nfs4xdr.c struct nfs4_replay *rp = op->replay; op 4521 fs/nfsd/nfs4xdr.c *p++ = cpu_to_be32(op->opnum); op 641 fs/nfsd/state.h const struct nfsd4_callback_ops *ops, enum nfsd4_cb_op op); op 708 fs/nfsd/xdr4.h const struct nfsd4_operation *OPDESC(struct nfsd4_op *op); op 709 fs/nfsd/xdr4.h int nfsd4_max_reply(struct svc_rqst *rqstp, struct nfsd4_op *op); op 710 fs/nfsd/xdr4.h void warn_on_nonidempotent_op(struct nfsd4_op *op); op 737 fs/nfsd/xdr4.h void nfsd4_encode_replay(struct xdr_stream *xdr, struct nfsd4_op *op); op 135 fs/nls/nls_base.c u16 *op; op 139 fs/nls/nls_base.c op = pwcs; op 152 fs/nls/nls_base.c put_utf16(op++, SURROGATE_PAIR | op 155 fs/nls/nls_base.c put_utf16(op++, SURROGATE_PAIR | op 161 fs/nls/nls_base.c put_utf16(op++, u, endian); op 165 fs/nls/nls_base.c put_utf16(op++, *s++, endian); op 170 fs/nls/nls_base.c return op - pwcs; op 189 fs/nls/nls_base.c u8 *op; op 193 fs/nls/nls_base.c op = s; op 219 fs/nls/nls_base.c size = utf32_to_utf8(u, op, maxout); op 223 fs/nls/nls_base.c op += size; op 227 fs/nls/nls_base.c *op++ = (u8) u; op 231 fs/nls/nls_base.c return op - s; op 510 fs/ocfs2/cluster/heartbeat.c unsigned int max_slots, int op, op 537 fs/ocfs2/cluster/heartbeat.c bio_set_op_attrs(bio, op, op_flags); op 955 fs/open.c static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) op 967 fs/open.c op->mode = (mode & S_IALLUGO) | S_IFREG; op 969 fs/open.c op->mode = 0; op 997 fs/open.c op->open_flag = flags; op 1008 fs/open.c op->acc_mode = acc_mode; op 1010 fs/open.c op->intent = flags & O_PATH ? 0 : LOOKUP_OPEN; op 1013 fs/open.c op->intent |= LOOKUP_CREATE; op 1015 fs/open.c op->intent |= LOOKUP_EXCL; op 1022 fs/open.c op->lookup_flags = lookup_flags; op 1039 fs/open.c struct open_flags op; op 1040 fs/open.c int err = build_open_flags(flags, mode, &op); op 1041 fs/open.c return err ? ERR_PTR(err) : do_filp_open(AT_FDCWD, name, &op); op 1071 fs/open.c struct open_flags op; op 1072 fs/open.c int err = build_open_flags(flags, mode, &op); op 1075 fs/open.c return do_file_open_root(dentry, mnt, filename, &op); op 1081 fs/open.c struct open_flags op; op 1082 fs/open.c int fd = build_open_flags(flags, mode, &op); op 1094 fs/open.c struct file *f = do_filp_open(dfd, tmp, &op); op 48 fs/orangefs/devorangefs-req.c static void orangefs_devreq_add_op(struct orangefs_kernel_op_s *op) op 50 fs/orangefs/devorangefs-req.c int index = hash_func(op->tag, hash_table_size); op 52 fs/orangefs/devorangefs-req.c list_add_tail(&op->list, &orangefs_htable_ops_in_progress[index]); op 61 fs/orangefs/devorangefs-req.c struct orangefs_kernel_op_s *op, *next; op 67 fs/orangefs/devorangefs-req.c list_for_each_entry_safe(op, op 71 fs/orangefs/devorangefs-req.c if (op->tag == tag && !op_state_purged(op) && op 72 fs/orangefs/devorangefs-req.c !op_state_given_up(op)) { op 73 fs/orangefs/devorangefs-req.c list_del_init(&op->list); op 75 fs/orangefs/devorangefs-req.c return op; op 162 fs/orangefs/devorangefs-req.c struct orangefs_kernel_op_s *op, *temp; op 192 fs/orangefs/devorangefs-req.c list_for_each_entry_safe(op, temp, &orangefs_request_list, list) { op 195 fs/orangefs/devorangefs-req.c spin_lock(&op->lock); op 196 fs/orangefs/devorangefs-req.c if (unlikely(op_state_purged(op) || op_state_given_up(op))) { op 197 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 201 fs/orangefs/devorangefs-req.c fsid = fsid_of_op(op); op 211 fs/orangefs/devorangefs-req.c llu(op->tag), op 212 fs/orangefs/devorangefs-req.c get_opname_string(op)); op 213 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 224 fs/orangefs/devorangefs-req.c !(op->upcall.type == op 226 fs/orangefs/devorangefs-req.c op->upcall.type == op 228 fs/orangefs/devorangefs-req.c op->upcall.type == op 232 fs/orangefs/devorangefs-req.c llu(op->tag), get_opname_string(op)); op 236 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 245 fs/orangefs/devorangefs-req.c cur_op = op; op 365 fs/orangefs/devorangefs-req.c struct orangefs_kernel_op_s *op = NULL; op 415 fs/orangefs/devorangefs-req.c op = orangefs_devreq_remove_op(head.tag); op 416 fs/orangefs/devorangefs-req.c if (!op) { op 423 fs/orangefs/devorangefs-req.c if (!copy_from_iter_full(&op->downcall, downcall_size, iter)) { op 428 fs/orangefs/devorangefs-req.c if (op->downcall.status) op 436 fs/orangefs/devorangefs-req.c if ((head_size + downcall_size + op->downcall.trailer_size) != total) { op 443 fs/orangefs/devorangefs-req.c op->downcall.trailer_size, op 449 fs/orangefs/devorangefs-req.c if ((op->downcall.type != ORANGEFS_VFS_OP_READDIR) && op 450 fs/orangefs/devorangefs-req.c (op->downcall.trailer_size != 0)) { op 453 fs/orangefs/devorangefs-req.c op->downcall.type); op 458 fs/orangefs/devorangefs-req.c if ((op->downcall.type == ORANGEFS_VFS_OP_READDIR) && op 459 fs/orangefs/devorangefs-req.c (op->downcall.trailer_size == 0)) { op 462 fs/orangefs/devorangefs-req.c op->downcall.type); op 466 fs/orangefs/devorangefs-req.c if (op->downcall.type != ORANGEFS_VFS_OP_READDIR) op 469 fs/orangefs/devorangefs-req.c op->downcall.trailer_buf = vzalloc(op->downcall.trailer_size); op 470 fs/orangefs/devorangefs-req.c if (!op->downcall.trailer_buf) op 473 fs/orangefs/devorangefs-req.c if (!copy_from_iter_full(op->downcall.trailer_buf, op 474 fs/orangefs/devorangefs-req.c op->downcall.trailer_size, iter)) { op 476 fs/orangefs/devorangefs-req.c vfree(op->downcall.trailer_buf); op 485 fs/orangefs/devorangefs-req.c spin_lock(&op->lock); op 486 fs/orangefs/devorangefs-req.c if (unlikely(op_is_cancel(op))) { op 487 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 488 fs/orangefs/devorangefs-req.c put_cancel(op); op 489 fs/orangefs/devorangefs-req.c } else if (unlikely(op_state_given_up(op))) { op 490 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 491 fs/orangefs/devorangefs-req.c complete(&op->waitq); op 493 fs/orangefs/devorangefs-req.c set_op_state_serviced(op); op 497 fs/orangefs/devorangefs-req.c get_opname_string(op), op 498 fs/orangefs/devorangefs-req.c op->op_state, op 500 fs/orangefs/devorangefs-req.c spin_unlock(&op->lock); op 505 fs/orangefs/devorangefs-req.c op->downcall.status = -(ORANGEFS_ERROR_BIT | 9); op 510 fs/orangefs/devorangefs-req.c op->downcall.status = -(ORANGEFS_ERROR_BIT | 8); op 63 fs/orangefs/dir.c struct orangefs_kernel_op_s *op) op 74 fs/orangefs/dir.c op->uses_shared_memory = 1; op 75 fs/orangefs/dir.c op->upcall.req.readdir.refn = oi->refn; op 76 fs/orangefs/dir.c op->upcall.req.readdir.token = od->token; op 77 fs/orangefs/dir.c op->upcall.req.readdir.max_dirent_count = op 87 fs/orangefs/dir.c op->upcall.req.readdir.buf_index = bufi; op 89 fs/orangefs/dir.c r = service_operation(op, "orangefs_readdir", op 94 fs/orangefs/dir.c if (op_state_purged(op)) { op 96 fs/orangefs/dir.c vfree(op->downcall.trailer_buf); op 99 fs/orangefs/dir.c vfree(op->downcall.trailer_buf); op 106 fs/orangefs/dir.c vfree(op->downcall.trailer_buf); op 109 fs/orangefs/dir.c } else if (op->downcall.status) { op 110 fs/orangefs/dir.c vfree(op->downcall.trailer_buf); op 111 fs/orangefs/dir.c od->error = op->downcall.status; op 112 fs/orangefs/dir.c return op->downcall.status; op 119 fs/orangefs/dir.c if (op->downcall.trailer_size > PART_SIZE) { op 120 fs/orangefs/dir.c vfree(op->downcall.trailer_buf); op 126 fs/orangefs/dir.c op->downcall.trailer_buf; op 132 fs/orangefs/dir.c struct orangefs_kernel_op_s *op) op 147 fs/orangefs/dir.c new = (void *)op->downcall.trailer_buf; op 149 fs/orangefs/dir.c new->len = op->downcall.trailer_size - op 164 fs/orangefs/dir.c struct orangefs_kernel_op_s *op; op 167 fs/orangefs/dir.c op = op_alloc(ORANGEFS_VFS_OP_READDIR); op 168 fs/orangefs/dir.c if (!op) { op 172 fs/orangefs/dir.c r = do_readdir(oi, od, dentry, op); op 177 fs/orangefs/dir.c r = parse_readdir(od, op); op 185 fs/orangefs/dir.c op_release(op); op 107 fs/orangefs/orangefs-cache.c void orangefs_new_tag(struct orangefs_kernel_op_s *op) op 110 fs/orangefs/orangefs-cache.c op->tag = next_tag_value++; op 466 fs/orangefs/orangefs-debugfs.c new_op->upcall.req.param.op = op 143 fs/orangefs/orangefs-kernel.h #define set_op_state_waiting(op) ((op)->op_state = OP_VFS_STATE_WAITING) op 144 fs/orangefs/orangefs-kernel.h #define set_op_state_inprogress(op) ((op)->op_state = OP_VFS_STATE_INPROGR) op 145 fs/orangefs/orangefs-kernel.h #define set_op_state_given_up(op) ((op)->op_state = OP_VFS_STATE_GIVEN_UP) op 146 fs/orangefs/orangefs-kernel.h static inline void set_op_state_serviced(struct orangefs_kernel_op_s *op) op 148 fs/orangefs/orangefs-kernel.h op->op_state = OP_VFS_STATE_SERVICED; op 149 fs/orangefs/orangefs-kernel.h complete(&op->waitq); op 152 fs/orangefs/orangefs-kernel.h #define op_state_waiting(op) ((op)->op_state & OP_VFS_STATE_WAITING) op 153 fs/orangefs/orangefs-kernel.h #define op_state_in_progress(op) ((op)->op_state & OP_VFS_STATE_INPROGR) op 154 fs/orangefs/orangefs-kernel.h #define op_state_serviced(op) ((op)->op_state & OP_VFS_STATE_SERVICED) op 155 fs/orangefs/orangefs-kernel.h #define op_state_purged(op) ((op)->op_state & OP_VFS_STATE_PURGED) op 156 fs/orangefs/orangefs-kernel.h #define op_state_given_up(op) ((op)->op_state & OP_VFS_STATE_GIVEN_UP) op 157 fs/orangefs/orangefs-kernel.h #define op_is_cancel(op) ((op)->upcall.type == ORANGEFS_VFS_OP_CANCEL) op 159 fs/orangefs/orangefs-kernel.h void op_release(struct orangefs_kernel_op_s *op); op 162 fs/orangefs/orangefs-kernel.h static inline void put_cancel(struct orangefs_kernel_op_s *op) op 164 fs/orangefs/orangefs-kernel.h orangefs_bufmap_put(op->slot_to_free); op 165 fs/orangefs/orangefs-kernel.h op_release(op); op 168 fs/orangefs/orangefs-kernel.h static inline void set_op_state_purged(struct orangefs_kernel_op_s *op) op 170 fs/orangefs/orangefs-kernel.h spin_lock(&op->lock); op 171 fs/orangefs/orangefs-kernel.h if (unlikely(op_is_cancel(op))) { op 172 fs/orangefs/orangefs-kernel.h list_del_init(&op->list); op 173 fs/orangefs/orangefs-kernel.h spin_unlock(&op->lock); op 174 fs/orangefs/orangefs-kernel.h put_cancel(op); op 176 fs/orangefs/orangefs-kernel.h op->op_state |= OP_VFS_STATE_PURGED; op 177 fs/orangefs/orangefs-kernel.h complete(&op->waitq); op 178 fs/orangefs/orangefs-kernel.h spin_unlock(&op->lock); op 323 fs/orangefs/orangefs-kernel.h void orangefs_new_tag(struct orangefs_kernel_op_s *op); op 408 fs/orangefs/orangefs-kernel.h __s32 fsid_of_op(struct orangefs_kernel_op_s *op); op 430 fs/orangefs/orangefs-kernel.h bool orangefs_cancel_op_in_progress(struct orangefs_kernel_op_s *op); op 466 fs/orangefs/orangefs-kernel.h int service_operation(struct orangefs_kernel_op_s *op, op 211 fs/orangefs/orangefs-mod.c struct orangefs_kernel_op_s *op; op 215 fs/orangefs/orangefs-mod.c list_for_each_entry_safe(op, op 219 fs/orangefs/orangefs-mod.c set_op_state_purged(op); op 223 fs/orangefs/orangefs-mod.c get_opname_string(op), op 224 fs/orangefs/orangefs-mod.c op->op_state, op 365 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 369 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 373 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 378 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 383 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 388 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 393 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 397 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 401 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 405 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 409 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 414 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 418 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 422 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 426 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 431 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 435 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 439 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 443 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 448 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 452 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 456 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 460 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 498 fs/orangefs/orangefs-sysfs.c if (new_op->upcall.req.param.op == op 585 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 594 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 603 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 612 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 621 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 636 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 648 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 659 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 667 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 676 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 684 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 695 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 703 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 712 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 720 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 731 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 739 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 748 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 756 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 767 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 775 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 784 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 792 fs/orangefs/orangefs-sysfs.c new_op->upcall.req.param.op = op 14 fs/orangefs/orangefs-utils.c __s32 fsid_of_op(struct orangefs_kernel_op_s *op) op 18 fs/orangefs/orangefs-utils.c if (op) { op 19 fs/orangefs/orangefs-utils.c switch (op->upcall.type) { op 21 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.io.refn.fs_id; op 24 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.lookup.parent_refn.fs_id; op 27 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.create.parent_refn.fs_id; op 30 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.getattr.refn.fs_id; op 33 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.remove.parent_refn.fs_id; op 36 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.mkdir.parent_refn.fs_id; op 39 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.readdir.refn.fs_id; op 42 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.setattr.refn.fs_id; op 45 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.sym.parent_refn.fs_id; op 48 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.rename.old_parent_refn.fs_id; op 51 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.statfs.fs_id; op 54 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.truncate.refn.fs_id; op 57 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.ra_cache_flush.refn.fs_id; op 60 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.fs_umount.fs_id; op 63 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.getxattr.refn.fs_id; op 66 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.setxattr.refn.fs_id; op 69 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.listxattr.refn.fs_id; op 72 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.removexattr.refn.fs_id; op 75 fs/orangefs/orangefs-utils.c fsid = op->upcall.req.fsync.refn.fs_id; op 395 fs/orangefs/super.c struct orangefs_kernel_op_s *op; op 397 fs/orangefs/super.c op = op_alloc(ORANGEFS_VFS_OP_FS_UMOUNT); op 398 fs/orangefs/super.c if (!op) op 400 fs/orangefs/super.c op->upcall.req.fs_umount.id = id; op 401 fs/orangefs/super.c op->upcall.req.fs_umount.fs_id = fs_id; op 402 fs/orangefs/super.c strncpy(op->upcall.req.fs_umount.orangefs_config_server, op 404 fs/orangefs/super.c r = service_operation(op, "orangefs_fs_umount", 0); op 408 fs/orangefs/super.c op_release(op); op 191 fs/orangefs/upcall.h enum orangefs_param_request_op op; op 20 fs/orangefs/waitqueue.c static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op, op 23 fs/orangefs/waitqueue.c __acquires(op->lock); op 24 fs/orangefs/waitqueue.c static void orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op) op 25 fs/orangefs/waitqueue.c __releases(op->lock); op 36 fs/orangefs/waitqueue.c struct orangefs_kernel_op_s *op, *tmp; op 39 fs/orangefs/waitqueue.c list_for_each_entry_safe(op, tmp, &orangefs_request_list, list) { op 42 fs/orangefs/waitqueue.c llu(op->tag), op 43 fs/orangefs/waitqueue.c get_opname_string(op)); op 44 fs/orangefs/waitqueue.c set_op_state_purged(op); op 48 fs/orangefs/waitqueue.c get_opname_string(op), op 49 fs/orangefs/waitqueue.c op->op_state, op 65 fs/orangefs/waitqueue.c int service_operation(struct orangefs_kernel_op_s *op, op 74 fs/orangefs/waitqueue.c op->upcall.tgid = current->tgid; op 75 fs/orangefs/waitqueue.c op->upcall.pid = current->pid; op 78 fs/orangefs/waitqueue.c op->downcall.status = 0; op 83 fs/orangefs/waitqueue.c op, op 103 fs/orangefs/waitqueue.c op->downcall.status = ret; op 113 fs/orangefs/waitqueue.c spin_lock(&op->lock); op 114 fs/orangefs/waitqueue.c set_op_state_waiting(op); op 118 fs/orangefs/waitqueue.c get_opname_string(op), op 119 fs/orangefs/waitqueue.c op->op_state, op 123 fs/orangefs/waitqueue.c list_add(&op->list, &orangefs_request_list); op 125 fs/orangefs/waitqueue.c list_add_tail(&op->list, &orangefs_request_list); op 126 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 136 fs/orangefs/waitqueue.c if (op->upcall.type == ORANGEFS_VFS_OP_FS_UMOUNT) op 146 fs/orangefs/waitqueue.c ret = wait_for_matching_downcall(op, timeout, flags); op 151 fs/orangefs/waitqueue.c op); op 155 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 156 fs/orangefs/waitqueue.c op->downcall.status = op 157 fs/orangefs/waitqueue.c orangefs_normalize_to_errno(op->downcall.status); op 158 fs/orangefs/waitqueue.c ret = op->downcall.status; op 173 fs/orangefs/waitqueue.c orangefs_clean_up_interrupted_operation(op); op 175 fs/orangefs/waitqueue.c op->downcall.status = ret; op 178 fs/orangefs/waitqueue.c op->attempts++; op 183 fs/orangefs/waitqueue.c llu(op->tag), op 185 fs/orangefs/waitqueue.c op->attempts); op 192 fs/orangefs/waitqueue.c if (!op->uses_shared_memory) op 202 fs/orangefs/waitqueue.c op); op 207 fs/orangefs/waitqueue.c bool orangefs_cancel_op_in_progress(struct orangefs_kernel_op_s *op) op 209 fs/orangefs/waitqueue.c u64 tag = op->tag; op 210 fs/orangefs/waitqueue.c if (!op_state_in_progress(op)) op 213 fs/orangefs/waitqueue.c op->slot_to_free = op->upcall.req.io.buf_index; op 214 fs/orangefs/waitqueue.c memset(&op->upcall, 0, sizeof(op->upcall)); op 215 fs/orangefs/waitqueue.c memset(&op->downcall, 0, sizeof(op->downcall)); op 216 fs/orangefs/waitqueue.c op->upcall.type = ORANGEFS_VFS_OP_CANCEL; op 217 fs/orangefs/waitqueue.c op->upcall.req.cancel.op_tag = tag; op 218 fs/orangefs/waitqueue.c op->downcall.type = ORANGEFS_VFS_OP_INVALID; op 219 fs/orangefs/waitqueue.c op->downcall.status = -1; op 220 fs/orangefs/waitqueue.c orangefs_new_tag(op); op 228 fs/orangefs/waitqueue.c spin_lock(&op->lock); op 229 fs/orangefs/waitqueue.c set_op_state_waiting(op); op 233 fs/orangefs/waitqueue.c get_opname_string(op), op 234 fs/orangefs/waitqueue.c op->op_state, op 236 fs/orangefs/waitqueue.c list_add(&op->list, &orangefs_request_list); op 237 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 250 fs/orangefs/waitqueue.c orangefs_clean_up_interrupted_operation(struct orangefs_kernel_op_s *op) op 251 fs/orangefs/waitqueue.c __releases(op->lock) op 264 fs/orangefs/waitqueue.c op->op_state |= OP_VFS_STATE_GIVEN_UP; op 266 fs/orangefs/waitqueue.c if (list_empty(&op->list)) { op 268 fs/orangefs/waitqueue.c BUG_ON(op_state_serviced(op)); op 269 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 270 fs/orangefs/waitqueue.c wait_for_completion(&op->waitq); op 271 fs/orangefs/waitqueue.c } else if (op_state_waiting(op)) { op 276 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 278 fs/orangefs/waitqueue.c list_del_init(&op->list); op 282 fs/orangefs/waitqueue.c op); op 283 fs/orangefs/waitqueue.c } else if (op_state_in_progress(op)) { op 285 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 287 fs/orangefs/waitqueue.c list_del_init(&op->list); op 292 fs/orangefs/waitqueue.c op); op 294 fs/orangefs/waitqueue.c spin_unlock(&op->lock); op 296 fs/orangefs/waitqueue.c op->op_state); op 298 fs/orangefs/waitqueue.c reinit_completion(&op->waitq); op 318 fs/orangefs/waitqueue.c static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op, op 321 fs/orangefs/waitqueue.c __acquires(op->lock) op 334 fs/orangefs/waitqueue.c n = wait_for_completion_io_timeout(&op->waitq, timeout); op 336 fs/orangefs/waitqueue.c n = wait_for_completion_interruptible_timeout(&op->waitq, op 339 fs/orangefs/waitqueue.c n = wait_for_completion_killable_timeout(&op->waitq, timeout); op 341 fs/orangefs/waitqueue.c spin_lock(&op->lock); op 343 fs/orangefs/waitqueue.c if (op_state_serviced(op)) op 350 fs/orangefs/waitqueue.c llu(op->tag), op 351 fs/orangefs/waitqueue.c op); op 354 fs/orangefs/waitqueue.c if (op_state_purged(op)) { op 358 fs/orangefs/waitqueue.c llu(op->tag), op 359 fs/orangefs/waitqueue.c op, op 360 fs/orangefs/waitqueue.c op->attempts); op 361 fs/orangefs/waitqueue.c return (op->attempts < ORANGEFS_PURGE_RETRY_COUNT) ? op 369 fs/orangefs/waitqueue.c llu(op->tag), op 370 fs/orangefs/waitqueue.c op, op 371 fs/orangefs/waitqueue.c op->attempts); op 557 fs/overlayfs/file.c loff_t len, unsigned int flags, enum ovl_copyop op) op 575 fs/overlayfs/file.c switch (op) { op 615 fs/overlayfs/file.c enum ovl_copyop op; op 621 fs/overlayfs/file.c op = OVL_DEDUPE; op 623 fs/overlayfs/file.c op = OVL_CLONE; op 629 fs/overlayfs/file.c if (op == OVL_DEDUPE && op 635 fs/overlayfs/file.c remap_flags, op); op 122 fs/proc/base.c union proc_op op; op 131 fs/proc/base.c .op = OP, \ op 756 fs/proc/base.c ret = PROC_I(inode)->op.proc_show(m, ns, pid, task); op 1625 fs/proc/base.c error = PROC_I(inode)->op.proc_get_link(dentry, &path); op 1669 fs/proc/base.c error = PROC_I(inode)->op.proc_get_link(dentry, &path); op 2098 fs/proc/base.c ei->op.proc_get_link = map_files_get_link; op 2470 fs/proc/base.c ei->op = p->op; op 2542 fs/proc/base.c length = security_getprocattr(task, PROC_I(inode)->op.lsm, op 2596 fs/proc/base.c rv = security_setprocattr(PROC_I(inode)->op.lsm, op 199 fs/proc/fd.c ei->op.proc_get_link = proc_fd_link; op 67 fs/proc/inode.c ei->op.proc_get_link = NULL; op 87 fs/proc/internal.h union proc_op op; op 439 fs/proc/proc_sysctl.c static int test_perm(int mode, int op) op 445 fs/proc/proc_sysctl.c if ((op & ~mode & (MAY_READ|MAY_WRITE|MAY_EXEC)) == 0) op 450 fs/proc/proc_sysctl.c static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) op 460 fs/proc/proc_sysctl.c return test_perm(mode, op); op 27 fs/pstore/ftrace.c struct ftrace_ops *op, op 161 fs/pstore/inode.c if (sf->op) op 51 fs/seq_file.c int seq_open(struct file *file, const struct seq_operations *op) op 64 fs/seq_file.c p->op = op; op 108 fs/seq_file.c p = m->op->start(m, &m->index); op 113 fs/seq_file.c error = m->op->show(m, p); op 122 fs/seq_file.c p = m->op->next(m, p, &m->index); op 133 fs/seq_file.c m->op->stop(m, p); op 137 fs/seq_file.c m->op->stop(m, p); op 224 fs/seq_file.c p = m->op->start(m, &m->index); op 229 fs/seq_file.c err = m->op->show(m, p); op 235 fs/seq_file.c p = m->op->next(m, p, &m->index); op 240 fs/seq_file.c m->op->stop(m, p); op 247 fs/seq_file.c p = m->op->start(m, &m->index); op 249 fs/seq_file.c m->op->stop(m, p); op 258 fs/seq_file.c p = m->op->next(m, p, &m->index); op 268 fs/seq_file.c err = m->op->show(m, p); op 275 fs/seq_file.c m->op->stop(m, p); op 569 fs/seq_file.c struct seq_operations *op = kmalloc(sizeof(*op), GFP_KERNEL_ACCOUNT); op 572 fs/seq_file.c if (op) { op 573 fs/seq_file.c op->start = single_start; op 574 fs/seq_file.c op->next = single_next; op 575 fs/seq_file.c op->stop = single_stop; op 576 fs/seq_file.c op->show = show; op 577 fs/seq_file.c res = seq_open(file, op); op 581 fs/seq_file.c kfree(op); op 607 fs/seq_file.c const struct seq_operations *op = ((struct seq_file *)file->private_data)->op; op 609 fs/seq_file.c kfree(op); op 353 fs/xfs/libxfs/xfs_inode_fork.c char *op; op 386 fs/xfs/libxfs/xfs_inode_fork.c op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, op 393 fs/xfs/libxfs/xfs_inode_fork.c memmove(np, op, cur_max * (uint)sizeof(xfs_fsblock_t)); op 429 fs/xfs/libxfs/xfs_inode_fork.c op = (char *)XFS_BMBT_REC_ADDR(mp, ifp->if_broot, 1); op 431 fs/xfs/libxfs/xfs_inode_fork.c memcpy(np, op, new_max * (uint)sizeof(xfs_bmbt_rec_t)); op 436 fs/xfs/libxfs/xfs_inode_fork.c op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, op 440 fs/xfs/libxfs/xfs_inode_fork.c memcpy(np, op, new_max * (uint)sizeof(xfs_fsblock_t)); op 18 fs/xfs/xfs_bio_io.c unsigned int op) op 26 fs/xfs/xfs_bio_io.c if (is_vmalloc && op == REQ_OP_WRITE) op 32 fs/xfs/xfs_bio_io.c bio->bi_opf = op | REQ_META | REQ_SYNC; op 58 fs/xfs/xfs_bio_io.c if (is_vmalloc && op == REQ_OP_READ) op 1264 fs/xfs/xfs_buf.c int op, op 1300 fs/xfs/xfs_buf.c bio_set_op_attrs(bio, op, op_flags); op 1344 fs/xfs/xfs_buf.c int op; op 1357 fs/xfs/xfs_buf.c op = REQ_OP_WRITE; op 1388 fs/xfs/xfs_buf.c op = REQ_OP_READ; op 1391 fs/xfs/xfs_buf.c op = REQ_OP_READ; op 1407 fs/xfs/xfs_buf.c xfs_buf_ioapply_map(bp, i, &offset, &size, op, op_flags); op 223 fs/xfs/xfs_linux.h char *data, unsigned int op); op 151 fs/xfs/xfs_log_recover.c unsigned int op) op 168 fs/xfs/xfs_log_recover.c BBTOB(nbblks), data, op); op 172 fs/xfs/xfs_log_recover.c op == REQ_OP_WRITE ? "write" : "read", op 2354 fs/xfs/xfs_trace.h int op, op 2361 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, op, agbno, ino, whichfork, offset, len, state), op 2371 fs/xfs/xfs_trace.h __field(int, op) op 2382 fs/xfs/xfs_trace.h __entry->op = op; op 2386 fs/xfs/xfs_trace.h __entry->op, op 2398 fs/xfs/xfs_trace.h int op, \ op 2405 fs/xfs/xfs_trace.h TP_ARGS(mp, agno, op, agbno, ino, whichfork, offset, len, state)) op 36 include/asm-generic/atomic.h #define ATOMIC_OP(op, c_op) \ op 37 include/asm-generic/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 46 include/asm-generic/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 47 include/asm-generic/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 58 include/asm-generic/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 59 include/asm-generic/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 74 include/asm-generic/atomic.h #define ATOMIC_OP(op, c_op) \ op 75 include/asm-generic/atomic.h static inline void atomic_##op(int i, atomic_t *v) \ op 84 include/asm-generic/atomic.h #define ATOMIC_OP_RETURN(op, c_op) \ op 85 include/asm-generic/atomic.h static inline int atomic_##op##_return(int i, atomic_t *v) \ op 97 include/asm-generic/atomic.h #define ATOMIC_FETCH_OP(op, c_op) \ op 98 include/asm-generic/atomic.h static inline int atomic_fetch_##op(int i, atomic_t *v) \ op 23 include/asm-generic/atomic64.h #define ATOMIC64_OP(op) \ op 24 include/asm-generic/atomic64.h extern void atomic64_##op(s64 a, atomic64_t *v); op 26 include/asm-generic/atomic64.h #define ATOMIC64_OP_RETURN(op) \ op 27 include/asm-generic/atomic64.h extern s64 atomic64_##op##_return(s64 a, atomic64_t *v); op 29 include/asm-generic/atomic64.h #define ATOMIC64_FETCH_OP(op) \ op 30 include/asm-generic/atomic64.h extern s64 atomic64_fetch_##op(s64 a, atomic64_t *v); op 32 include/asm-generic/atomic64.h #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) ATOMIC64_FETCH_OP(op) op 38 include/asm-generic/atomic64.h #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_FETCH_OP(op) op 31 include/asm-generic/futex.h arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) op 46 include/asm-generic/futex.h switch (op) { op 119 include/asm-generic/futex.h arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) op 70 include/asm-generic/percpu.h #define raw_cpu_generic_to_op(pcp, val, op) \ op 72 include/asm-generic/percpu.h *raw_cpu_ptr(&(pcp)) op val; \ op 144 include/asm-generic/percpu.h #define this_cpu_generic_to_op(pcp, val, op) \ op 148 include/asm-generic/percpu.h raw_cpu_generic_to_op(pcp, val, op); \ op 83 include/crypto/engine.h struct crypto_engine_op op; op 41 include/crypto/if_alg.h int op; op 24 include/keys/request_key_auth-type.h char op[8]; op 52 include/linux/atomic.h #define __atomic_op_acquire(op, args...) \ op 54 include/linux/atomic.h typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ op 59 include/linux/atomic.h #define __atomic_op_release(op, args...) \ op 62 include/linux/atomic.h op##_relaxed(args); \ op 65 include/linux/atomic.h #define __atomic_op_fence(op, args...) \ op 67 include/linux/atomic.h typeof(op##_relaxed(args)) __ret; \ op 69 include/linux/atomic.h __ret = op##_relaxed(args); \ op 71 include/linux/audit.h u32 op; op 455 include/linux/bio.h void generic_start_io_acct(struct request_queue *q, int op, op 457 include/linux/bio.h void generic_end_io_acct(struct request_queue *q, int op, op 615 include/linux/blk-cgroup.h unsigned int op, uint64_t val) op 619 include/linux/blk-cgroup.h if (op_is_discard(op)) op 621 include/linux/blk-cgroup.h else if (op_is_write(op)) op 628 include/linux/blk-cgroup.h if (op_is_sync(op)) op 384 include/linux/blk_types.h static inline void bio_set_op_attrs(struct bio *bio, unsigned op, op 387 include/linux/blk_types.h bio->bi_opf = op | op_flags; op 390 include/linux/blk_types.h static inline bool op_is_write(unsigned int op) op 392 include/linux/blk_types.h return (op & 1); op 399 include/linux/blk_types.h static inline bool op_is_flush(unsigned int op) op 401 include/linux/blk_types.h return op & (REQ_FUA | REQ_PREFLUSH); op 409 include/linux/blk_types.h static inline bool op_is_sync(unsigned int op) op 411 include/linux/blk_types.h return (op & REQ_OP_MASK) == REQ_OP_READ || op 412 include/linux/blk_types.h (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); op 415 include/linux/blk_types.h static inline bool op_is_discard(unsigned int op) op 417 include/linux/blk_types.h return (op & REQ_OP_MASK) == REQ_OP_DISCARD; op 420 include/linux/blk_types.h static inline int op_stat_group(unsigned int op) op 422 include/linux/blk_types.h if (op_is_discard(op)) op 424 include/linux/blk_types.h return op_is_write(op); op 249 include/linux/blkdev.h static inline bool blk_op_is_scsi(unsigned int op) op 251 include/linux/blkdev.h return op == REQ_OP_SCSI_IN || op == REQ_OP_SCSI_OUT; op 254 include/linux/blkdev.h static inline bool blk_op_is_private(unsigned int op) op 256 include/linux/blkdev.h return op == REQ_OP_DRV_IN || op == REQ_OP_DRV_OUT; op 276 include/linux/blkdev.h unsigned op = bio_op(bio); op 278 include/linux/blkdev.h return blk_op_is_scsi(op) || blk_op_is_private(op); op 854 include/linux/blkdev.h extern struct request *blk_get_request(struct request_queue *, unsigned int op, op 891 include/linux/blkdev.h extern const char *blk_op_str(unsigned int op); op 994 include/linux/blkdev.h int op) op 996 include/linux/blkdev.h if (unlikely(op == REQ_OP_DISCARD || op == REQ_OP_SECURE_ERASE)) op 1000 include/linux/blkdev.h if (unlikely(op == REQ_OP_WRITE_SAME)) op 1003 include/linux/blkdev.h if (unlikely(op == REQ_OP_WRITE_ZEROES)) op 15 include/linux/blkpg.h compat_int_t op; op 123 include/linux/blktrace_api.h extern void blk_fill_rwbs(char *rwbs, unsigned int op, int bytes); op 292 include/linux/ceph/ceph_fs.h extern const char *ceph_session_op_name(int op); op 295 include/linux/ceph/ceph_fs.h __le32 op; op 344 include/linux/ceph/ceph_fs.h extern const char *ceph_mds_op_name(int op); op 456 include/linux/ceph/ceph_fs.h __le32 op; /* mds op code */ op 474 include/linux/ceph/ceph_fs.h __le32 op; op 680 include/linux/ceph/ceph_fs.h extern const char *ceph_cap_op_name(int op); op 691 include/linux/ceph/ceph_fs.h __le32 op; /* CEPH_CAP_OP_* */ op 796 include/linux/ceph/ceph_fs.h __le32 op; /* CEPH_SNAP_OP_* */ op 88 include/linux/ceph/osd_client.h u16 op; /* CEPH_OSD_OP_* */ op 121 include/linux/ceph/osd_client.h __u8 op; /* CEPH_OSD_WATCH_OP_ */ op 327 include/linux/ceph/rados.h static inline int ceph_osd_op_type_lock(int op) op 329 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_LOCK; op 331 include/linux/ceph/rados.h static inline int ceph_osd_op_type_data(int op) op 333 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_DATA; op 335 include/linux/ceph/rados.h static inline int ceph_osd_op_type_attr(int op) op 337 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_ATTR; op 339 include/linux/ceph/rados.h static inline int ceph_osd_op_type_exec(int op) op 341 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_EXEC; op 343 include/linux/ceph/rados.h static inline int ceph_osd_op_type_pg(int op) op 345 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_PG; op 347 include/linux/ceph/rados.h static inline int ceph_osd_op_type_multi(int op) op 349 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_MULTI; op 352 include/linux/ceph/rados.h static inline int ceph_osd_op_mode_subop(int op) op 354 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_MODE) == CEPH_OSD_OP_MODE_SUB; op 356 include/linux/ceph/rados.h static inline int ceph_osd_op_mode_read(int op) op 358 include/linux/ceph/rados.h return (op & CEPH_OSD_OP_MODE_RD) && op 359 include/linux/ceph/rados.h op != CEPH_OSD_OP_CALL; op 361 include/linux/ceph/rados.h static inline int ceph_osd_op_mode_modify(int op) op 363 include/linux/ceph/rados.h return op & CEPH_OSD_OP_MODE_WR; op 376 include/linux/ceph/rados.h extern const char *ceph_osd_op_name(int op); op 476 include/linux/ceph/rados.h __le16 op; /* CEPH_OSD_OP_* */ op 505 include/linux/ceph/rados.h __u8 op; /* CEPH_OSD_WATCH_OP_* */ op 44 include/linux/crush/crush.h __u32 op; op 233 include/linux/dcache.h extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op); op 1193 include/linux/filter.h u32 op; op 83 include/linux/fscache-cache.h typedef void (*fscache_operation_release_t)(struct fscache_operation *op); op 84 include/linux/fscache-cache.h typedef void (*fscache_operation_processor_t)(struct fscache_operation *op); op 85 include/linux/fscache-cache.h typedef void (*fscache_operation_cancel_t)(struct fscache_operation *op); op 144 include/linux/fscache-cache.h struct fscache_operation op; op 154 include/linux/fscache-cache.h typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, op 158 include/linux/fscache-cache.h typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op, op 170 include/linux/fscache-cache.h struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) op 172 include/linux/fscache-cache.h atomic_inc(&op->op.usage); op 173 include/linux/fscache-cache.h return op; op 182 include/linux/fscache-cache.h static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) op 184 include/linux/fscache-cache.h fscache_enqueue_operation(&op->op); op 192 include/linux/fscache-cache.h static inline void fscache_retrieval_complete(struct fscache_retrieval *op, op 195 include/linux/fscache-cache.h if (atomic_sub_return_relaxed(n_pages, &op->n_pages) <= 0) op 196 include/linux/fscache-cache.h fscache_op_complete(&op->op, false); op 205 include/linux/fscache-cache.h static inline void fscache_put_retrieval(struct fscache_retrieval *op) op 207 include/linux/fscache-cache.h fscache_put_operation(&op->op); op 218 include/linux/fscache-cache.h struct fscache_operation op; op 253 include/linux/fscache-cache.h int (*check_consistency)(struct fscache_operation *op); op 259 include/linux/fscache-cache.h void (*invalidate_object)(struct fscache_operation *op); op 296 include/linux/fscache-cache.h int (*write_page)(struct fscache_storage *op, struct page *page); op 478 include/linux/fscache-cache.h static inline void fscache_end_io(struct fscache_retrieval *op, op 481 include/linux/fscache-cache.h op->end_io_func(page, op->context, error); op 541 include/linux/fscache-cache.h extern void fscache_mark_page_cached(struct fscache_retrieval *op, op 544 include/linux/fscache-cache.h extern void fscache_mark_pages_cached(struct fscache_retrieval *op, op 90 include/linux/ftrace.h struct ftrace_ops *op, struct pt_regs *regs); op 228 include/linux/ftrace.h struct ftrace_ops *op, struct pt_regs *regs); op 78 include/linux/futex.h long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, op 85 include/linux/futex.h static inline long do_futex(u32 __user *uaddr, int op, u32 val, op 107 include/linux/fwnode.h #define fwnode_has_op(fwnode, op) \ op 108 include/linux/fwnode.h ((fwnode) && (fwnode)->ops && (fwnode)->ops->op) op 109 include/linux/fwnode.h #define fwnode_call_int_op(fwnode, op, ...) \ op 110 include/linux/fwnode.h (fwnode ? (fwnode_has_op(fwnode, op) ? \ op 111 include/linux/fwnode.h (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : -ENXIO) : \ op 114 include/linux/fwnode.h #define fwnode_call_bool_op(fwnode, op, ...) \ op 115 include/linux/fwnode.h (fwnode_has_op(fwnode, op) ? \ op 116 include/linux/fwnode.h (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false) op 118 include/linux/fwnode.h #define fwnode_call_ptr_op(fwnode, op, ...) \ op 119 include/linux/fwnode.h (fwnode_has_op(fwnode, op) ? \ op 120 include/linux/fwnode.h (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : NULL) op 121 include/linux/fwnode.h #define fwnode_call_void_op(fwnode, op, ...) \ op 123 include/linux/fwnode.h if (fwnode_has_op(fwnode, op)) \ op 124 include/linux/fwnode.h (fwnode)->ops->op(fwnode, ## __VA_ARGS__); \ op 95 include/linux/genl_magic_func.h #define DPRINT_TLA(a, op, b) pr_info("%s %s %s\n", a, op, b); op 121 include/linux/genl_magic_func.h #define DPRINT_TLA(a, op, b) do {} while (0) op 285 include/linux/intel-iommu.h #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ op 289 include/linux/intel-iommu.h sts = op(iommu->reg + offset); \ op 34 include/linux/iopoll.h #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ op 41 include/linux/iopoll.h (val) = op(addr); \ op 46 include/linux/iopoll.h (val) = op(addr); \ op 72 include/linux/iopoll.h #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ op 78 include/linux/iopoll.h (val) = op(addr); \ op 83 include/linux/iopoll.h (val) = op(addr); \ op 858 include/linux/kernel.h #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) op 860 include/linux/kernel.h #define __cmp_once(x, y, unique_x, unique_y, op) ({ \ op 863 include/linux/kernel.h __cmp(unique_x, unique_y, op); }) op 865 include/linux/kernel.h #define __careful_cmp(x, y, op) \ op 867 include/linux/kernel.h __cmp(x, y, op), \ op 868 include/linux/kernel.h __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op)) op 39 include/linux/keyctl.h enum kernel_pkey_operation op : 8; op 297 include/linux/kprobes.h extern int arch_check_optimized_kprobe(struct optimized_kprobe *op); op 298 include/linux/kprobes.h extern int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, op 300 include/linux/kprobes.h extern void arch_remove_optimized_kprobe(struct optimized_kprobe *op); op 304 include/linux/kprobes.h extern void arch_unoptimize_kprobe(struct optimized_kprobe *op); op 305 include/linux/kprobes.h extern int arch_within_optimized_kprobe(struct optimized_kprobe *op, op 349 include/linux/lightnvm.h int op; /* over-provision in instance */ op 92 include/linux/lsm_audit.h struct lsm_ioctlop_audit *op; op 1803 include/linux/lsm_hooks.h int (*audit_rule_init)(u32 field, u32 op, char *rulestr, op 1806 include/linux/lsm_hooks.h int (*audit_rule_match)(u32 secid, u32 field, u32 op, void *lsmrule); op 401 include/linux/mISDNif.h int op; op 270 include/linux/mlx4/cmd.h u16 op, unsigned long timeout, int native); op 274 include/linux/mlx4/cmd.h u8 op_modifier, u16 op, unsigned long timeout, op 278 include/linux/mlx4/cmd.h op_modifier, op, timeout, native); op 283 include/linux/mlx4/cmd.h u32 in_modifier, u8 op_modifier, u16 op, op 287 include/linux/mlx4/cmd.h op_modifier, op, timeout, native); op 296 include/linux/mlx4/cmd.h u32 in_modifier, u8 op_modifier, u16 op, op 300 include/linux/mlx4/cmd.h op_modifier, op, timeout, native); op 770 include/linux/mlx5/driver.h u16 op; op 8689 include/linux/mlx5/mlx5_ifc.h u8 op[0x4]; op 470 include/linux/mlx5/qp.h __be32 op; op 875 include/linux/mtd/rawnand.h const struct nand_operation *op, bool check_only); op 940 include/linux/mtd/rawnand.h const struct nand_operation *op, op 611 include/linux/netfilter/ipset/ip_set.h ip_set_match_counter(u64 counter, u64 match, u8 op) op 613 include/linux/netfilter/ipset/ip_set.h switch (op) { op 1721 include/linux/nfs_xdr.h #define NFS_CALL(op, inode, args) NFS_PROTO(inode)->op args op 610 include/linux/nvme-fc-driver.h u8 op; op 47 include/linux/packing.h enum packing_op op, u8 quirks); op 311 include/linux/percpu-defs.h extern void __this_cpu_preempt_check(const char *op); op 313 include/linux/percpu-defs.h static inline void __this_cpu_preempt_check(const char *op) { } op 272 include/linux/phylink.h #define __phylink_do_bit(op, bm, mode) \ op 273 include/linux/phylink.h op(ETHTOOL_LINK_MODE_ ## mode ## _BIT, bm) op 1642 include/linux/platform_data/cros_ec_commands.h uint32_t op; op 42 include/linux/reset/bcm63xx_pmb.h u32 off, u32 op) op 47 include/linux/reset/bcm63xx_pmb.h cmd = (PMC_PMBM_START | op | (addr & 0xff) << 12 | off); op 1780 include/linux/security.h int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule); op 1782 include/linux/security.h int security_audit_rule_match(u32 secid, u32 field, u32 op, void *lsmrule); op 1787 include/linux/security.h static inline int security_audit_rule_init(u32 field, u32 op, char *rulestr, op 1798 include/linux/security.h static inline int security_audit_rule_match(u32 secid, u32 field, u32 op, op 26 include/linux/seq_file.h const struct seq_operations *op; op 121 include/linux/signal.h #define _SIG_SET_BINOP(name, op) \ op 130 include/linux/signal.h r->sig[3] = op(a3, b3); \ op 131 include/linux/signal.h r->sig[2] = op(a2, b2); \ op 135 include/linux/signal.h r->sig[1] = op(a1, b1); \ op 139 include/linux/signal.h r->sig[0] = op(a0, b0); \ op 160 include/linux/signal.h #define _SIG_SET_OP(name, op) \ op 164 include/linux/signal.h case 4: set->sig[3] = op(set->sig[3]); \ op 165 include/linux/signal.h set->sig[2] = op(set->sig[2]); \ op 167 include/linux/signal.h case 2: set->sig[1] = op(set->sig[1]); \ op 169 include/linux/signal.h case 1: set->sig[0] = op(set->sig[0]); \ op 3714 include/linux/skbuff.h #define __it(x, op) (x -= sizeof(u##op)) op 3715 include/linux/skbuff.h #define __it_diff(a, b, op) (*(u##op *)__it(a, op)) ^ (*(u##op *)__it(b, op)) op 253 include/linux/spi/spi-mem.h int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op); op 255 include/linux/spi/spi-mem.h const struct spi_mem_op *op); op 257 include/linux/spi/spi-mem.h const struct spi_mem_op *op); op 292 include/linux/spi/spi-mem.h const struct spi_mem_op *op, op 296 include/linux/spi/spi-mem.h const struct spi_mem_op *op, op 300 include/linux/spi/spi-mem.h const struct spi_mem_op *op); op 305 include/linux/spi/spi-mem.h const struct spi_mem_op *op, op 313 include/linux/spi/spi-mem.h const struct spi_mem_op *op, op 320 include/linux/spi/spi-mem.h const struct spi_mem_op *op) op 327 include/linux/spi/spi-mem.h int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op); op 330 include/linux/spi/spi-mem.h const struct spi_mem_op *op); op 333 include/linux/spi/spi-mem.h const struct spi_mem_op *op); op 322 include/linux/syscalls.h asmlinkage long sys_io_uring_register(unsigned int fd, unsigned int op, op 360 include/linux/syscalls.h asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, op 575 include/linux/syscalls.h asmlinkage long sys_futex(u32 __user *uaddr, int op, u32 val, op 578 include/linux/syscalls.h asmlinkage long sys_futex_time32(u32 __user *uaddr, int op, u32 val, op 962 include/linux/syscalls.h asmlinkage long sys_seccomp(unsigned int op, unsigned int flags, op 48 include/linux/sysrq.h int register_sysrq_key(int key, struct sysrq_key_op *op); op 49 include/linux/sysrq.h int unregister_sysrq_key(int key, struct sysrq_key_op *op); op 64 include/linux/sysrq.h static inline int register_sysrq_key(int key, struct sysrq_key_op *op) op 69 include/linux/sysrq.h static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op) op 342 include/linux/tty_driver.h const struct tty_operations *op); op 370 include/linux/uaccess.h #define unsafe_op_wrap(op, err) do { if (unlikely(op)) goto err; } while (0) op 5 include/linux/util_macros.h #define __find_closest(x, a, as, op) \ op 11 include/linux/util_macros.h if (__fc_x op DIV_ROUND_CLOSEST(__fc_a[__fc_i] + \ op 67 include/linux/virtio_vsock.h u16 op; op 46 include/linux/vt_kern.h int con_font_op(struct vc_data *vc, struct console_font_op *op); op 152 include/media/drv-intf/exynos-fimc.h #define fimc_pipeline_call(ent, op, args...) \ op 154 include/media/drv-intf/exynos-fimc.h (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \ op 155 include/media/drv-intf/exynos-fimc.h (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \ op 2295 include/net/bluetooth/hci.h #define hci_opcode_ogf(op) (op >> 10) op 2296 include/net/bluetooth/hci.h #define hci_opcode_ocf(op) (op & 0x03ff) op 138 include/net/flow_dissector.h __u8 op; op 304 include/net/ip_tunnels.h int ip_tunnel_encap_add_ops(const struct ip_tunnel_encap_ops *op, op 306 include/net/ip_tunnels.h int ip_tunnel_encap_del_ops(const struct ip_tunnel_encap_ops *op, op 108 include/net/lwtunnel.h int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *op, op 110 include/net/lwtunnel.h int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *op, op 184 include/net/lwtunnel.h static inline int lwtunnel_encap_add_ops(const struct lwtunnel_encap_ops *op, op 191 include/net/lwtunnel.h static inline int lwtunnel_encap_del_ops(const struct lwtunnel_encap_ops *op, op 179 include/net/nfc/nci.h #define nci_opcode_gid(op) (__u8)(((op)&0x0f00)>>8) op 180 include/net/nfc/nci.h #define nci_opcode_oid(op) (__u8)((op)&0x003f) op 1624 include/net/sock.h int sock_setsockopt(struct socket *sock, int level, int op, op 1627 include/net/sock.h int sock_getsockopt(struct socket *sock, int level, int op, op 2189 include/net/tcp.h static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) op 2201 include/net/tcp.h sock_ops.op = op; op 2213 include/net/tcp.h static inline int tcp_call_bpf_2arg(struct sock *sk, int op, u32 arg1, u32 arg2) op 2217 include/net/tcp.h return tcp_call_bpf(sk, op, 2, args); op 2220 include/net/tcp.h static inline int tcp_call_bpf_3arg(struct sock *sk, int op, u32 arg1, u32 arg2, op 2225 include/net/tcp.h return tcp_call_bpf(sk, op, 3, args); op 2229 include/net/tcp.h static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) op 2234 include/net/tcp.h static inline int tcp_call_bpf_2arg(struct sock *sk, int op, u32 arg1, u32 arg2) op 2239 include/net/tcp.h static inline int tcp_call_bpf_3arg(struct sock *sk, int op, u32 arg1, u32 arg2, op 673 include/net/xfrm.h static inline struct audit_buffer *xfrm_audit_start(const char *op) op 683 include/net/xfrm.h audit_log_format(audit_buf, "op=%s", op); op 74 include/rdma/ib_pack.h #define IB_OPCODE(transport, op) \ op 75 include/rdma/ib_pack.h IB_OPCODE_ ## transport ## _ ## op = \ op 76 include/rdma/ib_pack.h IB_OPCODE_ ## transport + IB_OPCODE_ ## op op 64 include/rdma/rdma_netlink.h int len, int client, int op, int flags); op 93 include/scsi/fc_encode.h unsigned int op, size_t req_size, op 106 include/scsi/fc_encode.h ct->hdr.ct_cmd = htons((u16) op); op 121 include/scsi/fc_encode.h unsigned int op, enum fc_rctl *r_ctl, op 127 include/scsi/fc_encode.h switch (op) { op 129 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), op 135 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), op 142 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), op 149 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rff_id), op 160 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id), op 168 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len, op 178 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rsnn) + len, op 205 include/scsi/fc_encode.h unsigned int op, enum fc_rctl *r_ctl, op 214 include/scsi/fc_encode.h switch (op) { op 230 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, op 376 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, op 467 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, op 475 include/scsi/fc_encode.h ct = fc_ct_hdr_fill(fp, op, len, FC_FST_MGMT, op 499 include/scsi/fc_encode.h unsigned int op, enum fc_rctl *r_ctl, op 506 include/scsi/fc_encode.h rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); op 511 include/scsi/fc_encode.h rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); op 522 include/scsi/fc_encode.h unsigned int op) op 530 include/scsi/fc_encode.h plogi->fl_cmd = (u8) op; op 679 include/scsi/fc_encode.h struct fc_frame *fp, unsigned int op, op 682 include/scsi/fc_encode.h switch (op) { op 471 include/scsi/libfc.h struct fc_frame *, unsigned int op, op 953 include/scsi/libfc.h unsigned int op, op 241 include/scsi/scsi_cmnd.h static inline void scsi_set_prot_op(struct scsi_cmnd *scmd, unsigned char op) op 243 include/scsi/scsi_cmnd.h scmd->prot_op = op; op 236 include/sound/opl3.h struct fm_operator op[4]; op 526 include/trace/events/afs.h __field(u32, op ) op 532 include/trace/events/afs.h __entry->op = call->operation_ID; op 538 include/trace/events/afs.h __entry->op) op 542 include/trace/events/afs.h TP_PROTO(struct afs_call *call, enum afs_call_trace op, op 545 include/trace/events/afs.h TP_ARGS(call, op, usage, outstanding, where), op 549 include/trace/events/afs.h __field(int, op ) op 557 include/trace/events/afs.h __entry->op = op; op 565 include/trace/events/afs.h __print_symbolic(__entry->op, afs_call_traces), op 578 include/trace/events/afs.h __field(enum afs_fs_operation, op ) op 584 include/trace/events/afs.h __entry->op = call->operation_ID; op 599 include/trace/events/afs.h __print_symbolic(__entry->op, afs_fs_operations)) op 611 include/trace/events/afs.h __field(enum afs_fs_operation, op ) op 618 include/trace/events/afs.h __entry->op = call->operation_ID; op 633 include/trace/events/afs.h __print_symbolic(__entry->op, afs_fs_operations), op 645 include/trace/events/afs.h __field(enum afs_fs_operation, op ) op 654 include/trace/events/afs.h __entry->op = call->operation_ID; op 671 include/trace/events/afs.h __print_symbolic(__entry->op, afs_fs_operations), op 683 include/trace/events/afs.h __field(enum afs_fs_operation, op ) op 695 include/trace/events/afs.h __entry->op = call->operation_ID; op 714 include/trace/events/afs.h __print_symbolic(__entry->op, afs_fs_operations), op 726 include/trace/events/afs.h __field(enum afs_vl_operation, op ) op 731 include/trace/events/afs.h __entry->op = call->operation_ID; op 736 include/trace/events/afs.h __print_symbolic(__entry->op, afs_vl_operations)) op 945 include/trace/events/afs.h enum afs_edit_dir_op op, op 952 include/trace/events/afs.h TP_ARGS(dvnode, why, op, block, slot, f_vnode, f_unique, name), op 958 include/trace/events/afs.h __field(enum afs_edit_dir_op, op ) op 972 include/trace/events/afs.h __entry->op = op; op 984 include/trace/events/afs.h __print_symbolic(__entry->op, afs_edit_dir_ops), op 1131 include/trace/events/afs.h enum afs_flock_operation op), op 1133 include/trace/events/afs.h TP_ARGS(vnode, fl, op), op 1139 include/trace/events/afs.h __field(enum afs_flock_operation, op ) op 1149 include/trace/events/afs.h __entry->op = op; op 1158 include/trace/events/afs.h __print_symbolic(__entry->op, afs_flock_operations), op 332 include/trace/events/bcache.h TP_PROTO(struct btree *b, struct bkey *k, unsigned op, unsigned status), op 333 include/trace/events/bcache.h TP_ARGS(b, k, op, status), op 342 include/trace/events/bcache.h __field(u8, op ) op 353 include/trace/events/bcache.h __entry->op = op; op 358 include/trace/events/bcache.h __entry->status, __entry->op, op 1506 include/trace/events/btrfs.h u64 reserved, int op), op 1508 include/trace/events/btrfs.h TP_ARGS(inode, start, len, reserved, op), op 1516 include/trace/events/btrfs.h __field( int, op ) op 1526 include/trace/events/btrfs.h __entry->op = op; op 1532 include/trace/events/btrfs.h __print_flags((unsigned long)__entry->op, "", op 1540 include/trace/events/btrfs.h u64 reserved, int op), op 1542 include/trace/events/btrfs.h TP_ARGS(inode, start, len, reserved, op) op 1548 include/trace/events/btrfs.h u64 reserved, int op), op 1550 include/trace/events/btrfs.h TP_ARGS(inode, start, len, reserved, op) op 76 include/trace/events/f2fs.h #define show_bio_type(op,op_flags) show_bio_op(op), \ op 79 include/trace/events/f2fs.h #define show_bio_op(op) blk_op_str(op) op 1015 include/trace/events/f2fs.h __field(int, op) op 1027 include/trace/events/f2fs.h __entry->op = fio->op; op 1039 include/trace/events/f2fs.h show_bio_type(__entry->op, __entry->op_flags), op 1071 include/trace/events/f2fs.h __field(int, op) op 1081 include/trace/events/f2fs.h __entry->op = bio_op(bio); op 1091 include/trace/events/f2fs.h show_bio_type(__entry->op, __entry->op_flags), op 431 include/trace/events/fscache.h TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op, op 434 include/trace/events/fscache.h TP_ARGS(cookie, op, why), op 438 include/trace/events/fscache.h __field(struct fscache_operation *, op ) op 444 include/trace/events/fscache.h __entry->op = op; op 449 include/trace/events/fscache.h __entry->cookie, __entry->op, op 455 include/trace/events/fscache.h struct fscache_operation *op, enum fscache_page_op_trace what), op 457 include/trace/events/fscache.h TP_ARGS(cookie, page, op, what), op 462 include/trace/events/fscache.h __field(struct fscache_operation *, op ) op 469 include/trace/events/fscache.h __entry->op = op; op 476 include/trace/events/fscache.h __entry->page, __entry->op) op 481 include/trace/events/fscache.h struct fscache_operation *op, int ret), op 483 include/trace/events/fscache.h TP_ARGS(cookie, page, op, ret), op 488 include/trace/events/fscache.h __field(struct fscache_operation *, op ) op 495 include/trace/events/fscache.h __entry->op = op; op 500 include/trace/events/fscache.h __entry->cookie, __entry->page, __entry->op, __entry->ret) op 504 include/trace/events/fscache.h TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op, op 507 include/trace/events/fscache.h TP_ARGS(cookie, op, results, n, store_limit), op 511 include/trace/events/fscache.h __field(struct fscache_operation *, op ) op 519 include/trace/events/fscache.h __entry->op = op; op 526 include/trace/events/fscache.h __entry->cookie, __entry->op, __entry->results0, __entry->n, op 11 include/trace/events/fsi_master_ast_cf.h TP_PROTO(const struct fsi_master_acf *master, uint32_t op), op 12 include/trace/events/fsi_master_ast_cf.h TP_ARGS(master, op), op 15 include/trace/events/fsi_master_ast_cf.h __field(uint32_t, op) op 19 include/trace/events/fsi_master_ast_cf.h __entry->op = op; op 22 include/trace/events/fsi_master_ast_cf.h __entry->master_idx, __entry->op op 495 include/trace/events/rxrpc.h TP_PROTO(unsigned int local_debug_id, enum rxrpc_local_trace op, op 498 include/trace/events/rxrpc.h TP_ARGS(local_debug_id, op, usage, where), op 502 include/trace/events/rxrpc.h __field(int, op ) op 509 include/trace/events/rxrpc.h __entry->op = op; op 516 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_local_traces), op 522 include/trace/events/rxrpc.h TP_PROTO(unsigned int peer_debug_id, enum rxrpc_peer_trace op, op 525 include/trace/events/rxrpc.h TP_ARGS(peer_debug_id, op, usage, where), op 529 include/trace/events/rxrpc.h __field(int, op ) op 536 include/trace/events/rxrpc.h __entry->op = op; op 543 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_peer_traces), op 549 include/trace/events/rxrpc.h TP_PROTO(unsigned int conn_debug_id, enum rxrpc_conn_trace op, op 552 include/trace/events/rxrpc.h TP_ARGS(conn_debug_id, op, usage, where), op 556 include/trace/events/rxrpc.h __field(int, op ) op 563 include/trace/events/rxrpc.h __entry->op = op; op 570 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_conn_traces), op 577 include/trace/events/rxrpc.h enum rxrpc_client_trace op), op 579 include/trace/events/rxrpc.h TP_ARGS(conn, channel, op), op 586 include/trace/events/rxrpc.h __field(enum rxrpc_client_trace, op ) op 594 include/trace/events/rxrpc.h __entry->op = op; op 602 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_client_traces), op 609 include/trace/events/rxrpc.h TP_PROTO(unsigned int call_debug_id, enum rxrpc_call_trace op, op 612 include/trace/events/rxrpc.h TP_ARGS(call_debug_id, op, usage, where, aux), op 616 include/trace/events/rxrpc.h __field(int, op ) op 624 include/trace/events/rxrpc.h __entry->op = op; op 632 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_call_traces), op 639 include/trace/events/rxrpc.h TP_PROTO(struct sk_buff *skb, enum rxrpc_skb_trace op, op 642 include/trace/events/rxrpc.h TP_ARGS(skb, op, usage, mod_count, flags, where), op 646 include/trace/events/rxrpc.h __field(enum rxrpc_skb_trace, op ) op 656 include/trace/events/rxrpc.h __entry->op = op; op 665 include/trace/events/rxrpc.h __print_symbolic(__entry->op, rxrpc_skb_traces), op 42 include/trace/events/vsock_virtio_transport_common.h __u16 op, op 50 include/trace/events/vsock_virtio_transport_common.h op, op 60 include/trace/events/vsock_virtio_transport_common.h __field(__u16, op) op 70 include/trace/events/vsock_virtio_transport_common.h __entry->op = op; op 78 include/trace/events/vsock_virtio_transport_common.h show_op(__entry->op), op 88 include/trace/events/vsock_virtio_transport_common.h __u16 op, op 98 include/trace/events/vsock_virtio_transport_common.h op, op 110 include/trace/events/vsock_virtio_transport_common.h __field(__u16, op) op 122 include/trace/events/vsock_virtio_transport_common.h __entry->op = op; op 133 include/trace/events/vsock_virtio_transport_common.h show_op(__entry->op), op 40 include/trace/events/xen.h __field(unsigned int, op) op 44 include/trace/events/xen.h TP_fast_assign(__entry->op = mc->op; op 50 include/trace/events/xen.h __entry->op, xen_hypercall_name(__entry->op), op 114 include/trace/events/xen.h TP_PROTO(unsigned long op, size_t args, enum xen_mc_extend_args res), op 115 include/trace/events/xen.h TP_ARGS(op, args, res), op 117 include/trace/events/xen.h __field(unsigned int, op) op 121 include/trace/events/xen.h TP_fast_assign(__entry->op = op; op 125 include/trace/events/xen.h __entry->op, xen_hypercall_name(__entry->op), op 235 include/uapi/drm/amdgpu_drm.h __u32 op; op 270 include/uapi/drm/amdgpu_drm.h __u32 op; op 290 include/uapi/drm/amdgpu_drm.h __u32 op; op 363 include/uapi/drm/amdgpu_drm.h __u32 op; op 469 include/uapi/drm/amdgpu_drm.h __u32 op; op 116 include/uapi/drm/etnaviv_drm.h __u32 op; /* in, mask of ETNA_PREP_x */ op 129 include/uapi/drm/lima_drm.h __u32 op; /* in, CPU want to read/write this buffer */ op 138 include/uapi/drm/msm_drm.h __u32 op; /* in, mask of MSM_PREP_x */ op 79 include/uapi/drm/omap_drm.h __u32 op; /* mask of omap_gem_op (in) */ op 84 include/uapi/drm/omap_drm.h __u32 op; /* mask of omap_gem_op (in) */ op 921 include/uapi/drm/radeon_drm.h __u32 op; /* RADEON_GEM_OP_* */ op 1061 include/uapi/drm/vmwgfx_drm.h enum drm_vmw_synccpu_op op; op 35 include/uapi/linux/blkpg.h int op; op 3314 include/uapi/linux/bpf.h __u32 op; op 149 include/uapi/linux/futex.h #define FUTEX_OP(op, oparg, cmp, cmparg) \ op 150 include/uapi/linux/futex.h (((op & 0xf) << 28) | ((cmp & 0xf) << 24) \ op 79 include/uapi/linux/ipc.h #define IPCCALL(version,op) ((version)<<16 | (op)) op 160 include/uapi/linux/kd.h unsigned int op; /* operation code KD_FONT_OP_* */ op 469 include/uapi/linux/kvm.h __u32 op; /* type of operation */ op 81 include/uapi/linux/lightnvm.h __u16 op; op 268 include/uapi/linux/netfilter/ipset/ip_set.h __u8 op; op 274 include/uapi/linux/netfilter/ipset/ip_set.h __u8 op; op 288 include/uapi/linux/netfilter/ipset/ip_set.h unsigned int op; op 298 include/uapi/linux/netfilter/ipset/ip_set.h unsigned int op; op 306 include/uapi/linux/netfilter/ipset/ip_set.h unsigned int op; op 83 include/uapi/linux/ptrace.h __u8 op; /* PTRACE_SYSCALL_INFO_* */ op 86 include/uapi/linux/rfkill.h __u8 op; op 87 include/uapi/linux/target_core_user.h static inline void tcmu_hdr_set_op(__u32 *len_op, enum tcmu_opcode op) op 90 include/uapi/linux/target_core_user.h *len_op |= (op & TCMU_OP_MASK); op 20 include/uapi/linux/tc_ematch/tc_em_meta.h __u8 op; op 860 include/uapi/linux/vfio.h __u32 op; op 41 include/uapi/linux/virtio_crypto.h #define VIRTIO_CRYPTO_OPCODE(service, op) (((service) << 8) | (op)) op 90 include/uapi/linux/virtio_crypto.h __le32 op; op 174 include/uapi/linux/virtio_crypto.h __le32 op; op 60 include/uapi/linux/virtio_vsock.h __le16 op; /* enum virtio_vsock_op */ op 39 include/uapi/linux/vsockmon.h __le16 op; /* enum af_vsockmon_op */ op 165 include/uapi/misc/habanalabs.h __u32 op; op 188 include/uapi/misc/habanalabs.h __u32 op; op 370 include/uapi/misc/habanalabs.h __u32 op; op 496 include/uapi/misc/habanalabs.h __u32 op; op 23 include/uapi/rdma/rdma_netlink.h #define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op) op 43 include/uapi/sound/asound_fm.h unsigned char op; /* operator cell (0 or 1) */ op 42 include/uapi/xen/privcmd.h __u64 op; op 742 include/video/pm3fb.h #define PM3LogicalOpMode_LogicOp(op) (((op) & 0xf) << 1) op 747 include/video/pm3fb.h #define PM3LogicalOpMode_Background_LogicOp(op) (((op) & 0xf) << 7) op 52 include/xen/arm/hypercall.h unsigned long HYPERVISOR_hvm_op(int op, void *arg); op 61 include/xen/arm/hypercall.h static inline int HYPERVISOR_platform_op(struct xen_platform_op *op) op 63 include/xen/arm/hypercall.h op->interface_version = XENPF_INTERFACE_VERSION; op 64 include/xen/arm/hypercall.h return HYPERVISOR_platform_op_raw(op); op 9 include/xen/hvm.h static const char *param_name(int op) op 31 include/xen/hvm.h if (op >= ARRAY_SIZE(names)) op 34 include/xen/hvm.h if (!names[op]) op 37 include/xen/hvm.h return names[op]; op 496 include/xen/interface/grant_table.h uint32_t op; op 808 include/xen/interface/io/displif.h } op; op 826 include/xen/interface/io/displif.h } op; op 108 include/xen/interface/io/pciif.h struct xen_pci_op op; op 1024 include/xen/interface/io/sndif.h } op; op 1045 include/xen/interface/io/sndif.h } op; op 293 include/xen/interface/physdev.h uint8_t op; op 490 include/xen/interface/xen.h xen_ulong_t op; op 217 kernel/audit.h extern int audit_comparator(const u32 left, const u32 op, const u32 right); op 218 kernel/audit.h extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); op 219 kernel/audit.h extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right); op 258 kernel/audit.h u32 op); op 280 kernel/audit.h extern int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op); op 313 kernel/audit.h #define audit_make_tree(rule, str, op) -EINVAL op 114 kernel/audit_fsnotify.c static void audit_mark_log_rule_change(struct audit_fsnotify_mark *audit_mark, char *op) op 125 kernel/audit_fsnotify.c audit_log_format(ab, " op=%s path=", op); op 728 kernel/audit_tree.c int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) op 733 kernel/audit_tree.c op != Audit_equal || op 178 kernel/audit_watch.c int audit_to_watch(struct audit_krule *krule, char *path, int len, u32 op) op 187 kernel/audit_watch.c op != Audit_equal || op 226 kernel/audit_watch.c static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watch *w, char *op) op 236 kernel/audit_watch.c audit_log_format(ab, "op=%s path=", op); op 156 kernel/auditfilter.c (f->op != Audit_equal && f->op != Audit_not_equal)) op 314 kernel/auditfilter.c static u32 audit_to_op(u32 op) op 317 kernel/auditfilter.c for (n = Audit_equal; n < Audit_bad && audit_ops[n] != op; n++) op 383 kernel/auditfilter.c if (f->op == Audit_bitmask || f->op == Audit_bittest) op 403 kernel/auditfilter.c if (f->op != Audit_not_equal && f->op != Audit_equal) op 463 kernel/auditfilter.c f->op = audit_to_op(data->fieldflags[i]); op 464 kernel/auditfilter.c if (f->op == Audit_bad) op 523 kernel/auditfilter.c err = security_audit_rule_init(f->type, f->op, str, op 540 kernel/auditfilter.c err = audit_to_watch(&entry->rule, str, f_val, f->op); op 553 kernel/auditfilter.c err = audit_make_tree(&entry->rule, str, f->op); op 599 kernel/auditfilter.c if (entry->rule.inode_f && entry->rule.inode_f->op == Audit_not_equal) op 645 kernel/auditfilter.c data->fieldflags[i] = audit_ops[f->op]; op 709 kernel/auditfilter.c a->fields[i].op != b->fields[i].op) op 792 kernel/auditfilter.c ret = security_audit_rule_init(df->type, df->op, df->lsm_str, op 1197 kernel/auditfilter.c int audit_comparator(u32 left, u32 op, u32 right) op 1199 kernel/auditfilter.c switch (op) { op 1221 kernel/auditfilter.c int audit_uid_comparator(kuid_t left, u32 op, kuid_t right) op 1223 kernel/auditfilter.c switch (op) { op 1243 kernel/auditfilter.c int audit_gid_comparator(kgid_t left, u32 op, kgid_t right) op 1245 kernel/auditfilter.c switch (op) { op 1339 kernel/auditfilter.c result = audit_comparator(pid, f->op, f->val); op 1342 kernel/auditfilter.c result = audit_uid_comparator(current_uid(), f->op, f->uid); op 1345 kernel/auditfilter.c result = audit_gid_comparator(current_gid(), f->op, f->gid); op 1349 kernel/auditfilter.c f->op, f->uid); op 1353 kernel/auditfilter.c f->op, f->val); op 1356 kernel/auditfilter.c result = audit_comparator(msgtype, f->op, f->val); op 1366 kernel/auditfilter.c f->type, f->op, f->lsm_rule); op 1371 kernel/auditfilter.c if (f->op == Audit_not_equal) op 315 kernel/auditsc.c rc = audit_uid_comparator(uid, f->op, name->uid); op 322 kernel/auditsc.c rc = audit_uid_comparator(uid, f->op, n->uid); op 339 kernel/auditsc.c rc = audit_gid_comparator(gid, f->op, name->gid); op 346 kernel/auditsc.c rc = audit_gid_comparator(gid, f->op, n->gid); op 382 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, op 385 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->euid); op 387 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->suid); op 389 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->fsuid); op 392 kernel/auditsc.c return audit_uid_comparator(audit_get_loginuid(tsk), f->op, op 395 kernel/auditsc.c return audit_uid_comparator(audit_get_loginuid(tsk), f->op, op 398 kernel/auditsc.c return audit_uid_comparator(audit_get_loginuid(tsk), f->op, op 402 kernel/auditsc.c return audit_uid_comparator(cred->euid, f->op, cred->suid); op 404 kernel/auditsc.c return audit_uid_comparator(cred->euid, f->op, cred->fsuid); op 407 kernel/auditsc.c return audit_uid_comparator(cred->suid, f->op, cred->fsuid); op 410 kernel/auditsc.c return audit_gid_comparator(cred->gid, f->op, cred->egid); op 412 kernel/auditsc.c return audit_gid_comparator(cred->gid, f->op, cred->sgid); op 414 kernel/auditsc.c return audit_gid_comparator(cred->gid, f->op, cred->fsgid); op 417 kernel/auditsc.c return audit_gid_comparator(cred->egid, f->op, cred->sgid); op 419 kernel/auditsc.c return audit_gid_comparator(cred->egid, f->op, cred->fsgid); op 422 kernel/auditsc.c return audit_gid_comparator(cred->sgid, f->op, cred->fsgid); op 461 kernel/auditsc.c result = audit_comparator(pid, f->op, f->val); op 467 kernel/auditsc.c result = audit_comparator(ctx->ppid, f->op, f->val); op 472 kernel/auditsc.c if (f->op == Audit_not_equal) op 476 kernel/auditsc.c result = audit_uid_comparator(cred->uid, f->op, f->uid); op 479 kernel/auditsc.c result = audit_uid_comparator(cred->euid, f->op, f->uid); op 482 kernel/auditsc.c result = audit_uid_comparator(cred->suid, f->op, f->uid); op 485 kernel/auditsc.c result = audit_uid_comparator(cred->fsuid, f->op, f->uid); op 488 kernel/auditsc.c result = audit_gid_comparator(cred->gid, f->op, f->gid); op 489 kernel/auditsc.c if (f->op == Audit_equal) { op 492 kernel/auditsc.c } else if (f->op == Audit_not_equal) { op 498 kernel/auditsc.c result = audit_gid_comparator(cred->egid, f->op, f->gid); op 499 kernel/auditsc.c if (f->op == Audit_equal) { op 502 kernel/auditsc.c } else if (f->op == Audit_not_equal) { op 508 kernel/auditsc.c result = audit_gid_comparator(cred->sgid, f->op, f->gid); op 511 kernel/auditsc.c result = audit_gid_comparator(cred->fsgid, f->op, f->gid); op 515 kernel/auditsc.c result = audit_comparator(sessionid, f->op, f->val); op 518 kernel/auditsc.c result = audit_comparator(tsk->personality, f->op, f->val); op 522 kernel/auditsc.c result = audit_comparator(ctx->arch, f->op, f->val); op 527 kernel/auditsc.c result = audit_comparator(ctx->return_code, f->op, f->val); op 532 kernel/auditsc.c result = audit_comparator(ctx->return_valid, f->op, AUDITSC_SUCCESS); op 534 kernel/auditsc.c result = audit_comparator(ctx->return_valid, f->op, AUDITSC_FAILURE); op 539 kernel/auditsc.c if (audit_comparator(MAJOR(name->dev), f->op, f->val) || op 540 kernel/auditsc.c audit_comparator(MAJOR(name->rdev), f->op, f->val)) op 544 kernel/auditsc.c if (audit_comparator(MAJOR(n->dev), f->op, f->val) || op 545 kernel/auditsc.c audit_comparator(MAJOR(n->rdev), f->op, f->val)) { op 554 kernel/auditsc.c if (audit_comparator(MINOR(name->dev), f->op, f->val) || op 555 kernel/auditsc.c audit_comparator(MINOR(name->rdev), f->op, f->val)) op 559 kernel/auditsc.c if (audit_comparator(MINOR(n->dev), f->op, f->val) || op 560 kernel/auditsc.c audit_comparator(MINOR(n->rdev), f->op, f->val)) { op 569 kernel/auditsc.c result = audit_comparator(name->ino, f->op, f->val); op 572 kernel/auditsc.c if (audit_comparator(n->ino, f->op, f->val)) { op 581 kernel/auditsc.c result = audit_uid_comparator(name->uid, f->op, f->uid); op 584 kernel/auditsc.c if (audit_uid_comparator(n->uid, f->op, f->uid)) { op 593 kernel/auditsc.c result = audit_gid_comparator(name->gid, f->op, f->gid); op 596 kernel/auditsc.c if (audit_gid_comparator(n->gid, f->op, f->gid)) { op 608 kernel/auditsc.c if (f->op == Audit_not_equal) op 615 kernel/auditsc.c if (f->op == Audit_not_equal) op 621 kernel/auditsc.c f->op, f->uid); op 624 kernel/auditsc.c result = audit_comparator(audit_loginuid_set(tsk), f->op, f->val); op 629 kernel/auditsc.c f->op, f->val); op 647 kernel/auditsc.c f->op, op 664 kernel/auditsc.c f->op, op 671 kernel/auditsc.c f->op, op 682 kernel/auditsc.c f->type, f->op, op 692 kernel/auditsc.c result = audit_comparator(ctx->argv[f->type-AUDIT_ARG0], f->op, f->val); op 700 kernel/auditsc.c if (f->op == Audit_not_equal) op 705 kernel/auditsc.c if (f->op == Audit_not_equal) op 1965 kernel/auditsc.c f->op, f->val) op 2083 kernel/auditsc.c f->op, f->val) op 2527 kernel/auditsc.c const char *op, enum audit_ntp_type type) op 2535 kernel/auditsc.c "op=%s old=%lli new=%lli", op, val->oldval, val->newval); op 1250 kernel/bpf/verifier.c u8 code, class, op; op 1254 kernel/bpf/verifier.c op = BPF_OP(code); op 1259 kernel/bpf/verifier.c if (op == BPF_EXIT) op 1261 kernel/bpf/verifier.c if (op == BPF_CALL) { op 1281 kernel/bpf/verifier.c (class == BPF_ALU && op == BPF_END && insn->imm == 64)) op 8404 kernel/bpf/verifier.c u8 op; op 8412 kernel/bpf/verifier.c op = BPF_OP(code); op 8413 kernel/bpf/verifier.c return op != BPF_JA && op != BPF_EXIT && op != BPF_CALL; op 1722 kernel/futex.c unsigned int op = (encoded_op & 0x70000000) >> 28; op 1745 kernel/futex.c ret = arch_futex_atomic_op_inuser(op, oparg, &oldval, uaddr); op 1773 kernel/futex.c int nr_wake, int nr_wake2, int op) op 1794 kernel/futex.c op_ret = futex_atomic_op_inuser(op, uaddr2); op 3867 kernel/futex.c long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, op 3870 kernel/futex.c int cmd = op & FUTEX_CMD_MASK; op 3873 kernel/futex.c if (!(op & FUTEX_PRIVATE_FLAG)) op 3876 kernel/futex.c if (op & FUTEX_CLOCK_REALTIME) { op 3927 kernel/futex.c SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, op 3934 kernel/futex.c int cmd = op & FUTEX_CMD_MASK; op 3939 kernel/futex.c if (unlikely(should_fail_futex(!(op & FUTEX_PRIVATE_FLAG)))) op 3959 kernel/futex.c return do_futex(uaddr, op, val, tp, uaddr2, val2, val3); op 4121 kernel/futex.c SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, op 4128 kernel/futex.c int cmd = op & FUTEX_CMD_MASK; op 4147 kernel/futex.c return do_futex(uaddr, op, val, tp, uaddr2, val2, val3); op 387 kernel/kprobes.c struct optimized_kprobe *op; op 389 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 390 kernel/kprobes.c arch_remove_optimized_kprobe(op); op 392 kernel/kprobes.c kfree(op); op 398 kernel/kprobes.c struct optimized_kprobe *op; op 401 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 402 kernel/kprobes.c return arch_prepared_optinsn(&op->optinsn); op 411 kernel/kprobes.c struct optimized_kprobe *op; op 417 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 419 kernel/kprobes.c return kprobe_disabled(p) && list_empty(&op->list); op 425 kernel/kprobes.c struct optimized_kprobe *op; op 428 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 429 kernel/kprobes.c if (!list_empty(&op->list)) op 443 kernel/kprobes.c struct optimized_kprobe *op; op 450 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 451 kernel/kprobes.c if (arch_within_optimized_kprobe(op, addr)) op 500 kernel/kprobes.c struct optimized_kprobe *op, *tmp; op 512 kernel/kprobes.c list_for_each_entry_safe(op, tmp, &freeing_list, list) { op 514 kernel/kprobes.c op->kp.flags &= ~KPROBE_FLAG_OPTIMIZED; op 516 kernel/kprobes.c if (kprobe_disabled(&op->kp)) op 517 kernel/kprobes.c arch_disarm_kprobe(&op->kp); op 518 kernel/kprobes.c if (kprobe_unused(&op->kp)) { op 524 kernel/kprobes.c hlist_del_rcu(&op->kp.hlist); op 526 kernel/kprobes.c list_del_init(&op->list); op 533 kernel/kprobes.c struct optimized_kprobe *op, *tmp; op 535 kernel/kprobes.c list_for_each_entry_safe(op, tmp, &freeing_list, list) { op 536 kernel/kprobes.c list_del_init(&op->list); op 537 kernel/kprobes.c if (WARN_ON_ONCE(!kprobe_unused(&op->kp))) { op 544 kernel/kprobes.c free_aggr_kprobe(&op->kp); op 615 kernel/kprobes.c static bool optprobe_queued_unopt(struct optimized_kprobe *op) op 620 kernel/kprobes.c if (op == _op) op 630 kernel/kprobes.c struct optimized_kprobe *op; op 641 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 644 kernel/kprobes.c if (arch_check_optimized_kprobe(op) < 0) op 648 kernel/kprobes.c if (op->kp.flags & KPROBE_FLAG_OPTIMIZED) { op 649 kernel/kprobes.c if (optprobe_queued_unopt(op)) { op 651 kernel/kprobes.c list_del_init(&op->list); op 655 kernel/kprobes.c op->kp.flags |= KPROBE_FLAG_OPTIMIZED; op 658 kernel/kprobes.c if (WARN_ON_ONCE(!list_empty(&op->list))) op 661 kernel/kprobes.c list_add(&op->list, &optimizing_list); op 666 kernel/kprobes.c static void force_unoptimize_kprobe(struct optimized_kprobe *op) op 669 kernel/kprobes.c arch_unoptimize_kprobe(op); op 670 kernel/kprobes.c op->kp.flags &= ~KPROBE_FLAG_OPTIMIZED; op 671 kernel/kprobes.c if (kprobe_disabled(&op->kp)) op 672 kernel/kprobes.c arch_disarm_kprobe(&op->kp); op 678 kernel/kprobes.c struct optimized_kprobe *op; op 683 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 687 kernel/kprobes.c if (!list_empty(&op->list)) { op 688 kernel/kprobes.c if (optprobe_queued_unopt(op)) { op 695 kernel/kprobes.c force_unoptimize_kprobe(op); op 696 kernel/kprobes.c list_move(&op->list, &freeing_list); op 700 kernel/kprobes.c list_del_init(&op->list); op 701 kernel/kprobes.c op->kp.flags &= ~KPROBE_FLAG_OPTIMIZED; op 709 kernel/kprobes.c force_unoptimize_kprobe(op); op 711 kernel/kprobes.c list_add(&op->list, &unoptimizing_list); op 719 kernel/kprobes.c struct optimized_kprobe *op; op 725 kernel/kprobes.c op = container_of(ap, struct optimized_kprobe, kp); op 726 kernel/kprobes.c WARN_ON_ONCE(list_empty(&op->list)); op 740 kernel/kprobes.c struct optimized_kprobe *op; op 742 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 743 kernel/kprobes.c if (!list_empty(&op->list)) op 745 kernel/kprobes.c list_del_init(&op->list); op 746 kernel/kprobes.c op->kp.flags &= ~KPROBE_FLAG_OPTIMIZED; op 750 kernel/kprobes.c list_add(&op->list, &freeing_list); op 756 kernel/kprobes.c hlist_del_rcu(&op->kp.hlist); op 760 kernel/kprobes.c arch_remove_optimized_kprobe(op); op 764 kernel/kprobes.c void __prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *p) op 767 kernel/kprobes.c arch_prepare_optimized_kprobe(op, p); op 773 kernel/kprobes.c struct optimized_kprobe *op; op 775 kernel/kprobes.c op = container_of(p, struct optimized_kprobe, kp); op 776 kernel/kprobes.c __prepare_optimized_kprobe(op, p); op 782 kernel/kprobes.c struct optimized_kprobe *op; op 784 kernel/kprobes.c op = kzalloc(sizeof(struct optimized_kprobe), GFP_KERNEL); op 785 kernel/kprobes.c if (!op) op 788 kernel/kprobes.c INIT_LIST_HEAD(&op->list); op 789 kernel/kprobes.c op->kp.addr = p->addr; op 790 kernel/kprobes.c __prepare_optimized_kprobe(op, p); op 792 kernel/kprobes.c return &op->kp; op 804 kernel/kprobes.c struct optimized_kprobe *op; op 819 kernel/kprobes.c op = container_of(ap, struct optimized_kprobe, kp); op 820 kernel/kprobes.c if (!arch_prepared_optinsn(&op->optinsn)) { op 822 kernel/kprobes.c arch_remove_optimized_kprobe(op); op 823 kernel/kprobes.c kfree(op); op 67 kernel/locking/spinlock.c #define BUILD_LOCK_OPS(op, locktype) \ op 68 kernel/locking/spinlock.c void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ op 72 kernel/locking/spinlock.c if (likely(do_raw_##op##_trylock(lock))) \ op 76 kernel/locking/spinlock.c arch_##op##_relax(&lock->raw_lock); \ op 80 kernel/locking/spinlock.c unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ op 87 kernel/locking/spinlock.c if (likely(do_raw_##op##_trylock(lock))) \ op 92 kernel/locking/spinlock.c arch_##op##_relax(&lock->raw_lock); \ op 98 kernel/locking/spinlock.c void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ op 100 kernel/locking/spinlock.c _raw_##op##_lock_irqsave(lock); \ op 103 kernel/locking/spinlock.c void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \ op 112 kernel/locking/spinlock.c flags = _raw_##op##_lock_irqsave(lock); \ op 263 kernel/power/swap.c static int hib_submit_io(int op, int op_flags, pgoff_t page_off, void *addr, op 273 kernel/power/swap.c bio_set_op_attrs(bio, op, op_flags); op 915 kernel/ptrace.c info->op = PTRACE_SYSCALL_INFO_ENTRY; op 937 kernel/ptrace.c info->op = PTRACE_SYSCALL_INFO_SECCOMP; op 948 kernel/ptrace.c info->op = PTRACE_SYSCALL_INFO_EXIT; op 964 kernel/ptrace.c .op = PTRACE_SYSCALL_INFO_NONE, op 1388 kernel/seccomp.c static long do_seccomp(unsigned int op, unsigned int flags, op 1391 kernel/seccomp.c switch (op) { op 1413 kernel/seccomp.c SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags, op 1416 kernel/seccomp.c return do_seccomp(op, flags, uargs); op 1428 kernel/seccomp.c unsigned int op; op 1433 kernel/seccomp.c op = SECCOMP_SET_MODE_STRICT; op 1442 kernel/seccomp.c op = SECCOMP_SET_MODE_FILTER; op 1450 kernel/seccomp.c return do_seccomp(op, 0, uargs); op 214 kernel/trace/blktrace.c int op, int op_flags, u32 what, int error, int pdu_len, op 231 kernel/trace/blktrace.c what |= ddir_act[op_is_write(op) ? WRITE : READ]; op 237 kernel/trace/blktrace.c if (op == REQ_OP_DISCARD || op == REQ_OP_SECURE_ERASE) op 239 kernel/trace/blktrace.c if (op == REQ_OP_FLUSH) op 1930 kernel/trace/blktrace.c void blk_fill_rwbs(char *rwbs, unsigned int op, int bytes) op 1934 kernel/trace/blktrace.c if (op & REQ_PREFLUSH) op 1937 kernel/trace/blktrace.c switch (op & REQ_OP_MASK) { op 1959 kernel/trace/blktrace.c if (op & REQ_FUA) op 1961 kernel/trace/blktrace.c if (op & REQ_RAHEAD) op 1963 kernel/trace/blktrace.c if (op & REQ_SYNC) op 1965 kernel/trace/blktrace.c if (op & REQ_META) op 1473 kernel/trace/bpf_trace.c static int bpf_event_notify(struct notifier_block *nb, unsigned long op, op 1480 kernel/trace/bpf_trace.c (op != MODULE_STATE_COMING && op != MODULE_STATE_GOING)) op 1485 kernel/trace/bpf_trace.c switch (op) { op 436 kernel/trace/fgraph.c struct ftrace_ops *op; op 445 kernel/trace/fgraph.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 446 kernel/trace/fgraph.c if (op != &global_ops && op != &graph_ops && op 447 kernel/trace/fgraph.c op != &ftrace_list_end) { op 452 kernel/trace/fgraph.c } while_for_each_ftrace_op(op); op 126 kernel/trace/ftrace.c struct ftrace_ops *op, struct pt_regs *regs); op 145 kernel/trace/ftrace.c struct ftrace_ops *op, struct pt_regs *regs) op 147 kernel/trace/ftrace.c struct trace_array *tr = op->private; op 152 kernel/trace/ftrace.c op->saved_func(ip, parent_ip, op, regs); op 371 kernel/trace/ftrace.c struct ftrace_ops *op; op 377 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 378 kernel/trace/ftrace.c if (op->flags & FTRACE_OPS_FL_PID) { op 379 kernel/trace/ftrace.c op->func = ftrace_pids_enabled(op) ? op 380 kernel/trace/ftrace.c ftrace_pid_func : op->saved_func; op 381 kernel/trace/ftrace.c ftrace_update_trampoline(op); op 383 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 1062 kernel/trace/ftrace.c struct ftrace_ops *op = NULL; op 1070 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 1076 kernel/trace/ftrace.c if (op->trampoline && op->trampoline_size) op 1077 kernel/trace/ftrace.c if (addr >= op->trampoline && op 1078 kernel/trace/ftrace.c addr < op->trampoline + op->trampoline_size) { op 1080 kernel/trace/ftrace.c return op; op 1082 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 1804 kernel/trace/ftrace.c struct ftrace_ops *op; op 1815 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 1817 kernel/trace/ftrace.c if (op == ops) op 1819 kernel/trace/ftrace.c if (op->func_hash == &global_ops.local_hash) op 1820 kernel/trace/ftrace.c __ftrace_hash_rec_update(op, filter_hash, inc); op 1821 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 2179 kernel/trace/ftrace.c struct ftrace_ops *op; op 2182 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 2184 kernel/trace/ftrace.c if (!op->trampoline) op 2187 kernel/trace/ftrace.c if (hash_contains_ip(ip, op->func_hash)) op 2188 kernel/trace/ftrace.c return op; op 2189 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 2196 kernel/trace/ftrace.c struct ftrace_ops *op) op 2200 kernel/trace/ftrace.c while_for_each_ftrace_op(op) { op 2202 kernel/trace/ftrace.c if (!op->trampoline) op 2205 kernel/trace/ftrace.c if (hash_contains_ip(ip, op->func_hash)) op 2206 kernel/trace/ftrace.c return op; op 2215 kernel/trace/ftrace.c struct ftrace_ops *op; op 2247 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 2249 kernel/trace/ftrace.c if (!op->trampoline) op 2256 kernel/trace/ftrace.c if (op->flags & FTRACE_OPS_FL_ADDING) op 2265 kernel/trace/ftrace.c if ((op->flags & FTRACE_OPS_FL_MODIFYING) && op 2266 kernel/trace/ftrace.c hash_contains_ip(ip, &op->old_hash)) op 2267 kernel/trace/ftrace.c return op; op 2273 kernel/trace/ftrace.c if (!(op->flags & FTRACE_OPS_FL_MODIFYING) && op 2274 kernel/trace/ftrace.c hash_contains_ip(ip, op->func_hash)) op 2275 kernel/trace/ftrace.c return op; op 2277 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 2285 kernel/trace/ftrace.c struct ftrace_ops *op; op 2288 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 2290 kernel/trace/ftrace.c if (hash_contains_ip(ip, op->func_hash)) op 2291 kernel/trace/ftrace.c return op; op 2292 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 3861 kernel/trace/ftrace.c struct ftrace_ops *op; op 3879 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 3880 kernel/trace/ftrace.c if (op->func_hash == &global_ops.local_hash && op 3881 kernel/trace/ftrace.c op->flags & FTRACE_OPS_FL_ENABLED) { op 3882 kernel/trace/ftrace.c ftrace_run_modify_code(op, FTRACE_UPDATE_CALLS, old_hash); op 3886 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 4113 kernel/trace/ftrace.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 4118 kernel/trace/ftrace.c probe = container_of(op, struct ftrace_func_probe, ops); op 6304 kernel/trace/ftrace.c struct ftrace_ops *op; op 6317 kernel/trace/ftrace.c do_for_each_ftrace_op(op, ftrace_ops_list) { op 6319 kernel/trace/ftrace.c if (op->flags & FTRACE_OPS_FL_STUB) op 6330 kernel/trace/ftrace.c if ((!(op->flags & FTRACE_OPS_FL_RCU) || rcu_is_watching()) && op 6331 kernel/trace/ftrace.c ftrace_ops_test(op, ip, regs)) { op 6332 kernel/trace/ftrace.c if (FTRACE_WARN_ON(!op->func)) { op 6333 kernel/trace/ftrace.c pr_warn("op=%p %pS\n", op, op); op 6336 kernel/trace/ftrace.c op->func(ip, parent_ip, op, regs); op 6338 kernel/trace/ftrace.c } while_for_each_ftrace_op(op); op 6359 kernel/trace/ftrace.c struct ftrace_ops *op, struct pt_regs *regs) op 6378 kernel/trace/ftrace.c struct ftrace_ops *op, struct pt_regs *regs) op 6382 kernel/trace/ftrace.c if ((op->flags & FTRACE_OPS_FL_RCU) && !rcu_is_watching()) op 6391 kernel/trace/ftrace.c op->func(ip, parent_ip, op, regs); op 16 kernel/trace/ftrace_internal.h #define do_for_each_ftrace_op(op, list) \ op 17 kernel/trace/ftrace_internal.h op = rcu_dereference_raw_check(list); \ op 23 kernel/trace/ftrace_internal.h #define while_for_each_ftrace_op(op) \ op 24 kernel/trace/ftrace_internal.h while (likely(op = rcu_dereference_raw_check((op)->next)) && \ op 25 kernel/trace/ftrace_internal.h unlikely((op) != &ftrace_list_end)) op 1545 kernel/trace/trace.h int op; op 3359 kernel/trace/trace_events.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 717 kernel/trace/trace_events_filter.c switch (pred->op) { op 868 kernel/trace/trace_events_filter.c if (pred->op == OP_GLOB) { op 1095 kernel/trace/trace_events_filter.c static filter_pred_fn_t select_comparison_fn(enum filter_op_ids op, op 1101 kernel/trace/trace_events_filter.c switch (op) { op 1106 kernel/trace/trace_events_filter.c if (WARN_ON_ONCE(op < PRED_FUNC_START)) op 1108 kernel/trace/trace_events_filter.c pred_func_index = op - PRED_FUNC_START; op 1165 kernel/trace/trace_events_filter.c int op; op 1199 kernel/trace/trace_events_filter.c for (op = 0; ops[op]; op++) { op 1201 kernel/trace/trace_events_filter.c if (strncmp(str + i, ops[op], strlen(ops[op])) == 0) op 1205 kernel/trace/trace_events_filter.c if (!ops[op]) { op 1210 kernel/trace/trace_events_filter.c i += strlen(ops[op]); op 1223 kernel/trace/trace_events_filter.c pred->op = op; op 1273 kernel/trace/trace_events_filter.c switch (op) { op 1336 kernel/trace/trace_events_filter.c if (op == OP_GLOB) { op 1373 kernel/trace/trace_events_filter.c pred->fn = select_comparison_fn(pred->op, field->size, op 1375 kernel/trace/trace_events_filter.c if (pred->op == OP_NE) op 1982 kernel/trace/trace_events_filter.c if ((pred->op != OP_EQ) && (pred->op != OP_NE)) op 2001 kernel/trace/trace_events_filter.c return __ftrace_function_set_filter(pred->op == OP_EQ, op 2432 kernel/trace/trace_events_hist.c char *op; op 2434 kernel/trace/trace_events_hist.c op = strpbrk(str, "+-"); op 2435 kernel/trace/trace_events_hist.c if (!op) op 2438 kernel/trace/trace_events_hist.c switch (*op) { op 26 kernel/trace/trace_functions.c struct ftrace_ops *op, struct pt_regs *pt_regs); op 29 kernel/trace/trace_functions.c struct ftrace_ops *op, struct pt_regs *pt_regs); op 126 kernel/trace/trace_functions.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 128 kernel/trace/trace_functions.c struct trace_array *tr = op->private; op 177 kernel/trace/trace_functions.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 179 kernel/trace/trace_functions.c struct trace_array *tr = op->private; op 141 kernel/trace/trace_irqsoff.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 1135 kernel/trace/trace_kprobe.c switch (code->op) { op 281 kernel/trace/trace_probe.c code->op = FETCH_OP_RETVAL; op 288 kernel/trace/trace_probe.c code->op = FETCH_OP_STACKP; op 298 kernel/trace/trace_probe.c code->op = FETCH_OP_STACK; op 304 kernel/trace/trace_probe.c code->op = FETCH_OP_COMM; op 316 kernel/trace/trace_probe.c code->op = FETCH_OP_ARG; op 373 kernel/trace/trace_probe.c code->op = FETCH_OP_REG; op 388 kernel/trace/trace_probe.c code->op = FETCH_OP_IMM; op 402 kernel/trace/trace_probe.c code->op = FETCH_OP_FOFFS; op 411 kernel/trace/trace_probe.c code->op = FETCH_NOP_SYMBOL; op 419 kernel/trace/trace_probe.c code->op = FETCH_OP_IMM; op 428 kernel/trace/trace_probe.c code->op = FETCH_OP_DEREF; op 466 kernel/trace/trace_probe.c if (code->op == FETCH_OP_COMM || op 467 kernel/trace/trace_probe.c code->op == FETCH_OP_DATA) { op 477 kernel/trace/trace_probe.c code->op = deref; op 486 kernel/trace/trace_probe.c code->op = FETCH_OP_DATA; op 493 kernel/trace/trace_probe.c code->op = FETCH_OP_IMM; op 497 kernel/trace/trace_probe.c if (!ret && code->op == FETCH_OP_NOP) { op 530 kernel/trace/trace_probe.c if (code->op != FETCH_OP_NOP) op 534 kernel/trace/trace_probe.c code->op = FETCH_OP_MOD_BF; op 624 kernel/trace/trace_probe.c code[FETCH_INSN_MAX - 1].op = FETCH_OP_END; op 634 kernel/trace/trace_probe.c if (code->op != FETCH_OP_DEREF && code->op != FETCH_OP_UDEREF && op 635 kernel/trace/trace_probe.c code->op != FETCH_OP_IMM && code->op != FETCH_OP_COMM && op 636 kernel/trace/trace_probe.c code->op != FETCH_OP_DATA) { op 642 kernel/trace/trace_probe.c if ((code->op == FETCH_OP_IMM || code->op == FETCH_OP_COMM) || op 651 kernel/trace/trace_probe.c if (code->op != FETCH_OP_NOP) { op 659 kernel/trace/trace_probe.c code->op == FETCH_OP_UDEREF) op 660 kernel/trace/trace_probe.c code->op = FETCH_OP_ST_USTRING; op 662 kernel/trace/trace_probe.c code->op = FETCH_OP_ST_STRING; op 665 kernel/trace/trace_probe.c } else if (code->op == FETCH_OP_DEREF) { op 666 kernel/trace/trace_probe.c code->op = FETCH_OP_ST_MEM; op 668 kernel/trace/trace_probe.c } else if (code->op == FETCH_OP_UDEREF) { op 669 kernel/trace/trace_probe.c code->op = FETCH_OP_ST_UMEM; op 673 kernel/trace/trace_probe.c if (code->op != FETCH_OP_NOP) { op 678 kernel/trace/trace_probe.c code->op = FETCH_OP_ST_RAW; op 692 kernel/trace/trace_probe.c if (scode->op != FETCH_OP_ST_MEM && op 693 kernel/trace/trace_probe.c scode->op != FETCH_OP_ST_STRING && op 694 kernel/trace/trace_probe.c scode->op != FETCH_OP_ST_USTRING) { op 701 kernel/trace/trace_probe.c if (code->op != FETCH_OP_NOP) { op 706 kernel/trace/trace_probe.c code->op = FETCH_OP_LP_ARRAY; op 710 kernel/trace/trace_probe.c code->op = FETCH_OP_END; op 722 kernel/trace/trace_probe.c if (code->op == FETCH_NOP_SYMBOL || op 723 kernel/trace/trace_probe.c code->op == FETCH_OP_DATA) op 793 kernel/trace/trace_probe.c while (code && code->op != FETCH_OP_END) { op 794 kernel/trace/trace_probe.c if (code->op == FETCH_NOP_SYMBOL || op 795 kernel/trace/trace_probe.c code->op == FETCH_OP_DATA) op 813 kernel/trace/trace_probe.c while (code && code->op != FETCH_OP_END) { op 814 kernel/trace/trace_probe.c if (code->op == FETCH_NOP_SYMBOL) { op 815 kernel/trace/trace_probe.c if (code[1].op != FETCH_OP_IMM) op 111 kernel/trace/trace_probe.h enum fetch_op op; op 83 kernel/trace/trace_probe_tmpl.h if (code->op == FETCH_OP_DEREF) { op 87 kernel/trace/trace_probe_tmpl.h } else if (code->op == FETCH_OP_UDEREF) { op 102 kernel/trace/trace_probe_tmpl.h if (code->op == FETCH_OP_ST_STRING) { op 106 kernel/trace/trace_probe_tmpl.h } else if (code->op == FETCH_OP_ST_USTRING) { op 114 kernel/trace/trace_probe_tmpl.h switch (code->op) { op 138 kernel/trace/trace_probe_tmpl.h if (code->op == FETCH_OP_MOD_BF) { op 145 kernel/trace/trace_probe_tmpl.h if (code->op == FETCH_OP_LP_ARRAY) { op 149 kernel/trace/trace_probe_tmpl.h if (s3->op != FETCH_OP_ST_STRING && op 150 kernel/trace/trace_probe_tmpl.h s3->op != FETCH_OP_ST_USTRING) { op 167 kernel/trace/trace_probe_tmpl.h return code->op == FETCH_OP_END ? ret : -EILSEQ; op 215 kernel/trace/trace_sched_wakeup.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 109 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 118 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 127 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 136 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 145 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 419 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 434 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 548 kernel/trace/trace_selftest.c struct ftrace_ops *op, op 293 kernel/trace/trace_stack.c struct ftrace_ops *op, struct pt_regs *pt_regs) op 226 kernel/trace/trace_uprobe.c switch (code->op) { op 680 kernel/user_namespace.c return seq->op->start(seq, pos); op 234 lib/842/842_decompress.c u8 op = decomp_ops[o][i]; op 236 lib/842/842_decompress.c pr_debug("op is %x\n", op); op 238 lib/842/842_decompress.c switch (op & OP_ACTION) { op 240 lib/842/842_decompress.c ret = do_data(p, op & OP_AMOUNT); op 243 lib/842/842_decompress.c ret = do_index(p, op & OP_AMOUNT); op 248 lib/842/842_decompress.c pr_err("Internal error, invalid op %x\n", op); op 282 lib/842/842_decompress.c u64 op, rep, tmp, bytes, total; op 297 lib/842/842_decompress.c ret = next_bits(&p, &op, OP_BITS); op 301 lib/842/842_decompress.c pr_debug("template is %lx\n", (unsigned long)op); op 303 lib/842/842_decompress.c switch (op) { op 367 lib/842/842_decompress.c ret = do_op(&p, op); op 372 lib/842/842_decompress.c } while (op != OP_END); op 175 lib/asn1_decoder.c enum asn1_opcode op; op 205 lib/asn1_decoder.c op = machine[pc]; op 206 lib/asn1_decoder.c if (unlikely(pc + asn1_op_lengths[op] > machlen)) op 212 lib/asn1_decoder.c if (op <= ASN1_OP__MATCHES_TAG) { op 216 lib/asn1_decoder.c if ((op & ASN1_OP_MATCH__COND && flags & FLAG_MATCHED) || op 217 lib/asn1_decoder.c (op & ASN1_OP_MATCH__SKIP && dp == datalen)) { op 219 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 233 lib/asn1_decoder.c if (op & ASN1_OP_MATCH__ANY) { op 250 lib/asn1_decoder.c if (op & ASN1_OP_MATCH__SKIP) { op 251 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 311 lib/asn1_decoder.c switch (op) { op 339 lib/asn1_decoder.c if (op & ASN1_OP_MATCH__ACT) { op 342 lib/asn1_decoder.c if (op & ASN1_OP_MATCH__ANY) op 353 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 362 lib/asn1_decoder.c jump_stack[jsp++] = pc + asn1_op_lengths[op]; op 369 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 407 lib/asn1_decoder.c if (op & ASN1_OP_END__OF) { op 420 lib/asn1_decoder.c if (dp < len && (op & ASN1_OP_END__OF)) { op 433 lib/asn1_decoder.c if (op & ASN1_OP_END__ACT) { op 435 lib/asn1_decoder.c if (op & ASN1_OP_END__OF) op 443 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 448 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 457 lib/asn1_decoder.c pc += asn1_op_lengths[op]; op 473 lib/asn1_decoder.c op, pc); op 69 lib/atomic64.c #define ATOMIC64_OP(op, c_op) \ op 70 lib/atomic64.c void atomic64_##op(s64 a, atomic64_t *v) \ op 79 lib/atomic64.c EXPORT_SYMBOL(atomic64_##op); op 81 lib/atomic64.c #define ATOMIC64_OP_RETURN(op, c_op) \ op 82 lib/atomic64.c s64 atomic64_##op##_return(s64 a, atomic64_t *v) \ op 93 lib/atomic64.c EXPORT_SYMBOL(atomic64_##op##_return); op 95 lib/atomic64.c #define ATOMIC64_FETCH_OP(op, c_op) \ op 96 lib/atomic64.c s64 atomic64_fetch_##op(s64 a, atomic64_t *v) \ op 108 lib/atomic64.c EXPORT_SYMBOL(atomic64_fetch_##op); op 110 lib/atomic64.c #define ATOMIC64_OPS(op, c_op) \ op 111 lib/atomic64.c ATOMIC64_OP(op, c_op) \ op 112 lib/atomic64.c ATOMIC64_OP_RETURN(op, c_op) \ op 113 lib/atomic64.c ATOMIC64_FETCH_OP(op, c_op) op 119 lib/atomic64.c #define ATOMIC64_OPS(op, c_op) \ op 120 lib/atomic64.c ATOMIC64_OP(op, c_op) \ op 121 lib/atomic64.c ATOMIC64_OP_RETURN(op, c_op) \ op 122 lib/atomic64.c ATOMIC64_FETCH_OP(op, c_op) op 20 lib/atomic64_test.c #define TEST(bit, op, c_op, val) \ op 24 lib/atomic64_test.c atomic##bit##_##op(val, &v); \ op 36 lib/atomic64_test.c #define FAMILY_TEST(test, bit, op, args...) \ op 38 lib/atomic64_test.c test(bit, op, ##args); \ op 39 lib/atomic64_test.c test(bit, op##_acquire, ##args); \ op 40 lib/atomic64_test.c test(bit, op##_release, ##args); \ op 41 lib/atomic64_test.c test(bit, op##_relaxed, ##args); \ op 44 lib/atomic64_test.c #define TEST_RETURN(bit, op, c_op, val) \ op 49 lib/atomic64_test.c BUG_ON(atomic##bit##_##op(val, &v) != r); \ op 53 lib/atomic64_test.c #define TEST_FETCH(bit, op, c_op, val) \ op 58 lib/atomic64_test.c BUG_ON(atomic##bit##_##op(val, &v) != v0); \ op 62 lib/atomic64_test.c #define RETURN_FAMILY_TEST(bit, op, c_op, val) \ op 64 lib/atomic64_test.c FAMILY_TEST(TEST_RETURN, bit, op, c_op, val); \ op 67 lib/atomic64_test.c #define FETCH_FAMILY_TEST(bit, op, c_op, val) \ op 69 lib/atomic64_test.c FAMILY_TEST(TEST_FETCH, bit, op, c_op, val); \ op 72 lib/atomic64_test.c #define TEST_ARGS(bit, op, init, ret, expect, args...) \ op 75 lib/atomic64_test.c BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \ op 399 lib/dynamic_debug.c int op = '=', i; op 405 lib/dynamic_debug.c op = *str++; op 411 lib/dynamic_debug.c vpr_info("op='%c'\n", op); op 428 lib/dynamic_debug.c switch (op) { op 200 lib/lz4/lz4_compress.c BYTE *op = (BYTE *) dest; op 201 lib/lz4/lz4_compress.c BYTE * const olimit = op + maxOutputSize; op 304 lib/lz4/lz4_compress.c token = op++; op 308 lib/lz4/lz4_compress.c (unlikely(op + litLength + op 319 lib/lz4/lz4_compress.c *op++ = 255; op 320 lib/lz4/lz4_compress.c *op++ = (BYTE)len; op 325 lib/lz4/lz4_compress.c LZ4_wildCopy(op, anchor, op + litLength); op 326 lib/lz4/lz4_compress.c op += litLength; op 331 lib/lz4/lz4_compress.c LZ4_writeLE16(op, (U16)(ip - match)); op 332 lib/lz4/lz4_compress.c op += 2; op 369 lib/lz4/lz4_compress.c (unlikely(op + op 377 lib/lz4/lz4_compress.c LZ4_write32(op, 0xFFFFFFFF); op 380 lib/lz4/lz4_compress.c op += 4; op 381 lib/lz4/lz4_compress.c LZ4_write32(op, 0xFFFFFFFF); op 385 lib/lz4/lz4_compress.c op += matchCode / 255; op 386 lib/lz4/lz4_compress.c *op++ = (BYTE)(matchCode % 255); op 419 lib/lz4/lz4_compress.c token = op++; op 435 lib/lz4/lz4_compress.c ((op - (BYTE *)dest) + lastRun + 1 + op 441 lib/lz4/lz4_compress.c *op++ = RUN_MASK << ML_BITS; op 443 lib/lz4/lz4_compress.c *op++ = 255; op 444 lib/lz4/lz4_compress.c *op++ = (BYTE) accumulator; op 446 lib/lz4/lz4_compress.c *op++ = (BYTE)(lastRun << ML_BITS); op 449 lib/lz4/lz4_compress.c memcpy(op, anchor, lastRun); op 451 lib/lz4/lz4_compress.c op += lastRun; op 455 lib/lz4/lz4_compress.c return (int) (((char *)op) - dest); op 538 lib/lz4/lz4_compress.c BYTE *op = (BYTE *) dst; op 539 lib/lz4/lz4_compress.c BYTE * const oend = op + targetDstSize; op 540 lib/lz4/lz4_compress.c BYTE * const oMaxLit = op + targetDstSize - 2 /* offset */ op 542 lib/lz4/lz4_compress.c BYTE * const oMaxMatch = op + targetDstSize op 614 lib/lz4/lz4_compress.c token = op++; op 615 lib/lz4/lz4_compress.c if (op + ((litLength + 240) / 255) op 618 lib/lz4/lz4_compress.c op--; op 625 lib/lz4/lz4_compress.c *op++ = 255; op 626 lib/lz4/lz4_compress.c *op++ = (BYTE)len; op 631 lib/lz4/lz4_compress.c LZ4_wildCopy(op, anchor, op + litLength); op 632 lib/lz4/lz4_compress.c op += litLength; op 637 lib/lz4/lz4_compress.c LZ4_writeLE16(op, (U16)(ip - match)); op += 2; op 644 lib/lz4/lz4_compress.c if (op + ((matchLength + 240)/255) > oMaxMatch) { op 646 lib/lz4/lz4_compress.c matchLength = (15 - 1) + (oMaxMatch - op) * 255; op 655 lib/lz4/lz4_compress.c *op++ = 255; op 657 lib/lz4/lz4_compress.c *op++ = (BYTE)matchLength; op 667 lib/lz4/lz4_compress.c if (op > oMaxSeq) op 679 lib/lz4/lz4_compress.c token = op++; *token = 0; op 692 lib/lz4/lz4_compress.c if (op + 1 /* token */ op 696 lib/lz4/lz4_compress.c lastRunSize = (oend - op) - 1; op 704 lib/lz4/lz4_compress.c *op++ = RUN_MASK << ML_BITS; op 706 lib/lz4/lz4_compress.c *op++ = 255; op 707 lib/lz4/lz4_compress.c *op++ = (BYTE) accumulator; op 709 lib/lz4/lz4_compress.c *op++ = (BYTE)(lastRunSize<<ML_BITS); op 711 lib/lz4/lz4_compress.c memcpy(op, anchor, lastRunSize); op 712 lib/lz4/lz4_compress.c op += lastRunSize; op 717 lib/lz4/lz4_compress.c return (int) (((char *)op) - dst); op 86 lib/lz4/lz4_decompress.c BYTE *op = (BYTE *) dst; op 87 lib/lz4/lz4_decompress.c BYTE * const oend = op + outputSize; op 107 lib/lz4/lz4_decompress.c assert(lowPrefix <= op); op 151 lib/lz4/lz4_decompress.c (op <= shortoend))) { op 153 lib/lz4/lz4_decompress.c memcpy(op, ip, endOnInput ? 16 : 8); op 154 lib/lz4/lz4_decompress.c op += length; ip += length; op 164 lib/lz4/lz4_decompress.c match = op - offset; op 165 lib/lz4/lz4_decompress.c assert(match <= op); /* check overflow */ op 172 lib/lz4/lz4_decompress.c memcpy(op + 0, match + 0, 8); op 173 lib/lz4/lz4_decompress.c memcpy(op + 8, match + 8, 8); op 174 lib/lz4/lz4_decompress.c memcpy(op + 16, match + 16, 2); op 175 lib/lz4/lz4_decompress.c op += length + MINMATCH; op 204 lib/lz4/lz4_decompress.c && unlikely((uptrval)(op) + op 205 lib/lz4/lz4_decompress.c length < (uptrval)(op))) { op 218 lib/lz4/lz4_decompress.c cpy = op + length; op 231 lib/lz4/lz4_decompress.c length = oend - op; op 263 lib/lz4/lz4_decompress.c memcpy(op, ip, length); op 265 lib/lz4/lz4_decompress.c op += length; op 272 lib/lz4/lz4_decompress.c LZ4_wildCopy(op, ip, cpy); op 274 lib/lz4/lz4_decompress.c op = cpy; op 280 lib/lz4/lz4_decompress.c match = op - offset; op 297 lib/lz4/lz4_decompress.c assert(oend > op); op 298 lib/lz4/lz4_decompress.c assert(oend - op >= 4); op 300 lib/lz4/lz4_decompress.c LZ4_write32(op, (U32)offset); op 317 lib/lz4/lz4_decompress.c (uptrval)(op) + length < (uptrval)op)) { op 327 lib/lz4/lz4_decompress.c if (unlikely(op + length > oend - LASTLITERALS)) { op 331 lib/lz4/lz4_decompress.c length = min(length, (size_t)(oend - op)); op 339 lib/lz4/lz4_decompress.c memmove(op, dictEnd - (lowPrefix - match), op 341 lib/lz4/lz4_decompress.c op += length; op 350 lib/lz4/lz4_decompress.c memcpy(op, dictEnd - copySize, copySize); op 351 lib/lz4/lz4_decompress.c op += copySize; op 352 lib/lz4/lz4_decompress.c if (restSize > (size_t)(op - lowPrefix)) { op 354 lib/lz4/lz4_decompress.c BYTE * const endOfMatch = op + restSize; op 357 lib/lz4/lz4_decompress.c while (op < endOfMatch) op 358 lib/lz4/lz4_decompress.c *op++ = *copyFrom++; op 360 lib/lz4/lz4_decompress.c memcpy(op, lowPrefix, restSize); op 361 lib/lz4/lz4_decompress.c op += restSize; op 368 lib/lz4/lz4_decompress.c cpy = op + length; op 374 lib/lz4/lz4_decompress.c assert(op <= oend); op 377 lib/lz4/lz4_decompress.c size_t const mlen = min(length, (size_t)(oend - op)); op 379 lib/lz4/lz4_decompress.c BYTE * const copyEnd = op + mlen; op 381 lib/lz4/lz4_decompress.c if (matchEnd > op) { op 383 lib/lz4/lz4_decompress.c while (op < copyEnd) op 384 lib/lz4/lz4_decompress.c *op++ = *match++; op 386 lib/lz4/lz4_decompress.c memcpy(op, match, mlen); op 388 lib/lz4/lz4_decompress.c op = copyEnd; op 389 lib/lz4/lz4_decompress.c if (op == oend) op 395 lib/lz4/lz4_decompress.c op[0] = match[0]; op 396 lib/lz4/lz4_decompress.c op[1] = match[1]; op 397 lib/lz4/lz4_decompress.c op[2] = match[2]; op 398 lib/lz4/lz4_decompress.c op[3] = match[3]; op 400 lib/lz4/lz4_decompress.c memcpy(op + 4, match, 4); op 403 lib/lz4/lz4_decompress.c LZ4_copy8(op, match); op 407 lib/lz4/lz4_decompress.c op += 8; op 420 lib/lz4/lz4_decompress.c if (op < oCopyLimit) { op 421 lib/lz4/lz4_decompress.c LZ4_wildCopy(op, match, oCopyLimit); op 422 lib/lz4/lz4_decompress.c match += oCopyLimit - op; op 423 lib/lz4/lz4_decompress.c op = oCopyLimit; op 425 lib/lz4/lz4_decompress.c while (op < cpy) op 426 lib/lz4/lz4_decompress.c *op++ = *match++; op 428 lib/lz4/lz4_decompress.c LZ4_copy8(op, match); op 430 lib/lz4/lz4_decompress.c LZ4_wildCopy(op + 8, match + 8, cpy); op 432 lib/lz4/lz4_decompress.c op = cpy; /* wildcopy correction */ op 438 lib/lz4/lz4_decompress.c return (int) (((char *)op) - dst); op 264 lib/lz4/lz4hc_compress.c BYTE **op, op 276 lib/lz4/lz4hc_compress.c token = (*op)++; op 279 lib/lz4/lz4hc_compress.c && ((*op + (length>>8) op 290 lib/lz4/lz4hc_compress.c *(*op)++ = 255; op 291 lib/lz4/lz4hc_compress.c *(*op)++ = (BYTE)len; op 296 lib/lz4/lz4hc_compress.c LZ4_wildCopy(*op, *anchor, (*op) + length); op 297 lib/lz4/lz4hc_compress.c *op += length; op 300 lib/lz4/lz4hc_compress.c LZ4_writeLE16(*op, (U16)(*ip - match)); op 301 lib/lz4/lz4hc_compress.c *op += 2; op 307 lib/lz4/lz4hc_compress.c && (*op + (length>>8) op 318 lib/lz4/lz4hc_compress.c *(*op)++ = 255; op 319 lib/lz4/lz4hc_compress.c *(*op)++ = 255; op 324 lib/lz4/lz4hc_compress.c *(*op)++ = 255; op 327 lib/lz4/lz4hc_compress.c *(*op)++ = (BYTE)length; op 354 lib/lz4/lz4hc_compress.c BYTE *op = (BYTE *) dest; op 355 lib/lz4/lz4hc_compress.c BYTE * const oend = op + maxOutputSize; op 402 lib/lz4/lz4hc_compress.c if (LZ4HC_encodeSequence(&ip, &op, op 468 lib/lz4/lz4hc_compress.c if (LZ4HC_encodeSequence(&ip, &op, &anchor, op 472 lib/lz4/lz4hc_compress.c if (LZ4HC_encodeSequence(&ip, &op, &anchor, op 498 lib/lz4/lz4hc_compress.c if (LZ4HC_encodeSequence(&ip, &op, &anchor, op 539 lib/lz4/lz4hc_compress.c if (LZ4HC_encodeSequence(&ip, &op, &anchor, ml, op 559 lib/lz4/lz4hc_compress.c && (((char *)op - dest) + lastRun + 1 op 566 lib/lz4/lz4hc_compress.c *op++ = (RUN_MASK<<ML_BITS); op 569 lib/lz4/lz4hc_compress.c *op++ = 255; op 570 lib/lz4/lz4hc_compress.c *op++ = (BYTE) lastRun; op 572 lib/lz4/lz4hc_compress.c *op++ = (BYTE)(lastRun<<ML_BITS); op 573 lib/lz4/lz4hc_compress.c memcpy(op, anchor, iend - anchor); op 574 lib/lz4/lz4hc_compress.c op += iend - anchor; op 578 lib/lz4/lz4hc_compress.c return (int) (((char *)op) - dest); op 28 lib/lzo/lzo1x_compress.c unsigned char *op; op 34 lib/lzo/lzo1x_compress.c op = out; op 120 lib/lzo/lzo1x_compress.c op[*state_offset] |= t; op 121 lib/lzo/lzo1x_compress.c COPY4(op, ii); op 122 lib/lzo/lzo1x_compress.c op += t; op 124 lib/lzo/lzo1x_compress.c *op++ = (t - 3); op 125 lib/lzo/lzo1x_compress.c COPY8(op, ii); op 126 lib/lzo/lzo1x_compress.c COPY8(op + 8, ii + 8); op 127 lib/lzo/lzo1x_compress.c op += t; op 130 lib/lzo/lzo1x_compress.c *op++ = (t - 3); op 133 lib/lzo/lzo1x_compress.c *op++ = 0; op 136 lib/lzo/lzo1x_compress.c *op++ = 0; op 138 lib/lzo/lzo1x_compress.c *op++ = tt; op 141 lib/lzo/lzo1x_compress.c COPY8(op, ii); op 142 lib/lzo/lzo1x_compress.c COPY8(op + 8, ii + 8); op 143 lib/lzo/lzo1x_compress.c op += 16; op 148 lib/lzo/lzo1x_compress.c *op++ = *ii++; op 157 lib/lzo/lzo1x_compress.c | (run_length & 0x7), op); op 158 lib/lzo/lzo1x_compress.c op += 4; op 248 lib/lzo/lzo1x_compress.c *op++ = (((m_len - 1) << 5) | ((m_off & 7) << 2)); op 249 lib/lzo/lzo1x_compress.c *op++ = (m_off >> 3); op 253 lib/lzo/lzo1x_compress.c *op++ = (M3_MARKER | (m_len - 2)); op 256 lib/lzo/lzo1x_compress.c *op++ = M3_MARKER | 0; op 259 lib/lzo/lzo1x_compress.c *op++ = 0; op 261 lib/lzo/lzo1x_compress.c *op++ = (m_len); op 263 lib/lzo/lzo1x_compress.c *op++ = (m_off << 2); op 264 lib/lzo/lzo1x_compress.c *op++ = (m_off >> 6); op 268 lib/lzo/lzo1x_compress.c *op++ = (M4_MARKER | ((m_off >> 11) & 8) op 285 lib/lzo/lzo1x_compress.c *op++ = (M4_MARKER | ((m_off >> 11) & 8)); op 288 lib/lzo/lzo1x_compress.c *op++ = 0; op 290 lib/lzo/lzo1x_compress.c *op++ = (m_len); op 292 lib/lzo/lzo1x_compress.c *op++ = (m_off << 2); op 293 lib/lzo/lzo1x_compress.c *op++ = (m_off >> 6); op 300 lib/lzo/lzo1x_compress.c *out_len = op - out; op 309 lib/lzo/lzo1x_compress.c unsigned char *op = out; op 319 lib/lzo/lzo1x_compress.c *op++ = 17; op 320 lib/lzo/lzo1x_compress.c *op++ = bitstream_version; op 326 lib/lzo/lzo1x_compress.c data_start = op; op 335 lib/lzo/lzo1x_compress.c t = lzo1x_1_do_compress(ip, ll, op, out_len, t, wrkmem, op 338 lib/lzo/lzo1x_compress.c op += *out_len; op 346 lib/lzo/lzo1x_compress.c if (op == data_start && t <= 238) { op 347 lib/lzo/lzo1x_compress.c *op++ = (17 + t); op 349 lib/lzo/lzo1x_compress.c op[state_offset] |= t; op 351 lib/lzo/lzo1x_compress.c *op++ = (t - 3); op 354 lib/lzo/lzo1x_compress.c *op++ = 0; op 357 lib/lzo/lzo1x_compress.c *op++ = 0; op 359 lib/lzo/lzo1x_compress.c *op++ = tt; op 362 lib/lzo/lzo1x_compress.c COPY8(op, ii); op 363 lib/lzo/lzo1x_compress.c COPY8(op + 8, ii + 8); op 364 lib/lzo/lzo1x_compress.c op += 16; op 369 lib/lzo/lzo1x_compress.c *op++ = *ii++; op 373 lib/lzo/lzo1x_compress.c *op++ = M4_MARKER | 1; op 374 lib/lzo/lzo1x_compress.c *op++ = 0; op 375 lib/lzo/lzo1x_compress.c *op++ = 0; op 377 lib/lzo/lzo1x_compress.c *out_len = op - out; op 24 lib/lzo/lzo1x_decompress_safe.c #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) op 42 lib/lzo/lzo1x_decompress_safe.c unsigned char *op; op 52 lib/lzo/lzo1x_decompress_safe.c op = out; op 98 lib/lzo/lzo1x_decompress_safe.c unsigned char *oe = op + t; op 100 lib/lzo/lzo1x_decompress_safe.c COPY8(op, ip); op 101 lib/lzo/lzo1x_decompress_safe.c op += 8; op 103 lib/lzo/lzo1x_decompress_safe.c COPY8(op, ip); op 104 lib/lzo/lzo1x_decompress_safe.c op += 8; op 108 lib/lzo/lzo1x_decompress_safe.c op = oe; op 115 lib/lzo/lzo1x_decompress_safe.c *op++ = *ip++; op 122 lib/lzo/lzo1x_decompress_safe.c m_pos = op - 1; op 127 lib/lzo/lzo1x_decompress_safe.c op[0] = m_pos[0]; op 128 lib/lzo/lzo1x_decompress_safe.c op[1] = m_pos[1]; op 129 lib/lzo/lzo1x_decompress_safe.c op += 2; op 133 lib/lzo/lzo1x_decompress_safe.c m_pos = op - (1 + M2_MAX_OFFSET); op 140 lib/lzo/lzo1x_decompress_safe.c m_pos = op - 1; op 162 lib/lzo/lzo1x_decompress_safe.c m_pos = op - 1; op 178 lib/lzo/lzo1x_decompress_safe.c memset(op, 0, t); op 179 lib/lzo/lzo1x_decompress_safe.c op += t; op 184 lib/lzo/lzo1x_decompress_safe.c m_pos = op; op 207 lib/lzo/lzo1x_decompress_safe.c if (m_pos == op) op 214 lib/lzo/lzo1x_decompress_safe.c if (op - m_pos >= 8) { op 215 lib/lzo/lzo1x_decompress_safe.c unsigned char *oe = op + t; op 218 lib/lzo/lzo1x_decompress_safe.c COPY8(op, m_pos); op 219 lib/lzo/lzo1x_decompress_safe.c op += 8; op 221 lib/lzo/lzo1x_decompress_safe.c COPY8(op, m_pos); op 222 lib/lzo/lzo1x_decompress_safe.c op += 8; op 224 lib/lzo/lzo1x_decompress_safe.c } while (op < oe); op 225 lib/lzo/lzo1x_decompress_safe.c op = oe; op 228 lib/lzo/lzo1x_decompress_safe.c COPY4(op, ip); op 229 lib/lzo/lzo1x_decompress_safe.c op += next; op 236 lib/lzo/lzo1x_decompress_safe.c *op++ = *m_pos++; op 237 lib/lzo/lzo1x_decompress_safe.c } while (op < oe); op 242 lib/lzo/lzo1x_decompress_safe.c unsigned char *oe = op + t; op 244 lib/lzo/lzo1x_decompress_safe.c op[0] = m_pos[0]; op 245 lib/lzo/lzo1x_decompress_safe.c op[1] = m_pos[1]; op 246 lib/lzo/lzo1x_decompress_safe.c op += 2; op 249 lib/lzo/lzo1x_decompress_safe.c *op++ = *m_pos++; op 250 lib/lzo/lzo1x_decompress_safe.c } while (op < oe); op 257 lib/lzo/lzo1x_decompress_safe.c COPY4(op, ip); op 258 lib/lzo/lzo1x_decompress_safe.c op += t; op 266 lib/lzo/lzo1x_decompress_safe.c *op++ = *ip++; op 273 lib/lzo/lzo1x_decompress_safe.c *out_len = op - out; op 279 lib/lzo/lzo1x_decompress_safe.c *out_len = op - out; op 283 lib/lzo/lzo1x_decompress_safe.c *out_len = op - out; op 287 lib/lzo/lzo1x_decompress_safe.c *out_len = op - out; op 89 lib/packing.c enum packing_op op, u8 quirks) op 113 lib/packing.c if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width))) op 121 lib/packing.c if (op == UNPACK) op 176 lib/packing.c if (op == UNPACK) { op 62 lib/smp_processor_id.c notrace void __this_cpu_preempt_check(const char *op) op 64 lib/smp_processor_id.c check_preemption_disabled("__this_cpu_", op); op 218 lib/test_overflow.c #define check_one_op(t, fmt, op, sym, a, b, r, of) do { \ op 222 lib/test_overflow.c _of = check_ ## op ## _overflow(a, b, &_r); \ op 162 lib/ubsan.c void *rhs, char op) op 180 lib/ubsan.c op, op 110 lib/zlib_inflate/inffast.c unsigned op; /* code bits, operation, extra bits, or */ op 148 lib/zlib_inflate/inffast.c op = (unsigned)(this.bits); op 149 lib/zlib_inflate/inffast.c hold >>= op; op 150 lib/zlib_inflate/inffast.c bits -= op; op 151 lib/zlib_inflate/inffast.c op = (unsigned)(this.op); op 152 lib/zlib_inflate/inffast.c if (op == 0) { /* literal */ op 155 lib/zlib_inflate/inffast.c else if (op & 16) { /* length base */ op 157 lib/zlib_inflate/inffast.c op &= 15; /* number of extra bits */ op 158 lib/zlib_inflate/inffast.c if (op) { op 159 lib/zlib_inflate/inffast.c if (bits < op) { op 163 lib/zlib_inflate/inffast.c len += (unsigned)hold & ((1U << op) - 1); op 164 lib/zlib_inflate/inffast.c hold >>= op; op 165 lib/zlib_inflate/inffast.c bits -= op; op 175 lib/zlib_inflate/inffast.c op = (unsigned)(this.bits); op 176 lib/zlib_inflate/inffast.c hold >>= op; op 177 lib/zlib_inflate/inffast.c bits -= op; op 178 lib/zlib_inflate/inffast.c op = (unsigned)(this.op); op 179 lib/zlib_inflate/inffast.c if (op & 16) { /* distance base */ op 181 lib/zlib_inflate/inffast.c op &= 15; /* number of extra bits */ op 182 lib/zlib_inflate/inffast.c if (bits < op) { op 185 lib/zlib_inflate/inffast.c if (bits < op) { op 190 lib/zlib_inflate/inffast.c dist += (unsigned)hold & ((1U << op) - 1); op 198 lib/zlib_inflate/inffast.c hold >>= op; op 199 lib/zlib_inflate/inffast.c bits -= op; op 200 lib/zlib_inflate/inffast.c op = (unsigned)(out - beg); /* max distance in output */ op 201 lib/zlib_inflate/inffast.c if (dist > op) { /* see if copy from window */ op 202 lib/zlib_inflate/inffast.c op = dist - op; /* distance back in window */ op 203 lib/zlib_inflate/inffast.c if (op > whave) { op 210 lib/zlib_inflate/inffast.c from += wsize - op; op 211 lib/zlib_inflate/inffast.c if (op < len) { /* some from window */ op 212 lib/zlib_inflate/inffast.c len -= op; op 215 lib/zlib_inflate/inffast.c } while (--op); op 219 lib/zlib_inflate/inffast.c else if (write < op) { /* wrap around window */ op 220 lib/zlib_inflate/inffast.c from += wsize + write - op; op 221 lib/zlib_inflate/inffast.c op -= write; op 222 lib/zlib_inflate/inffast.c if (op < len) { /* some from end of window */ op 223 lib/zlib_inflate/inffast.c len -= op; op 226 lib/zlib_inflate/inffast.c } while (--op); op 229 lib/zlib_inflate/inffast.c op = write; op 230 lib/zlib_inflate/inffast.c len -= op; op 233 lib/zlib_inflate/inffast.c } while (--op); op 239 lib/zlib_inflate/inffast.c from += write - op; op 240 lib/zlib_inflate/inffast.c if (op < len) { /* some from window */ op 241 lib/zlib_inflate/inffast.c len -= op; op 244 lib/zlib_inflate/inffast.c } while (--op); op 307 lib/zlib_inflate/inffast.c else if ((op & 64) == 0) { /* 2nd level distance code */ op 308 lib/zlib_inflate/inffast.c this = dcode[this.val + (hold & ((1U << op) - 1))]; op 317 lib/zlib_inflate/inffast.c else if ((op & 64) == 0) { /* 2nd level length code */ op 318 lib/zlib_inflate/inffast.c this = lcode[this.val + (hold & ((1U << op) - 1))]; op 321 lib/zlib_inflate/inffast.c else if (op & 32) { /* end-of-block */ op 576 lib/zlib_inflate/inflate.c if (this.op && (this.op & 0xf0) == 0) { op 580 lib/zlib_inflate/inflate.c (BITS(last.bits + last.op) >> last.bits)]; op 588 lib/zlib_inflate/inflate.c if ((int)(this.op) == 0) { op 592 lib/zlib_inflate/inflate.c if (this.op & 32) { op 596 lib/zlib_inflate/inflate.c if (this.op & 64) { op 601 lib/zlib_inflate/inflate.c state->extra = (unsigned)(this.op) & 15; op 618 lib/zlib_inflate/inflate.c if ((this.op & 0xf0) == 0) { op 622 lib/zlib_inflate/inflate.c (BITS(last.bits + last.op) >> last.bits)]; op 629 lib/zlib_inflate/inflate.c if (this.op & 64) { op 635 lib/zlib_inflate/inflate.c state->extra = (unsigned)(this.op) & 15; op 104 lib/zlib_inflate/inftrees.c this.op = (unsigned char)64; /* invalid code marker */ op 206 lib/zlib_inflate/inftrees.c this.op = (unsigned char)0; op 210 lib/zlib_inflate/inftrees.c this.op = (unsigned char)(extra[work[sym]]); op 214 lib/zlib_inflate/inftrees.c this.op = (unsigned char)(32 + 64); /* end of block */ op 271 lib/zlib_inflate/inftrees.c (*table)[low].op = (unsigned char)curr; op 284 lib/zlib_inflate/inftrees.c this.op = (unsigned char)64; /* invalid code marker */ op 28 lib/zlib_inflate/inftrees.h unsigned char op; /* operation, extra bits, table bits */ op 600 lib/zstd/compress.c BYTE *op = ostart; op 623 lib/zstd/compress.c size_t const cSize = ZSTD_compressLiterals(zc, op, dstCapacity, literals, litSize); op 626 lib/zstd/compress.c op += cSize; op 630 lib/zstd/compress.c if ((oend - op) < 3 /*max nbSeq Size*/ + 1 /*seqHead */) op 633 lib/zstd/compress.c *op++ = (BYTE)nbSeq; op 635 lib/zstd/compress.c op[0] = (BYTE)((nbSeq >> 8) + 0x80), op[1] = (BYTE)nbSeq, op += 2; op 637 lib/zstd/compress.c op[0] = 0xFF, ZSTD_writeLE16(op + 1, (U16)(nbSeq - LONGNBSEQ)), op += 3; op 639 lib/zstd/compress.c return op - ostart; op 642 lib/zstd/compress.c seqHead = op++; op 655 lib/zstd/compress.c *op++ = llCodeTable[0]; op 672 lib/zstd/compress.c size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */ op 675 lib/zstd/compress.c op += NCountSize; op 687 lib/zstd/compress.c *op++ = ofCodeTable[0]; op 704 lib/zstd/compress.c size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */ op 707 lib/zstd/compress.c op += NCountSize; op 719 lib/zstd/compress.c *op++ = *mlCodeTable; op 736 lib/zstd/compress.c size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protected */ op 739 lib/zstd/compress.c op += NCountSize; op 756 lib/zstd/compress.c CHECK_E(BIT_initCStream(&blockStream, op, oend - op), dstSize_tooSmall); /* not enough space remaining */ op 826 lib/zstd/compress.c op += streamSize; op 829 lib/zstd/compress.c return op - ostart; op 2361 lib/zstd/compress.c BYTE *op = ostart; op 2403 lib/zstd/compress.c cSize = ZSTD_compressBlock_internal(cctx, op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeaderSize, ip, blockSize); op 2411 lib/zstd/compress.c ZSTD_writeLE32(op, cBlockHeader24); /* no pb, 4th byte will be overwritten */ op 2412 lib/zstd/compress.c memcpy(op + ZSTD_blockHeaderSize, ip, blockSize); op 2416 lib/zstd/compress.c ZSTD_writeLE24(op, cBlockHeader24); op 2423 lib/zstd/compress.c op += cSize; op 2426 lib/zstd/compress.c if (lastFrameChunk && (op > ostart)) op 2428 lib/zstd/compress.c return op - ostart; op 2433 lib/zstd/compress.c BYTE *const op = (BYTE *)dst; op 2448 lib/zstd/compress.c op[4] = frameHeaderDecriptionByte; op 2451 lib/zstd/compress.c op[pos++] = windowLogByte; op 2456 lib/zstd/compress.c op[pos] = (BYTE)(dictID); op 2460 lib/zstd/compress.c ZSTD_writeLE16(op + pos, (U16)dictID); op 2464 lib/zstd/compress.c ZSTD_writeLE32(op + pos, dictID); op 2472 lib/zstd/compress.c op[pos++] = (BYTE)(pledgedSrcSize); op 2475 lib/zstd/compress.c ZSTD_writeLE16(op + pos, (U16)(pledgedSrcSize - 256)); op 2479 lib/zstd/compress.c ZSTD_writeLE32(op + pos, (U32)(pledgedSrcSize)); op 2483 lib/zstd/compress.c ZSTD_writeLE64(op + pos, (U64)(pledgedSrcSize)); op 2768 lib/zstd/compress.c BYTE *op = ostart; op 2780 lib/zstd/compress.c op += fhSize; op 2789 lib/zstd/compress.c ZSTD_writeLE32(op, cBlockHeader24); op 2790 lib/zstd/compress.c op += ZSTD_blockHeaderSize; op 2798 lib/zstd/compress.c ZSTD_writeLE32(op, checksum); op 2799 lib/zstd/compress.c op += 4; op 2803 lib/zstd/compress.c return op - ostart; op 3137 lib/zstd/compress.c char *op = ostart; op 3161 lib/zstd/compress.c size_t oSize = oend - op; op 3163 lib/zstd/compress.c cDst = op; /* compress directly into output buffer (avoid flush stage) */ op 3177 lib/zstd/compress.c if (cDst == op) { op 3178 lib/zstd/compress.c op += cSize; op 3189 lib/zstd/compress.c size_t const flushed = ZSTD_limitCopy(op, oend - op, zcs->outBuff + zcs->outBuffFlushedSize, toFlush); op 3190 lib/zstd/compress.c op += flushed; op 3211 lib/zstd/compress.c *dstCapacityPtr = op - ostart; op 3255 lib/zstd/compress.c BYTE *op = ostart; op 3267 lib/zstd/compress.c op += sizeWritten; op 3281 lib/zstd/compress.c size_t const flushed = ZSTD_limitCopy(op, oend - op, zcs->outBuff + zcs->outBuffFlushedSize, toFlush); op 3282 lib/zstd/compress.c op += flushed; op 3284 lib/zstd/compress.c output->pos += op - ostart; op 880 lib/zstd/decompress.c size_t ZSTD_execSequenceLast7(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const BYTE *const litLimit, const BYTE *const base, op 883 lib/zstd/decompress.c BYTE *const oLitEnd = op + sequence.litLength; op 885 lib/zstd/decompress.c BYTE *const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ op 899 lib/zstd/decompress.c if (op < oend_w) { op 900 lib/zstd/decompress.c ZSTD_wildcopy(op, *litPtr, oend_w - op); op 901 lib/zstd/decompress.c *litPtr += oend_w - op; op 902 lib/zstd/decompress.c op = oend_w; op 904 lib/zstd/decompress.c while (op < oLitEnd) op 905 lib/zstd/decompress.c *op++ = *(*litPtr)++; op 921 lib/zstd/decompress.c op = oLitEnd + length1; op 926 lib/zstd/decompress.c while (op < oMatchEnd) op 927 lib/zstd/decompress.c *op++ = *match++; op 1007 lib/zstd/decompress.c size_t ZSTD_execSequence(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const BYTE *const litLimit, const BYTE *const base, op 1010 lib/zstd/decompress.c BYTE *const oLitEnd = op + sequence.litLength; op 1012 lib/zstd/decompress.c BYTE *const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ op 1023 lib/zstd/decompress.c return ZSTD_execSequenceLast7(op, oend, sequence, litPtr, litLimit, base, vBase, dictEnd); op 1026 lib/zstd/decompress.c ZSTD_copy8(op, *litPtr); op 1028 lib/zstd/decompress.c ZSTD_wildcopy(op + 8, (*litPtr) + 8, op 1030 lib/zstd/decompress.c op = oLitEnd; op 1047 lib/zstd/decompress.c op = oLitEnd + length1; op 1050 lib/zstd/decompress.c if (op > oend_w || sequence.matchLength < MINMATCH) { op 1053 lib/zstd/decompress.c op[i] = match[i]; op 1066 lib/zstd/decompress.c op[0] = match[0]; op 1067 lib/zstd/decompress.c op[1] = match[1]; op 1068 lib/zstd/decompress.c op[2] = match[2]; op 1069 lib/zstd/decompress.c op[3] = match[3]; op 1071 lib/zstd/decompress.c ZSTD_copy4(op + 4, match); op 1074 lib/zstd/decompress.c ZSTD_copy8(op, match); op 1076 lib/zstd/decompress.c op += 8; op 1080 lib/zstd/decompress.c if (op < oend_w) { op 1081 lib/zstd/decompress.c ZSTD_wildcopy(op, match, oend_w - op); op 1082 lib/zstd/decompress.c match += oend_w - op; op 1083 lib/zstd/decompress.c op = oend_w; op 1085 lib/zstd/decompress.c while (op < oMatchEnd) op 1086 lib/zstd/decompress.c *op++ = *match++; op 1088 lib/zstd/decompress.c ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ op 1099 lib/zstd/decompress.c BYTE *op = ostart; op 1133 lib/zstd/decompress.c size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, dictEnd); op 1136 lib/zstd/decompress.c op += oneSeqSize; op 1154 lib/zstd/decompress.c if (lastLLSize > (size_t)(oend - op)) op 1156 lib/zstd/decompress.c memcpy(op, litPtr, lastLLSize); op 1157 lib/zstd/decompress.c op += lastLLSize; op 1160 lib/zstd/decompress.c return op - ostart; op 1263 lib/zstd/decompress.c size_t ZSTD_execSequenceLong(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const BYTE *const litLimit, const BYTE *const base, op 1266 lib/zstd/decompress.c BYTE *const oLitEnd = op + sequence.litLength; op 1268 lib/zstd/decompress.c BYTE *const oMatchEnd = op + sequenceLength; /* risk : address space overflow (32-bits) */ op 1279 lib/zstd/decompress.c return ZSTD_execSequenceLast7(op, oend, sequence, litPtr, litLimit, base, vBase, dictEnd); op 1282 lib/zstd/decompress.c ZSTD_copy8(op, *litPtr); op 1284 lib/zstd/decompress.c ZSTD_wildcopy(op + 8, (*litPtr) + 8, op 1286 lib/zstd/decompress.c op = oLitEnd; op 1302 lib/zstd/decompress.c op = oLitEnd + length1; op 1305 lib/zstd/decompress.c if (op > oend_w || sequence.matchLength < MINMATCH) { op 1308 lib/zstd/decompress.c op[i] = match[i]; op 1321 lib/zstd/decompress.c op[0] = match[0]; op 1322 lib/zstd/decompress.c op[1] = match[1]; op 1323 lib/zstd/decompress.c op[2] = match[2]; op 1324 lib/zstd/decompress.c op[3] = match[3]; op 1326 lib/zstd/decompress.c ZSTD_copy4(op + 4, match); op 1329 lib/zstd/decompress.c ZSTD_copy8(op, match); op 1331 lib/zstd/decompress.c op += 8; op 1335 lib/zstd/decompress.c if (op < oend_w) { op 1336 lib/zstd/decompress.c ZSTD_wildcopy(op, match, oend_w - op); op 1337 lib/zstd/decompress.c match += oend_w - op; op 1338 lib/zstd/decompress.c op = oend_w; op 1340 lib/zstd/decompress.c while (op < oMatchEnd) op 1341 lib/zstd/decompress.c *op++ = *match++; op 1343 lib/zstd/decompress.c ZSTD_wildcopy(op, match, (ptrdiff_t)sequence.matchLength - 8); /* works even if matchLength < 8 */ op 1354 lib/zstd/decompress.c BYTE *op = ostart; op 1388 lib/zstd/decompress.c seqState.pos = (size_t)(op - base); op 1406 lib/zstd/decompress.c ZSTD_execSequenceLong(op, oend, sequences[(seqNb - ADVANCED_SEQS) & STOSEQ_MASK], &litPtr, litEnd, base, vBase, dictEnd); op 1411 lib/zstd/decompress.c op += oneSeqSize; op 1419 lib/zstd/decompress.c size_t const oneSeqSize = ZSTD_execSequenceLong(op, oend, sequences[seqNb & STOSEQ_MASK], &litPtr, litEnd, base, vBase, dictEnd); op 1422 lib/zstd/decompress.c op += oneSeqSize; op 1436 lib/zstd/decompress.c if (lastLLSize > (size_t)(oend - op)) op 1438 lib/zstd/decompress.c memcpy(op, litPtr, lastLLSize); op 1439 lib/zstd/decompress.c op += lastLLSize; op 1442 lib/zstd/decompress.c return op - ostart; op 1571 lib/zstd/decompress.c BYTE *op = ostart; op 1604 lib/zstd/decompress.c case bt_compressed: decodedSize = ZSTD_decompressBlock_internal(dctx, op, oend - op, ip, cBlockSize); break; op 1605 lib/zstd/decompress.c case bt_raw: decodedSize = ZSTD_copyRawBlock(op, oend - op, ip, cBlockSize); break; op 1606 lib/zstd/decompress.c case bt_rle: decodedSize = ZSTD_generateNxBytes(op, oend - op, *ip, blockProperties.origSize); break; op 1614 lib/zstd/decompress.c xxh64_update(&dctx->xxhState, op, decodedSize); op 1615 lib/zstd/decompress.c op += decodedSize; op 1637 lib/zstd/decompress.c return op - ostart; op 2305 lib/zstd/decompress.c char *op = ostart; op 2335 lib/zstd/decompress.c && (U64)(size_t)(oend - op) >= zds->fParams.frameContentSize) { op 2338 lib/zstd/decompress.c size_t const decompressedSize = ZSTD_decompress_usingDDict(zds->dctx, op, oend - op, istart, cSize, zds->ddict); op 2342 lib/zstd/decompress.c op += decompressedSize; op 2445 lib/zstd/decompress.c size_t const flushedSize = ZSTD_limitCopy(op, oend - op, zds->outBuff + zds->outStart, toFlushSize); op 2446 lib/zstd/decompress.c op += flushedSize; op 2465 lib/zstd/decompress.c output->pos += (size_t)(op - ostart); op 218 lib/zstd/fse_decompress.c BYTE *op = ostart; op 219 lib/zstd/fse_decompress.c BYTE *const omax = op + maxDstSize; op 235 lib/zstd/fse_decompress.c for (; (BIT_reloadDStream(&bitD) == BIT_DStream_unfinished) & (op < olimit); op += 4) { op 236 lib/zstd/fse_decompress.c op[0] = FSE_GETSYMBOL(&state1); op 241 lib/zstd/fse_decompress.c op[1] = FSE_GETSYMBOL(&state2); op 246 lib/zstd/fse_decompress.c op += 2; op 251 lib/zstd/fse_decompress.c op[2] = FSE_GETSYMBOL(&state1); op 256 lib/zstd/fse_decompress.c op[3] = FSE_GETSYMBOL(&state2); op 262 lib/zstd/fse_decompress.c if (op > (omax - 2)) op 264 lib/zstd/fse_decompress.c *op++ = FSE_GETSYMBOL(&state1); op 266 lib/zstd/fse_decompress.c *op++ = FSE_GETSYMBOL(&state2); op 270 lib/zstd/fse_decompress.c if (op > (omax - 2)) op 272 lib/zstd/fse_decompress.c *op++ = FSE_GETSYMBOL(&state2); op 274 lib/zstd/fse_decompress.c *op++ = FSE_GETSYMBOL(&state1); op 279 lib/zstd/fse_decompress.c return op - ostart; op 85 lib/zstd/huf_compress.c BYTE *op = ostart; op 128 lib/zstd/huf_compress.c CHECK_V_F(hSize, FSE_writeNCount(op, oend - op, norm, maxSymbolValue, tableLog)); op 129 lib/zstd/huf_compress.c op += hSize; op 135 lib/zstd/huf_compress.c CHECK_V_F(cSize, FSE_compress_usingCTable(op, oend - op, weightTable, wtSize, CTable)); op 138 lib/zstd/huf_compress.c op += cSize; op 141 lib/zstd/huf_compress.c return op - ostart; op 154 lib/zstd/huf_compress.c BYTE *op = (BYTE *)dst; op 184 lib/zstd/huf_compress.c CHECK_V_F(hSize, HUF_compressWeights_wksp(op + 1, maxDstSize - 1, huffWeight, maxSymbolValue, workspace, workspaceSize)); op 186 lib/zstd/huf_compress.c op[0] = (BYTE)hSize; op 196 lib/zstd/huf_compress.c op[0] = (BYTE)(128 /*special case*/ + (maxSymbolValue - 1)); op 199 lib/zstd/huf_compress.c op[(n / 2) + 1] = (BYTE)((huffWeight[n] << 4) + huffWeight[n + 1]); op 543 lib/zstd/huf_compress.c BYTE *op = ostart; op 551 lib/zstd/huf_compress.c size_t const initErr = BIT_initCStream(&bitC, op, oend - op); op 588 lib/zstd/huf_compress.c BYTE *op = ostart; op 594 lib/zstd/huf_compress.c op += 6; /* jumpTable */ op 597 lib/zstd/huf_compress.c CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); op 601 lib/zstd/huf_compress.c op += cSize; op 606 lib/zstd/huf_compress.c CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); op 610 lib/zstd/huf_compress.c op += cSize; op 615 lib/zstd/huf_compress.c CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); op 619 lib/zstd/huf_compress.c op += cSize; op 624 lib/zstd/huf_compress.c CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, iend - ip, CTable)); op 627 lib/zstd/huf_compress.c op += cSize; op 630 lib/zstd/huf_compress.c return op - ostart; op 633 lib/zstd/huf_compress.c static size_t HUF_compressCTable_internal(BYTE *const ostart, BYTE *op, BYTE *const oend, const void *src, size_t srcSize, unsigned singleStream, op 637 lib/zstd/huf_compress.c singleStream ? HUF_compress1X_usingCTable(op, oend - op, src, srcSize, CTable) : HUF_compress4X_usingCTable(op, oend - op, src, srcSize, CTable); op 644 lib/zstd/huf_compress.c op += cSize; op 646 lib/zstd/huf_compress.c if ((size_t)(op - ostart) >= srcSize - 1) { op 649 lib/zstd/huf_compress.c return op - ostart; op 658 lib/zstd/huf_compress.c BYTE *op = ostart; op 690 lib/zstd/huf_compress.c return HUF_compressCTable_internal(ostart, op, oend, src, srcSize, singleStream, oldHufTable); op 710 lib/zstd/huf_compress.c return HUF_compressCTable_internal(ostart, op, oend, src, srcSize, singleStream, oldHufTable); op 724 lib/zstd/huf_compress.c CHECK_V_F(hSize, HUF_writeCTable_wksp(op, dstSize, CTable, maxSymbolValue, huffLog, workSpace, wkspSize)); op 730 lib/zstd/huf_compress.c return HUF_compressCTable_internal(ostart, op, oend, src, srcSize, singleStream, oldHufTable); op 737 lib/zstd/huf_compress.c op += hSize; op 745 lib/zstd/huf_compress.c return HUF_compressCTable_internal(ostart, op, oend, src, srcSize, singleStream, CTable); op 201 lib/zstd/huf_decompress.c BYTE *op = (BYTE *)dst; op 202 lib/zstd/huf_decompress.c BYTE *const oend = op + dstSize; op 215 lib/zstd/huf_decompress.c HUF_decodeStreamX2(op, &bitD, oend, dt, dtLog); op 595 lib/zstd/huf_decompress.c static U32 HUF_decodeSymbolX4(void *op, BIT_DStream_t *DStream, const HUF_DEltX4 *dt, const U32 dtLog) op 598 lib/zstd/huf_decompress.c memcpy(op, dt + val, 2); op 603 lib/zstd/huf_decompress.c static U32 HUF_decodeLastSymbolX4(void *op, BIT_DStream_t *DStream, const HUF_DEltX4 *dt, const U32 dtLog) op 606 lib/zstd/huf_decompress.c memcpy(op, dt + val, 1); op 138 lib/zstd/zstd_internal.h BYTE* op = (BYTE*)dst; op 139 lib/zstd/zstd_internal.h BYTE* const oend = op + length; op 148 lib/zstd/zstd_internal.h ZSTD_copy8(op, ip); op 149 lib/zstd/zstd_internal.h op += 8; op 151 lib/zstd/zstd_internal.h } while (op < oend); op 76 net/batman-adv/distributed-arp-table.c __u8 op; op 1539 net/batman-adv/distributed-arp-table.c __u8 op; op 1566 net/batman-adv/distributed-arp-table.c return dhcp_h->op; op 3840 net/bluetooth/mgmt.c u16 op, void *data, u16 len) op 3852 net/bluetooth/mgmt.c err = mgmt_cmd_complete(sk, hdev->id, op, op 3860 net/bluetooth/mgmt.c err = mgmt_cmd_complete(sk, hdev->id, op, MGMT_STATUS_BUSY, op 3866 net/bluetooth/mgmt.c err = mgmt_cmd_complete(sk, hdev->id, op, status, op 3878 net/bluetooth/mgmt.c if (op == MGMT_OP_START_LIMITED_DISCOVERY) op 3883 net/bluetooth/mgmt.c cmd = mgmt_pending_add(sk, op, hdev, data, len); op 218 net/bridge/br_fdb.c struct net_bridge_port *op; op 222 net/bridge/br_fdb.c list_for_each_entry(op, &br->port_list, list) { op 223 net/bridge/br_fdb.c vg = nbp_vlan_group(op); op 224 net/bridge/br_fdb.c if (op != p && ether_addr_equal(op->dev->dev_addr, addr) && op 226 net/bridge/br_fdb.c f->dst = op; op 194 net/can/bcm.c struct bcm_op *op; op 203 net/can/bcm.c list_for_each_entry(op, &bo->rx_ops, list) { op 208 net/can/bcm.c if (!op->frames_abs) op 211 net/can/bcm.c seq_printf(m, "rx_op: %03X %-5s ", op->can_id, op 212 net/can/bcm.c bcm_proc_getifname(net, ifname, op->ifindex)); op 214 net/can/bcm.c if (op->flags & CAN_FD_FRAME) op 215 net/can/bcm.c seq_printf(m, "(%u)", op->nframes); op 217 net/can/bcm.c seq_printf(m, "[%u]", op->nframes); op 219 net/can/bcm.c seq_printf(m, "%c ", (op->flags & RX_CHECK_DLC) ? 'd' : ' '); op 221 net/can/bcm.c if (op->kt_ival1) op 223 net/can/bcm.c (long long)ktime_to_us(op->kt_ival1)); op 225 net/can/bcm.c if (op->kt_ival2) op 227 net/can/bcm.c (long long)ktime_to_us(op->kt_ival2)); op 230 net/can/bcm.c op->frames_filtered, op->frames_abs); op 232 net/can/bcm.c reduction = 100 - (op->frames_filtered * 100) / op->frames_abs; op 238 net/can/bcm.c list_for_each_entry(op, &bo->tx_ops, list) { op 240 net/can/bcm.c seq_printf(m, "tx_op: %03X %s ", op->can_id, op 241 net/can/bcm.c bcm_proc_getifname(net, ifname, op->ifindex)); op 243 net/can/bcm.c if (op->flags & CAN_FD_FRAME) op 244 net/can/bcm.c seq_printf(m, "(%u) ", op->nframes); op 246 net/can/bcm.c seq_printf(m, "[%u] ", op->nframes); op 248 net/can/bcm.c if (op->kt_ival1) op 250 net/can/bcm.c (long long)ktime_to_us(op->kt_ival1)); op 252 net/can/bcm.c if (op->kt_ival2) op 254 net/can/bcm.c (long long)ktime_to_us(op->kt_ival2)); op 256 net/can/bcm.c seq_printf(m, "# sent %ld\n", op->frames_abs); op 267 net/can/bcm.c static void bcm_can_tx(struct bcm_op *op) op 271 net/can/bcm.c struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; op 274 net/can/bcm.c if (!op->ifindex) op 277 net/can/bcm.c dev = dev_get_by_index(sock_net(op->sk), op->ifindex); op 283 net/can/bcm.c skb = alloc_skb(op->cfsiz + sizeof(struct can_skb_priv), gfp_any()); op 291 net/can/bcm.c skb_put_data(skb, cf, op->cfsiz); op 295 net/can/bcm.c can_skb_set_owner(skb, op->sk); op 299 net/can/bcm.c op->currframe++; op 300 net/can/bcm.c op->frames_abs++; op 303 net/can/bcm.c if (op->currframe >= op->nframes) op 304 net/can/bcm.c op->currframe = 0; op 313 net/can/bcm.c static void bcm_send_to_user(struct bcm_op *op, struct bcm_msg_head *head, op 319 net/can/bcm.c struct sock *sk = op->sk; op 320 net/can/bcm.c unsigned int datalen = head->nframes * op->cfsiz; op 347 net/can/bcm.c skb->tstamp = op->rx_stamp; op 361 net/can/bcm.c addr->can_ifindex = op->rx_ifindex; op 373 net/can/bcm.c static bool bcm_tx_set_expiry(struct bcm_op *op, struct hrtimer *hrt) op 377 net/can/bcm.c if (op->kt_ival1 && op->count) op 378 net/can/bcm.c ival = op->kt_ival1; op 379 net/can/bcm.c else if (op->kt_ival2) op 380 net/can/bcm.c ival = op->kt_ival2; op 388 net/can/bcm.c static void bcm_tx_start_timer(struct bcm_op *op) op 390 net/can/bcm.c if (bcm_tx_set_expiry(op, &op->timer)) op 391 net/can/bcm.c hrtimer_start_expires(&op->timer, HRTIMER_MODE_ABS_SOFT); op 397 net/can/bcm.c struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); op 400 net/can/bcm.c if (op->kt_ival1 && (op->count > 0)) { op 401 net/can/bcm.c op->count--; op 402 net/can/bcm.c if (!op->count && (op->flags & TX_COUNTEVT)) { op 406 net/can/bcm.c msg_head.flags = op->flags; op 407 net/can/bcm.c msg_head.count = op->count; op 408 net/can/bcm.c msg_head.ival1 = op->ival1; op 409 net/can/bcm.c msg_head.ival2 = op->ival2; op 410 net/can/bcm.c msg_head.can_id = op->can_id; op 413 net/can/bcm.c bcm_send_to_user(op, &msg_head, NULL, 0); op 415 net/can/bcm.c bcm_can_tx(op); op 417 net/can/bcm.c } else if (op->kt_ival2) { op 418 net/can/bcm.c bcm_can_tx(op); op 421 net/can/bcm.c return bcm_tx_set_expiry(op, &op->timer) ? op 428 net/can/bcm.c static void bcm_rx_changed(struct bcm_op *op, struct canfd_frame *data) op 433 net/can/bcm.c op->frames_filtered++; op 436 net/can/bcm.c if (op->frames_filtered > ULONG_MAX/100) op 437 net/can/bcm.c op->frames_filtered = op->frames_abs = 0; op 443 net/can/bcm.c head.flags = op->flags; op 444 net/can/bcm.c head.count = op->count; op 445 net/can/bcm.c head.ival1 = op->ival1; op 446 net/can/bcm.c head.ival2 = op->ival2; op 447 net/can/bcm.c head.can_id = op->can_id; op 450 net/can/bcm.c bcm_send_to_user(op, &head, data, 1); op 458 net/can/bcm.c static void bcm_rx_update_and_send(struct bcm_op *op, op 462 net/can/bcm.c memcpy(lastdata, rxdata, op->cfsiz); op 468 net/can/bcm.c if (!op->kt_ival2) { op 470 net/can/bcm.c bcm_rx_changed(op, lastdata); op 475 net/can/bcm.c if (hrtimer_active(&op->thrtimer)) op 479 net/can/bcm.c if (!op->kt_lastmsg) op 483 net/can/bcm.c if (ktime_us_delta(ktime_get(), op->kt_lastmsg) < op 484 net/can/bcm.c ktime_to_us(op->kt_ival2)) { op 486 net/can/bcm.c hrtimer_start(&op->thrtimer, op 487 net/can/bcm.c ktime_add(op->kt_lastmsg, op->kt_ival2), op 494 net/can/bcm.c bcm_rx_changed(op, lastdata); op 495 net/can/bcm.c op->kt_lastmsg = ktime_get(); op 502 net/can/bcm.c static void bcm_rx_cmp_to_index(struct bcm_op *op, unsigned int index, op 505 net/can/bcm.c struct canfd_frame *cf = op->frames + op->cfsiz * index; op 506 net/can/bcm.c struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; op 516 net/can/bcm.c bcm_rx_update_and_send(op, lcf, rxdata); op 524 net/can/bcm.c bcm_rx_update_and_send(op, lcf, rxdata); op 529 net/can/bcm.c if (op->flags & RX_CHECK_DLC) { op 532 net/can/bcm.c bcm_rx_update_and_send(op, lcf, rxdata); op 541 net/can/bcm.c static void bcm_rx_starttimer(struct bcm_op *op) op 543 net/can/bcm.c if (op->flags & RX_NO_AUTOTIMER) op 546 net/can/bcm.c if (op->kt_ival1) op 547 net/can/bcm.c hrtimer_start(&op->timer, op->kt_ival1, HRTIMER_MODE_REL_SOFT); op 553 net/can/bcm.c struct bcm_op *op = container_of(hrtimer, struct bcm_op, timer); op 557 net/can/bcm.c if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { op 559 net/can/bcm.c memset(op->last_frames, 0, op->nframes * op->cfsiz); op 564 net/can/bcm.c msg_head.flags = op->flags; op 565 net/can/bcm.c msg_head.count = op->count; op 566 net/can/bcm.c msg_head.ival1 = op->ival1; op 567 net/can/bcm.c msg_head.ival2 = op->ival2; op 568 net/can/bcm.c msg_head.can_id = op->can_id; op 571 net/can/bcm.c bcm_send_to_user(op, &msg_head, NULL, 0); op 579 net/can/bcm.c static inline int bcm_rx_do_flush(struct bcm_op *op, unsigned int index) op 581 net/can/bcm.c struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; op 583 net/can/bcm.c if ((op->last_frames) && (lcf->flags & RX_THR)) { op 584 net/can/bcm.c bcm_rx_changed(op, lcf); op 593 net/can/bcm.c static int bcm_rx_thr_flush(struct bcm_op *op) op 597 net/can/bcm.c if (op->nframes > 1) { op 601 net/can/bcm.c for (i = 1; i < op->nframes; i++) op 602 net/can/bcm.c updated += bcm_rx_do_flush(op, i); op 606 net/can/bcm.c updated += bcm_rx_do_flush(op, 0); op 618 net/can/bcm.c struct bcm_op *op = container_of(hrtimer, struct bcm_op, thrtimer); op 620 net/can/bcm.c if (bcm_rx_thr_flush(op)) { op 621 net/can/bcm.c hrtimer_forward(hrtimer, ktime_get(), op->kt_ival2); op 625 net/can/bcm.c op->kt_lastmsg = 0; op 635 net/can/bcm.c struct bcm_op *op = (struct bcm_op *)data; op 639 net/can/bcm.c if (op->can_id != rxframe->can_id) op 643 net/can/bcm.c if (skb->len != op->cfsiz) op 647 net/can/bcm.c hrtimer_cancel(&op->timer); op 650 net/can/bcm.c op->rx_stamp = skb->tstamp; op 652 net/can/bcm.c op->rx_ifindex = skb->dev->ifindex; op 654 net/can/bcm.c op->frames_abs++; op 656 net/can/bcm.c if (op->flags & RX_RTR_FRAME) { op 658 net/can/bcm.c bcm_can_tx(op); op 662 net/can/bcm.c if (op->flags & RX_FILTER_ID) { op 664 net/can/bcm.c bcm_rx_update_and_send(op, op->last_frames, rxframe); op 668 net/can/bcm.c if (op->nframes == 1) { op 670 net/can/bcm.c bcm_rx_cmp_to_index(op, 0, rxframe); op 674 net/can/bcm.c if (op->nframes > 1) { op 683 net/can/bcm.c for (i = 1; i < op->nframes; i++) { op 684 net/can/bcm.c if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == op 685 net/can/bcm.c (get_u64(op->frames, 0) & op 686 net/can/bcm.c get_u64(op->frames + op->cfsiz * i, 0))) { op 687 net/can/bcm.c bcm_rx_cmp_to_index(op, i, rxframe); op 694 net/can/bcm.c bcm_rx_starttimer(op); op 703 net/can/bcm.c struct bcm_op *op; op 705 net/can/bcm.c list_for_each_entry(op, ops, list) { op 706 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && op 707 net/can/bcm.c (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) op 708 net/can/bcm.c return op; op 714 net/can/bcm.c static void bcm_remove_op(struct bcm_op *op) op 716 net/can/bcm.c hrtimer_cancel(&op->timer); op 717 net/can/bcm.c hrtimer_cancel(&op->thrtimer); op 719 net/can/bcm.c if ((op->frames) && (op->frames != &op->sframe)) op 720 net/can/bcm.c kfree(op->frames); op 722 net/can/bcm.c if ((op->last_frames) && (op->last_frames != &op->last_sframe)) op 723 net/can/bcm.c kfree(op->last_frames); op 725 net/can/bcm.c kfree(op); op 728 net/can/bcm.c static void bcm_rx_unreg(struct net_device *dev, struct bcm_op *op) op 730 net/can/bcm.c if (op->rx_reg_dev == dev) { op 731 net/can/bcm.c can_rx_unregister(dev_net(dev), dev, op->can_id, op 732 net/can/bcm.c REGMASK(op->can_id), bcm_rx_handler, op); op 735 net/can/bcm.c op->rx_reg_dev = NULL; op 738 net/can/bcm.c "mismatch %p %p\n", op->rx_reg_dev, dev); op 747 net/can/bcm.c struct bcm_op *op, *n; op 749 net/can/bcm.c list_for_each_entry_safe(op, n, ops, list) { op 750 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && op 751 net/can/bcm.c (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { op 758 net/can/bcm.c if (op->ifindex) { op 764 net/can/bcm.c if (op->rx_reg_dev) { op 767 net/can/bcm.c dev = dev_get_by_index(sock_net(op->sk), op 768 net/can/bcm.c op->ifindex); op 770 net/can/bcm.c bcm_rx_unreg(dev, op); op 775 net/can/bcm.c can_rx_unregister(sock_net(op->sk), NULL, op 776 net/can/bcm.c op->can_id, op 777 net/can/bcm.c REGMASK(op->can_id), op 778 net/can/bcm.c bcm_rx_handler, op); op 780 net/can/bcm.c list_del(&op->list); op 781 net/can/bcm.c bcm_remove_op(op); op 795 net/can/bcm.c struct bcm_op *op, *n; op 797 net/can/bcm.c list_for_each_entry_safe(op, n, ops, list) { op 798 net/can/bcm.c if ((op->can_id == mh->can_id) && (op->ifindex == ifindex) && op 799 net/can/bcm.c (op->flags & CAN_FD_FRAME) == (mh->flags & CAN_FD_FRAME)) { op 800 net/can/bcm.c list_del(&op->list); op 801 net/can/bcm.c bcm_remove_op(op); op 815 net/can/bcm.c struct bcm_op *op = bcm_find_op(ops, msg_head, ifindex); op 817 net/can/bcm.c if (!op) op 821 net/can/bcm.c msg_head->flags = op->flags; op 822 net/can/bcm.c msg_head->count = op->count; op 823 net/can/bcm.c msg_head->ival1 = op->ival1; op 824 net/can/bcm.c msg_head->ival2 = op->ival2; op 825 net/can/bcm.c msg_head->nframes = op->nframes; op 827 net/can/bcm.c bcm_send_to_user(op, msg_head, op->frames, 0); op 839 net/can/bcm.c struct bcm_op *op; op 857 net/can/bcm.c op = bcm_find_op(&bo->tx_ops, msg_head, ifindex); op 858 net/can/bcm.c if (op) { op 866 net/can/bcm.c if (msg_head->nframes > op->nframes) op 872 net/can/bcm.c cf = op->frames + op->cfsiz * i; op 873 net/can/bcm.c err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz); op 875 net/can/bcm.c if (op->flags & CAN_FD_FRAME) { op 891 net/can/bcm.c op->flags = msg_head->flags; op 896 net/can/bcm.c op = kzalloc(OPSIZ, GFP_KERNEL); op 897 net/can/bcm.c if (!op) op 900 net/can/bcm.c op->can_id = msg_head->can_id; op 901 net/can/bcm.c op->cfsiz = CFSIZ(msg_head->flags); op 902 net/can/bcm.c op->flags = msg_head->flags; op 906 net/can/bcm.c op->frames = kmalloc_array(msg_head->nframes, op 907 net/can/bcm.c op->cfsiz, op 909 net/can/bcm.c if (!op->frames) { op 910 net/can/bcm.c kfree(op); op 914 net/can/bcm.c op->frames = &op->sframe; op 918 net/can/bcm.c cf = op->frames + op->cfsiz * i; op 919 net/can/bcm.c err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz); op 921 net/can/bcm.c if (op->flags & CAN_FD_FRAME) { op 930 net/can/bcm.c if (op->frames != &op->sframe) op 931 net/can/bcm.c kfree(op->frames); op 932 net/can/bcm.c kfree(op); op 943 net/can/bcm.c op->last_frames = NULL; op 946 net/can/bcm.c op->sk = sk; op 947 net/can/bcm.c op->ifindex = ifindex; op 950 net/can/bcm.c hrtimer_init(&op->timer, CLOCK_MONOTONIC, op 952 net/can/bcm.c op->timer.function = bcm_tx_timeout_handler; op 955 net/can/bcm.c hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, op 959 net/can/bcm.c list_add(&op->list, &bo->tx_ops); op 963 net/can/bcm.c if (op->nframes != msg_head->nframes) { op 964 net/can/bcm.c op->nframes = msg_head->nframes; op 966 net/can/bcm.c op->currframe = 0; op 971 net/can/bcm.c if (op->flags & TX_RESET_MULTI_IDX) { op 973 net/can/bcm.c op->currframe = 0; op 976 net/can/bcm.c if (op->flags & SETTIMER) { op 978 net/can/bcm.c op->count = msg_head->count; op 979 net/can/bcm.c op->ival1 = msg_head->ival1; op 980 net/can/bcm.c op->ival2 = msg_head->ival2; op 981 net/can/bcm.c op->kt_ival1 = bcm_timeval_to_ktime(msg_head->ival1); op 982 net/can/bcm.c op->kt_ival2 = bcm_timeval_to_ktime(msg_head->ival2); op 985 net/can/bcm.c if (!op->kt_ival1 && !op->kt_ival2) op 986 net/can/bcm.c hrtimer_cancel(&op->timer); op 989 net/can/bcm.c if (op->flags & STARTTIMER) { op 990 net/can/bcm.c hrtimer_cancel(&op->timer); op 992 net/can/bcm.c op->flags |= TX_ANNOUNCE; op 995 net/can/bcm.c if (op->flags & TX_ANNOUNCE) { op 996 net/can/bcm.c bcm_can_tx(op); op 997 net/can/bcm.c if (op->count) op 998 net/can/bcm.c op->count--; op 1001 net/can/bcm.c if (op->flags & STARTTIMER) op 1002 net/can/bcm.c bcm_tx_start_timer(op); op 1004 net/can/bcm.c return msg_head->nframes * op->cfsiz + MHSIZ; op 1014 net/can/bcm.c struct bcm_op *op; op 1039 net/can/bcm.c op = bcm_find_op(&bo->rx_ops, msg_head, ifindex); op 1040 net/can/bcm.c if (op) { op 1048 net/can/bcm.c if (msg_head->nframes > op->nframes) op 1053 net/can/bcm.c err = memcpy_from_msg(op->frames, msg, op 1054 net/can/bcm.c msg_head->nframes * op->cfsiz); op 1059 net/can/bcm.c memset(op->last_frames, 0, msg_head->nframes * op->cfsiz); op 1062 net/can/bcm.c op->nframes = msg_head->nframes; op 1063 net/can/bcm.c op->flags = msg_head->flags; op 1070 net/can/bcm.c op = kzalloc(OPSIZ, GFP_KERNEL); op 1071 net/can/bcm.c if (!op) op 1074 net/can/bcm.c op->can_id = msg_head->can_id; op 1075 net/can/bcm.c op->nframes = msg_head->nframes; op 1076 net/can/bcm.c op->cfsiz = CFSIZ(msg_head->flags); op 1077 net/can/bcm.c op->flags = msg_head->flags; op 1081 net/can/bcm.c op->frames = kmalloc_array(msg_head->nframes, op 1082 net/can/bcm.c op->cfsiz, op 1084 net/can/bcm.c if (!op->frames) { op 1085 net/can/bcm.c kfree(op); op 1090 net/can/bcm.c op->last_frames = kcalloc(msg_head->nframes, op 1091 net/can/bcm.c op->cfsiz, op 1093 net/can/bcm.c if (!op->last_frames) { op 1094 net/can/bcm.c kfree(op->frames); op 1095 net/can/bcm.c kfree(op); op 1100 net/can/bcm.c op->frames = &op->sframe; op 1101 net/can/bcm.c op->last_frames = &op->last_sframe; op 1105 net/can/bcm.c err = memcpy_from_msg(op->frames, msg, op 1106 net/can/bcm.c msg_head->nframes * op->cfsiz); op 1108 net/can/bcm.c if (op->frames != &op->sframe) op 1109 net/can/bcm.c kfree(op->frames); op 1110 net/can/bcm.c if (op->last_frames != &op->last_sframe) op 1111 net/can/bcm.c kfree(op->last_frames); op 1112 net/can/bcm.c kfree(op); op 1118 net/can/bcm.c op->sk = sk; op 1119 net/can/bcm.c op->ifindex = ifindex; op 1122 net/can/bcm.c op->rx_ifindex = ifindex; op 1125 net/can/bcm.c hrtimer_init(&op->timer, CLOCK_MONOTONIC, op 1127 net/can/bcm.c op->timer.function = bcm_rx_timeout_handler; op 1129 net/can/bcm.c hrtimer_init(&op->thrtimer, CLOCK_MONOTONIC, op 1131 net/can/bcm.c op->thrtimer.function = bcm_rx_thr_handler; op 1134 net/can/bcm.c list_add(&op->list, &bo->rx_ops); op 1143 net/can/bcm.c if (op->flags & RX_RTR_FRAME) { op 1144 net/can/bcm.c struct canfd_frame *frame0 = op->frames; op 1147 net/can/bcm.c hrtimer_cancel(&op->thrtimer); op 1148 net/can/bcm.c hrtimer_cancel(&op->timer); op 1155 net/can/bcm.c if ((op->flags & TX_CP_CAN_ID) || op 1156 net/can/bcm.c (frame0->can_id == op->can_id)) op 1157 net/can/bcm.c frame0->can_id = op->can_id & ~CAN_RTR_FLAG; op 1160 net/can/bcm.c if (op->flags & SETTIMER) { op 1163 net/can/bcm.c op->ival1 = msg_head->ival1; op 1164 net/can/bcm.c op->ival2 = msg_head->ival2; op 1165 net/can/bcm.c op->kt_ival1 = bcm_timeval_to_ktime(msg_head->ival1); op 1166 net/can/bcm.c op->kt_ival2 = bcm_timeval_to_ktime(msg_head->ival2); op 1169 net/can/bcm.c if (!op->kt_ival1) op 1170 net/can/bcm.c hrtimer_cancel(&op->timer); op 1176 net/can/bcm.c op->kt_lastmsg = 0; op 1177 net/can/bcm.c hrtimer_cancel(&op->thrtimer); op 1178 net/can/bcm.c bcm_rx_thr_flush(op); op 1181 net/can/bcm.c if ((op->flags & STARTTIMER) && op->kt_ival1) op 1182 net/can/bcm.c hrtimer_start(&op->timer, op->kt_ival1, op 1194 net/can/bcm.c op->can_id, op 1195 net/can/bcm.c REGMASK(op->can_id), op 1196 net/can/bcm.c bcm_rx_handler, op, op 1199 net/can/bcm.c op->rx_reg_dev = dev; op 1204 net/can/bcm.c err = can_rx_register(sock_net(sk), NULL, op->can_id, op 1205 net/can/bcm.c REGMASK(op->can_id), op 1206 net/can/bcm.c bcm_rx_handler, op, "bcm", sk); op 1209 net/can/bcm.c list_del(&op->list); op 1210 net/can/bcm.c bcm_remove_op(op); op 1215 net/can/bcm.c return msg_head->nframes * op->cfsiz + MHSIZ; op 1387 net/can/bcm.c struct bcm_op *op; op 1402 net/can/bcm.c list_for_each_entry(op, &bo->rx_ops, list) op 1403 net/can/bcm.c if (op->rx_reg_dev == dev) op 1404 net/can/bcm.c bcm_rx_unreg(dev, op); op 1464 net/can/bcm.c struct bcm_op *op, *next; op 1478 net/can/bcm.c list_for_each_entry_safe(op, next, &bo->tx_ops, list) op 1479 net/can/bcm.c bcm_remove_op(op); op 1481 net/can/bcm.c list_for_each_entry_safe(op, next, &bo->rx_ops, list) { op 1486 net/can/bcm.c if (op->ifindex) { op 1492 net/can/bcm.c if (op->rx_reg_dev) { op 1495 net/can/bcm.c dev = dev_get_by_index(net, op->ifindex); op 1497 net/can/bcm.c bcm_rx_unreg(dev, op); op 1502 net/can/bcm.c can_rx_unregister(net, NULL, op->can_id, op 1503 net/can/bcm.c REGMASK(op->can_id), op 1504 net/can/bcm.c bcm_rx_handler, op); op 1506 net/can/bcm.c bcm_remove_op(op); op 154 net/can/gw.c #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \ op 155 net/can/gw.c struct cf_mod *mod) { op ; } op 513 net/ceph/auth_x.c head->op = cpu_to_le16(CEPHX_GET_AUTH_SESSION_KEY); op 546 net/ceph/auth_x.c head->op = cpu_to_le16(CEPHX_GET_PRINCIPAL_SESSION_KEY); op 570 net/ceph/auth_x.c int op; op 590 net/ceph/auth_x.c op = le16_to_cpu(head->op); op 592 net/ceph/auth_x.c dout("handle_reply op %d result %d\n", op, result); op 593 net/ceph/auth_x.c switch (op) { op 20 net/ceph/auth_x_protocol.h __le16 op; op 24 net/ceph/auth_x_protocol.h __le16 op; op 21 net/ceph/ceph_strings.c const char *ceph_osd_op_name(int op) op 23 net/ceph/ceph_strings.c switch (op) { op 24 net/ceph/ceph_strings.c #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); op 943 net/ceph/crush/mapper.c switch (curstep->op) { op 997 net/ceph/crush/mapper.c curstep->op == op 999 net/ceph/crush/mapper.c curstep->op == op 1093 net/ceph/crush/mapper.c curstep->op, step); op 159 net/ceph/debugfs.c __u16 op; op 161 net/ceph/debugfs.c op = le16_to_cpu(req->request->hdr.type); op 162 net/ceph/debugfs.c if (op == CEPH_MSG_STATFS) op 164 net/ceph/debugfs.c else if (op == CEPH_MSG_MON_GET_VERSION) op 217 net/ceph/debugfs.c struct ceph_osd_req_op *op = &req->r_ops[i]; op 220 net/ceph/debugfs.c ceph_osd_op_name(op->op)); op 221 net/ceph/debugfs.c if (op->op == CEPH_OSD_OP_WATCH) op 223 net/ceph/debugfs.c ceph_osd_watch_op_name(op->watch.op)); op 372 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 375 net/ceph/osd_client.c op = &osd_req->r_ops[which]; op 377 net/ceph/osd_client.c switch (op->op) { op 381 net/ceph/osd_client.c ceph_osd_data_release(&op->extent.osd_data); op 384 net/ceph/osd_client.c ceph_osd_data_release(&op->cls.request_info); op 385 net/ceph/osd_client.c ceph_osd_data_release(&op->cls.request_data); op 386 net/ceph/osd_client.c ceph_osd_data_release(&op->cls.response_data); op 390 net/ceph/osd_client.c ceph_osd_data_release(&op->xattr.osd_data); op 393 net/ceph/osd_client.c ceph_osd_data_release(&op->raw_data_in); op 396 net/ceph/osd_client.c ceph_osd_data_release(&op->notify_ack.request_data); op 399 net/ceph/osd_client.c ceph_osd_data_release(&op->notify.request_data); op 400 net/ceph/osd_client.c ceph_osd_data_release(&op->notify.response_data); op 403 net/ceph/osd_client.c ceph_osd_data_release(&op->list_watchers.response_data); op 406 net/ceph/osd_client.c ceph_osd_data_release(&op->copy_from.osd_data); op 675 net/ceph/osd_client.c #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return true; op 687 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 692 net/ceph/osd_client.c for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { op 693 net/ceph/osd_client.c switch (op->op) { op 722 net/ceph/osd_client.c WARN_ON(!osd_req_opcode_valid(op->op)); op 751 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 756 net/ceph/osd_client.c op = &osd_req->r_ops[which]; op 757 net/ceph/osd_client.c memset(op, 0, sizeof (*op)); op 758 net/ceph/osd_client.c op->op = opcode; op 759 net/ceph/osd_client.c op->flags = flags; op 761 net/ceph/osd_client.c return op; op 776 net/ceph/osd_client.c struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, op 784 net/ceph/osd_client.c op->extent.offset = offset; op 785 net/ceph/osd_client.c op->extent.length = length; op 786 net/ceph/osd_client.c op->extent.truncate_size = truncate_size; op 787 net/ceph/osd_client.c op->extent.truncate_seq = truncate_seq; op 791 net/ceph/osd_client.c op->indata_len = payload_len; op 798 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 802 net/ceph/osd_client.c op = &osd_req->r_ops[which]; op 803 net/ceph/osd_client.c previous = op->extent.length; op 809 net/ceph/osd_client.c op->extent.length = length; op 810 net/ceph/osd_client.c if (op->op == CEPH_OSD_OP_WRITE || op->op == CEPH_OSD_OP_WRITEFULL) op 811 net/ceph/osd_client.c op->indata_len -= previous - length; op 818 net/ceph/osd_client.c struct ceph_osd_req_op *op, *prev_op; op 823 net/ceph/osd_client.c op = _osd_req_op_init(osd_req, which + 1, prev_op->op, prev_op->flags); op 825 net/ceph/osd_client.c op->indata_len = prev_op->indata_len; op 826 net/ceph/osd_client.c op->outdata_len = prev_op->outdata_len; op 827 net/ceph/osd_client.c op->extent = prev_op->extent; op 829 net/ceph/osd_client.c op->extent.offset += offset_inc; op 830 net/ceph/osd_client.c op->extent.length -= offset_inc; op 832 net/ceph/osd_client.c if (op->op == CEPH_OSD_OP_WRITE || op->op == CEPH_OSD_OP_WRITEFULL) op 833 net/ceph/osd_client.c op->indata_len -= offset_inc; op 840 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 846 net/ceph/osd_client.c op = _osd_req_op_init(osd_req, which, CEPH_OSD_OP_CALL, 0); op 852 net/ceph/osd_client.c op->cls.class_name = class; op 855 net/ceph/osd_client.c op->cls.class_len = size; op 861 net/ceph/osd_client.c op->cls.method_name = method; op 864 net/ceph/osd_client.c op->cls.method_len = size; op 871 net/ceph/osd_client.c op->indata_len = payload_len; op 884 net/ceph/osd_client.c struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, op 897 net/ceph/osd_client.c op->xattr.name_len = payload_len; op 902 net/ceph/osd_client.c op->xattr.value_len = size; op 908 net/ceph/osd_client.c op->xattr.cmp_op = cmp_op; op 909 net/ceph/osd_client.c op->xattr.cmp_mode = cmp_mode; op 911 net/ceph/osd_client.c ceph_osd_data_pagelist_init(&op->xattr.osd_data, pagelist); op 912 net/ceph/osd_client.c op->indata_len = payload_len; op 927 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 929 net/ceph/osd_client.c op = _osd_req_op_init(req, which, CEPH_OSD_OP_WATCH, 0); op 930 net/ceph/osd_client.c op->watch.cookie = cookie; op 931 net/ceph/osd_client.c op->watch.op = watch_opcode; op 932 net/ceph/osd_client.c op->watch.gen = 0; op 940 net/ceph/osd_client.c struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, op 944 net/ceph/osd_client.c op->alloc_hint.expected_object_size = expected_object_size; op 945 net/ceph/osd_client.c op->alloc_hint.expected_write_size = expected_write_size; op 952 net/ceph/osd_client.c op->flags |= CEPH_OSD_OP_FLAG_FAILOK; op 983 net/ceph/osd_client.c switch (src->op) { op 1006 net/ceph/osd_client.c dst->watch.op = src->watch.op; op 1042 net/ceph/osd_client.c ceph_osd_op_name(src->op)); op 1048 net/ceph/osd_client.c dst->op = cpu_to_le16(src->op); op 1943 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 1949 net/ceph/osd_client.c for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { op 1950 net/ceph/osd_client.c switch (op->op) { op 1954 net/ceph/osd_client.c WARN_ON(op->indata_len != op->extent.length); op 1956 net/ceph/osd_client.c &op->extent.osd_data); op 1960 net/ceph/osd_client.c WARN_ON(op->indata_len != op->xattr.name_len + op 1961 net/ceph/osd_client.c op->xattr.value_len); op 1963 net/ceph/osd_client.c &op->xattr.osd_data); op 1967 net/ceph/osd_client.c &op->notify_ack.request_data); op 1971 net/ceph/osd_client.c &op->copy_from.osd_data); op 1977 net/ceph/osd_client.c &op->raw_data_in); op 1981 net/ceph/osd_client.c &op->extent.osd_data); op 1985 net/ceph/osd_client.c &op->list_watchers.response_data); op 1990 net/ceph/osd_client.c WARN_ON(op->indata_len != op->cls.class_len + op 1991 net/ceph/osd_client.c op->cls.method_len + op 1992 net/ceph/osd_client.c op->cls.indata_len); op 1994 net/ceph/osd_client.c &op->cls.request_info); op 1997 net/ceph/osd_client.c &op->cls.request_data); op 2000 net/ceph/osd_client.c &op->cls.response_data); op 2004 net/ceph/osd_client.c &op->notify.request_data); op 2006 net/ceph/osd_client.c &op->notify.response_data); op 2949 net/ceph/osd_client.c WARN_ON(req->r_ops[0].op != CEPH_OSD_OP_NOTIFY || op 3000 net/ceph/osd_client.c struct ceph_osd_req_op *op = &req->r_ops[0]; op 3016 net/ceph/osd_client.c WARN_ON(op->op != CEPH_OSD_OP_WATCH || op 3017 net/ceph/osd_client.c op->watch.cookie != lreq->linger_id); op 3018 net/ceph/osd_client.c op->watch.op = CEPH_OSD_WATCH_OP_RECONNECT; op 3019 net/ceph/osd_client.c op->watch.gen = ++lreq->register_gen; op 3021 net/ceph/osd_client.c op->watch.gen); op 3027 net/ceph/osd_client.c WARN_ON(op->watch.op != CEPH_OSD_WATCH_OP_WATCH); op 3067 net/ceph/osd_client.c struct ceph_osd_req_op *op = &req->r_ops[0]; op 3085 net/ceph/osd_client.c WARN_ON(op->op != CEPH_OSD_OP_WATCH || op 3086 net/ceph/osd_client.c op->watch.cookie != lreq->linger_id || op 3087 net/ceph/osd_client.c op->watch.op != CEPH_OSD_WATCH_OP_PING); op 3088 net/ceph/osd_client.c op->watch.gen = lreq->register_gen; op 3546 net/ceph/osd_client.c struct ceph_osd_op *op = p; op 3548 net/ceph/osd_client.c m->outdata_len[i] = le32_to_cpu(op->payload_len); op 3549 net/ceph/osd_client.c p += sizeof(*op); op 4122 net/ceph/osd_client.c u8 op; op 4146 net/ceph/osd_client.c ceph_decode_8_safe(&p, end, m->op, e_inval); op 4355 net/ceph/osd_client.c switch (m.op) { op 4363 net/ceph/osd_client.c pr_err("%s osd%d unknown op %d\n", __func__, osd->o_osd, m.op); op 4713 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 4717 net/ceph/osd_client.c op = _osd_req_op_init(req, which, CEPH_OSD_OP_NOTIFY_ACK, 0); op 4736 net/ceph/osd_client.c ceph_osd_data_pagelist_init(&op->notify_ack.request_data, pl); op 4737 net/ceph/osd_client.c op->indata_len = pl->length; op 4782 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 4786 net/ceph/osd_client.c op = _osd_req_op_init(req, which, CEPH_OSD_OP_NOTIFY, 0); op 4787 net/ceph/osd_client.c op->notify.cookie = cookie; op 4802 net/ceph/osd_client.c ceph_osd_data_pagelist_init(&op->notify.request_data, pl); op 4803 net/ceph/osd_client.c op->indata_len = pl->length; op 5320 net/ceph/osd_client.c struct ceph_osd_req_op *op; op 5328 net/ceph/osd_client.c op = _osd_req_op_init(req, 0, CEPH_OSD_OP_COPY_FROM, dst_fadvise_flags); op 5329 net/ceph/osd_client.c op->copy_from.snapid = src_snapid; op 5330 net/ceph/osd_client.c op->copy_from.src_version = src_version; op 5331 net/ceph/osd_client.c op->copy_from.flags = copy_from_flags; op 5332 net/ceph/osd_client.c op->copy_from.src_fadvise_flags = src_fadvise_flags; op 5338 net/ceph/osd_client.c op->indata_len = PAGE_SIZE - (end - p); op 5340 net/ceph/osd_client.c ceph_osd_data_pages_init(&op->copy_from.osd_data, pages, op 5341 net/ceph/osd_client.c op->indata_len, 0, false, true); op 507 net/ceph/osdmap.c r->steps[j].op = ceph_decode_32(p); op 4341 net/core/filter.c bool reinit = bpf_sock->op > BPF_SOCK_OPS_NEEDS_ECN; op 8062 net/core/filter.c case offsetof(struct bpf_sock_ops, op) ... op 8064 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct bpf_sock_ops, op) != op 8065 net/core/filter.c FIELD_SIZEOF(struct bpf_sock_ops_kern, op)); op 8071 net/core/filter.c off -= offsetof(struct bpf_sock_ops, op); op 8072 net/core/filter.c off += offsetof(struct bpf_sock_ops_kern, op); op 497 net/core/flow_dissector.c key_arp->op = ntohs(arp->ar_op) & 0xff; op 395 net/core/sock_map.c return ops->op == BPF_SOCK_OPS_PASSIVE_ESTABLISHED_CB || op 396 net/core/sock_map.c ops->op == BPF_SOCK_OPS_ACTIVE_ESTABLISHED_CB; op 509 net/ieee802154/nl802154.c #define CMD(op, n) \ op 511 net/ieee802154/nl802154.c if (rdev->ops->op) { \ op 558 net/ipv4/inet_diag.c const struct inet_diag_bc_op *op = bc; op 560 net/ipv4/inet_diag.c switch (op->code) { op 567 net/ipv4/inet_diag.c yes = entry->sport == op[1].no; op 570 net/ipv4/inet_diag.c yes = entry->sport >= op[1].no; op 573 net/ipv4/inet_diag.c yes = entry->sport <= op[1].no; op 576 net/ipv4/inet_diag.c yes = entry->dport == op[1].no; op 579 net/ipv4/inet_diag.c yes = entry->dport >= op[1].no; op 582 net/ipv4/inet_diag.c yes = entry->dport <= op[1].no; op 592 net/ipv4/inet_diag.c cond = (const struct inet_diag_hostcond *)(op + 1); op 594 net/ipv4/inet_diag.c cond->port != (op->code == INET_DIAG_BC_S_COND ? op 600 net/ipv4/inet_diag.c if (op->code == INET_DIAG_BC_S_COND) op 631 net/ipv4/inet_diag.c ifindex = *((const u32 *)(op + 1)); op 639 net/ipv4/inet_diag.c cond = (struct inet_diag_markcond *)(op + 1); op 647 net/ipv4/inet_diag.c len -= op->yes; op 648 net/ipv4/inet_diag.c bc += op->yes; op 650 net/ipv4/inet_diag.c len -= op->no; op 651 net/ipv4/inet_diag.c bc += op->no; op 702 net/ipv4/inet_diag.c const struct inet_diag_bc_op *op = bc; op 708 net/ipv4/inet_diag.c if (op->yes < 4 || op->yes & 3) op 710 net/ipv4/inet_diag.c len -= op->yes; op 711 net/ipv4/inet_diag.c bc += op->yes; op 717 net/ipv4/inet_diag.c static bool valid_devcond(const struct inet_diag_bc_op *op, int len, op 728 net/ipv4/inet_diag.c static bool valid_hostcond(const struct inet_diag_bc_op *op, int len, op 738 net/ipv4/inet_diag.c cond = (struct inet_diag_hostcond *)(op + 1); op 766 net/ipv4/inet_diag.c static bool valid_port_comparison(const struct inet_diag_bc_op *op, op 776 net/ipv4/inet_diag.c static bool valid_markcond(const struct inet_diag_bc_op *op, int len, op 798 net/ipv4/inet_diag.c const struct inet_diag_bc_op *op = bc; op 800 net/ipv4/inet_diag.c switch (op->code) { op 833 net/ipv4/inet_diag.c if (op->code != INET_DIAG_BC_NOP) { op 834 net/ipv4/inet_diag.c if (op->no < min_len || op->no > len + 4 || op->no & 3) op 836 net/ipv4/inet_diag.c if (op->no < len && op 837 net/ipv4/inet_diag.c !valid_cc(bytecode, bytecode_len, len - op->no)) op 841 net/ipv4/inet_diag.c if (op->yes < min_len || op->yes > len + 4 || op->yes & 3) op 843 net/ipv4/inet_diag.c bc += op->yes; op 844 net/ipv4/inet_diag.c len -= op->yes; op 606 net/ipv4/ipconfig.c u8 op; /* 1=request, 2=reply */ op 832 net/ipv4/ipconfig.c b->op = BOOTP_REQUEST; op 1035 net/ipv4/ipconfig.c if (b->op != BOOTP_REPLY || op 1038 net/ipv4/ipconfig.c d->dev->name, b->op, b->xid); op 78 net/ipv4/netfilter/nf_log_ipv4.c const unsigned char *op; op 83 net/ipv4/netfilter/nf_log_ipv4.c op = skb_header_pointer(skb, iphoff+sizeof(_iph), op 85 net/ipv4/netfilter/nf_log_ipv4.c if (op == NULL) { op 93 net/ipv4/netfilter/nf_log_ipv4.c nf_log_buf_add(m, "%02X", op[i]); op 241 net/ipv6/icmp.c u8 _optval, *op; op 244 net/ipv6/icmp.c op = skb_header_pointer(skb, offset, sizeof(_optval), &_optval); op 245 net/ipv6/icmp.c if (!op) op 247 net/ipv6/icmp.c return (*op & 0xC0) == 0x80; op 2056 net/netfilter/ipset/ip_set_core.c unsigned int *op; op 2076 net/netfilter/ipset/ip_set_core.c op = data; op 2078 net/netfilter/ipset/ip_set_core.c if (*op < IP_SET_OP_VERSION) { op 2093 net/netfilter/ipset/ip_set_core.c switch (*op) { op 137 net/netfilter/nf_conntrack_seqadj.c unsigned char *op = skb->data + optoff; op 139 net/netfilter/nf_conntrack_seqadj.c switch (op[0]) { op 148 net/netfilter/nf_conntrack_seqadj.c optoff + op[1] > optend || op 149 net/netfilter/nf_conntrack_seqadj.c op[1] < 2) op 151 net/netfilter/nf_conntrack_seqadj.c if (op[0] == TCPOPT_SACK && op 152 net/netfilter/nf_conntrack_seqadj.c op[1] >= 2+TCPOLEN_SACK_PERBLOCK && op 153 net/netfilter/nf_conntrack_seqadj.c ((op[1] - 2) % TCPOLEN_SACK_PERBLOCK) == 0) op 155 net/netfilter/nf_conntrack_seqadj.c optoff+op[1], op 157 net/netfilter/nf_conntrack_seqadj.c optoff += op[1]; op 109 net/netfilter/nf_log_common.c const u_int8_t *op; op 113 net/netfilter/nf_log_common.c op = skb_header_pointer(skb, offset + sizeof(struct tcphdr), op 115 net/netfilter/nf_log_common.c if (op == NULL) { op 123 net/netfilter/nf_log_common.c nf_log_buf_add(m, "%02X", op[i]); op 198 net/netfilter/nf_synproxy_core.c unsigned char *op = skb->data + optoff; op 200 net/netfilter/nf_synproxy_core.c switch (op[0]) { op 208 net/netfilter/nf_synproxy_core.c optoff + op[1] > optend || op 209 net/netfilter/nf_synproxy_core.c op[1] < 2) op 211 net/netfilter/nf_synproxy_core.c if (op[0] == TCPOPT_TIMESTAMP && op 212 net/netfilter/nf_synproxy_core.c op[1] == TCPOLEN_TIMESTAMP) { op 214 net/netfilter/nf_synproxy_core.c ptr = (__be32 *)&op[2]; op 219 net/netfilter/nf_synproxy_core.c ptr = (__be32 *)&op[6]; op 228 net/netfilter/nf_synproxy_core.c optoff += op[1]; op 21 net/netfilter/nft_byteorder.c enum nft_byteorder_ops op:8; op 43 net/netfilter/nft_byteorder.c switch (priv->op) { op 61 net/netfilter/nft_byteorder.c switch (priv->op) { op 73 net/netfilter/nft_byteorder.c switch (priv->op) { op 110 net/netfilter/nft_byteorder.c priv->op = ntohl(nla_get_be32(tb[NFTA_BYTEORDER_OP])); op 111 net/netfilter/nft_byteorder.c switch (priv->op) { op 158 net/netfilter/nft_byteorder.c if (nla_put_be32(skb, NFTA_BYTEORDER_OP, htonl(priv->op))) op 22 net/netfilter/nft_cmp.c enum nft_cmp_ops op:8; op 33 net/netfilter/nft_cmp.c switch (priv->op) { op 94 net/netfilter/nft_cmp.c priv->op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); op 105 net/netfilter/nft_cmp.c if (nla_put_be32(skb, NFTA_CMP_OP, htonl(priv->op))) op 125 net/netfilter/nft_cmp.c if (priv->op != NFT_CMP_EQ || reg->len != priv->len) op 198 net/netfilter/nft_cmp.c .op = NFT_CMP_EQ, op 238 net/netfilter/nft_cmp.c enum nft_cmp_ops op; op 246 net/netfilter/nft_cmp.c op = ntohl(nla_get_be32(tb[NFTA_CMP_OP])); op 247 net/netfilter/nft_cmp.c switch (op) { op 269 net/netfilter/nft_cmp.c if (desc.len <= sizeof(u32) && op == NFT_CMP_EQ) op 18 net/netfilter/nft_dynset.c enum nft_dynset_ops op:8; op 87 net/netfilter/nft_dynset.c if (priv->op == NFT_DYNSET_OP_DELETE) { op 98 net/netfilter/nft_dynset.c if (priv->op == NFT_DYNSET_OP_UPDATE && op 166 net/netfilter/nft_dynset.c priv->op = ntohl(nla_get_be32(tb[NFTA_DYNSET_OP])); op 167 net/netfilter/nft_dynset.c switch (priv->op) { op 294 net/netfilter/nft_dynset.c if (nla_put_be32(skb, NFTA_DYNSET_OP, htonl(priv->op))) op 21 net/netfilter/nft_exthdr.c u8 op; op 320 net/netfilter/nft_exthdr.c u32 offset, len, flags = 0, op = NFT_EXTHDR_OP_IPV6; op 347 net/netfilter/nft_exthdr.c err = nft_parse_u32_check(tb[NFTA_EXTHDR_OP], U8_MAX, &op); op 357 net/netfilter/nft_exthdr.c priv->op = op; op 368 net/netfilter/nft_exthdr.c u32 offset, len, flags = 0, op = NFT_EXTHDR_OP_IPV6; op 398 net/netfilter/nft_exthdr.c err = nft_parse_u32_check(tb[NFTA_EXTHDR_OP], U8_MAX, &op); op 407 net/netfilter/nft_exthdr.c priv->op = op; op 444 net/netfilter/nft_exthdr.c if (nla_put_be32(skb, NFTA_EXTHDR_OP, htonl(priv->op))) op 508 net/netfilter/nft_exthdr.c u32 op; op 516 net/netfilter/nft_exthdr.c op = ntohl(nla_get_be32(tb[NFTA_EXTHDR_OP])); op 517 net/netfilter/nft_exthdr.c switch (op) { op 20 net/netfilter/nft_range.c enum nft_range_ops op:8; op 31 net/netfilter/nft_range.c switch (priv->op) { op 56 net/netfilter/nft_range.c u32 op; op 94 net/netfilter/nft_range.c err = nft_parse_u32_check(tb[NFTA_RANGE_OP], U8_MAX, &op); op 98 net/netfilter/nft_range.c switch (op) { op 107 net/netfilter/nft_range.c priv->op = op; op 123 net/netfilter/nft_range.c if (nla_put_be32(skb, NFTA_RANGE_OP, htonl(priv->op))) op 41 net/netfilter/xt_dccp.c const unsigned char *op; op 53 net/netfilter/xt_dccp.c op = skb_header_pointer(skb, protoff + optoff, optlen, dccp_optbuf); op 54 net/netfilter/xt_dccp.c if (op == NULL) { op 60 net/netfilter/xt_dccp.c if (op[i] == option) { op 65 net/netfilter/xt_dccp.c if (op[i] < 2) op 68 net/netfilter/xt_dccp.c i += op[i+1]?:1; op 173 net/netfilter/xt_set.c info->packets.op, info->bytes.op); op 175 net/netfilter/xt_set.c if (info->packets.op != IPSET_COUNTER_NONE || op 176 net/netfilter/xt_set.c info->bytes.op != IPSET_COUNTER_NONE) op 196 net/netfilter/xt_set.c info->packets.op, info->bytes.op); op 198 net/netfilter/xt_set.c if (info->packets.op != IPSET_COUNTER_NONE || op 199 net/netfilter/xt_set.c info->bytes.op != IPSET_COUNTER_NONE) op 31 net/netfilter/xt_tcpmss.c const u_int8_t *op; op 49 net/netfilter/xt_tcpmss.c op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); op 50 net/netfilter/xt_tcpmss.c if (op == NULL) op 54 net/netfilter/xt_tcpmss.c if (op[i] == TCPOPT_MSS op 56 net/netfilter/xt_tcpmss.c && op[i+1] == TCPOLEN_MSS) { op 59 net/netfilter/xt_tcpmss.c mssval = (op[i+2] << 8) | op[i+3]; op 64 net/netfilter/xt_tcpmss.c if (op[i] < 2) op 67 net/netfilter/xt_tcpmss.c i += op[i+1] ? : 1; op 40 net/netfilter/xt_tcpudp.c const u_int8_t *op; op 50 net/netfilter/xt_tcpudp.c op = skb_header_pointer(skb, protoff + sizeof(struct tcphdr), op 52 net/netfilter/xt_tcpudp.c if (op == NULL) { op 58 net/netfilter/xt_tcpudp.c if (op[i] == option) return !invert; op 59 net/netfilter/xt_tcpudp.c if (op[i] < 2) i++; op 60 net/netfilter/xt_tcpudp.c else i += op[i+1]?:1; op 1352 net/nfc/nci/core.c struct nci_driver_ops *op; op 1358 net/nfc/nci/core.c op = &ops[i]; op 1359 net/nfc/nci/core.c if (op->opcode == opcode) op 1360 net/nfc/nci/core.c return op; op 1370 net/nfc/nci/core.c struct nci_driver_ops *op; op 1372 net/nfc/nci/core.c op = ops_cmd_lookup(ops, n_ops, rsp_opcode); op 1373 net/nfc/nci/core.c if (!op || !op->rsp) op 1376 net/nfc/nci/core.c return op->rsp(ndev, skb); op 1383 net/nfc/nci/core.c struct nci_driver_ops *op; op 1385 net/nfc/nci/core.c op = ops_cmd_lookup(ops, n_ops, ntf_opcode); op 1386 net/nfc/nci/core.c if (!op || !op->ntf) op 1389 net/nfc/nci/core.c return op->ntf(ndev, skb); op 436 net/rds/ib.h int rds_ib_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op); op 441 net/rds/ib.h int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op); op 73 net/rds/ib_send.c struct rm_data_op *op, op 76 net/rds/ib_send.c if (op->op_nents) op 78 net/rds/ib_send.c op->op_sg, op->op_nents, op 83 net/rds/ib_send.c struct rm_rdma_op *op, op 86 net/rds/ib_send.c if (op->op_mapped) { op 88 net/rds/ib_send.c op->op_sg, op->op_nents, op 89 net/rds/ib_send.c op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); op 90 net/rds/ib_send.c op->op_mapped = 0; op 113 net/rds/ib_send.c rds_ib_send_complete(container_of(op, struct rds_message, rdma), op 116 net/rds/ib_send.c if (op->op_write) op 117 net/rds/ib_send.c rds_stats_add(s_send_rdma_bytes, op->op_bytes); op 119 net/rds/ib_send.c rds_stats_add(s_recv_rdma_bytes, op->op_bytes); op 123 net/rds/ib_send.c struct rm_atomic_op *op, op 127 net/rds/ib_send.c if (op->op_mapped) { op 128 net/rds/ib_send.c ib_dma_unmap_sg(ic->i_cm_id->device, op->op_sg, 1, op 130 net/rds/ib_send.c op->op_mapped = 0; op 133 net/rds/ib_send.c rds_ib_send_complete(container_of(op, struct rds_message, atomic), op 136 net/rds/ib_send.c if (op->op_type == RDS_ATOMIC_TYPE_CSWP) op 753 net/rds/ib_send.c int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op) op 774 net/rds/ib_send.c if (op->op_type == RDS_ATOMIC_TYPE_CSWP) { op 776 net/rds/ib_send.c send->s_atomic_wr.compare_add = op->op_m_cswp.compare; op 777 net/rds/ib_send.c send->s_atomic_wr.swap = op->op_m_cswp.swap; op 778 net/rds/ib_send.c send->s_atomic_wr.compare_add_mask = op->op_m_cswp.compare_mask; op 779 net/rds/ib_send.c send->s_atomic_wr.swap_mask = op->op_m_cswp.swap_mask; op 782 net/rds/ib_send.c send->s_atomic_wr.compare_add = op->op_m_fadd.add; op 784 net/rds/ib_send.c send->s_atomic_wr.compare_add_mask = op->op_m_fadd.nocarry_mask; op 788 net/rds/ib_send.c nr_sig = rds_ib_set_wr_signal_state(ic, send, op->op_notify); op 791 net/rds/ib_send.c send->s_atomic_wr.remote_addr = op->op_remote_addr; op 792 net/rds/ib_send.c send->s_atomic_wr.rkey = op->op_rkey; op 793 net/rds/ib_send.c send->s_op = op; op 797 net/rds/ib_send.c ret = ib_dma_map_sg(ic->i_cm_id->device, op->op_sg, 1, DMA_FROM_DEVICE); op 798 net/rds/ib_send.c rdsdebug("ic %p mapping atomic op %p. mapped %d pg\n", ic, op, ret); op 807 net/rds/ib_send.c send->s_sge[0].addr = sg_dma_address(op->op_sg); op 808 net/rds/ib_send.c send->s_sge[0].length = sg_dma_len(op->op_sg); op 811 net/rds/ib_send.c rdsdebug("rva %Lx rpa %Lx len %u\n", op->op_remote_addr, op 839 net/rds/ib_send.c int rds_ib_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op) op 848 net/rds/ib_send.c u64 remote_addr = op->op_remote_addr; op 860 net/rds/ib_send.c if (!op->op_mapped) { op 861 net/rds/ib_send.c op->op_count = ib_dma_map_sg(ic->i_cm_id->device, op 862 net/rds/ib_send.c op->op_sg, op->op_nents, (op->op_write) ? op 864 net/rds/ib_send.c rdsdebug("ic %p mapping op %p: %d\n", ic, op, op->op_count); op 865 net/rds/ib_send.c if (op->op_count == 0) { op 871 net/rds/ib_send.c op->op_mapped = 1; op 878 net/rds/ib_send.c i = DIV_ROUND_UP(op->op_count, max_sge); op 891 net/rds/ib_send.c scat = &op->op_sg[0]; op 893 net/rds/ib_send.c num_sge = op->op_count; op 895 net/rds/ib_send.c for (i = 0; i < work_alloc && scat != &op->op_sg[op->op_count]; i++) { op 900 net/rds/ib_send.c if (!op->op_notify) op 902 net/rds/ib_send.c op->op_notify); op 904 net/rds/ib_send.c send->s_wr.opcode = op->op_write ? IB_WR_RDMA_WRITE : IB_WR_RDMA_READ; op 906 net/rds/ib_send.c send->s_rdma_wr.rkey = op->op_rkey; op 921 net/rds/ib_send.c scat != &op->op_sg[op->op_count]; j++) { op 945 net/rds/ib_send.c if (scat == &op->op_sg[op->op_count]) { op 946 net/rds/ib_send.c prev->s_op = op; op 947 net/rds/ib_send.c rds_message_addref(container_of(op, struct rds_message, rdma)); op 577 net/rds/rdma.c struct rm_rdma_op *op = &rm->rdma; op 620 net/rds/rdma.c op->op_write = !!(args->flags & RDS_RDMA_READWRITE); op 621 net/rds/rdma.c op->op_fence = !!(args->flags & RDS_RDMA_FENCE); op 622 net/rds/rdma.c op->op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); op 623 net/rds/rdma.c op->op_silent = !!(args->flags & RDS_RDMA_SILENT); op 624 net/rds/rdma.c op->op_active = 1; op 625 net/rds/rdma.c op->op_recverr = rs->rs_recverr; op 627 net/rds/rdma.c op->op_sg = rds_message_alloc_sgs(rm, nr_pages); op 628 net/rds/rdma.c if (IS_ERR(op->op_sg)) { op 629 net/rds/rdma.c ret = PTR_ERR(op->op_sg); op 633 net/rds/rdma.c if (op->op_notify || op->op_recverr) { op 639 net/rds/rdma.c op->op_notifier = kmalloc(sizeof(struct rds_notifier), GFP_KERNEL); op 640 net/rds/rdma.c if (!op->op_notifier) { op 644 net/rds/rdma.c op->op_notifier->n_user_token = args->user_token; op 645 net/rds/rdma.c op->op_notifier->n_status = RDS_RDMA_SUCCESS; op 655 net/rds/rdma.c op->op_rkey = rds_rdma_cookie_key(args->cookie); op 656 net/rds/rdma.c op->op_remote_addr = args->remote_vec.addr + rds_rdma_cookie_offset(args->cookie); op 663 net/rds/rdma.c op->op_rkey); op 676 net/rds/rdma.c ret = rds_pin_pages(iov->addr, nr, pages, !op->op_write); op 691 net/rds/rdma.c sg = &op->op_sg[op->op_nents + j]; op 703 net/rds/rdma.c op->op_nents += nr; op 713 net/rds/rdma.c op->op_bytes = nr_bytes; op 719 net/rds/rdma.c rds_rdma_free_op(op); op 559 net/rds/rds.h int (*xmit_rdma)(struct rds_connection *conn, struct rm_rdma_op *op); op 560 net/rds/rds.h int (*xmit_atomic)(struct rds_connection *conn, struct rm_atomic_op *op); op 256 net/rfkill/core.c enum rfkill_operation op) op 262 net/rfkill/core.c ev->op = op; op 271 net/rfkill/core.c static void rfkill_send_events(struct rfkill *rfkill, enum rfkill_operation op) op 280 net/rfkill/core.c rfkill_fill_event(&ev->ev, rfkill, op); op 1231 net/rfkill/core.c switch (ev.op) { op 54 net/rfkill/input.c static void __rfkill_handle_global_op(enum rfkill_sched_op op) op 58 net/rfkill/input.c switch (op) { op 78 net/rfkill/input.c op); op 102 net/rfkill/input.c enum rfkill_sched_op op = rfkill_op; op 108 net/rfkill/input.c __rfkill_handle_global_op(op); op 153 net/rfkill/input.c static void rfkill_schedule_global_op(enum rfkill_sched_op op) op 158 net/rfkill/input.c rfkill_op = op; op 160 net/rfkill/input.c if (op == RFKILL_GLOBAL_OP_EPO && !rfkill_is_epo_lock_active()) { op 419 net/rxrpc/call_object.c void rxrpc_get_call(struct rxrpc_call *call, enum rxrpc_call_trace op) op 424 net/rxrpc/call_object.c trace_rxrpc_call(call->debug_id, op, n, here, NULL); op 537 net/rxrpc/call_object.c void rxrpc_put_call(struct rxrpc_call *call, enum rxrpc_call_trace op) op 547 net/rxrpc/call_object.c trace_rxrpc_call(debug_id, op, n, here, NULL); op 23 net/rxrpc/skbuff.c void rxrpc_new_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) op 27 net/rxrpc/skbuff.c trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, op 34 net/rxrpc/skbuff.c void rxrpc_see_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) op 39 net/rxrpc/skbuff.c trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, op 47 net/rxrpc/skbuff.c void rxrpc_get_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) op 51 net/rxrpc/skbuff.c trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, op 59 net/rxrpc/skbuff.c void rxrpc_eaten_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) op 63 net/rxrpc/skbuff.c trace_rxrpc_skb(skb, op, 0, n, 0, here); op 69 net/rxrpc/skbuff.c void rxrpc_free_skb(struct sk_buff *skb, enum rxrpc_skb_trace op) op 76 net/rxrpc/skbuff.c trace_rxrpc_skb(skb, op, refcount_read(&skb->users), n, op 1190 net/sched/cls_flower.c fl_set_key_val(tb, &key->arp.op, TCA_FLOWER_KEY_ARP_OP, op 1191 net/sched/cls_flower.c &mask->arp.op, TCA_FLOWER_KEY_ARP_OP_MASK, op 1192 net/sched/cls_flower.c sizeof(key->arp.op)); op 2364 net/sched/cls_flower.c fl_dump_key_val(skb, &key->arp.op, op 2365 net/sched/cls_flower.c TCA_FLOWER_KEY_ARP_OP, &mask->arp.op, op 2367 net/sched/cls_flower.c sizeof(key->arp.op)) || op 856 net/sched/em_meta.c switch (meta->lvalue.hdr.op) { op 657 net/sched/sch_fq.c struct rb_node *op, **np, *parent; op 665 net/sched/sch_fq.c while ((op = rb_first(oroot)) != NULL) { op 666 net/sched/sch_fq.c rb_erase(op, oroot); op 667 net/sched/sch_fq.c of = rb_entry(op, struct fq_flow, fq_node); op 985 net/sctp/socket.c int addrs_size, int op) op 996 net/sctp/socket.c __func__, sk, addrs, addrs_size, op); op 1029 net/sctp/socket.c switch (op) { op 203 net/sunrpc/stats.c static void _print_name(struct seq_file *seq, unsigned int op, op 206 net/sunrpc/stats.c if (procs[op].p_name) op 207 net/sunrpc/stats.c seq_printf(seq, "\t%12s: ", procs[op].p_name); op 208 net/sunrpc/stats.c else if (op == 0) op 211 net/sunrpc/stats.c seq_printf(seq, "\t%12u: ", op); op 228 net/sunrpc/stats.c int op, const struct rpc_procinfo *procs) op 230 net/sunrpc/stats.c _print_name(seq, op, procs); op 253 net/sunrpc/stats.c unsigned int op, maxproc = clnt->cl_maxproc; op 265 net/sunrpc/stats.c for (op = 0; op < maxproc; op++) { op 269 net/sunrpc/stats.c _add_rpc_iostats(&stats, &next->cl_metrics[op]); op 274 net/sunrpc/stats.c _print_rpc_iostats(seq, &stats, op, clnt->cl_procinfo); op 55 net/vmw_vsock/virtio_transport_common.c pkt->hdr.op = cpu_to_le16(info->op); op 82 net/vmw_vsock/virtio_transport_common.c info->op, op 127 net/vmw_vsock/virtio_transport_common.c switch (le16_to_cpu(pkt->hdr.op)) { op 130 net/vmw_vsock/virtio_transport_common.c hdr->op = cpu_to_le16(AF_VSOCK_OP_CONNECT); op 134 net/vmw_vsock/virtio_transport_common.c hdr->op = cpu_to_le16(AF_VSOCK_OP_DISCONNECT); op 137 net/vmw_vsock/virtio_transport_common.c hdr->op = cpu_to_le16(AF_VSOCK_OP_PAYLOAD); op 141 net/vmw_vsock/virtio_transport_common.c hdr->op = cpu_to_le16(AF_VSOCK_OP_CONTROL); op 144 net/vmw_vsock/virtio_transport_common.c hdr->op = cpu_to_le16(AF_VSOCK_OP_UNKNOWN); op 191 net/vmw_vsock/virtio_transport_common.c if (pkt_len == 0 && info->op == VIRTIO_VSOCK_OP_RW) op 262 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_CREDIT_UPDATE, op 619 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_REQUEST, op 631 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_SHUTDOWN, op 660 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_RW, op 683 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_RST, op 690 net/vmw_vsock/virtio_transport_common.c if (pkt && le16_to_cpu(pkt->hdr.op) == VIRTIO_VSOCK_OP_RST) op 704 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_RST, op 710 net/vmw_vsock/virtio_transport_common.c if (le16_to_cpu(pkt->hdr.op) == VIRTIO_VSOCK_OP_RST) op 853 net/vmw_vsock/virtio_transport_common.c switch (le16_to_cpu(pkt->hdr.op)) { op 936 net/vmw_vsock/virtio_transport_common.c switch (le16_to_cpu(pkt->hdr.op)) { op 977 net/vmw_vsock/virtio_transport_common.c if (le16_to_cpu(pkt->hdr.op) == VIRTIO_VSOCK_OP_RST) op 986 net/vmw_vsock/virtio_transport_common.c .op = VIRTIO_VSOCK_OP_RESPONSE, op 1005 net/vmw_vsock/virtio_transport_common.c if (le16_to_cpu(pkt->hdr.op) != VIRTIO_VSOCK_OP_REQUEST) { op 1079 net/vmw_vsock/virtio_transport_common.c le16_to_cpu(pkt->hdr.op), op 1717 net/wireless/nl80211.c #define CMD(op, n) \ op 1719 net/wireless/nl80211.c if (rdev->ops->op) { \ op 30 samples/bpf/tcp_basertt_kern.c int op; op 32 samples/bpf/tcp_basertt_kern.c op = (int) skops->op; op 35 samples/bpf/tcp_basertt_kern.c bpf_printk("BPF command: %d\n", op); op 46 samples/bpf/tcp_basertt_kern.c switch (op) { op 31 samples/bpf/tcp_bufs_kern.c int op; op 42 samples/bpf/tcp_bufs_kern.c op = (int) skops->op; op 51 samples/bpf/tcp_bufs_kern.c switch (op) { op 32 samples/bpf/tcp_clamp_kern.c int op; op 42 samples/bpf/tcp_clamp_kern.c op = (int) skops->op; op 45 samples/bpf/tcp_clamp_kern.c bpf_printk("BPF command: %d\n", op); op 56 samples/bpf/tcp_clamp_kern.c switch (op) { op 29 samples/bpf/tcp_cong_kern.c int op; op 40 samples/bpf/tcp_cong_kern.c op = (int) skops->op; op 43 samples/bpf/tcp_cong_kern.c bpf_printk("BPF command: %d\n", op); op 54 samples/bpf/tcp_cong_kern.c switch (op) { op 33 samples/bpf/tcp_dumpstats_kern.c switch (ctx->op) { op 32 samples/bpf/tcp_iw_kern.c int op; op 43 samples/bpf/tcp_iw_kern.c op = (int) skops->op; op 46 samples/bpf/tcp_iw_kern.c bpf_printk("BPF command: %d\n", op); op 52 samples/bpf/tcp_iw_kern.c switch (op) { op 28 samples/bpf/tcp_rwnd_kern.c int op; op 39 samples/bpf/tcp_rwnd_kern.c op = (int) skops->op; op 42 samples/bpf/tcp_rwnd_kern.c bpf_printk("BPF command: %d\n", op); op 46 samples/bpf/tcp_rwnd_kern.c if (op == BPF_SOCK_OPS_RWND_INIT && op 28 samples/bpf/tcp_synrto_kern.c int op; op 39 samples/bpf/tcp_synrto_kern.c op = (int) skops->op; op 42 samples/bpf/tcp_synrto_kern.c bpf_printk("BPF command: %d\n", op); op 46 samples/bpf/tcp_synrto_kern.c if (op == BPF_SOCK_OPS_TIMEOUT_INIT && op 33 samples/bpf/tcp_tos_reflect_kern.c int op; op 35 samples/bpf/tcp_tos_reflect_kern.c op = (int) skops->op; op 38 samples/bpf/tcp_tos_reflect_kern.c bpf_printk("BPF command: %d\n", op); op 40 samples/bpf/tcp_tos_reflect_kern.c switch (op) { op 26 samples/seccomp/user-trap.c static int seccomp(unsigned int op, unsigned int flags, void *args) op 29 samples/seccomp/user-trap.c return syscall(__NR_seccomp, op, flags, args); op 286 scripts/gcc-plugins/gcc-common.h tree op = gimple_asm_clobber_op(stmt, i); op 288 scripts/gcc-plugins/gcc-common.h if (!strcmp(TREE_STRING_POINTER(TREE_VALUE(op)), "memory")) op 309 scripts/gcc-plugins/latent_entropy_plugin.c static enum tree_code op; op 314 scripts/gcc-plugins/latent_entropy_plugin.c switch (op) { op 316 scripts/gcc-plugins/latent_entropy_plugin.c op = PLUS_EXPR; op 321 scripts/gcc-plugins/latent_entropy_plugin.c op = LROTATE_EXPR; op 332 scripts/gcc-plugins/latent_entropy_plugin.c op = BIT_XOR_EXPR; op 337 scripts/gcc-plugins/latent_entropy_plugin.c return op; op 351 scripts/gcc-plugins/latent_entropy_plugin.c enum tree_code op; op 353 scripts/gcc-plugins/latent_entropy_plugin.c op = get_op(&rhs); op 354 scripts/gcc-plugins/latent_entropy_plugin.c assign = create_assign(op, local_entropy, local_entropy, rhs); op 365 scripts/gcc-plugins/latent_entropy_plugin.c enum tree_code op; op 378 scripts/gcc-plugins/latent_entropy_plugin.c op = get_op(NULL); op 379 scripts/gcc-plugins/latent_entropy_plugin.c assign = create_assign(op, temp, temp, local_entropy); op 441 scripts/gcc-plugins/latent_entropy_plugin.c enum tree_code op; op 477 scripts/gcc-plugins/latent_entropy_plugin.c op = get_op(NULL); op 478 scripts/gcc-plugins/latent_entropy_plugin.c assign = create_assign(op, local_entropy, local_entropy, rand_const); op 223 scripts/recordmcount.c unsigned char *op; op 230 scripts/recordmcount.c op = map + offset - 1; op 231 scripts/recordmcount.c if (*op != 0xe8) op 807 scripts/unifdef.c } op[5]; op 915 scripts/unifdef.c const struct op *op; op 927 scripts/unifdef.c for (op = ops->op; op->str != NULL; op++) op 928 scripts/unifdef.c if (strncmp(cp, op->str, strlen(op->str)) == 0) op 930 scripts/unifdef.c if (op->str == NULL) op 932 scripts/unifdef.c cp += strlen(op->str); op 933 scripts/unifdef.c debug("eval%d %s", ops - eval_ops, op->str); op 937 scripts/unifdef.c lt = op->fn(valp, lt, *valp, rt, val); op 64 security/apparmor/audit.c if (aad(sa)->op) { op 66 security/apparmor/audit.c audit_log_string(ab, aad(sa)->op); op 178 security/apparmor/audit.c int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) op 184 security/apparmor/audit.c if (op != Audit_equal && op != Audit_not_equal) op 225 security/apparmor/audit.c int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) op 241 security/apparmor/audit.c switch (op) { op 1278 security/apparmor/domain.c static int change_profile_perms_wrapper(const char *op, const char *name, op 1290 security/apparmor/domain.c error = aa_audit_file(profile, perms, op, request, name, op 1321 security/apparmor/domain.c char *op; op 1345 security/apparmor/domain.c op = OP_STACK_ONEXEC; op 1347 security/apparmor/domain.c op = OP_CHANGE_ONEXEC; op 1351 security/apparmor/domain.c op = OP_STACK; op 1353 security/apparmor/domain.c op = OP_CHANGE_PROFILE; op 1396 security/apparmor/domain.c change_profile_perms_wrapper(op, auditname, op 1467 security/apparmor/domain.c aa_audit_file(profile, &perms, op, request, auditname, op 102 security/apparmor/file.c const char *op, u32 request, const char *name, op 107 security/apparmor/file.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_TASK, op); op 166 security/apparmor/file.c static int path_name(const char *op, struct aa_label *label, op 178 security/apparmor/file.c aa_audit_file(profile, &nullperms, op, request, *name, op 277 security/apparmor/file.c int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, op 288 security/apparmor/file.c return aa_audit_file(profile, perms, op, request, name, NULL, NULL, op 293 security/apparmor/file.c static int profile_path_perm(const char *op, struct aa_profile *profile, op 304 security/apparmor/file.c error = path_name(op, &profile->label, path, op 309 security/apparmor/file.c return __aa_path_perm(op, profile, name, request, cond, flags, op 324 security/apparmor/file.c int aa_path_perm(const char *op, struct aa_label *label, op 337 security/apparmor/file.c profile_path_perm(op, profile, path, buffer, request, op 508 security/apparmor/file.c static int __file_path_perm(const char *op, struct aa_label *label, op 531 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, buffer, op 544 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, op 549 security/apparmor/file.c profile_path_perm(op, profile, &file->f_path, op 561 security/apparmor/file.c static int __file_sock_perm(const char *op, struct aa_label *label, op 575 security/apparmor/file.c error = aa_sock_file_perm(label, op, request, sock); op 579 security/apparmor/file.c last_error(error, aa_sock_file_perm(flabel, op, request, sock)); op 596 security/apparmor/file.c int aa_file_perm(const char *op, struct aa_label *label, struct file *file, op 628 security/apparmor/file.c error = __file_path_perm(op, label, flabel, file, request, op 632 security/apparmor/file.c error = __file_sock_perm(op, label, flabel, file, request, op 110 security/apparmor/include/audit.h const char *op; op 160 security/apparmor/include/audit.h struct apparmor_audit_data NAME ## _aad = { .op = (X), }; \ op 189 security/apparmor/include/audit.h int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule); op 191 security/apparmor/include/audit.h int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule); op 160 security/apparmor/include/file.h const char *op, u32 request, const char *name, op 189 security/apparmor/include/file.h int __aa_path_perm(const char *op, struct aa_profile *profile, op 192 security/apparmor/include/file.h int aa_path_perm(const char *op, struct aa_label *label, op 199 security/apparmor/include/file.h int aa_file_perm(const char *op, struct aa_label *label, struct file *file, op 94 security/apparmor/include/net.h int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, op 104 security/apparmor/include/net.h int aa_sk_perm(const char *op, u32 request, struct sock *sk); op 106 security/apparmor/include/net.h int aa_sock_file_perm(struct aa_label *label, const char *op, u32 request, op 109 security/apparmor/include/net.h int apparmor_secmark_check(struct aa_label *label, char *op, u32 request, op 193 security/apparmor/lsm.c static int common_perm(const char *op, const struct path *path, u32 mask, op 201 security/apparmor/lsm.c error = aa_path_perm(op, label, path, 0, mask, cond); op 215 security/apparmor/lsm.c static int common_perm_cond(const char *op, const struct path *path, u32 mask) op 224 security/apparmor/lsm.c return common_perm(op, path, mask, &cond); op 237 security/apparmor/lsm.c static int common_perm_dir_dentry(const char *op, const struct path *dir, op 243 security/apparmor/lsm.c return common_perm(op, &path, mask, cond); op 255 security/apparmor/lsm.c static int common_perm_rm(const char *op, const struct path *dir, op 267 security/apparmor/lsm.c return common_perm_dir_dentry(op, dir, dentry, mask, &cond); op 280 security/apparmor/lsm.c static int common_perm_create(const char *op, const struct path *dir, op 288 security/apparmor/lsm.c return common_perm_dir_dentry(op, dir, dentry, mask, &cond); op 445 security/apparmor/lsm.c static int common_file_perm(const char *op, struct file *file, u32 mask) op 455 security/apparmor/lsm.c error = aa_file_perm(op, label, file, mask); op 481 security/apparmor/lsm.c static int common_mmap(const char *op, struct file *file, unsigned long prot, op 500 security/apparmor/lsm.c return common_file_perm(op, file, mask); op 917 security/apparmor/lsm.c static int aa_sock_msg_perm(const char *op, u32 request, struct socket *sock, op 926 security/apparmor/lsm.c msg_perm(op, request, sock, msg, size), op 927 security/apparmor/lsm.c aa_sk_perm(op, request, sock->sk)); op 949 security/apparmor/lsm.c static int aa_sock_perm(const char *op, u32 request, struct socket *sock) op 956 security/apparmor/lsm.c sock_perm(op, request, sock), op 957 security/apparmor/lsm.c aa_sk_perm(op, request, sock->sk)); op 977 security/apparmor/lsm.c static int aa_sock_opt_perm(const char *op, u32 request, struct socket *sock, op 985 security/apparmor/lsm.c opt_perm(op, request, sock, level, optname), op 986 security/apparmor/lsm.c aa_sk_perm(op, request, sock->sk)); op 130 security/apparmor/mount.c static int audit_mount(struct aa_profile *profile, const char *op, op 137 security/apparmor/mount.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, op); op 132 security/apparmor/net.c int aa_af_perm(struct aa_label *label, const char *op, u32 request, u16 family, op 136 security/apparmor/net.c DEFINE_AUDIT_NET(sa, op, NULL, family, type, protocol); op 143 security/apparmor/net.c static int aa_label_sk_perm(struct aa_label *label, const char *op, u32 request, op 153 security/apparmor/net.c DEFINE_AUDIT_SK(sa, op, sk); op 162 security/apparmor/net.c int aa_sk_perm(const char *op, u32 request, struct sock *sk) op 172 security/apparmor/net.c error = aa_label_sk_perm(label, op, request, sk); op 179 security/apparmor/net.c int aa_sock_file_perm(struct aa_label *label, const char *op, u32 request, op 186 security/apparmor/net.c return aa_label_sk_perm(label, op, request, sock->sk); op 244 security/apparmor/net.c int apparmor_secmark_check(struct aa_label *label, char *op, u32 request, op 248 security/apparmor/net.c DEFINE_AUDIT_SK(sa, op, sk); op 617 security/apparmor/policy.c static int audit_policy(struct aa_label *label, const char *op, op 621 security/apparmor/policy.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, op); op 682 security/apparmor/policy.c const char *op; op 685 security/apparmor/policy.c op = OP_PROF_RM; op 687 security/apparmor/policy.c op = OP_PROF_REPL; op 689 security/apparmor/policy.c op = OP_PROF_LOAD; op 693 security/apparmor/policy.c return audit_policy(label, op, NULL, NULL, "policy_locked", op 697 security/apparmor/policy.c return audit_policy(label, op, NULL, NULL, "not policy admin", op 863 security/apparmor/policy.c const char *op; op 867 security/apparmor/policy.c op = mask & AA_MAY_REPLACE_POLICY ? OP_PROF_REPL : OP_PROF_LOAD; op 902 security/apparmor/policy.c op = OP_PROF_LOAD; op 1002 security/apparmor/policy.c op = (!ent->old && !ent->rename) ? OP_PROF_LOAD : OP_PROF_REPL; op 1006 security/apparmor/policy.c audit_policy(label, op, ns_name, ent->new->base.hname, op 1019 security/apparmor/policy.c audit_policy(label, op, ns_name, ent->new->base.hname, NULL, op 1055 security/apparmor/policy.c op = (ent && !ent->old) ? OP_PROF_LOAD : OP_PROF_REPL; op 1057 security/apparmor/policy.c audit_policy(label, op, ns_name, ent ? ent->new->base.hname : NULL, op 1067 security/apparmor/policy.c op = (!tmp->old) ? OP_PROF_LOAD : OP_PROF_REPL; op 1068 security/apparmor/policy.c audit_policy(label, op, ns_name, tmp->new->base.hname, info, op 78 security/apparmor/procattr.c static char *split_token_from_name(const char *op, char *args, u64 *token) op 84 security/apparmor/procattr.c AA_ERROR("%s: Invalid input '%s'", op, args); op 135 security/integrity/ima/ima.h const char *op, struct inode *inode, op 146 security/integrity/ima/ima.h const char *op, const char *cause); op 367 security/integrity/ima/ima.h static inline int security_filter_rule_init(u32 field, u32 op, char *rulestr, op 373 security/integrity/ima/ima.h static inline int security_filter_rule_match(u32 secid, u32 field, u32 op, op 95 security/integrity/ima/ima_api.c static const char op[] = "add_template_measure"; op 114 security/integrity/ima/ima_api.c template_name, op, op 121 security/integrity/ima/ima_api.c result = ima_add_template_entry(entry, violation, op, inode, filename); op 134 security/integrity/ima/ima_api.c const char *op, const char *cause) op 159 security/integrity/ima/ima_api.c op, cause, result, 0); op 299 security/integrity/ima/ima_api.c static const char op[] = "add_template_measure"; op 324 security/integrity/ima/ima_api.c op, audit_cause, result, 0); op 320 security/integrity/ima/ima_appraise.c static const char op[] = "appraise_data"; op 396 security/integrity/ima/ima_appraise.c op, cause, rc, 0); op 413 security/integrity/ima/ima_appraise.c op, cause, rc, 0); op 44 security/integrity/ima/ima_init.c static const char op[] = "add_boot_aggregate"; op 87 security/integrity/ima/ima_init.c integrity_audit_msg(AUDIT_INTEGRITY_PCR, NULL, boot_aggregate_name, op, op 1253 security/integrity/ima/ima_policy.c static const char op[] = "update_policy"; op 1269 security/integrity/ima/ima_policy.c NULL, op, "-ENOMEM", -ENOMEM, audit_info); op 1279 security/integrity/ima/ima_policy.c NULL, op, "invalid-policy", result, op 165 security/integrity/ima/ima_queue.c const char *op, struct inode *inode, op 204 security/integrity/ima/ima_queue.c op, audit_cause, result, audit_info); op 232 security/integrity/integrity.h const unsigned char *fname, const char *op, op 244 security/integrity/integrity.h const char *op, const char *cause, op 29 security/integrity/integrity_audit.c const unsigned char *fname, const char *op, op 45 security/integrity/integrity_audit.c audit_log_format(ab, " op=%s cause=%s comm=", op, cause); op 100 security/keys/big_key.c static int big_key_crypt(enum big_key_op op, struct big_key_buf *buf, size_t datalen, u8 *key) op 126 security/keys/big_key.c if (op == BIG_KEY_ENC) op 196 security/keys/internal.h const char *op, op 324 security/keys/internal.h static inline long keyctl_pkey_e_d_s(int op, op 115 security/keys/keyctl_pkey.c int op, op 136 security/keys/keyctl_pkey.c switch (op) { op 206 security/keys/keyctl_pkey.c long keyctl_pkey_e_d_s(int op, op 216 security/keys/keyctl_pkey.c ret = keyctl_pkey_params_get_2(_params, _info, op, ¶ms); op 224 security/keys/keyctl_pkey.c switch (op) { op 226 security/keys/keyctl_pkey.c params.op = kernel_pkey_encrypt; op 229 security/keys/keyctl_pkey.c params.op = kernel_pkey_decrypt; op 232 security/keys/keyctl_pkey.c params.op = kernel_pkey_sign; op 312 security/keys/keyctl_pkey.c params.op = kernel_pkey_verify; op 127 security/keys/request_key.c kenter("{%d},{%d},%s", key->serial, authkey->serial, rka->op); op 183 security/keys/request_key.c argv[i++] = (char *)rka->op; op 161 security/keys/request_key_auth.c struct key *request_key_auth_new(struct key *target, const char *op, op 181 security/keys/request_key_auth.c strlcpy(rka->op, op, sizeof(rka->op)); op 261 security/lsm_audit.c audit_log_d_path(ab, " path=", &a->u.op->path); op 263 security/lsm_audit.c inode = a->u.op->path.dentry->d_inode; op 270 security/lsm_audit.c audit_log_format(ab, " ioctlcmd=0x%hx", a->u.op->cmd); op 2350 security/security.c int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule) op 2352 security/security.c return call_int_hook(audit_rule_init, 0, field, op, rulestr, lsmrule); op 2365 security/security.c int security_audit_rule_match(u32 secid, u32 field, u32 op, void *lsmrule) op 2367 security/security.c return call_int_hook(audit_rule_match, 0, secid, field, op, lsmrule); op 3578 security/selinux/hooks.c ad.u.op = &ioctl; op 3579 security/selinux/hooks.c ad.u.op->cmd = cmd; op 3580 security/selinux/hooks.c ad.u.op->path = file->f_path; op 26 security/selinux/include/audit.h int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **rule); op 47 security/selinux/include/audit.h int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule); op 49 security/selinux/ss/constraint.h u32 op; /* operator */ op 1227 security/selinux/ss/policydb.c e->op = le32_to_cpu(buf[2]); op 2827 security/selinux/ss/policydb.c buf[2] = cpu_to_le32(e->op); op 309 security/selinux/ss/services.c switch (e->op) { op 353 security/selinux/ss/services.c switch (e->op) { op 379 security/selinux/ss/services.c switch (e->op) { op 415 security/selinux/ss/services.c switch (e->op) { op 3280 security/selinux/ss/services.c int selinux_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) op 3304 security/selinux/ss/services.c if (op != Audit_equal && op != Audit_not_equal) op 3404 security/selinux/ss/services.c int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) op 3437 security/selinux/ss/services.c switch (op) { op 3448 security/selinux/ss/services.c switch (op) { op 3459 security/selinux/ss/services.c switch (op) { op 3475 security/selinux/ss/services.c switch (op) { op 4338 security/smack/smack_lsm.c static int smack_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) op 4347 security/smack/smack_lsm.c if (op != Audit_equal && op != Audit_not_equal) op 4392 security/smack/smack_lsm.c static int smack_audit_rule_match(u32 secid, u32 field, u32 op, void *vrule) op 4412 security/smack/smack_lsm.c if (op == Audit_equal) op 4414 security/smack/smack_lsm.c if (op == Audit_not_equal) op 1412 sound/core/control.c int op; op 1424 sound/core/control.c if (op_flag == pairs[i].op && (vd->access & pairs[i].perm)) op 34 sound/drivers/opl3/opl3_drums.c int op; op 70 sound/drivers/opl3/opl3_drums.c unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; op 124 sound/drivers/opl3/opl3_drums.c unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; op 435 sound/drivers/opl3/opl3_midi.c vol_op[i] = fm->op[i].ksl_level; op 467 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].am_vib; op 477 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].attack_decay; op 482 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].sustain_release; op 487 sound/drivers/opl3/opl3_midi.c reg_val = fm->op[i].wave_select; op 255 sound/drivers/opl3/opl3_synth.c patch->inst.op[i].am_vib = data[AM_VIB + i]; op 256 sound/drivers/opl3/opl3_synth.c patch->inst.op[i].ksl_level = data[KSL_LEVEL + i]; op 257 sound/drivers/opl3/opl3_synth.c patch->inst.op[i].attack_decay = data[ATTACK_DECAY + i]; op 258 sound/drivers/opl3/opl3_synth.c patch->inst.op[i].sustain_release = data[SUSTAIN_RELEASE + i]; op 259 sound/drivers/opl3/opl3_synth.c patch->inst.op[i].wave_select = data[WAVE_SELECT + i]; op 265 sound/drivers/opl3/opl3_synth.c patch->inst.op[i+2].am_vib = op 267 sound/drivers/opl3/opl3_synth.c patch->inst.op[i+2].ksl_level = op 269 sound/drivers/opl3/opl3_synth.c patch->inst.op[i+2].attack_decay = op 271 sound/drivers/opl3/opl3_synth.c patch->inst.op[i+2].sustain_release = op 273 sound/drivers/opl3/opl3_synth.c patch->inst.op[i+2].wave_select = op 445 sound/drivers/opl3/opl3_synth.c if (voice->op > 1) op 465 sound/drivers/opl3/opl3_synth.c voice_op = array_index_nospec(voice->op, 4); op 160 sound/firewire/bebob/bebob_proc.c void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) op 166 sound/firewire/bebob/bebob_proc.c snd_info_set_text_ops(entry, bebob, op); op 281 sound/firewire/dice/dice-proc.c void (*op)(struct snd_info_entry *entry, op 288 sound/firewire/dice/dice-proc.c snd_info_set_text_ops(entry, dice, op); op 37 sound/firewire/fireface/ff-proc.c void (*op)(struct snd_info_entry *e, op 44 sound/firewire/fireface/ff-proc.c snd_info_set_text_ops(entry, ff, op); op 196 sound/firewire/fireworks/fireworks_proc.c void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) op 202 sound/firewire/fireworks/fireworks_proc.c snd_info_set_text_ops(entry, efw, op); op 83 sound/firewire/motu/motu-proc.c void (*op)(struct snd_info_entry *e, op 90 sound/firewire/motu/motu-proc.c snd_info_set_text_ops(entry, motu, op); op 79 sound/firewire/oxfw/oxfw-proc.c void (*op)(struct snd_info_entry *e, op 86 sound/firewire/oxfw/oxfw-proc.c snd_info_set_text_ops(entry, oxfw, op); op 54 sound/firewire/tascam/tascam-proc.c void (*op)(struct snd_info_entry *e, op 61 sound/firewire/tascam/tascam-proc.c snd_info_set_text_ops(entry, tscm, op); op 461 sound/pci/emu10k1/emufx.c u32 op, u32 r, u32 a, u32 x, u32 y) op 469 sound/pci/emu10k1/emufx.c code[1] = ((op & 0x0f) << 20) | ((r & 0x3ff) << 10) | (a & 0x3ff); op 473 sound/pci/emu10k1/emufx.c #define OP(icode, ptr, op, r, a, x, y) \ op 474 sound/pci/emu10k1/emufx.c snd_emu10k1_write_op(icode, ptr, op, r, a, x, y) op 478 sound/pci/emu10k1/emufx.c u32 op, u32 r, u32 a, u32 x, u32 y) op 486 sound/pci/emu10k1/emufx.c code[1] = ((op & 0x0f) << 24) | ((r & 0x7ff) << 12) | (a & 0x7ff); op 490 sound/pci/emu10k1/emufx.c #define A_OP(icode, ptr, op, r, a, x, y) \ op 491 sound/pci/emu10k1/emufx.c snd_emu10k1_audigy_write_op(icode, ptr, op, r, a, x, y) op 100 sound/pci/oxygen/xonar_dg.c int cs4245_shadow_control(struct oxygen *chip, enum cs4245_shadow_operation op) op 107 sound/pci/oxygen/xonar_dg.c ret = (op == CS4245_SAVE_TO_SHADOW ? op 41 sound/pci/oxygen/xonar_dg.h int cs4245_shadow_control(struct oxygen *chip, enum cs4245_shadow_operation op); op 1096 sound/pci/rme96.c int op) op 1098 sound/pci/rme96.c if (op & RME96_TB_RESET_PLAYPOS) op 1100 sound/pci/rme96.c if (op & RME96_TB_RESET_CAPTUREPOS) op 1102 sound/pci/rme96.c if (op & RME96_TB_CLEAR_PLAYBACK_IRQ) { op 1107 sound/pci/rme96.c if (op & RME96_TB_CLEAR_CAPTURE_IRQ) { op 1112 sound/pci/rme96.c if (op & RME96_TB_START_PLAYBACK) op 1114 sound/pci/rme96.c if (op & RME96_TB_STOP_PLAYBACK) op 1116 sound/pci/rme96.c if (op & RME96_TB_START_CAPTURE) op 1118 sound/pci/rme96.c if (op & RME96_TB_STOP_CAPTURE) op 59 sound/soc/codecs/wm_hubs.c static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) op 67 sound/soc/codecs/wm_hubs.c val = op | WM8993_DCS_ENA_CHAN_0 | WM8993_DCS_ENA_CHAN_1; op 90 sound/soc/codecs/wm_hubs.c } while (reg & op && count < timeout); op 92 sound/soc/codecs/wm_hubs.c if (reg & op) op 94 sound/soc/codecs/wm_hubs.c op); op 370 sound/soc/fsl/mpc5200_dma.c int mpc5200_audio_dma_create(struct platform_device *op) op 381 sound/soc/fsl/mpc5200_dma.c irq = irq_of_parse_and_map(op->dev.of_node, 0); op 382 sound/soc/fsl/mpc5200_dma.c if (of_address_to_resource(op->dev.of_node, 0, &res)) { op 383 sound/soc/fsl/mpc5200_dma.c dev_err(&op->dev, "Missing reg property\n"); op 388 sound/soc/fsl/mpc5200_dma.c dev_err(&op->dev, "Could not map registers\n"); op 400 sound/soc/fsl/mpc5200_dma.c prop = of_get_property(op->dev.of_node, "cell-index", &size); op 412 sound/soc/fsl/mpc5200_dma.c psc_dma->dev = &op->dev; op 426 sound/soc/fsl/mpc5200_dma.c dev_err(&op->dev, "Could not allocate bestcomm tasks\n"); op 473 sound/soc/fsl/mpc5200_dma.c dev_set_drvdata(&op->dev, psc_dma); op 476 sound/soc/fsl/mpc5200_dma.c return devm_snd_soc_register_component(&op->dev, op 490 sound/soc/fsl/mpc5200_dma.c int mpc5200_audio_dma_destroy(struct platform_device *op) op 492 sound/soc/fsl/mpc5200_dma.c struct psc_dma *psc_dma = dev_get_drvdata(&op->dev); op 494 sound/soc/fsl/mpc5200_dma.c dev_dbg(&op->dev, "mpc5200_audio_dma_destroy()\n"); op 506 sound/soc/fsl/mpc5200_dma.c dev_set_drvdata(&op->dev, NULL); op 85 sound/soc/fsl/mpc5200_dma.h int mpc5200_audio_dma_create(struct platform_device *op); op 86 sound/soc/fsl/mpc5200_dma.h int mpc5200_audio_dma_destroy(struct platform_device *op); op 278 sound/soc/fsl/mpc5200_psc_ac97.c static int psc_ac97_of_probe(struct platform_device *op) op 283 sound/soc/fsl/mpc5200_psc_ac97.c rc = mpc5200_audio_dma_create(op); op 289 sound/soc/fsl/mpc5200_psc_ac97.c dev_err(&op->dev, "Failed to set AC'97 ops: %d\n", rc); op 293 sound/soc/fsl/mpc5200_psc_ac97.c rc = snd_soc_register_component(&op->dev, &psc_ac97_component, op 296 sound/soc/fsl/mpc5200_psc_ac97.c dev_err(&op->dev, "Failed to register DAI\n"); op 300 sound/soc/fsl/mpc5200_psc_ac97.c psc_dma = dev_get_drvdata(&op->dev); op 316 sound/soc/fsl/mpc5200_psc_ac97.c static int psc_ac97_of_remove(struct platform_device *op) op 318 sound/soc/fsl/mpc5200_psc_ac97.c mpc5200_audio_dma_destroy(op); op 319 sound/soc/fsl/mpc5200_psc_ac97.c snd_soc_unregister_component(&op->dev); op 159 sound/soc/fsl/mpc5200_psc_i2s.c static int psc_i2s_of_probe(struct platform_device *op) op 165 sound/soc/fsl/mpc5200_psc_i2s.c rc = mpc5200_audio_dma_create(op); op 169 sound/soc/fsl/mpc5200_psc_i2s.c rc = snd_soc_register_component(&op->dev, &psc_i2s_component, op 176 sound/soc/fsl/mpc5200_psc_i2s.c psc_dma = dev_get_drvdata(&op->dev); op 187 sound/soc/fsl/mpc5200_psc_i2s.c if (!of_get_property(op->dev.of_node, "codec-handle", NULL)) op 212 sound/soc/fsl/mpc5200_psc_i2s.c static int psc_i2s_of_remove(struct platform_device *op) op 214 sound/soc/fsl/mpc5200_psc_i2s.c mpc5200_audio_dma_destroy(op); op 215 sound/soc/fsl/mpc5200_psc_i2s.c snd_soc_unregister_component(&op->dev); op 56 sound/soc/fsl/pcm030-audio-fabric.c static int pcm030_fabric_probe(struct platform_device *op) op 58 sound/soc/fsl/pcm030-audio-fabric.c struct device_node *np = op->dev.of_node; op 69 sound/soc/fsl/pcm030-audio-fabric.c pdata = devm_kzalloc(&op->dev, sizeof(struct pcm030_audio_data), op 74 sound/soc/fsl/pcm030-audio-fabric.c card->dev = &op->dev; op 80 sound/soc/fsl/pcm030-audio-fabric.c dev_err(&op->dev, "ac97 not registered\n"); op 89 sound/soc/fsl/pcm030-audio-fabric.c dev_err(&op->dev, "request_module returned: %d\n", ret); op 93 sound/soc/fsl/pcm030-audio-fabric.c dev_err(&op->dev, "platform_device_alloc() failed\n"); op 97 sound/soc/fsl/pcm030-audio-fabric.c dev_err(&op->dev, "platform_device_add() failed: %d\n", ret); op 101 sound/soc/fsl/pcm030-audio-fabric.c dev_err(&op->dev, "snd_soc_register_card() failed: %d\n", ret); op 103 sound/soc/fsl/pcm030-audio-fabric.c platform_set_drvdata(op, pdata); op 108 sound/soc/fsl/pcm030-audio-fabric.c static int pcm030_fabric_remove(struct platform_device *op) op 110 sound/soc/fsl/pcm030-audio-fabric.c struct pcm030_audio_data *pdata = platform_get_drvdata(op); op 109 sound/soc/samsung/idma.c static void idma_control(int op) op 115 sound/soc/samsung/idma.c switch (op) { op 340 sound/sparc/amd7930.c struct platform_device *op; op 910 sound/sparc/amd7930.c struct platform_device *op = amd->op; op 918 sound/sparc/amd7930.c of_iounmap(&op->resource[0], amd->regs, op 919 sound/sparc/amd7930.c resource_size(&op->resource[0])); op 938 sound/sparc/amd7930.c struct platform_device *op, op 953 sound/sparc/amd7930.c amd->op = op; op 955 sound/sparc/amd7930.c amd->regs = of_ioremap(&op->resource[0], 0, op 956 sound/sparc/amd7930.c resource_size(&op->resource[0]), "amd7930"); op 1007 sound/sparc/amd7930.c static int amd7930_sbus_probe(struct platform_device *op) op 1009 sound/sparc/amd7930.c struct resource *rp = &op->resource[0]; op 1015 sound/sparc/amd7930.c irq = op->archdata.irqs[0]; op 1024 sound/sparc/amd7930.c err = snd_card_new(&op->dev, index[dev_num], id[dev_num], op 1037 sound/sparc/amd7930.c if ((err = snd_amd7930_create(card, op, op 115 sound/sparc/cs4231.c struct platform_device *op; op 1246 sound/sparc/cs4231.c &chip->op->dev, op 1557 sound/sparc/cs4231.c static int cs4231_attach_begin(struct platform_device *op, op 1574 sound/sparc/cs4231.c err = snd_card_new(&op->dev, index[dev], id[dev], THIS_MODULE, op 1610 sound/sparc/cs4231.c dev_set_drvdata(&chip->op->dev, chip); op 1771 sound/sparc/cs4231.c struct platform_device *op = chip->op; op 1777 sound/sparc/cs4231.c of_iounmap(&op->resource[0], chip->port, chip->regs_size); op 1794 sound/sparc/cs4231.c struct platform_device *op, op 1805 sound/sparc/cs4231.c chip->op = op; op 1806 sound/sparc/cs4231.c chip->regs_size = resource_size(&op->resource[0]); op 1810 sound/sparc/cs4231.c chip->port = of_ioremap(&op->resource[0], 0, op 1832 sound/sparc/cs4231.c if (request_irq(op->archdata.irqs[0], snd_cs4231_sbus_interrupt, op 1835 sound/sparc/cs4231.c dev, op->archdata.irqs[0]); op 1839 sound/sparc/cs4231.c chip->irq[0] = op->archdata.irqs[0]; op 1856 sound/sparc/cs4231.c static int cs4231_sbus_probe(struct platform_device *op) op 1858 sound/sparc/cs4231.c struct resource *rp = &op->resource[0]; op 1862 sound/sparc/cs4231.c err = cs4231_attach_begin(op, &card); op 1870 sound/sparc/cs4231.c op->archdata.irqs[0]); op 1872 sound/sparc/cs4231.c err = snd_cs4231_sbus_create(card, op, dev); op 1931 sound/sparc/cs4231.c struct platform_device *op = chip->op; op 1935 sound/sparc/cs4231.c of_iounmap(&op->resource[2], chip->c_dma.ebus_info.regs, 0x10); op 1939 sound/sparc/cs4231.c of_iounmap(&op->resource[1], chip->p_dma.ebus_info.regs, 0x10); op 1943 sound/sparc/cs4231.c of_iounmap(&op->resource[0], chip->port, 0x10); op 1960 sound/sparc/cs4231.c struct platform_device *op, op 1972 sound/sparc/cs4231.c chip->op = op; op 1979 sound/sparc/cs4231.c chip->c_dma.ebus_info.irq = op->archdata.irqs[0]; op 1984 sound/sparc/cs4231.c chip->p_dma.ebus_info.irq = op->archdata.irqs[1]; op 1996 sound/sparc/cs4231.c chip->port = of_ioremap(&op->resource[0], 0, 0x10, "cs4231"); op 1998 sound/sparc/cs4231.c of_ioremap(&op->resource[1], 0, 0x10, "cs4231_pdma"); op 2000 sound/sparc/cs4231.c of_ioremap(&op->resource[2], 0, 0x10, "cs4231_cdma"); op 2048 sound/sparc/cs4231.c static int cs4231_ebus_probe(struct platform_device *op) op 2053 sound/sparc/cs4231.c err = cs4231_attach_begin(op, &card); op 2059 sound/sparc/cs4231.c op->resource[0].start, op 2060 sound/sparc/cs4231.c op->archdata.irqs[0]); op 2062 sound/sparc/cs4231.c err = snd_cs4231_ebus_create(card, op, dev); op 2072 sound/sparc/cs4231.c static int cs4231_probe(struct platform_device *op) op 2075 sound/sparc/cs4231.c if (of_node_name_eq(op->dev.of_node->parent, "ebus")) op 2076 sound/sparc/cs4231.c return cs4231_ebus_probe(op); op 2079 sound/sparc/cs4231.c if (of_node_name_eq(op->dev.of_node->parent, "sbus") || op 2080 sound/sparc/cs4231.c of_node_name_eq(op->dev.of_node->parent, "sbi")) op 2081 sound/sparc/cs4231.c return cs4231_sbus_probe(op); op 2086 sound/sparc/cs4231.c static int cs4231_remove(struct platform_device *op) op 2088 sound/sparc/cs4231.c struct snd_cs4231 *chip = dev_get_drvdata(&op->dev); op 304 sound/sparc/dbri.c struct platform_device *op; /* OF device info */ op 2117 sound/sparc/dbri.c dma_map_single(&dbri->op->dev, op 2145 sound/sparc/dbri.c dma_unmap_single(&dbri->op->dev, info->dvma_buffer, op 2530 sound/sparc/dbri.c struct platform_device *op, op 2537 sound/sparc/dbri.c dbri->op = op; op 2540 sound/sparc/dbri.c dbri->dma = dma_alloc_coherent(&op->dev, sizeof(struct dbri_dma), op 2549 sound/sparc/dbri.c dbri->regs_size = resource_size(&op->resource[0]); op 2550 sound/sparc/dbri.c dbri->regs = of_ioremap(&op->resource[0], 0, op 2554 sound/sparc/dbri.c dma_free_coherent(&op->dev, sizeof(struct dbri_dma), op 2563 sound/sparc/dbri.c of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size); op 2564 sound/sparc/dbri.c dma_free_coherent(&op->dev, sizeof(struct dbri_dma), op 2589 sound/sparc/dbri.c of_iounmap(&dbri->op->resource[0], dbri->regs, dbri->regs_size); op 2592 sound/sparc/dbri.c dma_free_coherent(&dbri->op->dev, op 2597 sound/sparc/dbri.c static int dbri_probe(struct platform_device *op) op 2613 sound/sparc/dbri.c irq = op->archdata.irqs[0]; op 2619 sound/sparc/dbri.c err = snd_card_new(&op->dev, index[dev], id[dev], THIS_MODULE, op 2626 sound/sparc/dbri.c rp = &op->resource[0]; op 2631 sound/sparc/dbri.c err = snd_dbri_create(card, op, irq, dev); op 2648 sound/sparc/dbri.c dev_set_drvdata(&op->dev, card); op 2656 sound/sparc/dbri.c dbri->irq, op->dev.of_node->name[9], dbri->mm.version); op 2667 sound/sparc/dbri.c static int dbri_remove(struct platform_device *op) op 2669 sound/sparc/dbri.c struct snd_card *card = dev_get_drvdata(&op->dev); op 69 sound/xen/xen_snd_front.c req->op.hw_param = *hw_param_req; op 97 sound/xen/xen_snd_front.c req->op.open.pcm_format = format; op 98 sound/xen/xen_snd_front.c req->op.open.pcm_channels = channels; op 99 sound/xen/xen_snd_front.c req->op.open.pcm_rate = rate; op 100 sound/xen/xen_snd_front.c req->op.open.buffer_sz = buffer_sz; op 101 sound/xen/xen_snd_front.c req->op.open.period_sz = period_sz; op 102 sound/xen/xen_snd_front.c req->op.open.gref_directory = op 145 sound/xen/xen_snd_front.c req->op.rw.length = count; op 146 sound/xen/xen_snd_front.c req->op.rw.offset = pos; op 168 sound/xen/xen_snd_front.c req->op.rw.length = count; op 169 sound/xen/xen_snd_front.c req->op.rw.offset = pos; op 191 sound/xen/xen_snd_front.c req->op.trigger.type = type; op 123 sound/xen/xen_snd_front_evtchnl.c event->op.cur_pos.position); op 17 tools/arch/x86/include/asm/rmwcc.h #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ op 18 tools/arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " " arg0, var, cc) op 20 tools/arch/x86/include/asm/rmwcc.h #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ op 21 tools/arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " %1, " arg0, var, cc, vcon (val)) op 34 tools/arch/x86/include/asm/rmwcc.h #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ op 35 tools/arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " " arg0, var, cc) op 37 tools/arch/x86/include/asm/rmwcc.h #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ op 38 tools/arch/x86/include/asm/rmwcc.h __GEN_RMWcc(op " %2, " arg0, var, cc, vcon (val)) op 203 tools/arch/x86/lib/insn.c insn_byte_t op; op 211 tools/arch/x86/lib/insn.c op = get_next(insn_byte_t, insn); op 212 tools/arch/x86/lib/insn.c opcode->bytes[0] = op; op 220 tools/arch/x86/lib/insn.c insn->attr = inat_get_avx_attribute(op, m, p); op 228 tools/arch/x86/lib/insn.c insn->attr = inat_get_opcode_attribute(op); op 231 tools/arch/x86/lib/insn.c op = get_next(insn_byte_t, insn); op 232 tools/arch/x86/lib/insn.c opcode->bytes[opcode->nbytes++] = op; op 234 tools/arch/x86/lib/insn.c insn->attr = inat_get_escape_attribute(op, pfx_id, insn->attr); op 218 tools/bpf/bpf_dbg.c const char *op, *fmt; op 224 tools/bpf/bpf_dbg.c op = op_table[BPF_RET]; op 228 tools/bpf/bpf_dbg.c op = op_table[BPF_RET]; op 232 tools/bpf/bpf_dbg.c op = op_table[BPF_RET]; op 236 tools/bpf/bpf_dbg.c op = op_table[BPF_MISC_TAX]; op 240 tools/bpf/bpf_dbg.c op = op_table[BPF_MISC_TXA]; op 244 tools/bpf/bpf_dbg.c op = op_table[BPF_ST]; op 248 tools/bpf/bpf_dbg.c op = op_table[BPF_STX]; op 252 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_W]; op 256 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_H]; op 260 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_B]; op 264 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_W]; op 268 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_W]; op 272 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_H]; op 276 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_B]; op 280 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_W]; op 284 tools/bpf/bpf_dbg.c op = op_table[BPF_LDX]; op 288 tools/bpf/bpf_dbg.c op = op_table[BPF_LDX_B]; op 292 tools/bpf/bpf_dbg.c op = op_table[BPF_LD_W]; op 296 tools/bpf/bpf_dbg.c op = op_table[BPF_LDX]; op 300 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JA]; op 305 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JGT]; op 309 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JGT]; op 313 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JGE]; op 317 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JGE]; op 321 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JEQ]; op 325 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JEQ]; op 329 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JSET]; op 333 tools/bpf/bpf_dbg.c op = op_table[BPF_JMP_JSET]; op 337 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_NEG]; op 341 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_LSH]; op 345 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_LSH]; op 349 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_RSH]; op 353 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_RSH]; op 357 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_ADD]; op 361 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_ADD]; op 365 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_SUB]; op 369 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_SUB]; op 373 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_MUL]; op 377 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_MUL]; op 381 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_DIV]; op 385 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_DIV]; op 389 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_MOD]; op 393 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_MOD]; op 397 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_AND]; op 401 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_AND]; op 405 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_OR]; op 409 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_OR]; op 413 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_XOR]; op 417 tools/bpf/bpf_dbg.c op = op_table[BPF_ALU_XOR]; op 421 tools/bpf/bpf_dbg.c op = "nosup"; op 432 tools/bpf/bpf_dbg.c rl_printf("l%d:\t%s %s, l%d, l%d\n", i, op, buf, op 435 tools/bpf/bpf_dbg.c rl_printf("l%d:\t%s %s\n", i, op, buf); op 43 tools/bpf/bpf_exp.y static void bpf_set_curr_instr(uint16_t op, uint8_t jt, uint8_t jf, uint32_t k); op 9 tools/build/feature/test-dwarf_getlocations.c Dwarf_Op *op; op 12 tools/build/feature/test-dwarf_getlocations.c return (int)dwarf_getlocations(&attr, offset, &base, &start, &end, &op, &nops); op 803 tools/hv/hv_kvp_daemon.c kvp_get_ip_info(int family, char *if_name, int op, op 820 tools/hv/hv_kvp_daemon.c if (op == KVP_OP_ENUMERATE) { op 872 tools/hv/hv_kvp_daemon.c if (op == KVP_OP_GET_IP_INFO) { op 1370 tools/hv/hv_kvp_daemon.c int op; op 1469 tools/hv/hv_kvp_daemon.c op = hv_msg->kvp_hdr.operation; op 1473 tools/hv/hv_kvp_daemon.c if ((in_hand_shake) && (op == KVP_OP_REGISTER1)) { op 1491 tools/hv/hv_kvp_daemon.c switch (op) { op 1550 tools/hv/hv_kvp_daemon.c if (op != KVP_OP_ENUMERATE) op 202 tools/hv/hv_vss_daemon.c int op; op 291 tools/hv/hv_vss_daemon.c op = vss_msg->vss_hdr.operation; op 294 tools/hv/hv_vss_daemon.c switch (op) { op 297 tools/hv/hv_vss_daemon.c error = vss_operate(op); op 299 tools/hv/hv_vss_daemon.c op == VSS_OP_FREEZE ? "FREEZE" : "THAW", op 304 tools/hv/hv_vss_daemon.c syslog(LOG_ERR, "op=%d failed!", op); op 313 tools/hv/hv_vss_daemon.c syslog(LOG_ERR, "Illegal op:%d\n", op); op 321 tools/hv/hv_vss_daemon.c if (op == VSS_OP_FREEZE) op 3314 tools/include/uapi/linux/bpf.h __u32 op; op 469 tools/include/uapi/linux/kvm.h __u32 op; /* type of operation */ op 107 tools/io_uring/liburing.h static inline void io_uring_prep_rw(int op, struct io_uring_sqe *sqe, int fd, op 112 tools/io_uring/liburing.h sqe->opcode = op; op 917 tools/lib/traceevent/event-parse.c free(arg->op.op); op 918 tools/lib/traceevent/event-parse.c free_arg(arg->op.left); op 919 tools/lib/traceevent/event-parse.c free_arg(arg->op.right); op 1804 tools/lib/traceevent/event-parse.c arg->op.left = left; op 1805 tools/lib/traceevent/event-parse.c arg->op.right = right; op 1823 tools/lib/traceevent/event-parse.c arg->op.op = token; op 1827 tools/lib/traceevent/event-parse.c top->op.right = arg; op 1834 tools/lib/traceevent/event-parse.c top->op.right = NULL; op 1860 tools/lib/traceevent/event-parse.c top->op.right = arg; op 1874 tools/lib/traceevent/event-parse.c static int get_op_prio(char *op) op 1876 tools/lib/traceevent/event-parse.c if (!op[1]) { op 1877 tools/lib/traceevent/event-parse.c switch (op[0]) { op 1902 tools/lib/traceevent/event-parse.c do_warning("unknown op '%c'", op[0]); op 1906 tools/lib/traceevent/event-parse.c if (strcmp(op, "++") == 0 || op 1907 tools/lib/traceevent/event-parse.c strcmp(op, "--") == 0) { op 1909 tools/lib/traceevent/event-parse.c } else if (strcmp(op, ">>") == 0 || op 1910 tools/lib/traceevent/event-parse.c strcmp(op, "<<") == 0) { op 1912 tools/lib/traceevent/event-parse.c } else if (strcmp(op, ">=") == 0 || op 1913 tools/lib/traceevent/event-parse.c strcmp(op, "<=") == 0) { op 1915 tools/lib/traceevent/event-parse.c } else if (strcmp(op, "==") == 0 || op 1916 tools/lib/traceevent/event-parse.c strcmp(op, "!=") == 0) { op 1918 tools/lib/traceevent/event-parse.c } else if (strcmp(op, "&&") == 0) { op 1920 tools/lib/traceevent/event-parse.c } else if (strcmp(op, "||") == 0) { op 1923 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", op); op 1933 tools/lib/traceevent/event-parse.c if (!arg->op.left || arg->op.left->type == TEP_PRINT_NULL) op 1934 tools/lib/traceevent/event-parse.c arg->op.prio = 0; op 1936 tools/lib/traceevent/event-parse.c arg->op.prio = get_op_prio(arg->op.op); op 1938 tools/lib/traceevent/event-parse.c return arg->op.prio; op 1952 tools/lib/traceevent/event-parse.c if (arg->type == TEP_PRINT_OP && !arg->op.left) { op 1976 tools/lib/traceevent/event-parse.c arg->op.left = left; op 1982 tools/lib/traceevent/event-parse.c arg->op.right = right; op 1998 tools/lib/traceevent/event-parse.c arg->op.op = token; op 1999 tools/lib/traceevent/event-parse.c arg->op.left = left; op 2000 tools/lib/traceevent/event-parse.c arg->op.prio = 0; op 2032 tools/lib/traceevent/event-parse.c arg->op.op = token; op 2033 tools/lib/traceevent/event-parse.c arg->op.left = left; op 2034 tools/lib/traceevent/event-parse.c arg->op.right = NULL; op 2039 tools/lib/traceevent/event-parse.c arg->op.op = NULL; op 2047 tools/lib/traceevent/event-parse.c if ((strcmp(arg->op.op, "*") == 0) && op 2062 tools/lib/traceevent/event-parse.c free(arg->op.op); op 2082 tools/lib/traceevent/event-parse.c get_op_prio(arg->op.op) < get_op_prio(right->op.op)) { op 2086 tools/lib/traceevent/event-parse.c arg->op.right = right->op.left; op 2092 tools/lib/traceevent/event-parse.c arg->op.left = right; op 2094 tools/lib/traceevent/event-parse.c arg->op.right = right; op 2106 tools/lib/traceevent/event-parse.c arg->op.op = token; op 2107 tools/lib/traceevent/event-parse.c arg->op.left = left; op 2109 tools/lib/traceevent/event-parse.c arg->op.prio = 0; op 2127 tools/lib/traceevent/event-parse.c if (prio > arg->op.prio) op 2338 tools/lib/traceevent/event-parse.c switch (arg->op.op[0]) { op 2340 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2343 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2346 tools/lib/traceevent/event-parse.c if (arg->op.op[1]) op 2352 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2355 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2358 tools/lib/traceevent/event-parse.c if (arg->op.op[1]) op 2364 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2367 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2370 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 2381 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", arg->op.op); op 2386 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2389 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2392 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 2403 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", arg->op.op); op 2408 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2411 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2415 tools/lib/traceevent/event-parse.c if (arg->op.op[1] != '=') { op 2416 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", arg->op.op); op 2422 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2425 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2429 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 2434 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", arg->op.op); op 2440 tools/lib/traceevent/event-parse.c if (arg->op.left->type == TEP_PRINT_NULL) op 2443 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2446 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2452 tools/lib/traceevent/event-parse.c if (arg->op.left->type == TEP_PRINT_NULL) op 2455 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.left, &left); op 2458 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2464 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->op.right, &right); op 2470 tools/lib/traceevent/event-parse.c do_warning("unknown op '%s'", arg->op.op); op 3189 tools/lib/traceevent/event-parse.c arg->op.op = token; op 3190 tools/lib/traceevent/event-parse.c arg->op.left = NULL; op 3195 tools/lib/traceevent/event-parse.c arg->op.op = NULL; op 3647 tools/lib/traceevent/event-parse.c if (strcmp(arg->op.op, "[") == 0) { op 3652 tools/lib/traceevent/event-parse.c right = eval_num_arg(data, size, event, arg->op.right); op 3655 tools/lib/traceevent/event-parse.c larg = arg->op.left; op 3701 tools/lib/traceevent/event-parse.c } else if (strcmp(arg->op.op, "?") == 0) { op 3702 tools/lib/traceevent/event-parse.c left = eval_num_arg(data, size, event, arg->op.left); op 3703 tools/lib/traceevent/event-parse.c arg = arg->op.right; op 3705 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->op.left); op 3707 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->op.right); op 3711 tools/lib/traceevent/event-parse.c left = eval_num_arg(data, size, event, arg->op.left); op 3712 tools/lib/traceevent/event-parse.c right = eval_num_arg(data, size, event, arg->op.right); op 3713 tools/lib/traceevent/event-parse.c switch (arg->op.op[0]) { op 3715 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 3730 tools/lib/traceevent/event-parse.c if (arg->op.op[1]) op 3736 tools/lib/traceevent/event-parse.c if (arg->op.op[1]) op 3742 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 3757 tools/lib/traceevent/event-parse.c switch (arg->op.op[1]) { op 3772 tools/lib/traceevent/event-parse.c if (arg->op.op[1] != '=') op 3826 tools/lib/traceevent/event-parse.c do_warning_event(event, "%s: unknown op '%s'", __func__, arg->op.op); op 4167 tools/lib/traceevent/event-parse.c if (arg->op.op[0] != '?') op 4169 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->op.left); op 4172 tools/lib/traceevent/event-parse.c format, len_arg, arg->op.right->op.left); op 4175 tools/lib/traceevent/event-parse.c format, len_arg, arg->op.right->op.right); op 5999 tools/lib/traceevent/event-parse.c if (strcmp(args->op.op, ":") == 0) op 6003 tools/lib/traceevent/event-parse.c print_args(args->op.left); op 6004 tools/lib/traceevent/event-parse.c printf(" %s ", args->op.op); op 6005 tools/lib/traceevent/event-parse.c print_args(args->op.right); op 224 tools/lib/traceevent/event-parse.h char *op; op 270 tools/lib/traceevent/event-parse.h struct tep_print_arg_op op; op 698 tools/lib/traceevent/event-parse.h struct tep_filter_arg_op op; op 49 tools/lib/traceevent/event-plugin.c static int update_option_value(struct tep_plugin_option *op, const char *val) op 55 tools/lib/traceevent/event-plugin.c if (op->value) op 58 tools/lib/traceevent/event-plugin.c op->set ^= 1; op 66 tools/lib/traceevent/event-plugin.c if (op->value) { op 67 tools/lib/traceevent/event-plugin.c op->value = val; op 79 tools/lib/traceevent/event-plugin.c op->set = 1; op 81 tools/lib/traceevent/event-plugin.c op->set = 0; op 102 tools/lib/traceevent/event-plugin.c struct tep_plugin_option *op; op 108 tools/lib/traceevent/event-plugin.c for (op = reg->options; op->name; op++) { op 109 tools/lib/traceevent/event-plugin.c char *alias = op->plugin_alias ? op->plugin_alias : op->file; op 113 tools/lib/traceevent/event-plugin.c ret = asprintf(&name, "%s:%s", alias, op->name); op 156 tools/lib/traceevent/event-plugin.c struct trace_plugin_options *op; op 175 tools/lib/traceevent/event-plugin.c for (op = trace_plugin_options; op; op = op->next) { op 176 tools/lib/traceevent/event-plugin.c if (!op->plugin) op 178 tools/lib/traceevent/event-plugin.c if (strcmp(op->plugin, plugin) != 0) op 180 tools/lib/traceevent/event-plugin.c if (strcmp(op->option, option->name) != 0) op 183 tools/lib/traceevent/event-plugin.c ret = update_option_value(option, op->value); op 190 tools/lib/traceevent/event-plugin.c for (op = trace_plugin_options; op; op = op->next) { op 191 tools/lib/traceevent/event-plugin.c if (op->plugin) op 193 tools/lib/traceevent/event-plugin.c if (strcmp(op->option, option->name) != 0) op 196 tools/lib/traceevent/event-plugin.c ret = update_option_value(option, op->value); op 222 tools/lib/traceevent/parse-filter.c free_arg(arg->op.left); op 223 tools/lib/traceevent/parse-filter.c free_arg(arg->op.right); op 408 tools/lib/traceevent/parse-filter.c arg->op.type = btype; op 445 tools/lib/traceevent/parse-filter.c add_right(struct tep_filter_arg *op, struct tep_filter_arg *arg, char *error_str) op 452 tools/lib/traceevent/parse-filter.c switch (op->type) { op 454 tools/lib/traceevent/parse-filter.c if (op->exp.right) op 456 tools/lib/traceevent/parse-filter.c op->exp.right = arg; op 460 tools/lib/traceevent/parse-filter.c if (op->op.right) op 462 tools/lib/traceevent/parse-filter.c op->op.right = arg; op 466 tools/lib/traceevent/parse-filter.c if (op->op.right) op 492 tools/lib/traceevent/parse-filter.c op->num.type != TEP_FILTER_CMP_REGEX && op 493 tools/lib/traceevent/parse-filter.c op->num.type != TEP_FILTER_CMP_NOT_REGEX) { op 501 tools/lib/traceevent/parse-filter.c op_type = op->num.type; op 502 tools/lib/traceevent/parse-filter.c left = op->num.left; op 506 tools/lib/traceevent/parse-filter.c memset(op, 0, sizeof(*op)); op 515 tools/lib/traceevent/parse-filter.c op->type = TEP_FILTER_ARG_BOOLEAN; op 516 tools/lib/traceevent/parse-filter.c op->boolean.value = TEP_FILTER_FALSE; op 538 tools/lib/traceevent/parse-filter.c ret = regcomp(&op->str.reg, str, REG_ICASE|REG_NOSUB); op 552 tools/lib/traceevent/parse-filter.c op->type = TEP_FILTER_ARG_STR; op 553 tools/lib/traceevent/parse-filter.c op->str.type = op_type; op 554 tools/lib/traceevent/parse-filter.c op->str.field = left->field.field; op 555 tools/lib/traceevent/parse-filter.c op->str.val = strdup(str); op 556 tools/lib/traceevent/parse-filter.c if (!op->str.val) { op 563 tools/lib/traceevent/parse-filter.c op->str.buffer = malloc(op->str.field->size + 1); op 564 tools/lib/traceevent/parse-filter.c if (!op->str.buffer) { op 569 tools/lib/traceevent/parse-filter.c op->str.buffer[op->str.field->size] = 0; op 580 tools/lib/traceevent/parse-filter.c switch (op->num.type) { op 592 tools/lib/traceevent/parse-filter.c op->num.right = arg; op 614 tools/lib/traceevent/parse-filter.c arg = a->op.right; op 615 tools/lib/traceevent/parse-filter.c a->op.right = b; op 619 tools/lib/traceevent/parse-filter.c static enum tep_errno add_left(struct tep_filter_arg *op, struct tep_filter_arg *arg) op 621 tools/lib/traceevent/parse-filter.c switch (op->type) { op 624 tools/lib/traceevent/parse-filter.c arg = rotate_op_right(arg, op); op 625 tools/lib/traceevent/parse-filter.c op->exp.left = arg; op 629 tools/lib/traceevent/parse-filter.c op->op.left = arg; op 633 tools/lib/traceevent/parse-filter.c arg = rotate_op_right(arg, op); op 639 tools/lib/traceevent/parse-filter.c op->num.left = arg; op 731 tools/lib/traceevent/parse-filter.c return arg->op.right != NULL; op 769 tools/lib/traceevent/parse-filter.c if (old_child->op.right == arg) { op 770 tools/lib/traceevent/parse-filter.c ptr = &old_child->op.right; op 771 tools/lib/traceevent/parse-filter.c other_child = old_child->op.left; op 772 tools/lib/traceevent/parse-filter.c } else if (old_child->op.left == arg) { op 773 tools/lib/traceevent/parse-filter.c ptr = &old_child->op.left; op 774 tools/lib/traceevent/parse-filter.c other_child = old_child->op.right; op 792 tools/lib/traceevent/parse-filter.c if (parent->op.right == old_child) op 793 tools/lib/traceevent/parse-filter.c ptr = &parent->op.right; op 794 tools/lib/traceevent/parse-filter.c else if (parent->op.left == old_child) op 795 tools/lib/traceevent/parse-filter.c ptr = &parent->op.left; op 844 tools/lib/traceevent/parse-filter.c if (arg->op.type != TEP_FILTER_OP_NOT) { op 845 tools/lib/traceevent/parse-filter.c lval = test_arg(arg, arg->op.left, error_str); op 850 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_OR) op 852 tools/lib/traceevent/parse-filter.c rval = test_arg(arg, arg->op.right, error_str); op 856 tools/lib/traceevent/parse-filter.c return reparent_op_arg(parent, arg, arg->op.right, op 860 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_AND) op 862 tools/lib/traceevent/parse-filter.c rval = test_arg(arg, arg->op.right, error_str); op 866 tools/lib/traceevent/parse-filter.c return reparent_op_arg(parent, arg, arg->op.right, op 874 tools/lib/traceevent/parse-filter.c rval = test_arg(arg, arg->op.right, error_str); op 881 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_OR) op 883 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_NOT) op 886 tools/lib/traceevent/parse-filter.c return reparent_op_arg(parent, arg, arg->op.left, op 890 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_AND) op 892 tools/lib/traceevent/parse-filter.c if (arg->op.type == TEP_FILTER_OP_NOT) op 895 tools/lib/traceevent/parse-filter.c return reparent_op_arg(parent, arg, arg->op.left, op 1788 tools/lib/traceevent/parse-filter.c switch (arg->op.type) { op 1790 tools/lib/traceevent/parse-filter.c return test_filter(event, arg->op.left, record, err) && op 1791 tools/lib/traceevent/parse-filter.c test_filter(event, arg->op.right, record, err); op 1794 tools/lib/traceevent/parse-filter.c return test_filter(event, arg->op.left, record, err) || op 1795 tools/lib/traceevent/parse-filter.c test_filter(event, arg->op.right, record, err); op 1798 tools/lib/traceevent/parse-filter.c return !test_filter(event, arg->op.right, record, err); op 1911 tools/lib/traceevent/parse-filter.c char *op = NULL; op 1916 tools/lib/traceevent/parse-filter.c switch (arg->op.type) { op 1918 tools/lib/traceevent/parse-filter.c op = "&&"; op 1921 tools/lib/traceevent/parse-filter.c if (!op) op 1922 tools/lib/traceevent/parse-filter.c op = "||"; op 1924 tools/lib/traceevent/parse-filter.c left = arg_to_str(filter, arg->op.left); op 1925 tools/lib/traceevent/parse-filter.c right = arg_to_str(filter, arg->op.right); op 1941 tools/lib/traceevent/parse-filter.c if ((arg->op.type == TEP_FILTER_OP_AND && !left_val) || op 1942 tools/lib/traceevent/parse-filter.c (arg->op.type == TEP_FILTER_OP_OR && left_val)) { op 1951 tools/lib/traceevent/parse-filter.c switch (arg->op.type) { op 1966 tools/lib/traceevent/parse-filter.c if ((arg->op.type == TEP_FILTER_OP_AND && !right_val) || op 1967 tools/lib/traceevent/parse-filter.c (arg->op.type == TEP_FILTER_OP_OR && right_val)) { op 1979 tools/lib/traceevent/parse-filter.c asprintf(&str, "(%s) %s (%s)", left, op, right); op 1983 tools/lib/traceevent/parse-filter.c op = "!"; op 1984 tools/lib/traceevent/parse-filter.c right = arg_to_str(filter, arg->op.right); op 1998 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s(%s)", op, right); op 2028 tools/lib/traceevent/parse-filter.c char *op; op 2038 tools/lib/traceevent/parse-filter.c op = "+"; op 2041 tools/lib/traceevent/parse-filter.c op = "-"; op 2044 tools/lib/traceevent/parse-filter.c op = "*"; op 2047 tools/lib/traceevent/parse-filter.c op = "/"; op 2050 tools/lib/traceevent/parse-filter.c op = "%"; op 2053 tools/lib/traceevent/parse-filter.c op = ">>"; op 2056 tools/lib/traceevent/parse-filter.c op = "<<"; op 2059 tools/lib/traceevent/parse-filter.c op = "&"; op 2062 tools/lib/traceevent/parse-filter.c op = "|"; op 2065 tools/lib/traceevent/parse-filter.c op = "^"; op 2068 tools/lib/traceevent/parse-filter.c op = "[ERROR IN EXPRESSION TYPE]"; op 2072 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s %s %s", lstr, op, rstr); op 2085 tools/lib/traceevent/parse-filter.c char *op = NULL; op 2094 tools/lib/traceevent/parse-filter.c op = "=="; op 2097 tools/lib/traceevent/parse-filter.c if (!op) op 2098 tools/lib/traceevent/parse-filter.c op = "!="; op 2101 tools/lib/traceevent/parse-filter.c if (!op) op 2102 tools/lib/traceevent/parse-filter.c op = ">"; op 2105 tools/lib/traceevent/parse-filter.c if (!op) op 2106 tools/lib/traceevent/parse-filter.c op = "<"; op 2109 tools/lib/traceevent/parse-filter.c if (!op) op 2110 tools/lib/traceevent/parse-filter.c op = ">="; op 2113 tools/lib/traceevent/parse-filter.c if (!op) op 2114 tools/lib/traceevent/parse-filter.c op = "<="; op 2116 tools/lib/traceevent/parse-filter.c asprintf(&str, "%s %s %s", lstr, op, rstr); op 2133 tools/lib/traceevent/parse-filter.c char *op = NULL; op 2137 tools/lib/traceevent/parse-filter.c op = "=="; op 2140 tools/lib/traceevent/parse-filter.c if (!op) op 2141 tools/lib/traceevent/parse-filter.c op = "!="; op 2144 tools/lib/traceevent/parse-filter.c if (!op) op 2145 tools/lib/traceevent/parse-filter.c op = "=~"; op 2148 tools/lib/traceevent/parse-filter.c if (!op) op 2149 tools/lib/traceevent/parse-filter.c op = "!~"; op 2152 tools/lib/traceevent/parse-filter.c arg->str.field->name, op, arg->str.val); op 105 tools/lib/traceevent/plugins/plugin_xen.c static const char *xen_hypercall_name(unsigned op) op 107 tools/lib/traceevent/plugins/plugin_xen.c if (op < ARRAY_SIZE(xen_hypercall_names) && op 108 tools/lib/traceevent/plugins/plugin_xen.c xen_hypercall_names[op] != NULL) op 109 tools/lib/traceevent/plugins/plugin_xen.c return xen_hypercall_names[op]; op 117 tools/lib/traceevent/plugins/plugin_xen.c unsigned int op = args[0]; op 119 tools/lib/traceevent/plugins/plugin_xen.c trace_seq_printf(s, "%s", xen_hypercall_name(op)); op 74 tools/objtool/arch.h unsigned long *immediate, struct stack_op *op); op 72 tools/objtool/arch/x86/decode.c unsigned long *immediate, struct stack_op *op) op 127 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 128 tools/objtool/arch/x86/decode.c op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 129 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 130 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 138 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 139 tools/objtool/arch/x86/decode.c op->src.reg = op_to_cfi_reg[op1 & 0x7][rex_b]; op 140 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_PUSH; op 148 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_POP; op 149 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 150 tools/objtool/arch/x86/decode.c op->dest.reg = op_to_cfi_reg[op1 & 0x7][rex_b]; op 158 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_CONST; op 159 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_PUSH; op 174 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_AND; op 175 tools/objtool/arch/x86/decode.c op->src.reg = CFI_SP; op 176 tools/objtool/arch/x86/decode.c op->src.offset = insn.immediate.value; op 177 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 178 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 191 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 192 tools/objtool/arch/x86/decode.c op->src.reg = CFI_SP; op 193 tools/objtool/arch/x86/decode.c op->src.offset = insn.immediate.value * sign; op 194 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 195 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 203 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 204 tools/objtool/arch/x86/decode.c op->src.reg = CFI_SP; op 205 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 206 tools/objtool/arch/x86/decode.c op->dest.reg = op_to_cfi_reg[modrm_rm][rex_b]; op 214 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 215 tools/objtool/arch/x86/decode.c op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 216 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 217 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 228 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 229 tools/objtool/arch/x86/decode.c op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 230 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG_INDIRECT; op 231 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_BP; op 232 tools/objtool/arch/x86/decode.c op->dest.offset = insn.displacement.value; op 238 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 239 tools/objtool/arch/x86/decode.c op->src.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 240 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG_INDIRECT; op 241 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 242 tools/objtool/arch/x86/decode.c op->dest.offset = insn.displacement.value; op 252 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG_INDIRECT; op 253 tools/objtool/arch/x86/decode.c op->src.reg = CFI_BP; op 254 tools/objtool/arch/x86/decode.c op->src.offset = insn.displacement.value; op 255 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 256 tools/objtool/arch/x86/decode.c op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 263 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG_INDIRECT; op 264 tools/objtool/arch/x86/decode.c op->src.reg = CFI_SP; op 265 tools/objtool/arch/x86/decode.c op->src.offset = insn.displacement.value; op 266 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 267 tools/objtool/arch/x86/decode.c op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 278 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_REG; op 281 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 282 tools/objtool/arch/x86/decode.c op->src.offset = insn.displacement.value; op 284 tools/objtool/arch/x86/decode.c op->src.reg = CFI_SP; op 285 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 286 tools/objtool/arch/x86/decode.c op->dest.reg = op_to_cfi_reg[modrm_reg][rex_r]; op 292 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 293 tools/objtool/arch/x86/decode.c op->src.reg = CFI_BP; op 294 tools/objtool/arch/x86/decode.c op->src.offset = insn.displacement.value; op 295 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 296 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 308 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 309 tools/objtool/arch/x86/decode.c op->src.reg = CFI_R10; op 310 tools/objtool/arch/x86/decode.c op->src.offset = -8; op 311 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 312 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 324 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_ADD; op 325 tools/objtool/arch/x86/decode.c op->src.reg = CFI_R13; op 326 tools/objtool/arch/x86/decode.c op->src.offset = -16; op 327 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_REG; op 328 tools/objtool/arch/x86/decode.c op->dest.reg = CFI_SP; op 336 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_POP; op 337 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_MEM; op 347 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_CONST; op 348 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_PUSHF; op 354 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_POPF; op 355 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_MEM; op 391 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_CONST; op 392 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_PUSH; op 398 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_POP; op 399 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_MEM; op 413 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_LEAVE; op 468 tools/objtool/arch/x86/decode.c op->src.type = OP_SRC_CONST; op 469 tools/objtool/arch/x86/decode.c op->dest.type = OP_DEST_PUSH; op 1403 tools/objtool/check.c struct stack_op *op = &insn->stack_op; op 1409 tools/objtool/check.c if (op->dest.type == OP_DEST_PUSH || op->dest.type == OP_DEST_PUSHF) op 1413 tools/objtool/check.c if (op->src.type == OP_SRC_POP || op->src.type == OP_SRC_POPF) op 1417 tools/objtool/check.c if (op->dest.type == OP_DEST_REG && op->src.type == OP_SRC_ADD && op 1418 tools/objtool/check.c op->dest.reg == CFI_SP && op->src.reg == CFI_SP) op 1419 tools/objtool/check.c cfa->offset -= op->src.offset; op 1495 tools/objtool/check.c struct stack_op *op = &insn->stack_op; op 1511 tools/objtool/check.c switch (op->dest.type) { op 1514 tools/objtool/check.c switch (op->src.type) { op 1517 tools/objtool/check.c if (op->src.reg == CFI_SP && op->dest.reg == CFI_BP && op 1523 tools/objtool/check.c cfa->base = op->dest.reg; op 1527 tools/objtool/check.c else if (op->src.reg == CFI_SP && op 1528 tools/objtool/check.c op->dest.reg == CFI_BP && state->drap) { op 1536 tools/objtool/check.c else if (op->src.reg == CFI_SP && cfa->base == CFI_SP) { op 1548 tools/objtool/check.c state->vals[op->dest.reg].base = CFI_CFA; op 1549 tools/objtool/check.c state->vals[op->dest.reg].offset = -state->stack_size; op 1552 tools/objtool/check.c else if (op->src.reg == CFI_BP && op->dest.reg == CFI_SP && op 1563 tools/objtool/check.c else if (op->dest.reg == cfa->base) { op 1567 tools/objtool/check.c state->vals[op->src.reg].base == CFI_CFA) { op 1577 tools/objtool/check.c cfa->offset = -state->vals[op->src.reg].offset; op 1589 tools/objtool/check.c if (op->dest.reg == CFI_SP && op->src.reg == CFI_SP) { op 1592 tools/objtool/check.c state->stack_size -= op->src.offset; op 1594 tools/objtool/check.c cfa->offset -= op->src.offset; op 1598 tools/objtool/check.c if (op->dest.reg == CFI_SP && op->src.reg == CFI_BP) { op 1601 tools/objtool/check.c state->stack_size = -(op->src.offset + regs[CFI_BP].offset); op 1605 tools/objtool/check.c if (op->src.reg == CFI_SP && cfa->base == CFI_SP) { op 1608 tools/objtool/check.c state->drap_reg = op->dest.reg; op 1620 tools/objtool/check.c state->vals[op->dest.reg].base = CFI_CFA; op 1621 tools/objtool/check.c state->vals[op->dest.reg].offset = \ op 1622 tools/objtool/check.c -state->stack_size + op->src.offset; op 1627 tools/objtool/check.c if (state->drap && op->dest.reg == CFI_SP && op 1628 tools/objtool/check.c op->src.reg == state->drap_reg) { op 1632 tools/objtool/check.c cfa->offset = state->stack_size = -op->src.offset; op 1638 tools/objtool/check.c if (op->dest.reg == state->cfa.base) { op 1647 tools/objtool/check.c if (op->dest.reg != CFI_SP || op 1671 tools/objtool/check.c if (!state->drap && op->dest.type == OP_DEST_REG && op 1672 tools/objtool/check.c op->dest.reg == cfa->base) { op 1679 tools/objtool/check.c op->dest.type == OP_DEST_REG && op 1680 tools/objtool/check.c op->dest.reg == state->drap_reg && op 1688 tools/objtool/check.c } else if (regs[op->dest.reg].offset == -state->stack_size) { op 1691 tools/objtool/check.c restore_reg(state, op->dest.reg); op 1701 tools/objtool/check.c if (state->drap && op->src.reg == CFI_BP && op 1702 tools/objtool/check.c op->src.offset == state->drap_offset) { op 1710 tools/objtool/check.c if (state->drap && op->src.reg == CFI_BP && op 1711 tools/objtool/check.c op->src.offset == regs[op->dest.reg].offset) { op 1714 tools/objtool/check.c restore_reg(state, op->dest.reg); op 1716 tools/objtool/check.c } else if (op->src.reg == cfa->base && op 1717 tools/objtool/check.c op->src.offset == regs[op->dest.reg].offset + cfa->offset) { op 1721 tools/objtool/check.c restore_reg(state, op->dest.reg); op 1740 tools/objtool/check.c if (op->src.type != OP_SRC_REG) op 1744 tools/objtool/check.c if (op->src.reg == cfa->base && op->src.reg == state->drap_reg) { op 1753 tools/objtool/check.c } else if (op->src.reg == CFI_BP && cfa->base == state->drap_reg) { op 1758 tools/objtool/check.c } else if (regs[op->src.reg].base == CFI_UNDEFINED) { op 1761 tools/objtool/check.c save_reg(state, op->src.reg, CFI_BP, -state->stack_size); op 1767 tools/objtool/check.c save_reg(state, op->src.reg, CFI_CFA, -state->stack_size); op 1771 tools/objtool/check.c if (!no_fp && insn->func && op->src.reg == CFI_BP && op 1779 tools/objtool/check.c if (op->src.reg == cfa->base && op->src.reg == state->drap_reg) { op 1783 tools/objtool/check.c cfa->offset = op->dest.offset; op 1786 tools/objtool/check.c state->drap_offset = op->dest.offset; op 1789 tools/objtool/check.c else if (regs[op->src.reg].base == CFI_UNDEFINED) { op 1792 tools/objtool/check.c save_reg(state, op->src.reg, CFI_BP, op->dest.offset); op 1795 tools/objtool/check.c } else if (op->dest.reg == cfa->base) { op 1799 tools/objtool/check.c save_reg(state, op->src.reg, CFI_CFA, op 1800 tools/objtool/check.c op->dest.offset - state->cfa.offset); op 1826 tools/objtool/check.c if (op->src.type != OP_SRC_POP && op->src.type != OP_SRC_POPF) { op 99 tools/perf/arch/x86/tests/insn-x86.c int op, branch; op 115 tools/perf/arch/x86/tests/insn-x86.c op = get_op(dat->expected_op_str); op 123 tools/perf/arch/x86/tests/insn-x86.c if ((int)intel_pt_insn.op != op) { op 125 tools/perf/arch/x86/tests/insn-x86.c intel_pt_insn.op, op, dat->asm_rep); op 14 tools/perf/arch/x86/util/header.c cpuid(unsigned int op, unsigned int *a, unsigned int *b, unsigned int *c, op 23 tools/perf/arch/x86/util/header.c : "a" (op)); op 133 tools/perf/bench/epoll-ctl.c static inline void do_epoll_op(struct worker *w, int op, int fd) op 141 tools/perf/bench/epoll-ctl.c switch (op) { op 158 tools/perf/bench/epoll-ctl.c w->ops[op]++; op 164 tools/perf/bench/epoll-ctl.c int op, fd; op 167 tools/perf/bench/epoll-ctl.c op = rnd2 % EPOLL_NR_OPS; op 169 tools/perf/bench/epoll-ctl.c do_epoll_op(w, op, fd); op 36 tools/perf/bench/futex.h #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ op 37 tools/perf/bench/futex.h syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) op 1439 tools/perf/builtin-script.c static int sample__fprintf_bpf_output(enum binary_printer_ops op, op 1447 tools/perf/builtin-script.c switch (op) { op 746 tools/perf/builtin-trace.c .arg = { [1] = STRARRAY(op, epoll_ctl_ops), }, }, op 2317 tools/perf/builtin-trace.c static int bpf_output__printer(enum binary_printer_ops op, op 2322 tools/perf/builtin-trace.c switch (op) { op 390 tools/perf/pmu-events/jevents.c #define FOR_ALL_EVENT_STRUCT_FIELDS(op) do { \ op 391 tools/perf/pmu-events/jevents.c op(name); \ op 392 tools/perf/pmu-events/jevents.c op(event); \ op 393 tools/perf/pmu-events/jevents.c op(desc); \ op 394 tools/perf/pmu-events/jevents.c op(long_desc); \ op 395 tools/perf/pmu-events/jevents.c op(pmu); \ op 396 tools/perf/pmu-events/jevents.c op(unit); \ op 397 tools/perf/pmu-events/jevents.c op(perpkg); \ op 398 tools/perf/pmu-events/jevents.c op(metric_expr); \ op 399 tools/perf/pmu-events/jevents.c op(metric_name); \ op 400 tools/perf/pmu-events/jevents.c op(metric_group); \ op 13 tools/perf/tests/evsel-roundtrip-name.c int type, op, err = 0, ret = 0, i, idx; op 21 tools/perf/tests/evsel-roundtrip-name.c for (op = 0; op < PERF_COUNT_HW_CACHE_OP_MAX; op++) { op 23 tools/perf/tests/evsel-roundtrip-name.c if (!perf_evsel__is_cache_op_valid(type, op)) op 27 tools/perf/tests/evsel-roundtrip-name.c __perf_evsel__hw_cache_type_op_res_name(type, op, i, op 40 tools/perf/tests/evsel-roundtrip-name.c for (op = 0; op < PERF_COUNT_HW_CACHE_OP_MAX; op++) { op 42 tools/perf/tests/evsel-roundtrip-name.c if (!perf_evsel__is_cache_op_valid(type, op)) op 46 tools/perf/tests/evsel-roundtrip-name.c __perf_evsel__hw_cache_type_op_res_name(type, op, i, op 27 tools/perf/trace/beauty/flock.c int printed = 0, op = arg->val; op 29 tools/perf/trace/beauty/flock.c if (op == 0) op 32 tools/perf/trace/beauty/flock.c if ((op & LOCK_##cmd) == LOCK_##cmd) { \ op 34 tools/perf/trace/beauty/flock.c op &= ~LOCK_##cmd; \ op 47 tools/perf/trace/beauty/flock.c if (op) op 48 tools/perf/trace/beauty/flock.c printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", op); op 32 tools/perf/trace/beauty/futex_op.c int op = arg->val; op 33 tools/perf/trace/beauty/futex_op.c int cmd = op & FUTEX_CMD_MASK; op 54 tools/perf/trace/beauty/futex_op.c if (op & FUTEX_PRIVATE_FLAG) op 57 tools/perf/trace/beauty/futex_op.c if (op & FUTEX_CLOCK_REALTIME) op 13 tools/perf/trace/beauty/seccomp.c int op = arg->val; op 16 tools/perf/trace/beauty/seccomp.c switch (op) { op 21 tools/perf/trace/beauty/seccomp.c default: printed = scnprintf(bf, size, "%#x", op); break; op 832 tools/perf/util/bpf-loader.c bpf_map_op__delete(struct bpf_map_op *op) op 834 tools/perf/util/bpf-loader.c if (!list_empty(&op->list)) op 835 tools/perf/util/bpf-loader.c list_del_init(&op->list); op 836 tools/perf/util/bpf-loader.c if (op->key_type == BPF_MAP_KEY_RANGES) op 837 tools/perf/util/bpf-loader.c parse_events__clear_array(&op->k.array); op 838 tools/perf/util/bpf-loader.c free(op); op 863 tools/perf/util/bpf-loader.c bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) op 865 tools/perf/util/bpf-loader.c op->key_type = BPF_MAP_KEY_ALL; op 871 tools/perf/util/bpf-loader.c sizeof(op->k.array.ranges[0]); op 873 tools/perf/util/bpf-loader.c op->k.array.ranges = memdup(term->array.ranges, memsz); op 874 tools/perf/util/bpf-loader.c if (!op->k.array.ranges) { op 878 tools/perf/util/bpf-loader.c op->key_type = BPF_MAP_KEY_RANGES; op 879 tools/perf/util/bpf-loader.c op->k.array.nr_ranges = term->array.nr_ranges; op 887 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 890 tools/perf/util/bpf-loader.c op = zalloc(sizeof(*op)); op 891 tools/perf/util/bpf-loader.c if (!op) { op 895 tools/perf/util/bpf-loader.c INIT_LIST_HEAD(&op->list); op 897 tools/perf/util/bpf-loader.c err = bpf_map_op_setkey(op, term); op 899 tools/perf/util/bpf-loader.c free(op); op 902 tools/perf/util/bpf-loader.c return op; op 906 tools/perf/util/bpf-loader.c bpf_map_op__clone(struct bpf_map_op *op) op 910 tools/perf/util/bpf-loader.c newop = memdup(op, sizeof(*op)); op 917 tools/perf/util/bpf-loader.c if (op->key_type == BPF_MAP_KEY_RANGES) { op 918 tools/perf/util/bpf-loader.c size_t memsz = op->k.array.nr_ranges * op 919 tools/perf/util/bpf-loader.c sizeof(op->k.array.ranges[0]); op 921 tools/perf/util/bpf-loader.c newop->k.array.ranges = memdup(op->k.array.ranges, memsz); op 958 tools/perf/util/bpf-loader.c bpf_map__add_op(struct bpf_map *map, struct bpf_map_op *op) op 982 tools/perf/util/bpf-loader.c list_add_tail(&op->list, &priv->ops_list); op 989 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 992 tools/perf/util/bpf-loader.c op = bpf_map_op__new(term); op 993 tools/perf/util/bpf-loader.c if (IS_ERR(op)) op 994 tools/perf/util/bpf-loader.c return op; op 996 tools/perf/util/bpf-loader.c err = bpf_map__add_op(map, op); op 998 tools/perf/util/bpf-loader.c bpf_map_op__delete(op); op 1001 tools/perf/util/bpf-loader.c return op; op 1008 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 1038 tools/perf/util/bpf-loader.c op = bpf_map__add_newop(map, term); op 1039 tools/perf/util/bpf-loader.c if (IS_ERR(op)) op 1040 tools/perf/util/bpf-loader.c return PTR_ERR(op); op 1041 tools/perf/util/bpf-loader.c op->op_type = BPF_MAP_OP_SET_VALUE; op 1042 tools/perf/util/bpf-loader.c op->v.value = term->val.num; op 1071 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 1098 tools/perf/util/bpf-loader.c op = bpf_map__add_newop(map, term); op 1099 tools/perf/util/bpf-loader.c if (IS_ERR(op)) op 1100 tools/perf/util/bpf-loader.c return PTR_ERR(op); op 1101 tools/perf/util/bpf-loader.c op->op_type = BPF_MAP_OP_SET_EVSEL; op 1102 tools/perf/util/bpf-loader.c op->v.evsel = evsel; op 1258 tools/perf/util/bpf-loader.c struct bpf_map_op *op, op 1265 tools/perf/util/bpf-loader.c struct bpf_map_op *op) op 1271 tools/perf/util/bpf-loader.c err = func(name, map_fd, pdef, op, &i, arg); op 1285 tools/perf/util/bpf-loader.c struct bpf_map_op *op) op 1290 tools/perf/util/bpf-loader.c for (i = 0; i < op->k.array.nr_ranges; i++) { op 1291 tools/perf/util/bpf-loader.c unsigned int start = op->k.array.ranges[i].start; op 1292 tools/perf/util/bpf-loader.c size_t length = op->k.array.ranges[i].length; op 1297 tools/perf/util/bpf-loader.c err = func(name, map_fd, pdef, op, &idx, arg); op 1314 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 1339 tools/perf/util/bpf-loader.c list_for_each_entry(op, &priv->ops_list, list) { op 1343 tools/perf/util/bpf-loader.c switch (op->key_type) { op 1346 tools/perf/util/bpf-loader.c map_fd, def, op); op 1351 tools/perf/util/bpf-loader.c op); op 1461 tools/perf/util/bpf-loader.c struct bpf_map_op *op, op 1466 tools/perf/util/bpf-loader.c switch (op->op_type) { op 1470 tools/perf/util/bpf-loader.c op->v.value); op 1474 tools/perf/util/bpf-loader.c op->v.evsel); op 1593 tools/perf/util/bpf-loader.c struct bpf_map_op *op; op 1595 tools/perf/util/bpf-loader.c op = bpf_map__add_newop(map, NULL); op 1596 tools/perf/util/bpf-loader.c if (IS_ERR(op)) op 1597 tools/perf/util/bpf-loader.c return ERR_CAST(op); op 1598 tools/perf/util/bpf-loader.c op->op_type = BPF_MAP_OP_SET_EVSEL; op 1599 tools/perf/util/bpf-loader.c op->v.evsel = evsel; op 34 tools/perf/util/cpu-set-sched.h #define __CPU_OP_S(setsize, destset, srcset1, srcset2, op) \ op 42 tools/perf/util/cpu-set-sched.h ((__cpu_mask *) __dest->__bits)[__i] = __arr1[__i] op __arr2[__i]; \ op 115 tools/perf/util/debug.c static int trace_event_printer(enum binary_printer_ops op, op 123 tools/perf/util/debug.c switch (op) { op 1100 tools/perf/util/dwarf-aux.c Dwarf_Op *op; op 1119 tools/perf/util/dwarf-aux.c &start, &end, &op, &nops)) > 0) { op 534 tools/perf/util/evsel.c bool perf_evsel__is_cache_op_valid(u8 type, u8 op) op 536 tools/perf/util/evsel.c if (perf_evsel__hw_cache_stat[type] & COP(op)) op 542 tools/perf/util/evsel.c int __perf_evsel__hw_cache_type_op_res_name(u8 type, u8 op, u8 result, op 547 tools/perf/util/evsel.c perf_evsel__hw_cache_op[op][0], op 552 tools/perf/util/evsel.c perf_evsel__hw_cache_op[op][1]); op 557 tools/perf/util/evsel.c u8 op, result, type = (config >> 0) & 0xff; op 563 tools/perf/util/evsel.c op = (config >> 8) & 0xff; op 565 tools/perf/util/evsel.c if (op >= PERF_COUNT_HW_CACHE_OP_MAX) op 574 tools/perf/util/evsel.c if (!perf_evsel__is_cache_op_valid(type, op)) op 577 tools/perf/util/evsel.c return __perf_evsel__hw_cache_type_op_res_name(type, op, result, bf, size); op 184 tools/perf/util/evsel.h bool perf_evsel__is_cache_op_valid(u8 type, u8 op); op 196 tools/perf/util/evsel.h int __perf_evsel__hw_cache_type_op_res_name(u8 type, u8 op, u8 result, op 390 tools/perf/util/intel-bts.c btsq->sample_flags = intel_pt_insn_type(btsq->intel_pt_insn.op); op 1022 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c if (intel_pt_insn->op == INTEL_PT_OP_CALL) { op 1031 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c } else if (intel_pt_insn->op == INTEL_PT_OP_RET) { op 1074 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c decoder->state.insn_op = intel_pt_insn->op; op 1281 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c if (intel_pt_insn.op == INTEL_PT_OP_RET) { op 30 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c enum intel_pt_insn_op op = INTEL_PT_OP_OTHER; op 37 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c intel_pt_insn->op = INTEL_PT_OP_OTHER; op 48 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_SYSCALL; op 53 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_SYSRET; op 57 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JCC; op 65 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JCC; op 72 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_RET; op 76 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_IRET; op 80 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_INT; op 84 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_CALL; op 88 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_CALL; op 92 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_LOOP; op 96 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JCC; op 101 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JMP; op 105 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JMP; op 113 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_CALL; op 118 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c op = INTEL_PT_OP_JMP; op 129 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c intel_pt_insn->op = op; op 218 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c const char *intel_pt_insn_name(enum intel_pt_insn_op op) op 220 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c return branch_name[op]; op 230 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c intel_pt_insn_name(intel_pt_insn->op), op 236 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c intel_pt_insn_name(intel_pt_insn->op)); op 243 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c int intel_pt_insn_type(enum intel_pt_insn_op op) op 245 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c switch (op) { op 37 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h enum intel_pt_insn_op op; op 47 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h const char *intel_pt_insn_name(enum intel_pt_insn_op op); op 52 tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h int intel_pt_insn_type(enum intel_pt_insn_op op); op 397 tools/perf/util/intel-pt.c enum intel_pt_insn_op op; op 483 tools/perf/util/intel-pt.c e->op = intel_pt_insn->op; op 564 tools/perf/util/intel-pt.c intel_pt_insn->op = e->op; op 316 tools/perf/util/mem-events.c u64 op = data_src->mem_op; op 339 tools/perf/util/mem-events.c if (op & P(OP, LOAD)) { op 392 tools/perf/util/mem-events.c } else if (op & P(OP, STORE)) { op 2448 tools/perf/util/parse-events.c unsigned int type, op, i, evt_i = 0, evt_num = 0; op 2461 tools/perf/util/parse-events.c for (op = 0; op < PERF_COUNT_HW_CACHE_OP_MAX; op++) { op 2463 tools/perf/util/parse-events.c if (!perf_evsel__is_cache_op_valid(type, op)) op 2467 tools/perf/util/parse-events.c __perf_evsel__hw_cache_type_op_res_name(type, op, i, op 2473 tools/perf/util/parse-events.c type | (op << 8) | (i << 16))) op 21 tools/perf/util/print_binary.h typedef int (*binary__fprintf_t)(enum binary_printer_ops op, op 732 tools/perf/util/probe-file.c char *op, *desc = strdup(arg), *new_op = NULL; op 746 tools/perf/util/probe-file.c op = strchr(desc, '@'); op 747 tools/perf/util/probe-file.c if (op) { op 748 tools/perf/util/probe-file.c op[0] = '\0'; op 749 tools/perf/util/probe-file.c op++; op 754 tools/perf/util/probe-file.c op = desc; op 757 tools/perf/util/probe-file.c ret = arch_sdt_arg_parse_op(op, &new_op); op 169 tools/perf/util/probe-finder.c Dwarf_Op *op; op 183 tools/perf/util/probe-finder.c if (dwarf_getlocation_addr(&attr, addr, &op, &nops, 1) <= 0) { op 204 tools/perf/util/probe-finder.c if (dwarf_getlocation_addr(&attr, addr, &op, op 215 tools/perf/util/probe-finder.c if (op->atom == DW_OP_addr) { op 232 tools/perf/util/probe-finder.c if (op->atom == DW_OP_fbreg) { op 236 tools/perf/util/probe-finder.c offs = op->number; op 237 tools/perf/util/probe-finder.c op = &fb_ops[0]; op 240 tools/perf/util/probe-finder.c if (op->atom >= DW_OP_breg0 && op->atom <= DW_OP_breg31) { op 241 tools/perf/util/probe-finder.c regn = op->atom - DW_OP_breg0; op 242 tools/perf/util/probe-finder.c offs += op->number; op 244 tools/perf/util/probe-finder.c } else if (op->atom >= DW_OP_reg0 && op->atom <= DW_OP_reg31) { op 245 tools/perf/util/probe-finder.c regn = op->atom - DW_OP_reg0; op 246 tools/perf/util/probe-finder.c } else if (op->atom == DW_OP_bregx) { op 247 tools/perf/util/probe-finder.c regn = op->number; op 248 tools/perf/util/probe-finder.c offs += op->number2; op 250 tools/perf/util/probe-finder.c } else if (op->atom == DW_OP_regx) { op 251 tools/perf/util/probe-finder.c regn = op->number; op 253 tools/perf/util/probe-finder.c pr_debug("DW_OP %x is not supported.\n", op->atom); op 244 tools/perf/util/scripting-engines/trace-event-perl.c if (strcmp(args->op.op, ":") == 0) op 246 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->op.left); op 247 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->op.right); op 319 tools/perf/util/scripting-engines/trace-event-python.c if (strcmp(args->op.op, ":") == 0) op 321 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->op.left); op 322 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->op.right); op 66 tools/perf/util/strfilter.c static struct strfilter_node *strfilter_node__alloc(const char *op, op 73 tools/perf/util/strfilter.c node->p = op; op 25 tools/power/cpupower/utils/helpers/cpuid.c unsigned int cpuid_##reg(unsigned int op) \ op 28 tools/power/cpupower/utils/helpers/cpuid.c __cpuid(op, eax, ebx, ecx, edx); \ op 135 tools/power/cpupower/utils/helpers/helpers.h unsigned int cpuid_eax(unsigned int op); op 136 tools/power/cpupower/utils/helpers/helpers.h unsigned int cpuid_ebx(unsigned int op); op 137 tools/power/cpupower/utils/helpers/helpers.h unsigned int cpuid_ecx(unsigned int op); op 138 tools/power/cpupower/utils/helpers/helpers.h unsigned int cpuid_edx(unsigned int op); op 167 tools/power/cpupower/utils/helpers/helpers.h static inline unsigned int cpuid_eax(unsigned int op) { return 0; }; op 168 tools/power/cpupower/utils/helpers/helpers.h static inline unsigned int cpuid_ebx(unsigned int op) { return 0; }; op 169 tools/power/cpupower/utils/helpers/helpers.h static inline unsigned int cpuid_ecx(unsigned int op) { return 0; }; op 170 tools/power/cpupower/utils/helpers/helpers.h static inline unsigned int cpuid_edx(unsigned int op) { return 0; }; op 50 tools/testing/selftests/bpf/progs/socket_cookie_prog.c if (ctx->op != BPF_SOCK_OPS_TCP_CONNECT_CB) op 29 tools/testing/selftests/bpf/progs/tcp_rtt.c int op = (int) ctx->op; op 41 tools/testing/selftests/bpf/progs/tcp_rtt.c if (op == BPF_SOCK_OPS_TCP_CONNECT_CB) { op 46 tools/testing/selftests/bpf/progs/tcp_rtt.c if (op != BPF_SOCK_OPS_RTT_CB) op 63 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c int op; op 65 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c op = (int) skops->op; op 67 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c update_event_map(op); op 69 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c switch (op) { op 37 tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c int op; op 39 tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c op = (int) skops->op; op 46 tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c switch (op) { op 127 tools/testing/selftests/bpf/test_sockmap_kern.h int op, err = 0, index, key, ret; op 130 tools/testing/selftests/bpf/test_sockmap_kern.h op = (int) skops->op; op 132 tools/testing/selftests/bpf/test_sockmap_kern.h switch (op) { op 70 tools/testing/selftests/futex/include/futextest.h #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ op 71 tools/testing/selftests/futex/include/futextest.h syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3) op 2079 tools/testing/selftests/kvm/lib/sparsebit.c uint8_t op = get8() & 0xf; op 2083 tools/testing/selftests/kvm/lib/sparsebit.c operate(op, first, last); op 60 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 78 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_READ; op 90 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 100 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 111 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 121 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = -1; op 131 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 141 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 155 tools/testing/selftests/kvm/s390x/memop.c ksmo.op = KVM_S390_MEMOP_LOGICAL_WRITE; op 87 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_VSX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 32, 32) op 88 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_VSX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 32) op 89 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_VSX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 32, 32) op 90 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_VSX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 32) op 91 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_VMX_XFORM_TEST(op) TEST(op, op, stxvd2x, XFORM, 0, 32) op 92 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_VMX_XFORM_TEST(op) TEST(op, lxvd2x, op, XFORM, 32, 0) op 93 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_VMX_DFORM_TEST(op) TEST(op, op, stxv, DFORM, 0, 32) op 94 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_VMX_DFORM_TEST(op) TEST(op, lxv, op, DFORM, 32, 0) op 96 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_XFORM_TEST(op) TEST(op, op, stdx, XFORM, 31, 31) op 97 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_XFORM_TEST(op) TEST(op, ldx, op, XFORM, 31, 31) op 98 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_DFORM_TEST(op) TEST(op, op, std, DFORM, 31, 31) op 99 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_DFORM_TEST(op) TEST(op, ld, op, DFORM, 31, 31) op 101 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_FLOAT_DFORM_TEST(op) TEST(op, op, stfd, DFORM, 0, 0) op 102 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_FLOAT_DFORM_TEST(op) TEST(op, lfd, op, DFORM, 0, 0) op 103 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define LOAD_FLOAT_XFORM_TEST(op) TEST(op, op, stfdx, XFORM, 0, 0) op 104 tools/testing/selftests/powerpc/alignment/alignment_handler.c #define STORE_FLOAT_XFORM_TEST(op) TEST(op, lfdx, op, XFORM, 0, 0) op 247 tools/testing/selftests/powerpc/benchmarks/context_switch.c static long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, op 250 tools/testing/selftests/powerpc/benchmarks/context_switch.c return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); op 114 tools/testing/selftests/ptrace/get_syscall_info.c .op = 0xff /* invalid PTRACE_SYSCALL_INFO_* op */ op 163 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(PTRACE_SYSCALL_INFO_NONE, info.op) { op 191 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(PTRACE_SYSCALL_INFO_ENTRY, info.op) { op 231 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(PTRACE_SYSCALL_INFO_EXIT, info.op) { op 209 tools/testing/selftests/seccomp/seccomp_bpf.c int seccomp(unsigned int op, unsigned int flags, void *args) op 212 tools/testing/selftests/seccomp/seccomp_bpf.c return syscall(__NR_seccomp, op, flags, args); op 421 tools/usb/ffs-test.c const char *name, *op, *in_name, *out_name; op 438 tools/usb/ffs-test.c op = "write"; op 441 tools/usb/ffs-test.c op = "read"; op 447 tools/usb/ffs-test.c debug("%s: %s: EOF", name, op); op 450 tools/usb/ffs-test.c debug("%s: %s", name, op); op 452 tools/usb/ffs-test.c warn("%s: %s", name, op);