Searched refs:llq (Results 1 – 6 of 6) sorted by relevance
/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3.c | 148 writel_relaxed(q->llq.cons, q->cons_reg); in queue_sync_cons_out() 159 struct arm_smmu_ll_queue *llq = &q->llq; in queue_sync_cons_ovf() local 161 if (likely(Q_OVF(llq->prod) == Q_OVF(llq->cons))) in queue_sync_cons_ovf() 164 llq->cons = Q_OVF(llq->prod) | Q_WRP(llq, llq->cons) | in queue_sync_cons_ovf() 165 Q_IDX(llq, llq->cons); in queue_sync_cons_ovf() 181 if (Q_OVF(prod) != Q_OVF(q->llq.prod)) in queue_sync_prod_in() 184 q->llq.prod = prod; in queue_sync_prod_in() 239 if (queue_empty(&q->llq)) in queue_remove_raw() 242 queue_read(ent, Q_ENT(q, q->llq.cons), q->ent_dwords); in queue_remove_raw() 243 queue_inc_cons(&q->llq); in queue_remove_raw() [all …]
|
D | arm-smmu-v3.h | 175 #define Q_IDX(llq, p) ((p) & ((1 << (llq)->max_n_shift) - 1)) argument 176 #define Q_WRP(llq, p) ((p) & (1 << (llq)->max_n_shift)) argument 180 Q_IDX(&((q)->llq), p) * \ 529 struct arm_smmu_ll_queue llq; member
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 621 cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; in ena_com_set_llq() 622 cmd.u.llq.entry_size_ctrl_enabled = llq_info->desc_list_entry_size_ctrl; in ena_com_set_llq() 623 cmd.u.llq.desc_num_before_header_enabled = llq_info->descs_num_before_header; in ena_com_set_llq() 624 cmd.u.llq.descriptors_stride_ctrl_enabled = llq_info->desc_stride_ctrl; in ena_com_set_llq() 626 cmd.u.llq.accel_mode.u.set.enabled_flags = in ena_com_set_llq() 2037 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, in ena_com_get_dev_attr_feat() 2038 sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat() 2040 memset(&get_feat_ctx->llq, 0x0, sizeof(get_feat_ctx->llq)); in ena_com_get_dev_attr_feat()
|
D | ena_admin_defs.h | 952 struct ena_admin_feature_llq_desc llq; member 1005 struct ena_admin_feature_llq_desc llq; member
|
D | ena_netdev.c | 3419 struct ena_admin_feature_llq_desc *llq, in ena_set_queues_placement_policy() argument 3433 rc = ena_com_config_dev_mode(ena_dev, llq, llq_default_configurations); in ena_set_queues_placement_policy() 3558 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init() 4063 io_tx_sq_num = get_feat_ctx->llq.max_llq_num; in ena_calc_max_io_queue_num() 4193 struct ena_admin_feature_llq_desc *llq = &ctx->get_feat_ctx->llq; in ena_calc_io_queue_size() local 4209 llq->max_llq_depth); in ena_calc_io_queue_size() 4227 llq->max_llq_depth); in ena_calc_io_queue_size() 4392 !!(get_feat_ctx.llq.accel_mode.u.get.supported_flags & in ena_probe()
|
D | ena_com.h | 343 struct ena_admin_feature_llq_desc llq; member
|