Lines Matching refs:vdpa_vq_init
131 .vdpa_vq_init.opcode = PDS_VDPA_CMD_VQ_INIT, in pds_vdpa_cmd_init_vq()
132 .vdpa_vq_init.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_init_vq()
133 .vdpa_vq_init.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_init_vq()
134 .vdpa_vq_init.qid = cpu_to_le16(qid), in pds_vdpa_cmd_init_vq()
135 .vdpa_vq_init.len = cpu_to_le16(ilog2(vq_info->q_len)), in pds_vdpa_cmd_init_vq()
136 .vdpa_vq_init.desc_addr = cpu_to_le64(vq_info->desc_addr), in pds_vdpa_cmd_init_vq()
137 .vdpa_vq_init.avail_addr = cpu_to_le64(vq_info->avail_addr), in pds_vdpa_cmd_init_vq()
138 .vdpa_vq_init.used_addr = cpu_to_le64(vq_info->used_addr), in pds_vdpa_cmd_init_vq()
139 .vdpa_vq_init.intr_index = cpu_to_le16(qid), in pds_vdpa_cmd_init_vq()
140 .vdpa_vq_init.avail_index = cpu_to_le16(vq_info->avail_idx ^ invert_idx), in pds_vdpa_cmd_init_vq()
141 .vdpa_vq_init.used_index = cpu_to_le16(vq_info->used_idx ^ invert_idx), in pds_vdpa_cmd_init_vq()
150 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa_vq_init), in pds_vdpa_cmd_init_vq()