Searched refs:irq_chip (Results 1 – 4 of 4) sorted by relevance
71 irq_chip = plt_zmalloc(sizeof(*irq_chip), 0); in roc_bphy_intr_init()72 if (irq_chip == NULL) { in roc_bphy_intr_init()77 irq_chip->intfd = fd; in roc_bphy_intr_init()80 irq_chip->irq_vecs = in roc_bphy_intr_init()81 plt_zmalloc(irq_chip->max_irq * sizeof(*irq_chip->irq_vecs), 0); in roc_bphy_intr_init()100 return irq_chip; in roc_bphy_intr_init()106 plt_free(irq_chip); in roc_bphy_intr_init()117 if (irq_chip == NULL) in roc_bphy_intr_fini()120 close(irq_chip->intfd); in roc_bphy_intr_fini()123 plt_free(irq_chip); in roc_bphy_intr_fini()[all …]
34 __roc_api void roc_bphy_intr_fini(struct roc_bphy_irq_chip *irq_chip);36 __roc_api bool roc_bphy_intr_available(struct roc_bphy_irq_chip *irq_chip,39 __roc_api uint64_t roc_bphy_intr_max_get(struct roc_bphy_irq_chip *irq_chip);40 __roc_api int roc_bphy_intr_register(struct roc_bphy_irq_chip *irq_chip,
29 struct roc_bphy_irq_chip *irq_chip; in cnxk_bphy_irq_max_get() local33 irq_chip = bphy_dev->irq_chip; in cnxk_bphy_irq_max_get()35 return roc_bphy_intr_max_get(irq_chip); in cnxk_bphy_irq_max_get()43 bphy_dev->irq_chip = roc_bphy_intr_init(); in cnxk_bphy_intr_init()44 if (bphy_dev->irq_chip == NULL) in cnxk_bphy_intr_init()54 struct roc_bphy_irq_chip *irq_chip = bphy_dev->irq_chip; in cnxk_bphy_intr_fini() local56 roc_bphy_intr_fini(irq_chip); in cnxk_bphy_intr_fini()57 bphy_dev->irq_chip = NULL; in cnxk_bphy_intr_fini()72 struct roc_bphy_irq_chip *irq_chip = bphy_dev->irq_chip; in cnxk_bphy_intr_register() local74 if (!irq_chip) in cnxk_bphy_intr_register()[all …]
20 struct roc_bphy_irq_chip *irq_chip; member