Lines Matching refs:ret
250 int ret = 0; in rpc_spi_xfer() local
315 ret = rpc_spi_wait_tend(dev); in rpc_spi_xfer()
316 if (ret) in rpc_spi_xfer()
322 ret = rpc_spi_wait_sslf(dev); in rpc_spi_xfer()
327 ret = rpc_spi_wait_tend(dev); in rpc_spi_xfer()
366 return ret; in rpc_spi_xfer()
385 int ret, off; in rpc_spi_bind() local
394 ret = fdt_node_check_compatible(fdt, off, "spi-flash"); in rpc_spi_bind()
395 if (!ret) in rpc_spi_bind()
398 ret = fdt_node_check_compatible(fdt, off, "jedec,spi-nor"); in rpc_spi_bind()
399 if (!ret) in rpc_spi_bind()
423 int ret; in rpc_spi_ofdata_to_platdata() local
428 ret = clk_get_by_index(bus, 0, &priv->clk); in rpc_spi_ofdata_to_platdata()
429 if (ret < 0) { in rpc_spi_ofdata_to_platdata()
431 __func__, bus->name, ret); in rpc_spi_ofdata_to_platdata()
432 return ret; in rpc_spi_ofdata_to_platdata()