Searched refs:adu (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | pnv_adu.c | 35 PnvADU *adu = PNV_ADU(opaque); in pnv_adu_xscom_read() local 54 val = adu->lpc_cmd_reg; in pnv_adu_xscom_read() 57 val = adu->lpc_data_reg; in pnv_adu_xscom_read() 73 static bool lpc_cmd_read(PnvADU *adu) in lpc_cmd_read() argument 75 return !!(adu->lpc_cmd_reg & PPC_BIT(0)); in lpc_cmd_read() 78 static bool lpc_cmd_write(PnvADU *adu) in lpc_cmd_write() argument 80 return !lpc_cmd_read(adu); in lpc_cmd_write() 83 static uint32_t lpc_cmd_addr(PnvADU *adu) in lpc_cmd_addr() argument 85 return (adu->lpc_cmd_reg & PPC_BITMASK(32, 63)) >> PPC_BIT_NR(63); in lpc_cmd_addr() 88 static uint32_t lpc_cmd_size(PnvADU *adu) in lpc_cmd_size() argument [all …]
|
H A D | pnv.c | 1684 object_initialize_child(obj, "adu", &chip9->adu, TYPE_PNV_ADU); in pnv_chip_power9_instance_init() 1796 object_property_set_link(OBJECT(&chip9->adu), "lpc", OBJECT(&chip9->lpc), in pnv_chip_power9_realize() 1798 if (!qdev_realize(DEVICE(&chip9->adu), NULL, errp)) { in pnv_chip_power9_realize() 1802 &chip9->adu.xscom_regs); in pnv_chip_power9_realize() 1970 object_initialize_child(obj, "adu", &chip10->adu, TYPE_PNV_ADU); in pnv_chip_power10_instance_init() 2069 object_property_set_link(OBJECT(&chip10->adu), "lpc", OBJECT(&chip10->lpc), in pnv_chip_power10_realize() 2071 if (!qdev_realize(DEVICE(&chip10->adu), NULL, errp)) { in pnv_chip_power10_realize() 2075 &chip10->adu.xscom_regs); in pnv_chip_power10_realize()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | pnv_chip.h | 84 PnvADU adu; member 118 PnvADU adu; member
|