Searched refs:llq (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 147 writel_relaxed(q->llq.cons, q->cons_reg); in queue_sync_cons_out() 158 struct arm_smmu_ll_queue *llq = &q->llq; in queue_sync_cons_ovf() local 160 if (likely(Q_OVF(llq->prod) == Q_OVF(llq->cons))) in queue_sync_cons_ovf() 163 llq->cons = Q_OVF(llq->prod) | Q_WRP(llq, llq->cons) | in queue_sync_cons_ovf() 164 Q_IDX(llq, llq->cons); in queue_sync_cons_ovf() 180 if (Q_OVF(prod) != Q_OVF(q->llq.prod)) in queue_sync_prod_in() 183 q->llq.prod = prod; in queue_sync_prod_in() 238 if (queue_empty(&q->llq)) in queue_remove_raw() 241 queue_read(ent, Q_ENT(q, q->llq.cons), q->ent_dwords); in queue_remove_raw() 242 queue_inc_cons(&q->llq); in queue_remove_raw() [all …]
|
H A D | tegra241-cmdqv.c | 494 size_t nents = 1 << q->llq.max_n_shift; in tegra241_vcmdq_free_smmu_cmdq() 513 q->llq.max_n_shift = min_t(u32, CMDQ_MAX_SZ_SHIFT, VCMDQ_LOG2SIZE_MAX); in tegra241_vcmdq_alloc_smmu_cmdq() 524 q->q_base |= FIELD_PREP(VCMDQ_LOG2SIZE, q->llq.max_n_shift); in tegra241_vcmdq_alloc_smmu_cmdq()
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.c | 593 cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; in ena_com_set_llq() 594 cmd.u.llq.entry_size_ctrl_enabled = llq_info->desc_list_entry_size_ctrl; in ena_com_set_llq() 595 cmd.u.llq.desc_num_before_header_enabled = llq_info->descs_num_before_header; in ena_com_set_llq() 596 cmd.u.llq.descriptors_stride_ctrl_enabled = llq_info->desc_stride_ctrl; in ena_com_set_llq() 598 cmd.u.llq.accel_mode.u.set.enabled_flags = in ena_com_set_llq() 1992 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat() 1994 memset(&get_feat_ctx->llq, 0x0, sizeof(get_feat_ctx->llq)); in ena_com_get_dev_attr_feat()
|
H A D | ena_netdev.c | 2915 struct ena_admin_feature_llq_desc *llq = &get_feat_ctx->llq; in ena_calc_io_queue_size() local 2940 llq->max_llq_depth); in ena_calc_io_queue_size() 2958 llq->max_llq_depth); in ena_calc_io_queue_size() 2988 if ((llq->entry_size_ctrl_supported & ENA_ADMIN_LIST_ENTRY_SIZE_256B) && in ena_calc_io_queue_size() 3043 struct ena_admin_feature_llq_desc *llq) in set_default_llq_configurations() argument 3054 !!(llq->entry_size_ctrl_supported & in set_default_llq_configurations() 3057 if ((llq->entry_size_ctrl_supported & ENA_ADMIN_LIST_ENTRY_SIZE_256B) && in set_default_llq_configurations() 3069 struct ena_admin_feature_llq_desc *llq, in ena_set_queues_placement_policy() argument 3090 rc = ena_com_config_dev_mode(ena_dev, llq, llq_default_configurations); in ena_set_queues_placement_policy() 3208 set_default_llq_configurations(adapter, &llq_config, &get_feat_ctx->llq); in ena_device_init() [all …]
|
H A D | ena_admin_defs.h | 1034 struct ena_admin_feature_llq_desc llq; member 1087 struct ena_admin_feature_llq_desc llq; member
|
H A D | ena_com.h | 350 struct ena_admin_feature_llq_desc llq; member
|