Lines Matching refs:ret
933 int ret; in configure_dma() local
1038 ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_ATOMIC); in configure_dma()
1039 if (ret) in configure_dma()
1042 ret = sg_alloc_table(&pl022->sgt_tx, pages, GFP_ATOMIC); in configure_dma()
1043 if (ret) in configure_dma()
2345 int ret; in pl022_suspend() local
2347 ret = spi_master_suspend(pl022->master); in pl022_suspend()
2348 if (ret) in pl022_suspend()
2349 return ret; in pl022_suspend()
2351 ret = pm_runtime_force_suspend(dev); in pl022_suspend()
2352 if (ret) { in pl022_suspend()
2354 return ret; in pl022_suspend()
2366 int ret; in pl022_resume() local
2368 ret = pm_runtime_force_resume(dev); in pl022_resume()
2369 if (ret) in pl022_resume()
2373 ret = spi_master_resume(pl022->master); in pl022_resume()
2374 if (!ret) in pl022_resume()
2377 return ret; in pl022_resume()