Lines Matching refs:prio
211 unsigned long prio, in plpar_int_set_source_config() argument
218 flags, lisn, target, prio, sw_irq); in plpar_int_set_source_config()
223 target, prio, sw_irq); in plpar_int_set_source_config()
228 lisn, target, prio, rc); in plpar_int_set_source_config()
238 unsigned long *prio, in plpar_int_get_source_config() argument
248 target, prio, sw_irq); in plpar_int_get_source_config()
258 *prio = retbuf[1]; in plpar_int_get_source_config()
449 static int xive_spapr_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) in xive_spapr_configure_irq() argument
454 prio, sw_irq); in xive_spapr_configure_irq()
459 static int xive_spapr_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, in xive_spapr_get_irq_config() argument
471 *prio = h_prio; in xive_spapr_get_irq_config()
478 static int xive_spapr_configure_queue(u32 target, struct xive_q *q, u8 prio, in xive_spapr_configure_queue() argument
500 rc = plpar_int_get_queue_info(0, target, prio, &esn_page, &esn_size); in xive_spapr_configure_queue()
503 target, prio); in xive_spapr_configure_queue()
515 rc = plpar_int_set_queue_config(flags, target, prio, qpage_phys, order); in xive_spapr_configure_queue()
518 target, prio); in xive_spapr_configure_queue()
531 u8 prio) in xive_spapr_setup_queue() argument
533 struct xive_q *q = &xc->queue[prio]; in xive_spapr_setup_queue()
541 q, prio, qpage, xive_queue_shift); in xive_spapr_setup_queue()
545 u8 prio) in xive_spapr_cleanup_queue() argument
547 struct xive_q *q = &xc->queue[prio]; in xive_spapr_cleanup_queue()
552 rc = plpar_int_set_queue_config(0, hw_cpu, prio, 0, 0); in xive_spapr_cleanup_queue()
555 hw_cpu, prio); in xive_spapr_cleanup_queue()
713 int prio, found; in xive_get_max_prio() local
738 for (prio = 0; prio < 8; prio++) { in xive_get_max_prio()
746 if (prio >= base && prio < base + range) in xive_get_max_prio()
751 found = prio; in xive_get_max_prio()