Searched refs:esb_shift (Results 1 – 13 of 13) sorted by relevance
/openbmc/qemu/include/hw/ppc/ |
H A D | xive.h | 194 uint32_t esb_shift; member 217 return xsrc->esb_shift == XIVE_ESB_64K_2PAGE || in xive_source_esb_has_2page() 218 xsrc->esb_shift == XIVE_ESB_4K_2PAGE; in xive_source_esb_has_2page() 223 return (1ull << xsrc->esb_shift) * xsrc->nr_irqs; in xive_source_esb_len() 230 return (1ull << xsrc->esb_shift) * srcno; in xive_source_esb_page() 239 addr += (1 << (xsrc->esb_shift - 1)); in xive_source_esb_mgmt() 489 uint32_t esb_shift; member
|
H A D | pnv_xive.h | 125 uint32_t esb_shift; member
|
H A D | xive2.h | 108 uint32_t esb_shift; member
|
/openbmc/linux/arch/powerpc/sysdev/xive/ |
H A D | spapr.c | 180 unsigned long *esb_shift) in plpar_int_get_source_info() argument 197 *esb_shift = retbuf[3]; in plpar_int_get_source_info() 393 unsigned long esb_shift; in xive_spapr_populate_irq_data() local 398 &esb_shift); in xive_spapr_populate_irq_data() 409 data->esb_shift = esb_shift; in xive_spapr_populate_irq_data() 428 data->eoi_mmio = ioremap(data->eoi_page, 1u << data->esb_shift); in xive_spapr_populate_irq_data() 440 data->trig_mmio = ioremap(data->trig_page, 1u << data->esb_shift); in xive_spapr_populate_irq_data()
|
H A D | native.c | 49 __be32 esb_shift, src_chip; in xive_native_populate_irq_data() local 56 &esb_shift, &src_chip); in xive_native_populate_irq_data() 72 data->esb_shift = be32_to_cpu(esb_shift); in xive_native_populate_irq_data() 75 data->eoi_mmio = ioremap(data->eoi_page, 1u << data->esb_shift); in xive_native_populate_irq_data() 90 data->trig_mmio = ioremap(data->trig_page, 1u << data->esb_shift); in xive_native_populate_irq_data()
|
/openbmc/qemu/hw/intc/ |
H A D | xive.c | 1160 addr_is_even(addr, xsrc->esb_shift - 1); in xive_source_is_trigger_page() 1181 uint32_t srcno = addr >> xsrc->esb_shift; in xive_source_esb_read() 1241 uint32_t srcno = addr >> xsrc->esb_shift; in xive_source_esb_write() 1371 if (xsrc->esb_shift != XIVE_ESB_4K && in xive_source_realize() 1372 xsrc->esb_shift != XIVE_ESB_4K_2PAGE && in xive_source_realize() 1373 xsrc->esb_shift != XIVE_ESB_64K && in xive_source_realize() 1374 xsrc->esb_shift != XIVE_ESB_64K_2PAGE) { in xive_source_realize() 1409 DEFINE_PROP_UINT32("shift", XiveSource, esb_shift, XIVE_ESB_64K_2PAGE), 2073 end_idx = addr >> (xsrc->esb_shift + 1); in xive_end_source_read() 2089 end_esmask = addr_is_even(addr, xsrc->esb_shift) ? END_W1_ESn : END_W1_ESe; in xive_end_source_read() [all …]
|
H A D | xive2.c | 1084 end_idx = addr >> (xsrc->esb_shift + 1); in xive2_end_source_read() 1098 end_esmask = addr_is_even(addr, xsrc->esb_shift) ? END2_W1_ESn : in xive2_end_source_read() 1150 end_idx = addr >> (xsrc->esb_shift + 1); in xive2_end_source_write() 1164 end_esmask = addr_is_even(addr, xsrc->esb_shift) ? END2_W1_ESn : in xive2_end_source_write() 1230 if (xsrc->esb_shift != XIVE_ESB_4K && in xive2_end_source_realize() 1231 xsrc->esb_shift != XIVE_ESB_64K) { in xive2_end_source_realize() 1242 (1ull << (xsrc->esb_shift + 1)) * xsrc->nr_ends); in xive2_end_source_realize() 1247 DEFINE_PROP_UINT32("shift", Xive2EndSource, esb_shift, XIVE_ESB_64K),
|
H A D | spapr_xive.c | 1001 args[3] = xsrc->esb_shift - 1; in h_int_get_source_info() 1003 args[3] = xsrc->esb_shift; in h_int_get_source_info() 1277 args[0] = xive->end_base + (1ull << (end_xsrc->esb_shift + 1)) * end_idx; in h_int_get_queue_info() 1716 if (offset > (1ull << xsrc->esb_shift)) { in h_int_esb()
|
H A D | pnv_xive2.c | 813 * (1ull << xsrc->esb_shift)); in pnv_xive2_vst_set_exclusive() 831 * (1ull << end_xsrc->esb_shift)); in pnv_xive2_vst_set_exclusive() 1044 xive->esb_shift = val & CQ_BAR_64K ? 16 : 12; in pnv_xive2_ic_cq_write() 2246 xive->ic_shift = xive->esb_shift = xive->end_shift = 16; in pnv_xive2_reset() 2331 xive->esb_shift = 16; in pnv_xive2_realize()
|
H A D | pnv_xive.c | 817 * (1ull << xsrc->esb_shift)); in pnv_xive_vst_set_exclusive() 835 * (1ull << xsrc->esb_shift)); in pnv_xive_vst_set_exclusive()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | xive.h | 45 u32 esb_shift; member
|
/openbmc/qemu/hw/pci-host/ |
H A D | pnv_phb4.c | 479 phb->xsrc.esb_shift = shift; in pnv_phb4_update_xsrc() 1624 int esb_shift; in pnv_phb4_xive_notify_abt() local 1627 esb_shift = 16; in pnv_phb4_xive_notify_abt() 1629 esb_shift = 12; in pnv_phb4_xive_notify_abt() 1634 addr |= (1ull << (esb_shift + 1)) * srcno; in pnv_phb4_xive_notify_abt() 1635 addr |= (1ull << esb_shift); in pnv_phb4_xive_notify_abt()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_psi.c | 730 psi9->source.esb_shift = XIVE_ESB_64K; in pnv_psi_p9_mmio_write() 732 psi9->source.esb_shift = XIVE_ESB_4K; in pnv_psi_p9_mmio_write()
|