Lines Matching refs:ret
121 int ret = PQI_STATUS_SUCCESS;
133 ret = PQI_STATUS_TIMEOUT;
137 return ret;
144 int ret = PQI_STATUS_SUCCESS;
154 ret = PQI_STATUS_TIMEOUT;
158 return ret;
165 int ret = PQI_STATUS_SUCCESS;
200 ret = PQI_STATUS_TIMEOUT;
209 ret = PQI_STATUS_FAILURE;
218 return ret;
222 return ret;
230 int ret = PQI_STATUS_SUCCESS;
236 ret = pqisrc_send_sis_cmd(softs, mb);
237 if (!ret) {
245 return ret;
252 int ret = PQI_STATUS_SUCCESS;
258 ret = pqisrc_send_sis_cmd(softs, mb);
259 if (!ret) {
270 return ret;
277 int ret = PQI_STATUS_SUCCESS;
283 ret = pqisrc_send_sis_cmd(softs, mb);
284 if (!ret) {
302 return ret;
309 int ret = PQI_STATUS_SUCCESS;
323 ret = os_dma_mem_alloc(softs, &init_struct_mem);
324 if (ret) {
325 DBG_ERR("Failed to Allocate error buffer ret : %d\n",
326 ret);
342 ret = os_dma_mem_alloc(softs, &softs->err_buf_dma_mem);
343 if (ret) {
344 DBG_ERR("Failed to Allocate error buffer ret : %d\n",
345 ret);
363 ret = pqisrc_send_sis_cmd(softs, mb);
364 if (ret)
369 return ret;
376 DBG_FUNC("OUT failed %d\n", ret);
390 int ret = PQI_STATUS_SUCCESS;
396 ret = pqisrc_force_sis(softs);
397 if (ret) {
403 ret = pqisrc_check_fw_status(softs);
404 if (ret) {
410 ret = pqisrc_get_adapter_properties(softs, &prop, &ext_prop);
411 if (ret) {
418 ret = PQI_STATUS_FAILURE;
427 ret = pqisrc_get_preferred_settings(softs);
428 if (ret) {
434 ret = pqisrc_get_sis_pqi_cap(softs);
435 if (ret) {
443 ret = os_dma_setup(softs);
444 if (ret) {
450 ret = pqisrc_init_struct_base(softs);
451 if (ret) {
458 return ret;
464 return ret;