Home
last modified time | relevance | path

Searched refs:op_type (Results 1 – 25 of 67) sorted by relevance

123

/openbmc/linux/arch/s390/include/asm/
H A Datomic_ops.h47 #define __ATOMIC_OP(op_name, op_type, op_string, op_barrier) \ argument
48 static inline op_type op_name(op_type val, op_type *ptr) \
50 op_type old; \
60 #define __ATOMIC_OPS(op_name, op_type, op_string) \ argument
61 __ATOMIC_OP(op_name, op_type, op_string, "\n") \
62 __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
77 #define __ATOMIC_CONST_OP(op_name, op_type, op_string, op_barrier) \ argument
78 static __always_inline void op_name(op_type val, op_type *ptr) \
86 #define __ATOMIC_CONST_OPS(op_name, op_type, op_string) \ argument
87 __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \
[all …]
/openbmc/linux/drivers/firmware/efi/
H A Dcper-arm.c91 u8 trans_type, op_type, level, participation_type, address_space; in cper_print_arm_err_info() local
117 op_type = ((error_info >> CPER_ARM_ERR_OPERATION_SHIFT) in cper_print_arm_err_info()
121 if (op_type < ARRAY_SIZE(arm_cache_err_op_strs)) { in cper_print_arm_err_info()
123 arm_cache_err_op_strs[op_type]); in cper_print_arm_err_info()
127 if (op_type < ARRAY_SIZE(arm_tlb_err_op_strs)) { in cper_print_arm_err_info()
129 arm_tlb_err_op_strs[op_type]); in cper_print_arm_err_info()
133 if (op_type < ARRAY_SIZE(arm_bus_err_op_strs)) { in cper_print_arm_err_info()
135 arm_bus_err_op_strs[op_type]); in cper_print_arm_err_info()
/openbmc/qemu/tests/qtest/
H A Dpnv-xive2-flush-sync.c186 int op_type = xive_inject_tests[test_nr]; in test_flush_sync_inject() local
191 clr_sync(qts, src_pir, ic_topo_id, op_type); in test_flush_sync_inject()
192 byte = get_sync(qts, src_pir, ic_topo_id, op_type); in test_flush_sync_inject()
196 inject_op(qts, ic_topo_id, op_type); in test_flush_sync_inject()
199 byte = get_sync(qts, src_pir, ic_topo_id, op_type); in test_flush_sync_inject()
202 clr_sync(qts, src_pir, ic_topo_id, op_type); in test_flush_sync_inject()
/openbmc/qemu/migration/
H A Dmultifd-uadk.c57 ss.op_type = WD_DIR_COMPRESS; in multifd_uadk_init_sess()
61 ss.op_type = WD_DIR_DECOMPRESS; in multifd_uadk_init_sess()
64 param.type = ss.op_type; in multifd_uadk_init_sess()
167 .op_type = WD_DIR_COMPRESS, in multifd_uadk_send_prepare()
275 .op_type = WD_DIR_DECOMPRESS, in multifd_uadk_recv()
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c121 uint32_t op_type; in virtio_crypto_create_sym_session() local
124 op_type = ldl_le_p(&sess_req->op_type); in virtio_crypto_create_sym_session()
128 sym_info->op_type = op_type; in virtio_crypto_create_sym_session()
130 if (op_type == VIRTIO_CRYPTO_SYM_OP_CIPHER) { in virtio_crypto_create_sym_session()
137 } else if (op_type == VIRTIO_CRYPTO_SYM_OP_ALGORITHM_CHAINING) { in virtio_crypto_create_sym_session()
526 if (sym_op_info->op_type == in virtio_crypto_sym_input_data_helper()
729 uint32_t op_type; in virtio_crypto_handle_sym_req() local
731 op_type = ldl_le_p(&req->op_type); in virtio_crypto_handle_sym_req()
732 if (op_type == VIRTIO_CRYPTO_SYM_OP_CIPHER) { in virtio_crypto_handle_sym_req()
738 } else if (op_type == VIRTIO_CRYPTO_SYM_OP_ALGORITHM_CHAINING) { in virtio_crypto_handle_sym_req()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Ddswexec.c331 u32 op_type; in acpi_ds_exec_end_op() local
343 op_type = walk_state->op_info->type; in acpi_ds_exec_end_op()
415 acpi_gbl_op_type_dispatch[op_type] (walk_state); in acpi_ds_exec_end_op()
457 switch (op_type) { in acpi_ds_exec_end_op()
697 op_class, op_type, op->common.aml_opcode, in acpi_ds_exec_end_op()
H A Dpsopinfo.c157 u8 acpi_ps_get_argument_count(u32 op_type) in acpi_ps_get_argument_count() argument
160 if (op_type <= AML_TYPE_EXEC_6A_0T_1R) { in acpi_ps_get_argument_count()
161 return (acpi_gbl_argument_count[op_type]); in acpi_ps_get_argument_count()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_misc.c58 static void hns_dsaf_acpi_ledctrl_by_port(struct hns_mac_cb *mac_cb, u8 op_type, in hns_dsaf_acpi_ledctrl_by_port() argument
76 &hns_dsaf_acpi_dsm_guid, 0, op_type, &argv4); in hns_dsaf_acpi_ledctrl_by_port()
87 u8 op_type, u32 locate, in hns_dsaf_acpi_locate_ledctrl_by_port() argument
103 &hns_dsaf_acpi_dsm_guid, 0, op_type, &argv4); in hns_dsaf_acpi_locate_ledctrl_by_port()
250 static void hns_dsaf_acpi_srst_by_port(struct dsaf_device *dsaf_dev, u8 op_type, in hns_dsaf_acpi_srst_by_port() argument
268 &hns_dsaf_acpi_dsm_guid, 0, op_type, &argv4); in hns_dsaf_acpi_srst_by_port()
/openbmc/linux/drivers/mtd/spi-nor/controllers/
H A Dhisi-sfc.c230 dma_addr_t dma_buf, size_t len, u8 op_type) in hisi_spi_nor_dma_transfer() argument
249 if (op_type == FMC_OP_READ) in hisi_spi_nor_dma_transfer()
254 if (op_type == FMC_OP_READ) in hisi_spi_nor_dma_transfer()
259 reg = OP_CTRL_RW_OP(op_type) | OP_CTRL_DMA_OP_READY; in hisi_spi_nor_dma_transfer()
260 reg |= (op_type == FMC_OP_READ) in hisi_spi_nor_dma_transfer()
/openbmc/qemu/backends/
H A Dcryptodev-builtin.c227 if (sess_info->op_type != VIRTIO_CRYPTO_SYM_OP_CIPHER) { in cryptodev_builtin_create_cipher_session()
228 error_setg(errp, "Unsupported optype :%u", sess_info->op_type); in cryptodev_builtin_create_cipher_session()
301 sess->type = sess_info->op_type; in cryptodev_builtin_create_cipher_session()
456 if (op_info->op_type == VIRTIO_CRYPTO_SYM_OP_ALGORITHM_CHAINING) { in cryptodev_builtin_sym_operation()
/openbmc/linux/drivers/crypto/chelsio/
H A Dchcr_crypto.h331 unsigned short op_type);
333 unsigned short op_type);
H A Dchcr_algo.c692 unsigned short op_type) in chcr_cipher_fallback() argument
703 err = op_type ? crypto_skcipher_decrypt(&reqctx->fallback_req) : in chcr_cipher_fallback()
1245 unsigned short op_type) in process_cipher() argument
1335 op_type); in process_cipher()
1338 reqctx->op = op_type; in process_cipher()
2405 unsigned short op_type) in chcr_aead_need_fallback() argument
2409 if (((req->cryptlen - (op_type ? authsize : 0)) == 0) || in chcr_aead_need_fallback()
2417 static int chcr_aead_fallback(struct aead_request *req, unsigned short op_type) in chcr_aead_fallback() argument
2429 return op_type ? crypto_aead_decrypt(subreq) : in chcr_aead_fallback()
2577 unsigned short op_type) in chcr_aead_dma_map() argument
[all …]
/openbmc/qemu/include/sysemu/
H A Dcryptodev.h79 uint8_t op_type; member
152 uint8_t op_type; member
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Duk.c301 FIELD_PREP(IRDMAQPSQ_OPCODE, info->op_type) | in irdma_uk_rdma_write()
477 FIELD_PREP(IRDMAQPSQ_OPCODE, info->op_type) | in irdma_uk_send()
689 FIELD_PREP(IRDMAQPSQ_OPCODE, info->op_type) | in irdma_uk_inline_rdma_write()
759 FIELD_PREP(IRDMAQPSQ_OPCODE, info->op_type) | in irdma_uk_inline_send()
1086 info->op_type = (u8)FIELD_GET(IRDMACQ_OP, qword3); in irdma_uk_cq_poll_cmpl()
1142 info->op_type = (u8)FIELD_GET(IRDMACQ_OP, qword3); in irdma_uk_cq_poll_cmpl()
1160 info->op_type = (u8)FIELD_GET(IRDMAQPSQ_OPCODE, in irdma_uk_cq_poll_cmpl()
1164 if (info->op_type != IRDMAQP_OP_NOP) { in irdma_uk_cq_poll_cmpl()
1170 if (info->op_type == IRDMA_OP_TYPE_BIND_MW && in irdma_uk_cq_poll_cmpl()
H A Dverbs.h242 switch (cq_poll_info->op_type) { in set_ib_wc_op_sq()
282 switch (cq_poll_info->op_type) { in set_ib_wc_op_rq()
/openbmc/linux/drivers/crypto/caam/
H A Dqi.h72 enum optype op_type; member
/openbmc/linux/tools/testing/selftests/net/
H A Dsrv6_end_flavors_test.sh516 local op_type
524 op_type="$(__get_srv6_rtcfg_op "${n}")"
527 case "${op_type}" in
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h27 u8 op_type:1; member
37 u8 op_type:1;
H A Dqlcnic_sriov_common.c325 cmd.op_type = QLC_83XX_MBX_POST_BC_OP; in qlcnic_sriov_post_bc_msg()
728 mbx->op_type = QLC_BC_CMD; in qlcnic_sriov_alloc_bc_mbx_args()
797 cmd->op_type = trans->req_hdr->op_type; in qlcnic_sriov_prepare_bc_hdr()
805 hdr[i].op_type = cmd->op_type; in qlcnic_sriov_prepare_bc_hdr()
1205 hdr->op_type != QLC_BC_CMD && in qlcnic_sriov_handle_bc_cmd()
1219 if (hdr->op_type == QLC_BC_CMD) in qlcnic_sriov_handle_bc_cmd()
1229 cmd.op_type = hdr->op_type; in qlcnic_sriov_handle_bc_cmd()
/openbmc/linux/include/uapi/linux/
H A Dvirtio_crypto.h284 __le32 op_type; member
450 __le32 op_type; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_crypto.h284 uint32_t op_type; member
450 uint32_t op_type; member
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_pcie.h92 u8 op_type; member
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_buffer_mgr.c528 areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT && in cc_unmap_aead_request()
656 enum drv_crypto_direction direct = areq_ctx->gen_ctx.op_type; in cc_prepare_aead_data_dlli()
682 enum drv_crypto_direction direct = areq_ctx->gen_ctx.op_type; in cc_prepare_aead_data_mlli()
795 enum drv_crypto_direction direct = areq_ctx->gen_ctx.op_type; in cc_aead_chain_data()
918 if (areq_ctx->gen_ctx.op_type == in cc_update_aead_mlli_nents()
967 areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT && in cc_map_aead_request()
972 areq_ctx->cryptlen = (areq_ctx->gen_ctx.op_type == in cc_map_aead_request()
1056 if ((areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_ENCRYPT) && in cc_map_aead_request()
H A Dcc_aead.c227 if (areq_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_aead_complete()
880 int direct = req_ctx->gen_ctx.op_type; in cc_proc_digest_desc()
929 int direct = req_ctx->gen_ctx.op_type; in cc_set_cipher_desc()
969 int direct = req_ctx->gen_ctx.op_type; in cc_proc_cipher()
1216 int direct = req_ctx->gen_ctx.op_type; in cc_hmac_authenc()
1269 int direct = req_ctx->gen_ctx.op_type; in cc_xcbc_authenc()
1419 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_ccm()
1547 unsigned int cryptlen = (req_ctx->gen_ctx.op_type == in config_ccm_adata()
1737 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_proc_gcm_result()
1809 if (req_ctx->gen_ctx.op_type == DRV_CRYPTO_DIRECTION_DECRYPT) { in cc_gcm()
[all …]
/openbmc/linux/drivers/block/
H A Drbd.c332 enum obj_operation_type op_type; member
851 static char* obj_op_name(enum obj_operation_type op_type) in obj_op_name() argument
853 switch (op_type) { in obj_op_name()
1344 if (obj_req->img_request->op_type == OBJ_OP_DISCARD) { in rbd_obj_set_copyup_enabled()
1374 switch (img_req->op_type) { in rbd_img_is_write()
1589 enum obj_operation_type op_type) in rbd_img_request_init() argument
1594 img_request->op_type = op_type; in rbd_img_request_init()
2378 switch (img_req->op_type) { in count_write_ops()
2403 switch (obj_req->img_request->op_type) { in rbd_osd_setup_write_ops()
2429 switch (img_req->op_type) { in __rbd_img_fill_request()
[all …]

123