/openbmc/linux/drivers/staging/greybus/ |
H A D | log.c | 18 static int gb_log_request_handler(struct gb_operation *op) in gb_log_request_handler() argument 20 struct gb_connection *connection = op->connection; in gb_log_request_handler() 25 if (op->type != GB_LOG_TYPE_SEND_LOG) { in gb_log_request_handler() 26 dev_err(dev, "unknown request type 0x%02x\n", op->type); in gb_log_request_handler() 31 if (op->request->payload_size < sizeof(*receive)) { in gb_log_request_handler() 33 op->request->payload_size, sizeof(*receive)); in gb_log_request_handler() 36 receive = op->request->payload; in gb_log_request_handler() 38 if (len != (op->request->payload_size - sizeof(*receive))) { in gb_log_request_handler() 40 (op->request->payload_size - sizeof(*receive))); in gb_log_request_handler()
|
/openbmc/linux/drivers/hwtracing/stm/ |
H A D | p_sys-t.c | 240 if (op->node.ts_interval && in sys_t_need_ts() 241 time_after(jiffies, op->ts_jiffies + op->node.ts_interval)) { in sys_t_need_ts() 242 op->ts_jiffies = jiffies; in sys_t_need_ts() 252 if (op->node.clocksync_interval && in sys_t_need_clock_sync() 254 op->clocksync_jiffies + op->node.clocksync_interval)) { in sys_t_need_clock_sync() 255 op->clocksync_jiffies = jiffies; in sys_t_need_clock_sync() 299 if (!op) in sys_t_write() 302 if (sys_t_need_clock_sync(op)) { in sys_t_write() 308 if (op->node.do_len) in sys_t_write() 310 if (sys_t_need_ts(op)) in sys_t_write() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | atomic_lse.h | 13 #define ATOMIC_OP(op, asm_op) \ argument 15 __lse_atomic_##op(int i, atomic_t *v) \ 36 #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ argument 38 __lse_atomic_fetch_##op##name(int i, atomic_t *v) \ 53 #define ATOMIC_FETCH_OPS(op, asm_op) \ argument 54 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \ 57 ATOMIC_FETCH_OP( , al, op, asm_op, "memory") 120 #define ATOMIC64_OP(op, asm_op) \ argument 122 __lse_atomic64_##op(s64 i, atomic64_t *v) \ 160 #define ATOMIC64_FETCH_OPS(op, asm_op) \ argument [all …]
|
H A D | atomic_ll_sc.h | 25 #define ATOMIC_OP(op, asm_op, constraint) \ argument 27 __ll_sc_atomic_##op(int i, atomic_t *v) \ 32 asm volatile("// atomic_" #op "\n" \ 44 __ll_sc_atomic_##op##_return##name(int i, atomic_t *v) \ 49 asm volatile("// atomic_" #op "_return" #name "\n" \ 65 __ll_sc_atomic_fetch_##op##name(int i, atomic_t *v) \ 70 asm volatile("// atomic_fetch_" #op #name "\n" \ 121 #define ATOMIC64_OP(op, asm_op, constraint) \ in ATOMIC_OPS() argument 123 __ll_sc_atomic64_##op(s64 i, atomic64_t *v) \ in ATOMIC_OPS() 128 asm volatile("// atomic64_" #op "\n" \ in ATOMIC_OPS() [all …]
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | format-code.sh | 353 for op in "${LINTERS_ALL[@]}"; do 354 for ftype in ${LINTER_TYPES[$op]//;/ }; do 356 check_linter "$op" "${LINTER_REQUIRE[${op}]}" 363 for op in "${LINTERS_AVAILABLE[@]}"; do 367 if [[ -v LINTER_IGNORE["$op"] ]]; then 368 for ignorefile in ${LINTER_IGNORE["$op"]//;/ } ; do 391 echo -e " ${BLUE}Running $op${NORMAL}" 392 if ! "do_$op" "${LINTER_FILES[@]}" ; then 393 LINTERS_FAILED+=([$op]=1) 402 for op in "${!LINTERS_FAILED[@]}"; do [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-amlogic-spifc-a1.c | 80 #define SPIFC_A1_USER_CMD(op) ( \ argument 85 #define SPIFC_A1_USER_ADDR(op) ( \ argument 90 #define SPIFC_A1_USER_DUMMY(op) ( \ argument 255 const struct spi_mem_op *op) in amlogic_spifc_a1_exec_op() argument 259 size_t data_size = op->data.nbytes; in amlogic_spifc_a1_exec_op() 269 if (op->addr.nbytes) in amlogic_spifc_a1_exec_op() 271 SPIFC_A1_USER_ADDR(op)); in amlogic_spifc_a1_exec_op() 273 if (op->dummy.nbytes) in amlogic_spifc_a1_exec_op() 277 u32 mode = ilog2(op->data.buswidth); in amlogic_spifc_a1_exec_op() 295 struct spi_mem_op *op) in amlogic_spifc_a1_adjust_op_size() argument [all …]
|
H A D | spi-mxic.c | 320 if (op->addr.nbytes) in mxic_spi_mem_prep_op_cfg() 325 if (op->dummy.nbytes) in mxic_spi_mem_prep_op_cfg() 334 if (op->data.dtr) in mxic_spi_mem_prep_op_cfg() 480 if (op->data.buswidth > 8 || op->addr.buswidth > 8 || in mxic_spi_mem_supports_op() 481 op->dummy.buswidth > 8 || op->cmd.buswidth > 8) in mxic_spi_mem_supports_op() 484 if (op->data.nbytes && op->dummy.nbytes && in mxic_spi_mem_supports_op() 485 op->data.buswidth != op->dummy.buswidth) in mxic_spi_mem_supports_op() 526 writel(mxic_spi_mem_prep_op_cfg(op, op->data.nbytes), in mxic_spi_mem_exec_op() 533 cmd[i] = op->cmd.opcode >> (8 * (op->cmd.nbytes - i - 1)); in mxic_spi_mem_exec_op() 540 addr[i] = op->addr.val >> (8 * (op->addr.nbytes - i - 1)); in mxic_spi_mem_exec_op() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | tcx.c | 351 of_iounmap(&op->resource[7], in tcx_unmap_regs() 354 of_iounmap(&op->resource[9], in tcx_unmap_regs() 357 of_iounmap(&op->resource[8], in tcx_unmap_regs() 360 of_iounmap(&op->resource[4], in tcx_unmap_regs() 363 of_iounmap(&op->resource[0], in tcx_unmap_regs() 369 struct device_node *dp = op->dev.of_node; in tcx_probe() 394 par->tec = of_ioremap(&op->resource[7], 0, in tcx_probe() 398 par->bt = of_ioremap(&op->resource[8], 0, in tcx_probe() 468 dev_set_drvdata(&op->dev, info); in tcx_probe() 482 tcx_unmap_regs(op, info, par); in tcx_probe() [all …]
|
H A D | cg14.c | 453 of_iounmap(&op->resource[0], in cg14_unmap_regs() 456 of_iounmap(&op->resource[0], in cg14_unmap_regs() 459 of_iounmap(&op->resource[0], in cg14_unmap_regs() 462 of_iounmap(&op->resource[1], in cg14_unmap_regs() 468 struct device_node *dp = op->dev.of_node; in cg14_probe() 500 par->regs = of_ioremap(&op->resource[0], 0, in cg14_probe() 526 (op->resource[0].start - in cg14_probe() 527 op->resource[1].start); in cg14_probe() 553 dev_set_drvdata(&op->dev, info); in cg14_probe() 566 cg14_unmap_regs(op, info, par); in cg14_probe() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | dsfield.c | 30 union acpi_parse_object *op, 61 union acpi_parse_object *op, in acpi_ds_create_external_region() argument 139 arg = acpi_ps_get_arg(op, 3); in acpi_ds_create_buffer_field() 143 arg = acpi_ps_get_arg(op, 2); in acpi_ds_create_buffer_field() 195 op->common.node = node; in acpi_ds_create_buffer_field() 485 arg = op->common.value.arg; in acpi_ds_create_field() 585 arg = acpi_ps_get_arg(op, 2); in acpi_ds_init_field_objects() 591 arg = acpi_ps_get_arg(op, 4); in acpi_ds_init_field_objects() 597 arg = acpi_ps_get_arg(op, 3); in acpi_ds_init_field_objects() 685 arg = op->common.value.arg; in acpi_ds_create_bank_field() [all …]
|
H A D | dbmethod.c | 44 union acpi_parse_object *op) in acpi_db_set_method_breakpoint() argument 49 if (!op) { in acpi_db_set_method_breakpoint() 57 aml_offset = (u32)ACPI_PTR_DIFF(op->common.aml, in acpi_db_set_method_breakpoint() 86 if (!op) { in acpi_db_set_method_call_breakpoint() 240 if (!op) { in acpi_db_disassemble_aml() 249 acpi_dm_disassemble(NULL, op, num_statements); in acpi_db_disassemble_aml() 268 union acpi_parse_object *op; in acpi_db_disassemble_method() local 287 if (!op) { in acpi_db_disassemble_method() 330 (void)acpi_dm_parse_deferred_ops(op); in acpi_db_disassemble_method() 335 acpi_dm_disassemble(NULL, op, 0); in acpi_db_disassemble_method() [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | futex.h | 25 #define __futex_atomic_op(op, insn, ret, oldval, uaddr, oparg) \ argument 88 ret = futex_atomic_op_inuser_local(op, oparg, oval, uaddr); \ 93 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument 100 switch (op) { in arch_futex_atomic_op_inuser() 102 __futex_atomic_op(op, "move $1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 106 __futex_atomic_op(op, "addu $1, %1, %z5", in arch_futex_atomic_op_inuser() 110 __futex_atomic_op(op, "or $1, %1, %z5", in arch_futex_atomic_op_inuser() 114 __futex_atomic_op(op, "and $1, %1, %z5", in arch_futex_atomic_op_inuser() 118 __futex_atomic_op(op, "xor $1, %1, %z5", in arch_futex_atomic_op_inuser()
|
/openbmc/linux/tools/testing/selftests/syscall_user_dispatch/ |
H A D | sud_test.c | 85 int op; in TEST() local 88 op = -1; in TEST() 89 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0, 0, &sel); in TEST() 93 op = PR_SYS_DISPATCH_OFF; in TEST() 96 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x1, 0x0, 0); in TEST() 100 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x0, 0xff, 0); in TEST() 104 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x0, 0x0, &sel); in TEST() 109 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x0, 0x0, 0x0); in TEST() 113 op = PR_SYS_DISPATCH_ON; in TEST() 116 prctl(PR_SET_SYSCALL_USER_DISPATCH, op, 0x1, 0x0, &sel); in TEST() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | tlb.h | 91 static __always_inline void invtlb(u32 op, u32 info, u64 addr) in invtlb() argument 96 : "i"(op), "r"(info), "r"(addr) in invtlb() 101 static __always_inline void invtlb_addr(u32 op, u32 info, u64 addr) in invtlb_addr() argument 107 : "i"(op), "r"(addr) in invtlb_addr() 112 static __always_inline void invtlb_info(u32 op, u32 info, u64 addr) in invtlb_info() argument 118 : "i"(op), "r"(info) in invtlb_info() 123 static __always_inline void invtlb_all(u32 op, u32 info, u64 addr) in invtlb_all() argument 130 : "i"(op) in invtlb_all()
|
/openbmc/linux/drivers/xen/xenfs/ |
H A D | xensyms.c | 17 struct xen_platform_op op; member 26 struct xenpf_symdata *symdata = &xs->op.u.symdata; in xensyms_next_sym() 34 ret = HYPERVISOR_platform_op(&xs->op); in xensyms_next_sym() 53 ret = HYPERVISOR_platform_op(&xs->op); in xensyms_next_sym() 69 xs->op.u.symdata.symnum = *pos; in xensyms_start() 81 xs->op.u.symdata.symnum = ++(*pos); in xensyms_next() 92 struct xenpf_symdata *symdata = &xs->op.u.symdata; in xensyms_show() 131 set_xen_guest_handle(xs->op.u.symdata.name, xs->name); in xensyms_open() 132 xs->op.cmd = XENPF_get_symbol; in xensyms_open() 133 xs->op.u.symdata.namelen = xs->namelen; in xensyms_open()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_dbg.c | 218 const char *op, *fmt; in bpf_disasm() local 224 op = op_table[BPF_RET]; in bpf_disasm() 228 op = op_table[BPF_RET]; in bpf_disasm() 232 op = op_table[BPF_RET]; in bpf_disasm() 244 op = op_table[BPF_ST]; in bpf_disasm() 248 op = op_table[BPF_STX]; in bpf_disasm() 252 op = op_table[BPF_LD_W]; in bpf_disasm() 256 op = op_table[BPF_LD_H]; in bpf_disasm() 284 op = op_table[BPF_LDX]; in bpf_disasm() 296 op = op_table[BPF_LDX]; in bpf_disasm() [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/host/ |
H A D | op-proc-control-systemd-links.bb | 9 RDEPENDS:${PN} += "op-proc-control" 24 TARGET="../op-stop-instructions@.service" 28 TARGET="../op-clear-sys-dump-active@.service" 32 TARGET="../op-stop-instructions@.service" 36 TARGET="../op-cfam-reset.service" 44 TARGET="../op-cfam-reset.service" 56 TARGET="../op-continue-mpreboot@.service" 62 TARGET="../op-clear-sys-dump-active@.service" 80 TARGET="../op-reset-host-check@.service" 101 TARGET="../op-clock-data-logger@.service" [all …]
|
/openbmc/linux/lib/ |
H A D | atomic64_test.c | 20 #define TEST(bit, op, c_op, val) \ argument 24 atomic##bit##_##op(val, &v); \ 36 #define FAMILY_TEST(test, bit, op, args...) \ argument 38 test(bit, op, ##args); \ 39 test(bit, op##_acquire, ##args); \ 40 test(bit, op##_release, ##args); \ 41 test(bit, op##_relaxed, ##args); \ 44 #define TEST_RETURN(bit, op, c_op, val) \ argument 49 BUG_ON(atomic##bit##_##op(val, &v) != r); \ 53 #define TEST_FETCH(bit, op, c_op, val) \ argument [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg.c | 1323 for(op = 0; op < NB_OPS; op++) { in tcg_context_init() 1331 for(op = 0; op < NB_OPS; op++) { in tcg_context_init() 2929 for (op = 0; op < NB_OPS; op++) { in process_op_defs() 3138 if (use->op == op) { in remove_label_use() 3240 TCGOp *op = u->op; in move_label_uses() local 3740 op->args[1] = op->args[2]; in liveness_pass_1() 3741 op->args[2] = op->args[4]; in liveness_pass_1() 3778 op->args[1] = op->args[2]; in liveness_pass_1() 3779 op->args[2] = op->args[3]; in liveness_pass_1() 3783 op->args[0] = op->args[1]; in liveness_pass_1() [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | atomic.h | 30 #define ATOMIC_OP(op, c_op) \ argument 32 ia64_atomic_##op (int i, atomic_t *v) \ 45 #define ATOMIC_FETCH_OP(op, c_op) \ argument 60 #define ATOMIC_OPS(op, c_op) \ argument 61 ATOMIC_OP(op, c_op) \ 62 ATOMIC_FETCH_OP(op, c_op) 125 #define ATOMIC64_OP(op, c_op) \ argument 140 #define ATOMIC64_FETCH_OP(op, c_op) \ argument 155 #define ATOMIC64_OPS(op, c_op) \ argument 156 ATOMIC64_OP(op, c_op) \ [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-parport.c | 193 const struct lineop *op) in line_set() argument 195 u8 oldval = port_read[op->port](data); in line_set() 198 if ((op->inverted && !state) || (!op->inverted && state)) in line_set() 199 port_write[op->port](data, oldval | op->val); in line_set() 201 port_write[op->port](data, oldval & ~op->val); in line_set() 205 const struct lineop *op) in line_get() argument 207 u8 oldval = port_read[op->port](data); in line_get() 209 return ((op->inverted && (oldval & op->val) != op->val) in line_get() 210 || (!op->inverted && (oldval & op->val) == op->val)); in line_get()
|
/openbmc/linux/arch/mips/mm/ |
H A D | uasm-micromips.c | 160 u32 op; in build_insn() local 169 op = ip->match; in build_insn() 174 op |= build_rt(va_arg(ap, u32)); in build_insn() 176 op |= build_rs(va_arg(ap, u32)); in build_insn() 181 op |= build_rs(va_arg(ap, u32)); in build_insn() 183 op |= build_rt(va_arg(ap, u32)); in build_insn() 186 op |= build_rd(va_arg(ap, u32)); in build_insn() 188 op |= build_re(va_arg(ap, u32)); in build_insn() 200 op |= build_set(va_arg(ap, u32)); in build_insn() 206 **buf = ((op & 0xffff) << 16) | (op >> 16); in build_insn() [all …]
|
/openbmc/linux/arch/ia64/kernel/ |
H A D | smp.c | 144 send_IPI_single (int dest_cpu, int op) in send_IPI_single() argument 146 set_bit(op, &per_cpu(ipi_operation, dest_cpu)); in send_IPI_single() 154 send_IPI_allbutself (int op) in send_IPI_allbutself() argument 160 send_IPI_single(i, op); in send_IPI_allbutself() 168 send_IPI_mask(const struct cpumask *mask, int op) in send_IPI_mask() argument 173 send_IPI_single(cpu, op); in send_IPI_mask() 181 send_IPI_all (int op) in send_IPI_all() argument 186 send_IPI_single(i, op); in send_IPI_all() 194 send_IPI_self (int op) in send_IPI_self() argument 196 send_IPI_single(smp_processor_id(), op); in send_IPI_self()
|
/openbmc/openbmc-build-scripts/ |
H A D | openpower-build-setup.sh | 22 if [ ! -e "${WORKSPACE}"/op-build ]; then 24 git clone --recursive https://github.com/open-power/op-build "${WORKSPACE}"/op-build 144 if ! docker build -t op-build/"${distro}" - <<< "${Dockerfile}" ; then 160 cd "${WORKSPACE}"/op-build 163 . op-build-env 166 op-build "${target}_defconfig" 169 op-build 177 -w "${HOME}" -v "${HOME}":"${HOME}" -t op-build/"${distro}" "${WORKSPACE}"/build.sh 180 ln -sf "${WORKSPACE}"/op-build/output/images "${WORKSPACE}"/images
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | flock.c | 27 int printed = 0, op = arg->val; in syscall_arg__scnprintf_flock() local 29 if (op == 0) in syscall_arg__scnprintf_flock() 32 if ((op & LOCK_##cmd) == LOCK_##cmd) { \ in syscall_arg__scnprintf_flock() 34 op &= ~LOCK_##cmd; \ in syscall_arg__scnprintf_flock() 47 if (op) in syscall_arg__scnprintf_flock() 48 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", op); in syscall_arg__scnprintf_flock()
|