Lines Matching refs:query_upiu
318 query_upiu_t *query_upiu; in ufs_prepare_query() local
322 query_upiu = (query_upiu_t *)utrd->upiu; in ufs_prepare_query()
334 query_upiu->trans_type = QUERY_REQUEST_UPIU; in ufs_prepare_query()
335 query_upiu->task_tag = utrd->task_tag; in ufs_prepare_query()
336 query_upiu->ts.desc.opcode = op; in ufs_prepare_query()
337 query_upiu->ts.desc.idn = idn; in ufs_prepare_query()
338 query_upiu->ts.desc.index = index; in ufs_prepare_query()
339 query_upiu->ts.desc.selector = sel; in ufs_prepare_query()
342 query_upiu->query_func = QUERY_FUNC_STD_READ; in ufs_prepare_query()
343 query_upiu->ts.desc.length = htobe16(length); in ufs_prepare_query()
346 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
347 query_upiu->ts.desc.length = htobe16(length); in ufs_prepare_query()
353 query_upiu->query_func = QUERY_FUNC_STD_READ; in ufs_prepare_query()
357 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
360 query_upiu->query_func = QUERY_FUNC_STD_WRITE; in ufs_prepare_query()
361 memcpy((void *)&query_upiu->ts.attr.value, (void *)buf, length); in ufs_prepare_query()