Lines Matching refs:result
162 int result;
170 result = sdio_set_block_size(func, I2400MS_BLK_SIZE);
172 if (result < 0) {
173 dev_err(dev, "Failed to set block size: %d\n", result);
181 result = i2400ms_enable_function(i2400ms, retries);
182 if (result < 0) {
183 dev_err(dev, "Cannot enable SDIO function: %d\n", result);
187 result = i2400ms_tx_setup(i2400ms);
188 if (result < 0)
190 result = i2400ms_rx_setup(i2400ms);
191 if (result < 0)
203 return result;
288 int result = 0;
306 result = __i2400ms_send_barker(i2400ms, i2400m_WARM_BOOT_BARKER,
309 result = __i2400ms_send_barker(i2400ms, i2400m_COLD_BOOT_BARKER,
319 result = i2400ms_bus_setup(i2400m);
322 if (result < 0 && rt != I2400M_RT_BUS) {
324 rt == I2400M_RT_WARM ? "warm" : "cold", result);
328 return result;
356 result = d_level_register_debugfs(prefix, name, parent); \
357 if (result < 0) \
365 int result;
369 result = PTR_ERR(dentry);
371 if (result == -ENODEV)
372 result = 0; /* No debugfs support */
386 return result;
420 int result;
427 result = -ENOMEM;
475 result = i2400m_setup(i2400m, I2400M_BRI_NO_REBOOT);
476 if (result < 0) {
477 dev_err(dev, "cannot setup device: %d\n", result);
481 result = i2400ms_debugfs_add(i2400ms);
482 if (result < 0) {
484 result);
495 return result;