Lines Matching refs:query_upiu
315 query_upiu_t *query_upiu; in ufs_prepare_query() local
319 query_upiu = (query_upiu_t *)utrd->upiu; in ufs_prepare_query()
331 query_upiu->trans_type = QUERY_REQUEST_UPIU; in ufs_prepare_query()
332 query_upiu->task_tag = utrd->task_tag; in ufs_prepare_query()
333 query_upiu->ts.desc.opcode = op; in ufs_prepare_query()
334 query_upiu->ts.desc.idn = idn; in ufs_prepare_query()
335 query_upiu->ts.desc.index = index; in ufs_prepare_query()
336 query_upiu->ts.desc.selector = sel; in ufs_prepare_query()
339 query_upiu->query_func = QUERY_FUNC_STD_READ; in ufs_prepare_query()
340 query_upiu->ts.desc.length = htobe16(length); in ufs_prepare_query()
343 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
344 query_upiu->ts.desc.length = htobe16(length); in ufs_prepare_query()
350 query_upiu->query_func = QUERY_FUNC_STD_READ; in ufs_prepare_query()
354 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
357 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
358 memcpy((void *)&query_upiu->ts.attr.value, (void *)buf, length); in ufs_prepare_query()