/openbmc/qemu/include/hw/ppc/ |
H A D | pnv_chip.h | 19 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 D | pnv.h | 32 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 D | pnv_xscom.h | 26 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 D | pnv_xive.h | 33 PnvChip *chip; 108 PnvChip *chip;
|
H A D | pnv_i2c.h | 24 struct PnvChip *chip;
|
H A D | pnv_homer.h | 42 PnvChip *chip;
|
H A D | pnv_chiptod.h | 33 PnvChip *chip;
|
H A D | pnv_core.h | 68 PnvChip *chip;
|
H A D | pnv_lpc.h | 118 int pnv_dt_lpc(PnvChip *chip, void *fdt, int root_offset,
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_xscom.c | 56 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 D | pnv.c | 72 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 D | pnv_homer.c | 134 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 D | pnv_chiptod.c | 213 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 D | pnv_i2c.c | 547 DEFINE_PROP_LINK("chip", PnvI2C, chip, TYPE_PNV_CHIP, PnvChip *),
|
/openbmc/qemu/tests/qtest/ |
H A D | pnv-xscom.h | 22 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 D | pnv-xscom-test.c | 15 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 D | pnv-spi-seeprom-test.c | 37 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 D | pnv-host-i2c-test.c | 34 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 D | pnv_phb4.h | 160 PnvPhb4PecState *pnv_pec_add_phb(PnvChip *chip, PnvPHB *phb, Error **errp); 192 PnvChip *chip;
|
H A D | pnv_phb3.h | 161 PnvChip *chip;
|
/openbmc/qemu/hw/pci-host/ |
H A D | pnv_phb.c | 65 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 D | pnv_phb.h | 28 PnvChip *chip;
|
H A D | pnv_phb4_pec.c | 138 PnvPhb4PecState *pnv_pec_add_phb(PnvChip *chip, PnvPHB *phb, Error **errp) in pnv_pec_add_phb() 290 PnvChip *),
|
/openbmc/qemu/hw/intc/ |
H A D | pnv_xive.c | 480 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 D | pnv_xive2.c | 632 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 *),
|