Lines Matching refs:status
29 * The Primary Interrupt Handler (PIH) stage exposes status bits saying
35 * I2C masters. Each has a dedicated IRQ line, and dedicated IRQ status
319 int status;
339 status = twl_i2c_write(sih->module, buf,
341 if (status < 0)
343 status, sih->name, "IMR");
354 status = twl_i2c_write_u8(sih->module,
357 if (status < 0)
359 status, sih->name, "SIH_CTRL");
377 * Clear pending interrupt status. Either the read was
383 status = twl_i2c_read(sih->module, rxbuf,
385 if (status < 0)
387 status, sih->name, "ISR");
390 status = twl_i2c_write(sih->module, buf,
393 if (status < 0)
395 status);
476 int status;
489 status = twl_i2c_write(sih->module, imr.bytes,
492 if (status)
494 "write", status);
510 status = twl_i2c_read(sih->module, bytes,
512 if (status) {
514 "read", status);
537 status = twl_i2c_write(sih->module, bytes,
539 if (status)
541 "write", status);
561 int status;
570 status = twl_i2c_read(sih->module, isr.bytes,
573 return (status < 0) ? status : le32_to_cpu(isr.word);
617 int status = -EINVAL;
623 status = 0;
628 if (status < 0) {
630 return status;
656 status = request_threaded_irq(irq, NULL, handle_twl4030_sih,
663 return status < 0 ? status : irq_base;
676 int status, i;
702 status = twl4030_init_sih_modules(twl_irq_line);
703 if (status < 0)
704 return status;
728 status = twl4030_sih_setup(dev, TWL4030_MODULE_INT, irq_end);
729 if (status < 0) {
730 dev_err(dev, "sih_setup PWR INT --> %d\n", status);
735 status = request_threaded_irq(irq_num, NULL, handle_twl4030_pih,
738 if (status < 0) {
739 dev_err(dev, "could not claim irq%d: %d\n", irq_num, status);
753 return status;