Home
last modified time | relevance | path

Searched refs:PnvChip (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/include/hw/ppc/
H A Dpnv_chip.h19 OBJECT_DECLARE_TYPE(PnvChip, PnvChipClass,
22 struct PnvChip { struct
54 PnvChip parent_obj; argument
81 PnvChip parent_obj;
115 PnvChip parent_obj;
160 void (*get_pir_tir)(PnvChip *chip, uint32_t core_id, uint32_t thread_id,
162 void (*intc_create)(PnvChip *chip, PowerPCCPU *cpu, Error **errp);
163 void (*intc_reset)(PnvChip *chip, PowerPCCPU *cpu);
164 void (*intc_destroy)(PnvChip *chip, PowerPCCPU *cpu);
165 void (*intc_print_info)(PnvChip *chip, PowerPCCPU *cpu, GString *buf);
[all …]
H A Dpnv.h32 typedef struct PnvChip PnvChip; typedef
41 DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER8E,
45 DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER8,
49 DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER8NVL,
53 DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER9,
57 DECLARE_INSTANCE_CHECKER(PnvChip, PNV_CHIP_POWER10,
60 PnvCore *pnv_chip_find_core(PnvChip *chip, uint32_t core_id);
61 PowerPCCPU *pnv_chip_find_cpu(PnvChip *chip, uint32_t pir);
95 PnvChip **chips;
111 PnvChip *pnv_get_chip(PnvMachineState *pnv, uint32_t chip_id);
[all …]
H A Dpnv_xscom.h26 typedef struct PnvChip PnvChip; typedef
206 void pnv_xscom_init(PnvChip *chip, uint64_t size, hwaddr addr);
207 int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset,
211 void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset,
H A Dpnv_xive.h33 PnvChip *chip;
108 PnvChip *chip;
H A Dpnv_i2c.h24 struct PnvChip *chip;
H A Dpnv_homer.h42 PnvChip *chip;
H A Dpnv_chiptod.h33 PnvChip *chip;
H A Dpnv_core.h68 PnvChip *chip;
H A Dpnv_lpc.h118 int pnv_dt_lpc(PnvChip *chip, void *fdt, int root_offset,
/openbmc/qemu/hw/ppc/
H A Dpnv_xscom.c56 static uint32_t pnv_xscom_pcba(PnvChip *chip, uint64_t addr) in pnv_xscom_pcba()
61 static uint64_t xscom_read_default(PnvChip *chip, uint32_t pcba) in xscom_read_default()
106 static bool xscom_write_default(PnvChip *chip, uint32_t pcba, uint64_t val) in xscom_write_default()
151 PnvChip *chip = opaque; in xscom_read()
179 PnvChip *chip = opaque; in xscom_write()
212 void pnv_xscom_init(PnvChip *chip, uint64_t size, hwaddr addr) in pnv_xscom_init()
261 int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset, in pnv_dt_xscom()
302 void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset, MemoryRegion *mr) in pnv_xscom_add_subregion()
H A Dpnv.c72 static const char *pnv_chip_core_typename(const PnvChip *o) in pnv_chip_core_typename()
135 static int pnv_dt_core(PnvChip *chip, PnvCore *pc, void *fdt) in pnv_dt_core()
267 static void pnv_dt_icp(PnvChip *chip, void *fdt, uint32_t hwid, in pnv_dt_icp()
314 PnvChip *pnv_chip_add_phb(PnvChip *chip, PnvPHB *phb) in pnv_chip_add_phb()
336 static void pnv_chip_power8_dt_populate(PnvChip *chip, void *fdt) in pnv_chip_power8_dt_populate()
393 static void pnv_chip_power9_dt_populate(PnvChip *chip, void *fdt) in pnv_chip_power9_dt_populate()
458 static void pnv_chip_power10_dt_populate(PnvChip *chip, void *fdt) in pnv_chip_power10_dt_populate()
762 static ISABus *pnv_chip_power8_isa_create(PnvChip *chip, Error **errp) in pnv_chip_power8_isa_create()
772 static ISABus *pnv_chip_power8nvl_isa_create(PnvChip *chip, Error **errp) in pnv_chip_power8nvl_isa_create()
782 static ISABus *pnv_chip_power9_isa_create(PnvChip *chip, Error **errp) in pnv_chip_power9_isa_create()
[all …]
H A Dpnv_homer.c134 PnvChip *chip = homer->chip; in pnv_homer_power8_pba_read()
277 PnvChip *chip = homer->chip; in pnv_homer_power9_pba_read()
340 PnvChip *chip = homer->chip; in pnv_homer_power10_pba_read()
416 DEFINE_PROP_LINK("chip", PnvHomer, chip, TYPE_PNV_CHIP, PnvChip *),
H A Dpnv_chiptod.c213 static PnvCore *pnv_chip_get_core_by_xscom_base(PnvChip *chip, in pnv_chip_get_core_by_xscom_base()
456 DEFINE_PROP_LINK("chip", PnvChipTOD , chip, TYPE_PNV_CHIP, PnvChip *),
H A Dpnv_i2c.c547 DEFINE_PROP_LINK("chip", PnvI2C, chip, TYPE_PNV_CHIP, PnvChip *),
/openbmc/qemu/tests/qtest/
H A Dpnv-xscom.h22 typedef struct PnvChip { struct
29 } PnvChip; argument
31 static const PnvChip pnv_chips[] = {
65 static inline uint64_t pnv_xscom_addr(const PnvChip *chip, uint32_t pcba) in pnv_xscom_addr()
H A Dpnv-xscom-test.c15 static uint64_t pnv_xscom_read(QTestState *qts, const PnvChip *chip, in pnv_xscom_read()
21 static void test_xscom_cfam_id(QTestState *qts, const PnvChip *chip) in test_xscom_cfam_id()
30 const PnvChip *chip = data; in test_cfam_id()
58 static void test_xscom_core(QTestState *qts, const PnvChip *chip) in test_xscom_core()
86 const PnvChip *chip = data; in test_core()
H A Dpnv-spi-seeprom-test.c37 static void pnv_spi_xscom_write(QTestState *qts, const PnvChip *chip, in pnv_spi_xscom_write()
44 static uint64_t pnv_spi_xscom_read(QTestState *qts, const PnvChip *chip, in pnv_spi_xscom_read()
51 static void spi_seeprom_transaction(QTestState *qts, const PnvChip *chip) in spi_seeprom_transaction()
79 const PnvChip *chip = data; in test_spi_seeprom()
H A Dpnv-host-i2c-test.c34 const PnvChip *chip;
370 static void check_i2cm_por_regs(QTestState *qts, const PnvChip *chip) in check_i2cm_por_regs()
391 static void reset_all(QTestState *qts, const PnvChip *chip) in reset_all()
406 const PnvChip *chip = data; in test_host_i2c()
/openbmc/qemu/include/hw/pci-host/
H A Dpnv_phb4.h160 PnvPhb4PecState *pnv_pec_add_phb(PnvChip *chip, PnvPHB *phb, Error **errp);
192 PnvChip *chip;
H A Dpnv_phb3.h161 PnvChip *chip;
/openbmc/qemu/hw/pci-host/
H A Dpnv_phb.c65 static Object *pnv_phb_user_get_parent(PnvChip *chip, PnvPHB *phb, Error **errp) in pnv_phb_user_get_parent()
83 PnvChip *chip = pnv_get_chip(pnv, phb->chip_id); in pnv_phb_user_device_init()
191 DEFINE_PROP_LINK("chip", PnvPHB, chip, TYPE_PNV_CHIP, PnvChip *),
H A Dpnv_phb.h28 PnvChip *chip;
H A Dpnv_phb4_pec.c138 PnvPhb4PecState *pnv_pec_add_phb(PnvChip *chip, PnvPHB *phb, Error **errp) in pnv_pec_add_phb()
290 PnvChip *),
/openbmc/qemu/hw/intc/
H A Dpnv_xive.c480 PnvChip *chip = xive->chip; in pnv_xive_match_nvt()
1575 PnvChip *chip = xive->chip; in pnv_xive_get_indirect_tctx()
2068 DEFINE_PROP_LINK("chip", PnvXive, chip, TYPE_PNV_CHIP, PnvChip *),
H A Dpnv_xive2.c632 PnvChip *chip = xive->chip; in pnv_xive2_match_nvt()
2047 PnvChip *chip = xive->chip; in pnv_xive2_get_indirect_tctx()
2368 DEFINE_PROP_LINK("chip", PnvXive2, chip, TYPE_PNV_CHIP, PnvChip *),

12