Lines Matching refs:devino
254 static unsigned int cookie_exists(u32 devhandle, unsigned int devino) in cookie_exists() argument
260 hv_err = sun4v_vintr_get_cookie(devhandle, devino, &cookie); in cookie_exists()
275 static unsigned int sysino_exists(u32 devhandle, unsigned int devino) in sysino_exists() argument
277 unsigned long sysino = sun4v_devino_to_sysino(devhandle, devino); in sysino_exists()
649 static unsigned int sun4v_build_common(u32 devhandle, unsigned int devino, in sun4v_build_common() argument
651 u32 devhandle, unsigned int devino), in sun4v_build_common() argument
657 irq = irq_alloc(devhandle, devino); in sun4v_build_common()
670 handler_data_init(data, devhandle, devino); in sun4v_build_common()
679 unsigned int devino) in cookie_assign() argument
690 hv_error = sun4v_vintr_set_cookie(devhandle, devino, cookie); in cookie_assign()
698 u32 devhandle, unsigned int devino) in cookie_handler_data() argument
701 data->dev_ino = devino; in cookie_handler_data()
704 static unsigned int cookie_build_irq(u32 devhandle, unsigned int devino, in cookie_build_irq() argument
710 irq = sun4v_build_common(devhandle, devino, cookie_handler_data, chip); in cookie_build_irq()
712 hv_error = cookie_assign(irq, devhandle, devino); in cookie_build_irq()
721 static unsigned int sun4v_build_cookie(u32 devhandle, unsigned int devino) in sun4v_build_cookie() argument
725 irq = cookie_exists(devhandle, devino); in sun4v_build_cookie()
729 irq = cookie_build_irq(devhandle, devino, &sun4v_virq); in sun4v_build_cookie()
748 u32 devhandle, unsigned int devino) in sysino_handler_data() argument
752 sysino = sun4v_devino_to_sysino(devhandle, devino); in sysino_handler_data()
756 static unsigned int sysino_build_irq(u32 devhandle, unsigned int devino, in sysino_build_irq() argument
761 irq = sun4v_build_common(devhandle, devino, sysino_handler_data, chip); in sysino_build_irq()
770 static int sun4v_build_sysino(u32 devhandle, unsigned int devino) in sun4v_build_sysino() argument
774 irq = sysino_exists(devhandle, devino); in sun4v_build_sysino()
778 irq = sysino_build_irq(devhandle, devino, &sun4v_irq); in sun4v_build_sysino()
783 unsigned int sun4v_build_irq(u32 devhandle, unsigned int devino) in sun4v_build_irq() argument
788 irq = sun4v_build_cookie(devhandle, devino); in sun4v_build_irq()
790 irq = sun4v_build_sysino(devhandle, devino); in sun4v_build_irq()
795 unsigned int sun4v_build_virq(u32 devhandle, unsigned int devino) in sun4v_build_virq() argument
799 irq = cookie_build_irq(devhandle, devino, &sun4v_virq); in sun4v_build_virq()