/drivers/infiniband/core/ |
D | multicast.c | 255 static int check_selector(ib_sa_comp_mask comp_mask, in check_selector() argument 262 if (!(comp_mask & selector_mask) || !(comp_mask & value_mask)) in check_selector() 284 struct ib_sa_mcmember_rec *dst, ib_sa_comp_mask comp_mask) in cmp_rec() argument 288 if (comp_mask & IB_SA_MCMEMBER_REC_PORT_GID && in cmp_rec() 291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec() 293 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid) in cmp_rec() 295 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_MTU_SELECTOR, in cmp_rec() 299 if (comp_mask & IB_SA_MCMEMBER_REC_TRAFFIC_CLASS && in cmp_rec() 302 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec() 304 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_RATE_SELECTOR, in cmp_rec() [all …]
|
D | sa_query.c | 754 ib_sa_comp_mask comp_mask = mad->sa_hdr.comp_mask; in ib_nl_set_path_rec_attrs() local 767 if ((comp_mask & IB_SA_PATH_REC_REVERSIBLE) && in ib_nl_set_path_rec_attrs() 775 if (comp_mask & IB_SA_PATH_REC_SERVICE_ID) { in ib_nl_set_path_rec_attrs() 780 if (comp_mask & IB_SA_PATH_REC_DGID) in ib_nl_set_path_rec_attrs() 783 if (comp_mask & IB_SA_PATH_REC_SGID) in ib_nl_set_path_rec_attrs() 786 if (comp_mask & IB_SA_PATH_REC_TRAFFIC_CLASS) in ib_nl_set_path_rec_attrs() 790 if (comp_mask & IB_SA_PATH_REC_PKEY) { in ib_nl_set_path_rec_attrs() 795 if (comp_mask & IB_SA_PATH_REC_QOS_CLASS) { in ib_nl_set_path_rec_attrs() 802 static int ib_nl_get_path_rec_attrs_len(ib_sa_comp_mask comp_mask) in ib_nl_get_path_rec_attrs_len() argument 806 if (comp_mask & IB_SA_PATH_REC_SERVICE_ID) in ib_nl_get_path_rec_attrs_len() [all …]
|
D | sa.h | 54 ib_sa_comp_mask comp_mask,
|
D | uverbs_cmd.c | 1101 if (cmd.comp_mask) in ib_uverbs_ex_create_cq() 1298 if (cmd->comp_mask & IB_UVERBS_CREATE_QP_MASK_IND_TABLE) { in create_qp() 1551 if (cmd.comp_mask & ~IB_UVERBS_CREATE_QP_SUP_COMP_MASK) in ib_uverbs_ex_create_qp() 2917 if (cmd.comp_mask) in ib_uverbs_ex_create_wq() 3004 if (cmd.comp_mask) in ib_uverbs_ex_destroy_wq() 3073 if (cmd.comp_mask) in ib_uverbs_ex_create_rwq_ind_table() 3176 if (cmd.comp_mask) in ib_uverbs_ex_destroy_rwq_ind_table() 3204 if (cmd.comp_mask) in ib_uverbs_ex_create_flow() 3357 if (cmd.comp_mask) in ib_uverbs_ex_destroy_flow() 3639 if (cmd.comp_mask) in ib_uverbs_ex_query_device() [all …]
|
D | cma.c | 2581 ib_sa_comp_mask comp_mask; in cma_query_ib_route() local 2599 comp_mask = IB_SA_PATH_REC_DGID | IB_SA_PATH_REC_SGID | in cma_query_ib_route() 2606 comp_mask |= IB_SA_PATH_REC_QOS_CLASS; in cma_query_ib_route() 2611 comp_mask |= IB_SA_PATH_REC_TRAFFIC_CLASS; in cma_query_ib_route() 2616 comp_mask |= IB_SA_PATH_REC_TRAFFIC_CLASS; in cma_query_ib_route() 2622 comp_mask, timeout_ms, in cma_query_ib_route() 4244 ib_sa_comp_mask comp_mask; in cma_join_ib_multicast() local 4274 comp_mask = IB_SA_MCMEMBER_REC_MGID | IB_SA_MCMEMBER_REC_PORT_GID | in cma_join_ib_multicast() 4281 comp_mask |= IB_SA_MCMEMBER_REC_RATE | in cma_join_ib_multicast() 4289 comp_mask, GFP_KERNEL, in cma_join_ib_multicast()
|
/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 298 mad.sa_hdr.comp_mask = IB_SA_MCMEMBER_REC_MGID | in send_leave_to_wire() 339 mad.sa_hdr.comp_mask = 0; /* ignored on responses, see IBTA spec */ in send_reply_to_slave() 352 static int check_selector(ib_sa_comp_mask comp_mask, in check_selector() argument 362 if (!(comp_mask & selector_mask) || !(comp_mask & value_mask)) in check_selector() 384 struct ib_sa_mcmember_data *dst, ib_sa_comp_mask comp_mask) in cmp_rec() argument 391 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec() 393 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid) in cmp_rec() 395 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_MTU_SELECTOR, in cmp_rec() 399 if (comp_mask & IB_SA_MCMEMBER_REC_TRAFFIC_CLASS && in cmp_rec() 402 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec() [all …]
|
D | alias_GUID.c | 456 ib_sa_comp_mask comp_mask = 0; in invalidate_guid_record() local 475 comp_mask |= mlx4_ib_get_aguid_comp_mask_from_ix(i); in invalidate_guid_record() 478 all_rec_per_port[index].guid_indexes |= comp_mask; in invalidate_guid_record() 492 ib_sa_comp_mask comp_mask; in set_guid_rec() local 536 comp_mask = IB_SA_GUIDINFO_REC_LID | IB_SA_GUIDINFO_REC_BLOCK_NUM | in set_guid_rec() 547 comp_mask, rec->method, 1000, in set_guid_rec()
|
D | qp.c | 731 if (ucmd.comp_mask || ucmd.reserved1) in _mlx4_ib_create_qp_rss() 891 if (wq.comp_mask || wq.reserved[0] || wq.reserved[1] || in create_rq() 4134 required_cmd_sz = offsetof(typeof(ucmd), comp_mask) + in mlx4_ib_create_wq() 4135 sizeof(ucmd.comp_mask); in mlx4_ib_create_wq() 4283 if (ucmd.comp_mask || ucmd.reserved) in mlx4_ib_modify_wq()
|
D | mlx4_ib.h | 637 __u32 comp_mask; member
|
D | main.c | 431 struct mlx4_uverbs_ex_query_device_resp resp = {.comp_mask = 0}; in mlx4_ib_query_device() 442 if (cmd.comp_mask) in mlx4_ib_query_device() 574 resp.comp_mask |= MLX4_IB_QUERY_DEV_RESP_MASK_CORE_CLOCK_OFFSET; in mlx4_ib_query_device()
|
/drivers/crypto/ccree/ |
D | cc_driver.c | 154 if (irr & drvdata->comp_mask) { in cc_isr() 158 cc_iowrite(drvdata, CC_REG(HOST_IMR), imr | drvdata->comp_mask); in cc_isr() 159 irr &= ~drvdata->comp_mask; in cc_isr() 239 val = drvdata->comp_mask | CC_AXI_ERR_IRQ_MASK; in init_cc_regs() 299 new_drvdata->comp_mask = CC_COMP_IRQ_MASK; in init_cc_resources() 432 new_drvdata->comp_mask |= CC_CPP_SM4_ABORT_MASK; in init_cc_resources() 434 new_drvdata->comp_mask |= CC_CPP_AES_ABORT_MASK; in init_cc_resources()
|
D | cc_request_mgr.c | 639 irq = (drvdata->irq & drvdata->comp_mask); in comp_handler() 656 irq = (drvdata->irq & drvdata->comp_mask); in comp_handler() 675 cc_ioread(drvdata, CC_REG(HOST_IMR)) & ~drvdata->comp_mask); in comp_handler()
|
D | cc_driver.h | 163 u32 comp_mask; member
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_pipeline.c | 137 u32 comp_mask) in komeda_pipeline_get_first_component() argument 142 id = find_first_bit((unsigned long *)&comp_mask, 32); in komeda_pipeline_get_first_component()
|
D | komeda_pipeline.h | 479 u32 comp_mask);
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_multicast.c | 479 ib_sa_comp_mask comp_mask; in ipoib_mcast_join() local 495 comp_mask = in ipoib_mcast_join() 509 comp_mask |= in ipoib_mcast_join() 549 &rec, comp_mask, GFP_KERNEL, in ipoib_mcast_join()
|
/drivers/media/platform/qcom/camss/ |
D | camss-vfe-4-1.c | 598 u32 comp_mask = 0; in vfe_enable_irq_pix_line() local 608 comp_mask |= (1 << output->wm_idx[i]) << comp * 8; in vfe_enable_irq_pix_line() 614 vfe_reg_set(vfe, VFE_0_IRQ_COMPOSITE_MASK_0, comp_mask); in vfe_enable_irq_pix_line() 618 vfe_reg_clr(vfe, VFE_0_IRQ_COMPOSITE_MASK_0, comp_mask); in vfe_enable_irq_pix_line()
|
D | camss-vfe-4-7.c | 701 u32 comp_mask = 0; in vfe_enable_irq_pix_line() local 711 comp_mask |= (1 << output->wm_idx[i]) << comp * 8; in vfe_enable_irq_pix_line() 717 vfe_reg_set(vfe, VFE_0_IRQ_COMPOSITE_MASK_0, comp_mask); in vfe_enable_irq_pix_line() 721 vfe_reg_clr(vfe, VFE_0_IRQ_COMPOSITE_MASK_0, comp_mask); in vfe_enable_irq_pix_line()
|
/drivers/infiniband/hw/mlx5/ |
D | qp.c | 1477 resp->comp_mask |= MLX5_IB_CREATE_QP_RESP_MASK_TISN; in create_raw_packet_qp() 1479 resp->comp_mask |= MLX5_IB_CREATE_QP_RESP_MASK_SQN; in create_raw_packet_qp() 1505 resp->comp_mask |= MLX5_IB_CREATE_QP_RESP_MASK_RQN; in create_raw_packet_qp() 1507 resp->comp_mask |= MLX5_IB_CREATE_QP_RESP_MASK_TIRN; in create_raw_packet_qp() 1519 resp->comp_mask |= in create_raw_packet_qp() 1637 if (ucmd.comp_mask) { in create_rss_raw_qp_tir() 1809 resp.comp_mask |= MLX5_IB_CREATE_QP_RESP_MASK_TIRN; in create_rss_raw_qp_tir() 1820 resp.comp_mask |= in create_rss_raw_qp_tir() 3921 if (ucmd.comp_mask || in mlx5_ib_modify_qp() 6069 if (ucmd.comp_mask & (~MLX5_IB_CREATE_WQ_STRIDING_RQ)) { in prepare_user_rq() [all …]
|
D | mr.c | 1900 __u32 comp_mask; in mlx5_ib_alloc_mw() member 1908 if (req.comp_mask || req.reserved1 || req.reserved2) in mlx5_ib_alloc_mw()
|
D | main.c | 844 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length); in mlx5_ib_query_device() 1802 if (req.comp_mask || req.reserved0 || req.reserved1 || req.reserved2) in mlx5_ib_alloc_ucontext() 1925 resp.comp_mask |= in mlx5_ib_alloc_ucontext() 1947 resp.comp_mask |= in mlx5_ib_alloc_ucontext()
|
/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 677 if (cmd.comp_mask) { in efa_create_qp() 964 if (cmd.comp_mask || !is_reserved_cleared(cmd.reserved_50)) { in efa_create_cq()
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 3632 resp.comp_mask = BNXT_RE_UCNTX_CMASK_HAVE_CCTX; in bnxt_re_alloc_ucontext()
|