/openbmc/qemu/tests/qemu-iotests/ |
H A D | 013 | 57 for op in $TEST_OPS; do 58 io_test $op $offset $CLUSTER_SIZE 8 75 for op in read readv; do 76 io_test $op $offset $CLUSTER_SIZE 8 88 for op in $TEST_OPS; do 89 io_test $op $offset $CLUSTER_SIZE 8
|
H A D | common.pattern | 35 local op=$1 44 echo "$op -P $pattern $(( start + (i - 1) * step )) $size" 64 local op=$1 77 io "$op" $offset $cluster_size $cluster_size $num_small 81 io "$op" $((offset + $half_cluster)) $half_cluster $cluster_size $num_small 85 io "$op" $offset $half_cluster $cluster_size $num_small 89 io "$op" $((offset + $quarter_cluster)) $half_cluster $cluster_size $num_small 93 io "$op" $((offset + $half_cluster)) $((cluster_size * 2)) $((cluster_size * 3)) $num_medium 99 io "$op" $offset $((6 * half_cluster)) $(( l2_size + half_cluster )) $num_large
|
/openbmc/linux/drivers/md/ |
H A D | dm-audit.h | 17 void dm_audit_log_bio(const char *dm_msg_prefix, const char *op, 24 void dm_audit_log_ti(int audit_type, const char *dm_msg_prefix, const char *op, 39 static inline void dm_audit_log_target(const char *dm_msg_prefix, const char *op, in dm_audit_log_target() argument 42 dm_audit_log_ti(AUDIT_DM_EVENT, dm_msg_prefix, op, ti, result); in dm_audit_log_target() 45 static inline void dm_audit_log_bio(const char *dm_msg_prefix, const char *op, in dm_audit_log_bio() argument 51 const char *op, struct dm_target *ti, in dm_audit_log_target() argument
|
H A D | dm-audit.c | 21 const char *op) in dm_audit_log_start() argument 32 audit_log_format(ab, "module=%s op=%s", dm_msg_prefix, op); in dm_audit_log_start() 36 void dm_audit_log_ti(int audit_type, const char *dm_msg_prefix, const char *op, in dm_audit_log_ti() argument 46 ab = dm_audit_log_start(audit_type, dm_msg_prefix, op); in dm_audit_log_ti() 54 ab = dm_audit_log_start(audit_type, dm_msg_prefix, op); in dm_audit_log_ti() 69 void dm_audit_log_bio(const char *dm_msg_prefix, const char *op, in dm_audit_log_bio() argument 76 ab = dm_audit_log_start(AUDIT_DM_EVENT, dm_msg_prefix, op); in dm_audit_log_bio()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | emulate.c | 1079 op->val = *(u8 *)op->addr.reg; in fetch_register_operand() 1082 op->val = *(u16 *)op->addr.reg; in fetch_register_operand() 1085 op->val = *(u32 *)op->addr.reg; in fetch_register_operand() 1088 op->val = *(u64 *)op->addr.reg; in fetch_register_operand() 1166 op->orig_val = op->val; in decode_register_operand() 1781 return assign_register(op->addr.reg, op->val, op->bytes); in write_register_operand() 1806 op->bytes * op->count); in writeback() 4613 op->orig_val = op->val; in decode_operand() 4623 op->orig_val = op->val; in decode_operand() 4630 op->orig_val = op->val; in decode_operand() [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | s2mps11_regulator.c | 128 if (op == PMIC_OP_GET) in s2mps11_buck_val() 146 if (op == PMIC_OP_GET) { in s2mps11_buck_val() 184 if (op == PMIC_OP_GET) { in s2mps11_buck_mode() 228 if (op == PMIC_OP_GET) { in s2mps11_buck_enable() 229 ret = s2mps11_buck_mode(dev, op, &on_off); in s2mps11_buck_enable() 242 } else if (op == PMIC_OP_SET) { in s2mps11_buck_enable() 248 ret = s2mps11_buck_mode(dev, op, &on_off); in s2mps11_buck_enable() 407 if (op == PMIC_OP_GET) { in s2mps11_ldo_val() 446 if (op == PMIC_OP_GET) { in s2mps11_ldo_mode() 496 if (op == PMIC_OP_GET) { in s2mps11_ldo_enable() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-mpc5121.c | 300 rtc->regs = devm_platform_ioremap_resource(op, 0); in mpc5121_rtc_probe() 306 device_init_wakeup(&op->dev, 1); in mpc5121_rtc_probe() 308 platform_set_drvdata(op, rtc); in mpc5121_rtc_probe() 310 rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1); in mpc5121_rtc_probe() 312 "mpc5121-rtc", &op->dev); in mpc5121_rtc_probe() 314 dev_err(&op->dev, "%s: could not request irq: %i\n", in mpc5121_rtc_probe() 320 err = devm_request_irq(&op->dev, rtc->irq_periodic, in mpc5121_rtc_probe() 322 &op->dev); in mpc5121_rtc_probe() 324 dev_err(&op->dev, "%s: could not request irq: %i\n", in mpc5121_rtc_probe() 329 rtc->rtc = devm_rtc_allocate_device(&op->dev); in mpc5121_rtc_probe() [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_indirect.c | 16 #define cfg_read(val, addr, type, op) *val = op((type)(addr)) argument 17 #define cfg_write(val, addr, type, op) op((type *)(addr), (val)) argument 20 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 31 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \ 35 #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ argument 45 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
|
/openbmc/linux/arch/x86/lib/ |
H A D | msr-reg.S | 14 .macro op_safe_regs op argument 15 SYM_FUNC_START(\op\()_safe_regs) 27 1: \op 44 SYM_FUNC_END(\op\()_safe_regs) 49 .macro op_safe_regs op argument 50 SYM_FUNC_START(\op\()_safe_regs) 64 1: \op 86 SYM_FUNC_END(\op\()_safe_regs)
|
/openbmc/qemu/scripts/ |
H A D | cocci-macro-file.h | 115 #define g_assert_cmpint(a, op, b) g_assert(a op b) argument 116 #define g_assert_cmpuint(a, op, b) g_assert(a op b) argument 117 #define g_assert_cmphex(a, op, b) g_assert(a op b) argument 118 #define g_assert_cmpstr(a, op, b) g_assert(strcmp(a, b) op 0) argument
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-xilinx-of.c | 118 static int ehci_hcd_xilinx_of_probe(struct platform_device *op) in ehci_hcd_xilinx_of_probe() argument 120 struct device_node *dn = op->dev.of_node; in ehci_hcd_xilinx_of_probe() 131 dev_dbg(&op->dev, "initializing XILINX-OF USB Controller\n"); in ehci_hcd_xilinx_of_probe() 137 hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev, in ehci_hcd_xilinx_of_probe() 147 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ehci_hcd_xilinx_of_probe() 153 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ehci_hcd_xilinx_of_probe() 204 static void ehci_hcd_xilinx_of_remove(struct platform_device *op) in ehci_hcd_xilinx_of_remove() argument 206 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_xilinx_of_remove() 208 dev_dbg(&op->dev, "stopping XILINX-OF USB Controller\n"); in ehci_hcd_xilinx_of_remove()
|
H A D | ehci-ppc-of.c | 94 static int ehci_hcd_ppc_of_probe(struct platform_device *op) in ehci_hcd_ppc_of_probe() argument 96 struct device_node *dn = op->dev.of_node; in ehci_hcd_ppc_of_probe() 108 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); in ehci_hcd_ppc_of_probe() 114 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ehci_hcd_ppc_of_probe() 123 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ehci_hcd_ppc_of_probe() 129 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ehci_hcd_ppc_of_probe() 141 devm_ioremap(&op->dev, in ehci_hcd_ppc_of_probe() 187 static void ehci_hcd_ppc_of_remove(struct platform_device *op) in ehci_hcd_ppc_of_remove() argument 189 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_ppc_of_remove() 195 dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n"); in ehci_hcd_ppc_of_remove()
|
/openbmc/qemu/hw/acpi/ |
H A D | tpm.c | 72 Aml *op = aml_arg(0); in tpm_build_ppi_acpi() local 73 ifctx = aml_if(aml_lgreater_equal(op, aml_int(0x100))); in tpm_build_ppi_acpi() 81 aml_add(aml_int(TPM_PPI_ADDR_BASE), op, NULL), 0x1)); in tpm_build_ppi_acpi() 115 op = aml_local(0); in tpm_build_ppi_acpi() 180 aml_append(ifctx2, aml_store(op, pprq)); in tpm_build_ppi_acpi() 325 op)); in tpm_build_ppi_acpi() 328 aml_append(ifctx2, aml_store(aml_call1("TPFN", op), in tpm_build_ppi_acpi() 357 aml_append(ifctx3, aml_store(op, pprq)); in tpm_build_ppi_acpi() 368 aml_append(ifctx3, aml_store(op, pprq)); in tpm_build_ppi_acpi() 397 op)); in tpm_build_ppi_acpi() [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | unpack.hpp | 77 static int op(Payload& p, T& t) in op() function 140 static int op(Payload& p, std::string& t) in op() function 165 static int op(Payload& p, fixed_uint_t<N>& t) in op() function 186 static int op(Payload& p, bool& b) in op() function 206 static int op(Payload& p, std::bitset<N>& t) in op() function 237 int ret = UnpackSingle<T>::op(p, value); in op() 264 ret = UnpackSingle<T>::op(p, v); in op() 299 static int op(Payload& p, std::vector<T>& t) in op() function 304 if (UnpackSingle<T>::op(p, t.back())) in op() 337 static int op(Payload& p, SecureBuffer& t) in op() function [all …]
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | nlspec.py | 457 self.msgs[op.name] = op 499 self.msgs[op.name] = op 506 if name == op['name']: 507 return op 531 for op in self.msgs.values(): 533 self.req_by_value[op.req_value] = op 535 self.rsp_by_value[op.rsp_value] = op 536 if not op.is_async and 'attribute-set' in op: 537 self.ops[op.name] = op 538 elif op.is_async: [all …]
|
/openbmc/linux/lib/lz4/ |
H A D | lz4hc_compress.c | 264 BYTE **op, in LZ4HC_encodeSequence() argument 276 token = (*op)++; in LZ4HC_encodeSequence() 290 *(*op)++ = 255; in LZ4HC_encodeSequence() 296 LZ4_wildCopy(*op, *anchor, (*op) + length); in LZ4HC_encodeSequence() 297 *op += length; in LZ4HC_encodeSequence() 301 *op += 2; in LZ4HC_encodeSequence() 318 *(*op)++ = 255; in LZ4HC_encodeSequence() 319 *(*op)++ = 255; in LZ4HC_encodeSequence() 324 *(*op)++ = 255; in LZ4HC_encodeSequence() 569 *op++ = 255; in LZ4HC_compress_generic() [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | fc.c | 2093 container_of(op, typeof(*op_w_sgl), op); in __nvme_fc_init_request() 2097 memset(op, 0, sizeof(*op)); in __nvme_fc_init_request() 2098 op->fcp_req.cmdaddr = &op->cmd_iu; in __nvme_fc_init_request() 2099 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request() 2100 op->fcp_req.rspaddr = &op->rsp_iu; in __nvme_fc_init_request() 2101 op->fcp_req.rsplen = sizeof(op->rsp_iu); in __nvme_fc_init_request() 2127 &op->rsp_iu, sizeof(op->rsp_iu), in __nvme_fc_init_request() 2153 op->op.fcp_req.first_sgl = op->sgl; in nvme_fc_init_request() 2154 op->op.fcp_req.private = &op->priv[0]; in nvme_fc_init_request() 2156 nvme_req(rq)->cmd = &op->op.cmd_iu.sqe; in nvme_fc_init_request() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | atomic.h | 52 #define ATOMIC_OPS(op) \ argument 53 static inline void arch_atomic_##op(int i, atomic_t *v) \ 55 __atomic_##op(i, &v->counter); \ 57 static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \ 59 return __atomic_##op##_barrier(i, &v->counter); \ 123 #define ATOMIC64_OPS(op) \ argument 124 static inline void arch_atomic64_##op(s64 i, atomic64_t *v) \ 126 __atomic64_##op(i, (long *)&v->counter); \ 128 static inline long arch_atomic64_fetch_##op(s64 i, atomic64_t *v) \ 130 return __atomic64_##op##_barrier(i, (long *)&v->counter); \
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | lse.h | 24 #define __lse_ll_sc_body(op, ...) \ argument 27 __lse_##op(__VA_ARGS__) : \ 28 __ll_sc_##op(__VA_ARGS__); \ 39 #define __lse_ll_sc_body(op, ...) __ll_sc_##op(__VA_ARGS__) argument
|
/openbmc/qemu/tests/fp/ |
H A D | fp-bench.c | 29 enum op { enum 126 static enum op operation; 232 static void bench(enum precision prec, enum op op, int n_ops, bool no_neg) in bench() argument 251 switch (op) { in bench() 286 switch (op) { in bench() 321 switch (op) { in bench() 356 switch (op) { in bench() 391 switch (op) { in bench() 426 #define GEN_BENCH(name, type, prec, op, n_ops) \ argument 429 bench(prec, op, n_ops, false); \ [all …]
|
/openbmc/linux/drivers/sbus/char/ |
H A D | flash.c | 159 static int flash_probe(struct platform_device *op) in flash_probe() argument 161 struct device_node *dp = op->dev.of_node; in flash_probe() 171 flash.read_base = op->resource[0].start; in flash_probe() 172 flash.read_size = resource_size(&op->resource[0]); in flash_probe() 173 if (op->resource[1].flags) { in flash_probe() 174 flash.write_base = op->resource[1].start; in flash_probe() 175 flash.write_size = resource_size(&op->resource[1]); in flash_probe() 177 flash.write_base = op->resource[0].start; in flash_probe() 178 flash.write_size = resource_size(&op->resource[0]); in flash_probe() 183 op->dev.of_node, in flash_probe() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | psxface.c | 87 union acpi_parse_object *op; in acpi_ps_execute_method() local 124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method() 125 if (!op) { in acpi_ps_execute_method() 141 status = acpi_ds_init_aml_walk(walk_state, op, info->node, in acpi_ps_execute_method() 195 acpi_ps_delete_parse_tree(op); in acpi_ps_execute_method() 242 union acpi_parse_object *op = NULL; in acpi_ps_execute_table() local 249 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table() 250 if (!op) { in acpi_ps_execute_table() 265 status = acpi_ds_init_aml_walk(walk_state, op, info->node, in acpi_ps_execute_table() 303 if (op) { in acpi_ps_execute_table() [all …]
|
/openbmc/linux/drivers/greybus/ |
H A D | svc.c | 650 op->request->payload_size, in gb_svc_version_request() 655 request = op->request->payload; in gb_svc_version_request() 669 response = op->response->payload; in gb_svc_version_request() 847 op->request->payload_size, in gb_svc_hello() 1173 request = op->request->payload; in gb_svc_module_inserted_recv() 1192 request = op->request->payload; in gb_svc_module_removed_recv() 1225 request = op->request->payload; in gb_svc_intf_mailbox_event_recv() 1236 u8 type = op->type; in gb_svc_request_handler() 1272 ret = gb_svc_version_request(op); in gb_svc_request_handler() 1277 ret = gb_svc_hello(op); in gb_svc_request_handler() [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace_probe.c | 847 code->op = FETCH_OP_ARG; in parse_probe_vars() 1021 code->op = deref; in parse_probe_arg() 1220 if (code->op != FETCH_OP_REG && code->op != FETCH_OP_STACK && in traceprobe_parse_probe_arg_body() 1221 code->op != FETCH_OP_RETVAL && code->op != FETCH_OP_ARG && in traceprobe_parse_probe_arg_body() 1222 code->op != FETCH_OP_DEREF && code->op != FETCH_OP_TP_ARG) { in traceprobe_parse_probe_arg_body() 1228 if (code->op != FETCH_OP_DEREF && code->op != FETCH_OP_UDEREF && in traceprobe_parse_probe_arg_body() 1229 code->op != FETCH_OP_IMM && code->op != FETCH_OP_COMM && in traceprobe_parse_probe_arg_body() 1230 code->op != FETCH_OP_DATA && code->op != FETCH_OP_TP_ARG) { in traceprobe_parse_probe_arg_body() 1237 (code->op == FETCH_OP_IMM || code->op == FETCH_OP_COMM || in traceprobe_parse_probe_arg_body() 1238 code->op == FETCH_OP_DATA) || code->op == FETCH_OP_TP_ARG || in traceprobe_parse_probe_arg_body() [all …]
|
/openbmc/linux/kernel/ |
H A D | kprobes.c | 444 kfree(op); in free_aggr_kprobe() 566 if (kprobe_disabled(&op->kp) && !kprobe_gone(&op->kp)) in do_unoptimize_kprobes() 576 list_del_init(&op->list); in do_unoptimize_kprobes() 586 list_del_init(&op->list); in do_free_cleaned_kprobes() 668 if (op == _op) in optprobe_queued_unopt() 794 list_del_init(&op->list); in kill_optimized_kprobe() 833 if (!op) in alloc_aggr_kprobe() 836 INIT_LIST_HEAD(&op->list); in alloc_aggr_kprobe() 837 op->kp.addr = p->addr; in alloc_aggr_kprobe() 840 return &op->kp; in alloc_aggr_kprobe() [all …]
|