H A D | irq_64.c | 189 /* Athena's devhandle|devino is large.*/ size_nr_ivec() 254 static unsigned int cookie_exists(u32 devhandle, unsigned int devino) cookie_exists() argument 260 hv_err = sun4v_vintr_get_cookie(devhandle, devino, &cookie); cookie_exists() 275 static unsigned int sysino_exists(u32 devhandle, unsigned int devino) sysino_exists() argument 277 unsigned long sysino = sun4v_devino_to_sysino(devhandle, devino); sysino_exists() 649 static unsigned int sun4v_build_common(u32 devhandle, unsigned int devino, sun4v_build_common() argument 651 u32 devhandle, unsigned int devino), sun4v_build_common() 657 irq = irq_alloc(devhandle, devino); sun4v_build_common() 670 handler_data_init(data, devhandle, devino); sun4v_build_common() 678 static unsigned long cookie_assign(unsigned int irq, u32 devhandle, cookie_assign() argument 690 hv_error = sun4v_vintr_set_cookie(devhandle, devino, cookie); cookie_assign() 698 u32 devhandle, unsigned int devino) cookie_handler_data() 700 data->dev_handle = devhandle; cookie_handler_data() 704 static unsigned int cookie_build_irq(u32 devhandle, unsigned int devino, cookie_build_irq() argument 710 irq = sun4v_build_common(devhandle, devino, cookie_handler_data, chip); cookie_build_irq() 712 hv_error = cookie_assign(irq, devhandle, devino); cookie_build_irq() 721 static unsigned int sun4v_build_cookie(u32 devhandle, unsigned int devino) sun4v_build_cookie() argument 725 irq = cookie_exists(devhandle, devino); sun4v_build_cookie() 729 irq = cookie_build_irq(devhandle, devino, &sun4v_virq); sun4v_build_cookie() 748 u32 devhandle, unsigned int devino) sysino_handler_data() 752 sysino = sun4v_devino_to_sysino(devhandle, devino); sysino_handler_data() 756 static unsigned int sysino_build_irq(u32 devhandle, unsigned int devino, sysino_build_irq() argument 761 irq = sun4v_build_common(devhandle, devino, sysino_handler_data, chip); sysino_build_irq() 770 static int sun4v_build_sysino(u32 devhandle, unsigned int devino) sun4v_build_sysino() argument 774 irq = sysino_exists(devhandle, devino); sun4v_build_sysino() 778 irq = sysino_build_irq(devhandle, devino, &sun4v_irq); sun4v_build_sysino() 783 unsigned int sun4v_build_irq(u32 devhandle, unsigned int devino) sun4v_build_irq() argument 788 irq = sun4v_build_cookie(devhandle, devino); sun4v_build_irq() 790 irq = sun4v_build_sysino(devhandle, devino); sun4v_build_irq() 795 unsigned int sun4v_build_virq(u32 devhandle, unsigned int devino) sun4v_build_virq() argument 799 irq = cookie_build_irq(devhandle, devino, &sun4v_virq); sun4v_build_virq() 697 cookie_handler_data(struct irq_handler_data *data, u32 devhandle, unsigned int devino) cookie_handler_data() argument 747 sysino_handler_data(struct irq_handler_data *data, u32 devhandle, unsigned int devino) sysino_handler_data() argument
|