Home
last modified time | relevance | path

Searched refs:llq (Results 1 – 6 of 6) sorted by relevance

/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c146 writel_relaxed(q->llq.cons, q->cons_reg); in queue_sync_cons_out()
167 if (Q_OVF(prod) != Q_OVF(q->llq.prod)) in queue_sync_prod_in()
170 q->llq.prod = prod; in queue_sync_prod_in()
225 if (queue_empty(&q->llq)) in queue_remove_raw()
228 queue_read(ent, Q_ENT(q, q->llq.cons), q->ent_dwords); in queue_remove_raw()
229 queue_inc_cons(&q->llq); in queue_remove_raw()
353 ent.sync.msiaddr = q->base_dma + Q_IDX(&q->llq, prod) * in arm_smmu_cmdq_build_sync_cmd()
524 struct arm_smmu_ll_queue llq = { in __arm_smmu_cmdq_poll_set_valid_map() local
525 .max_n_shift = cmdq->q.llq.max_n_shift, in __arm_smmu_cmdq_poll_set_valid_map()
529 ewidx = BIT_WORD(Q_IDX(&llq, eprod)); in __arm_smmu_cmdq_poll_set_valid_map()
[all …]
Darm-smmu-v3.h175 #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) * \
528 struct arm_smmu_ll_queue llq; member
/drivers/net/ethernet/amazon/ena/
Dena_com.c621 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()
2038 memcpy(&get_feat_ctx->llq, &get_resp.u.llq, in ena_com_get_dev_attr_feat()
2039 sizeof(get_resp.u.llq)); in ena_com_get_dev_attr_feat()
2041 memset(&get_feat_ctx->llq, 0x0, sizeof(get_feat_ctx->llq)); in ena_com_get_dev_attr_feat()
Dena_admin_defs.h960 struct ena_admin_feature_llq_desc llq; member
1013 struct ena_admin_feature_llq_desc llq; member
Dena_netdev.c3406 struct ena_admin_feature_llq_desc *llq, in ena_set_queues_placement_policy() argument
3420 rc = ena_com_config_dev_mode(ena_dev, llq, llq_default_configurations); in ena_set_queues_placement_policy()
3545 rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, in ena_device_init()
4043 io_tx_sq_num = get_feat_ctx->llq.max_llq_num; in ena_calc_max_io_queue_num()
4174 struct ena_admin_feature_llq_desc *llq = &get_feat_ctx->llq; in ena_calc_io_queue_size() local
4190 llq->max_llq_depth); in ena_calc_io_queue_size()
4208 llq->max_llq_depth); in ena_calc_io_queue_size()
4359 !!(get_feat_ctx.llq.accel_mode.u.get.supported_flags & in ena_probe()
Dena_com.h344 struct ena_admin_feature_llq_desc llq; member