Lines Matching refs:status

30  * The Primary Interrupt Handler (PIH) stage exposes status bits saying
36 * I2C masters. Each has a dedicated IRQ line, and dedicated IRQ status
320 int status;
340 status = twl_i2c_write(sih->module, buf,
342 if (status < 0)
344 status, sih->name, "IMR");
355 status = twl_i2c_write_u8(sih->module,
358 if (status < 0)
360 status, sih->name, "SIH_CTRL");
378 * Clear pending interrupt status. Either the read was
384 status = twl_i2c_read(sih->module, rxbuf,
386 if (status < 0)
388 status, sih->name, "ISR");
391 status = twl_i2c_write(sih->module, buf,
394 if (status < 0)
396 status);
477 int status;
490 status = twl_i2c_write(sih->module, imr.bytes,
493 if (status)
495 "write", status);
511 status = twl_i2c_read(sih->module, bytes,
513 if (status) {
515 "read", status);
538 status = twl_i2c_write(sih->module, bytes,
540 if (status)
542 "write", status);
562 int status;
571 status = twl_i2c_read(sih->module, isr.bytes,
574 return (status < 0) ? status : le32_to_cpu(isr.word);
618 int status = -EINVAL;
624 status = 0;
629 if (status < 0) {
631 return status;
657 status = request_threaded_irq(irq, NULL, handle_twl4030_sih,
664 return status < 0 ? status : irq_base;
677 int status, i;
703 status = twl4030_init_sih_modules(twl_irq_line);
704 if (status < 0)
705 return status;
729 status = twl4030_sih_setup(dev, TWL4030_MODULE_INT, irq_end);
730 if (status < 0) {
731 dev_err(dev, "sih_setup PWR INT --> %d\n", status);
736 status = request_threaded_irq(irq_num, NULL, handle_twl4030_pih,
739 if (status < 0) {
740 dev_err(dev, "could not claim irq%d: %d\n", irq_num, status);
754 return status;