Home
last modified time | relevance | path

Searched refs:op (Results 326 – 350 of 2443) sorted by relevance

1...<<11121314151617181920>>...98

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcpbpf_kern.c52 int op; in bpf_testcb() local
62 : [op] "+r"(op) in bpf_testcb()
94 op = (int) skops->op; in bpf_testcb()
96 global.event_map |= (1 << op); in bpf_testcb()
98 switch (op) { in bpf_testcb()
/openbmc/boost-dbus/include/dbus/detail/
H A Dasync_send_op.hpp56 async_send_op* op = in operator ()() local
60 dbus_pending_call_set_notify(p, &callback, op, NULL); in operator ()()
77 boost::scoped_ptr<async_send_op> op(static_cast<async_send_op*>(userdata)); in callback() local
79 op->message_ = std::make_shared<message>(x); in callback()
83 op->io_.post(BOOST_ASIO_MOVE_CAST(async_send_op)(*op)); in callback()
/openbmc/qemu/plugins/
H A Dapi.c98 enum qemu_plugin_op op, in qemu_plugin_register_vcpu_tb_exec_inline() argument
118 enum qemu_plugin_op op, in qemu_plugin_register_vcpu_insn_exec_inline() argument
123 0, op, ptr, imm); in qemu_plugin_register_vcpu_insn_exec_inline()
144 enum qemu_plugin_op op, void *ptr, in qemu_plugin_register_vcpu_mem_inline() argument
148 rw, op, ptr, imm); in qemu_plugin_register_vcpu_mem_inline()
254 MemOp op = get_memop(info); in qemu_plugin_mem_size_shift() local
255 return op & MO_SIZE; in qemu_plugin_mem_size_shift()
260 MemOp op = get_memop(info); in qemu_plugin_mem_is_sign_extended() local
261 return op & MO_SIGN; in qemu_plugin_mem_is_sign_extended()
266 MemOp op = get_memop(info); in qemu_plugin_mem_is_big_endian() local
[all …]
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-xcbc.c93 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); in nx_xcbc_empty()
94 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty()
96 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); in nx_xcbc_empty()
121 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); in nx_xcbc_empty()
124 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); in nx_xcbc_empty()
251 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * in nx_xcbc_update()
263 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update()
268 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, 0); in nx_xcbc_update()
341 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); in nx_xcbc_final()
344 if (!nx_ctx->op.outlen) { in nx_xcbc_final()
[all …]
/openbmc/u-boot/lib/
H A Dfdtdec_test.c56 #define CHECK(op) if (fdt_checkerr(#op, op)) return -1 argument
57 #define CHECKVAL(op, expected) \ argument
58 if (checkval(#op, expected, op)) \
60 #define CHECKOK(op) CHECKVAL(op, 0) argument
/openbmc/linux/samples/bpf/
H A Dtcp_iw_kern.c32 int op; in bpf_iw() local
43 op = (int) skops->op; in bpf_iw()
46 bpf_printk("BPF command: %d\n", op); in bpf_iw()
52 switch (op) { in bpf_iw()
H A Dtcp_clamp_kern.c32 int op; in bpf_clamp() local
42 op = (int) skops->op; in bpf_clamp()
45 bpf_printk("BPF command: %d\n", op); in bpf_clamp()
56 switch (op) { in bpf_clamp()
H A Dtcp_tos_reflect_kern.c33 int op; in bpf_basertt() local
35 op = (int) skops->op; in bpf_basertt()
38 bpf_printk("BPF command: %d\n", op); in bpf_basertt()
40 switch (op) { in bpf_basertt()
/openbmc/linux/arch/x86/xen/
H A Dtrace.c12 static const char *xen_hypercall_name(unsigned op) in xen_hypercall_name() argument
14 if (op < ARRAY_SIZE(xen_hypercall_names) && xen_hypercall_names[op] != NULL) in xen_hypercall_name()
15 return xen_hypercall_names[op]; in xen_hypercall_name()
H A Dmulticalls.c88 mc->result = xen_single_call(mc->op, mc->args[0], mc->args[1], in xen_mc_flush()
110 b->debug[i].op, in xen_mc_flush()
117 b->entries[i].op, in xen_mc_flush()
169 struct multicall_space xen_mc_extend_args(unsigned long op, size_t size) in xen_mc_extend_args() argument
178 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args()
179 trace_xen_mc_extend_args(op, size, XEN_MC_XE_BAD_OP); in xen_mc_extend_args()
184 trace_xen_mc_extend_args(op, size, XEN_MC_XE_NO_SPACE); in xen_mc_extend_args()
194 trace_xen_mc_extend_args(op, size, XEN_MC_XE_OK); in xen_mc_extend_args()
/openbmc/linux/fs/orangefs/
H A Dorangefs-utils.c14 __s32 fsid_of_op(struct orangefs_kernel_op_s *op) in fsid_of_op() argument
18 if (op) { in fsid_of_op()
19 switch (op->upcall.type) { in fsid_of_op()
21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op()
30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op()
42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op()
51 fsid = op->upcall.req.statfs.fs_id; in fsid_of_op()
54 fsid = op->upcall.req.truncate.refn.fs_id; in fsid_of_op()
60 fsid = op->upcall.req.fs_umount.fs_id; in fsid_of_op()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dpci_sabre.c315 struct device_node *dp = pbm->op->dev.of_node; in sabre_register_error_handlers()
316 struct platform_device *op; in sabre_register_error_handlers() local
324 op = of_find_device_by_node(dp); in sabre_register_error_handlers()
325 if (!op) in sabre_register_error_handlers()
334 if (op->archdata.num_irqs < 4) in sabre_register_error_handlers()
447 struct platform_device *op) in sabre_pbm_init() argument
453 sabre_scan_bus(pbm, &op->dev); in sabre_pbm_init()
461 struct device_node *dp = op->dev.of_node; in sabre_probe()
469 match = of_match_device(sabre_match, &op->dev); in sabre_probe()
569 sabre_pbm_init(pbm, op); in sabre_probe()
[all …]
H A Dchmc.c470 op->dev.of_node); in jbusmc_probe()
472 dev_set_drvdata(&op->dev, p); in jbusmc_probe()
694 static int chmc_probe(struct platform_device *op) in chmc_probe() argument
696 struct device_node *dp = op->dev.of_node; in chmc_probe()
756 dev_set_drvdata(&op->dev, p); in chmc_probe()
771 return chmc_probe(op); in us3mc_probe()
773 return jbusmc_probe(op); in us3mc_probe()
780 of_iounmap(&op->resource[0], p->regs, 0x48); in chmc_destroy()
793 void *p = dev_get_drvdata(&op->dev); in us3mc_remove()
797 chmc_destroy(op, p); in us3mc_remove()
[all …]
H A Dapc.c74 static inline void apc_free(struct platform_device *op) in apc_free() argument
76 of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); in apc_free()
143 static int apc_probe(struct platform_device *op) in apc_probe() argument
147 regs = of_ioremap(&op->resource[0], 0, in apc_probe()
148 resource_size(&op->resource[0]), APC_OBPNAME); in apc_probe()
157 apc_free(op); in apc_probe()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_cppcore.c198 if (cpp->op->free) in nfp_cpp_free()
199 cpp->op->free(cpp); in nfp_cpp_free()
310 cpp->op->area_priv_size; in nfp_cpp_area_alloc_with_name()
322 if (cpp->op->area_init) { in nfp_cpp_area_alloc_with_name()
644 if (area->cpp->op->area_phys) in nfp_cpp_area_phys()
880 if (cpp->op->area_init) { in area_cache_get()
1179 cpp->op = ops; in nfp_cpp_from_operations()
1214 if (cpp->op->init) { in nfp_cpp_from_operations()
1215 err = cpp->op->init(cpp); in nfp_cpp_from_operations()
1292 if (cpp->op->func) \
[all …]
/openbmc/linux/drivers/char/hw_random/
H A Dn2-drv.c391 dev_err(&np->op->dev, in n2rng_grab_diag_control()
439 dev_err(&np->op->dev, "RNG error, retesting\n"); in n2rng_data_read()
678 dev_info(&np->op->dev, "RNG ready\n"); in n2rng_work()
696 static int n2rng_probe(struct platform_device *op) in n2rng_probe() argument
702 match = of_match_device(n2rng_match, &op->dev); in n2rng_probe()
710 np->op = op; in n2rng_probe()
727 dev_err(&op->dev, "Cannot register suitable " in n2rng_probe()
762 dev_info(&op->dev, "Found %s RNG, units: %d\n", in n2rng_probe()
771 err = devm_hwrng_register(&op->dev, &np->hwrng); in n2rng_probe()
775 platform_set_drvdata(op, np); in n2rng_probe()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dleo.c546 of_iounmap(&op->resource[0], in leo_unmap_regs()
552 static int leo_probe(struct platform_device *op) in leo_probe() argument
554 struct device_node *dp = op->dev.of_node; in leo_probe()
568 info->fix.smem_start = op->resource[0].start; in leo_probe()
582 of_ioremap(&op->resource[0], LEO_OFF_LD_SS0, in leo_probe()
585 of_ioremap(&op->resource[0], LEO_OFF_LD_SS1, in leo_probe()
588 of_ioremap(&op->resource[0], LEO_OFF_LX_KRN, in leo_probe()
594 of_ioremap(&op->resource[0], LEO_OFF_SS0, in leo_probe()
621 dev_set_drvdata(&op->dev, info); in leo_probe()
633 leo_unmap_regs(op, info, par); in leo_probe()
[all …]
/openbmc/phosphor-inventory-manager/
H A Dgenerated.mako.cpp29 ${i.namespace()}>>::op,
32 ${i.namespace()}>>::op,
35 ${i.namespace()}>, SerialOps>::op,
38 ${i.namespace()}>, SerialOps>::op
42 ${i.namespace()}>>::op
/openbmc/linux/drivers/iio/
H A Dindustrialio-backend.c70 #define iio_backend_check_op(back, op) ({ \ argument
74 if (!____back->ops->op) \
80 #define iio_backend_op_call(back, op, args...) ({ \ argument
84 __ret = iio_backend_check_op(__back, op); \
86 __ret = __back->ops->op(__back, ##args); \
91 #define iio_backend_ptr_op_call(back, op, args...) ({ \ argument
96 __ret = iio_backend_check_op(__back, op); \
100 ptr_err = __back->ops->op(__back, ##args); \
105 #define iio_backend_void_op_call(back, op, args...) { \ argument
109 __ret = iio_backend_check_op(__back, op); \
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-mpc52xx.c396 dev_dbg(&op->dev, "probing mpc5200 SPI device\n"); in mpc52xx_spi_probe()
397 regs = of_iomap(op->dev.of_node, 0); in mpc52xx_spi_probe()
422 dev_dbg(&op->dev, "allocating spi_master struct\n"); in mpc52xx_spi_probe()
423 master = spi_alloc_master(&op->dev, sizeof(*ms)); in mpc52xx_spi_probe()
432 master->dev.of_node = op->dev.of_node; in mpc52xx_spi_probe()
434 platform_set_drvdata(op, master); in mpc52xx_spi_probe()
442 ms->ipb_freq = mpc5xxx_get_bus_frequency(&op->dev); in mpc52xx_spi_probe()
443 ms->gpio_cs_count = gpiod_count(&op->dev, NULL); in mpc52xx_spi_probe()
455 gpio_cs = gpiod_get_index(&op->dev, in mpc52xx_spi_probe()
459 dev_err(&op->dev, in mpc52xx_spi_probe()
[all …]
/openbmc/linux/drivers/pci/
H A Dxen-pcifront.c168 err = op->err; in do_pci_op()
179 struct xen_pci_op op = { in pcifront_bus_read() local
199 op.value); in pcifront_bus_read()
201 *val = op.value; in pcifront_bus_read()
215 struct xen_pci_op op = { in pcifront_bus_write() local
246 struct xen_pci_op op = { in pci_frontend_enable_msix() local
288 err = op.value; in pci_frontend_enable_msix()
329 vector[0] = op.value; in pci_frontend_enable_msi()
330 if (op.value <= 0) { in pci_frontend_enable_msi()
332 op.value); in pci_frontend_enable_msi()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_range.c20 enum nft_range_ops op:8; member
31 switch (priv->op) { in nft_range_eval()
63 u32 op; in nft_range_init() local
91 err = nft_parse_u32_check(tb[NFTA_RANGE_OP], U8_MAX, &op); in nft_range_init()
95 switch (op) { in nft_range_init()
104 priv->op = op; in nft_range_init()
121 if (nla_put_be32(skb, NFTA_RANGE_OP, htonl(priv->op))) in nft_range_dump()
/openbmc/linux/arch/sparc/crypto/
H A Dcamellia_glue.c93 ecb_crypt_op *op; in __ecb_crypt() local
98 op = camellia_sparc64_ecb_crypt_3_grand_rounds; in __ecb_crypt()
100 op = camellia_sparc64_ecb_crypt_4_grand_rounds; in __ecb_crypt()
112 op(walk.src.virt.addr, walk.dst.virt.addr, in __ecb_crypt()
143 cbc_crypt_op *op; in cbc_encrypt() local
148 op = camellia_sparc64_cbc_encrypt_3_grand_rounds; in cbc_encrypt()
150 op = camellia_sparc64_cbc_encrypt_4_grand_rounds; in cbc_encrypt()
159 op(walk.src.virt.addr, walk.dst.virt.addr, in cbc_encrypt()
172 cbc_crypt_op *op; in cbc_decrypt() local
177 op = camellia_sparc64_cbc_decrypt_3_grand_rounds; in cbc_decrypt()
[all …]
/openbmc/linux/net/sunrpc/
H A Dstats.c207 static void _print_name(struct seq_file *seq, unsigned int op, in _print_name() argument
210 if (procs[op].p_name) in _print_name()
211 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name()
212 else if (op == 0) in _print_name()
215 seq_printf(seq, "\t%12u: ", op); in _print_name()
232 int op, const struct rpc_procinfo *procs) in _print_rpc_iostats() argument
234 _print_name(seq, op, procs); in _print_rpc_iostats()
257 unsigned int op, maxproc = clnt->cl_maxproc; in rpc_clnt_show_stats() local
269 for (op = 0; op < maxproc; op++) { in rpc_clnt_show_stats()
273 _add_rpc_iostats(&stats, &next->cl_metrics[op]); in rpc_clnt_show_stats()
[all …]
/openbmc/qemu/include/tcg/
H A Dtcg.h210 TCGOp *op; member
476 return i < ARRAY_SIZE(op->output_pref) ? op->output_pref[i] : 0; in output_pref()
703 return op->args[arg]; in tcg_get_insn_param()
708 op->args[arg] = v; in tcg_set_insn_param()
714 return tcg_get_insn_param(op, arg); in tcg_get_insn_start_param()
724 tcg_set_insn_param(op, arg, v); in tcg_set_insn_start_param()
726 tcg_set_insn_param(op, arg * 2, v); in tcg_set_insn_start_param()
845 TCGOpcode op; member
849 bool tcg_op_supported(TCGOpcode op);
866 void tcg_op_remove(TCGContext *s, TCGOp *op);
[all …]

1...<<11121314151617181920>>...98