Home
last modified time | relevance | path

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

123

/linux/arch/s390/include/asm/
H A Datomic_ops.h61 #define __ATOMIC_OP(op_name, op_type, op_string, op_barrier) \ argument
62 static __always_inline op_type op_name(op_type val, op_type *ptr) \
64 op_type old; \
74 #define __ATOMIC_OPS(op_name, op_type, op_string) \ argument
75 __ATOMIC_OP(op_name, op_type, op_string, "\n") \
76 __ATOMIC_OP(op_name##_barrier, op_type, op_string, "bcr 14,0\n")
91 #define __ATOMIC_CONST_OP(op_name, op_type, op_string, op_barrier) \ argument
92 static __always_inline void op_name(op_type val, op_type *ptr) \
100 #define __ATOMIC_CONST_OPS(op_name, op_type, op_string) \ argument
101 __ATOMIC_CONST_OP(op_name, op_type, op_string, "\n") \
[all …]
/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()
/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()
H A Dacparser.h112 u8 acpi_ps_get_argument_count(u32 op_type);
/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()
/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()
/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.h244 switch (cq_poll_info->op_type) { in set_ib_wc_op_sq()
284 switch (cq_poll_info->op_type) { in set_ib_wc_op_rq()
H A Duser.h212 u8 op_type; member
247 u8 op_type; member
/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()
2412 unsigned short op_type) in chcr_aead_need_fallback() argument
2416 if (((req->cryptlen - (op_type ? authsize : 0)) == 0) || in chcr_aead_need_fallback()
2424 static int chcr_aead_fallback(struct aead_request *req, unsigned short op_type) in chcr_aead_fallback() argument
2436 return op_type ? crypto_aead_decrypt(subreq) : in chcr_aead_fallback()
2584 unsigned short op_type) in chcr_aead_dma_map() argument
[all …]
/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
/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()
/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 …]
H A Dcc_cipher.c513 int direction = req_ctx->gen_ctx.op_type; in cc_setup_readiv_desc()
570 int direction = req_ctx->gen_ctx.op_type; in cc_setup_state_desc()
614 int direction = req_ctx->gen_ctx.op_type; in cc_setup_xex_state_desc()
691 int direction = req_ctx->gen_ctx.op_type; in cc_setup_key_desc()
939 req_ctx->gen_ctx.op_type = direction; in cc_cipher_process()
H A Dcc_driver.h191 enum drv_crypto_direction op_type; member
/linux/drivers/crypto/caam/
H A Dqi.h72 enum optype op_type; member
/linux/include/uapi/linux/
H A Dvirtio_crypto.h284 __le32 op_type; member
450 __le32 op_type; member
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_pcie.h92 u8 op_type; member
/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 …]
/linux/net/rds/
H A Drdma.c884 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
889 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
894 rm->atomic.op_type = RDS_ATOMIC_TYPE_CSWP; in rds_cmsg_atomic()
901 rm->atomic.op_type = RDS_ATOMIC_TYPE_CSWP; in rds_cmsg_atomic()
/linux/arch/powerpc/perf/
H A Disa207-common.c333 u32 op_type; in isa207_get_mem_data_src() local
344 op_type = (mmcra >> MMCRA_SAMP_ELIG_SHIFT) & MMCRA_SAMP_ELIG_MASK; in isa207_get_mem_data_src()
345 switch (op_type) { in isa207_get_mem_data_src()

123