Lines Matching refs:cri_req
1431 u8 *cri_req; in sas_configure_set() local
1434 cri_req = alloc_smp_req(CRI_REQ_SIZE); in sas_configure_set()
1435 if (!cri_req) in sas_configure_set()
1440 kfree(cri_req); in sas_configure_set()
1444 cri_req[1] = SMP_CONF_ROUTE_INFO; in sas_configure_set()
1445 *(__be16 *)(cri_req+6) = cpu_to_be16(index); in sas_configure_set()
1446 cri_req[9] = phy_id; in sas_configure_set()
1448 cri_req[12] |= 0x80; in sas_configure_set()
1449 memcpy(cri_req+16, sas_addr, SAS_ADDR_SIZE); in sas_configure_set()
1451 res = smp_execute_task(dev, cri_req, CRI_REQ_SIZE, cri_resp, in sas_configure_set()
1461 kfree(cri_req); in sas_configure_set()