Lines Matching refs:finfo
706 struct omap_mbox_fifo_info *finfo, *finfoblk; in omap_mbox_probe() local
745 finfo = finfoblk; in omap_mbox_probe()
747 for (i = 0; i < info_count; i++, finfo++) { in omap_mbox_probe()
753 finfo->tx_id = tmp[0]; in omap_mbox_probe()
754 finfo->tx_irq = tmp[1]; in omap_mbox_probe()
755 finfo->tx_usr = tmp[2]; in omap_mbox_probe()
761 finfo->rx_id = tmp[0]; in omap_mbox_probe()
762 finfo->rx_irq = tmp[1]; in omap_mbox_probe()
763 finfo->rx_usr = tmp[2]; in omap_mbox_probe()
765 finfo->name = child->name; in omap_mbox_probe()
768 finfo->send_no_irq = true; in omap_mbox_probe()
770 if (finfo->tx_id >= num_fifos || finfo->rx_id >= num_fifos || in omap_mbox_probe()
771 finfo->tx_usr >= num_users || finfo->rx_usr >= num_users) in omap_mbox_probe()
806 finfo = finfoblk; in omap_mbox_probe()
807 for (i = 0; i < info_count; i++, finfo++) { in omap_mbox_probe()
809 fifo->msg = MAILBOX_MESSAGE(finfo->tx_id); in omap_mbox_probe()
810 fifo->fifo_stat = MAILBOX_FIFOSTATUS(finfo->tx_id); in omap_mbox_probe()
811 fifo->intr_bit = MAILBOX_IRQ_NOTFULL(finfo->tx_id); in omap_mbox_probe()
812 fifo->irqenable = MAILBOX_IRQENABLE(intr_type, finfo->tx_usr); in omap_mbox_probe()
813 fifo->irqstatus = MAILBOX_IRQSTATUS(intr_type, finfo->tx_usr); in omap_mbox_probe()
814 fifo->irqdisable = MAILBOX_IRQDISABLE(intr_type, finfo->tx_usr); in omap_mbox_probe()
817 fifo->msg = MAILBOX_MESSAGE(finfo->rx_id); in omap_mbox_probe()
818 fifo->msg_stat = MAILBOX_MSGSTATUS(finfo->rx_id); in omap_mbox_probe()
819 fifo->intr_bit = MAILBOX_IRQ_NEWMSG(finfo->rx_id); in omap_mbox_probe()
820 fifo->irqenable = MAILBOX_IRQENABLE(intr_type, finfo->rx_usr); in omap_mbox_probe()
821 fifo->irqstatus = MAILBOX_IRQSTATUS(intr_type, finfo->rx_usr); in omap_mbox_probe()
822 fifo->irqdisable = MAILBOX_IRQDISABLE(intr_type, finfo->rx_usr); in omap_mbox_probe()
824 mbox->send_no_irq = finfo->send_no_irq; in omap_mbox_probe()
828 mbox->name = finfo->name; in omap_mbox_probe()
829 mbox->irq = platform_get_irq(pdev, finfo->tx_irq); in omap_mbox_probe()