Home
last modified time | relevance | path

Searched refs:adu (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dpnv_adu.c35 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()
80 return !lpc_cmd_read(adu); in lpc_cmd_write()
96 PnvADU *adu = PNV_ADU(opaque); in pnv_adu_xscom_write() local
113 adu->lpc_cmd_reg = val; in pnv_adu_xscom_write()
114 if (lpc_cmd_read(adu)) { in pnv_adu_xscom_write()
132 adu->lpc_data_reg = val; in pnv_adu_xscom_write()
133 if (lpc_cmd_write(adu)) { in pnv_adu_xscom_write()
166 PnvADU *adu = PNV_ADU(dev); in pnv_adu_realize() local
[all …]
H A Dpnv.c1655 object_initialize_child(obj, "adu", &chip9->adu, TYPE_PNV_ADU); in pnv_chip_power9_instance_init()
1767 object_property_set_link(OBJECT(&chip9->adu), "lpc", OBJECT(&chip9->lpc), in pnv_chip_power9_realize()
1769 if (!qdev_realize(DEVICE(&chip9->adu), NULL, errp)) { in pnv_chip_power9_realize()
1773 &chip9->adu.xscom_regs); in pnv_chip_power9_realize()
1941 object_initialize_child(obj, "adu", &chip10->adu, TYPE_PNV_ADU); in pnv_chip_power10_instance_init()
2040 object_property_set_link(OBJECT(&chip10->adu), "lpc", OBJECT(&chip10->lpc), in pnv_chip_power10_realize()
2042 if (!qdev_realize(DEVICE(&chip10->adu), NULL, errp)) { in pnv_chip_power10_realize()
2046 &chip10->adu.xscom_regs); in pnv_chip_power10_realize()
/openbmc/qemu/include/hw/ppc/
H A Dpnv_chip.h84 PnvADU adu; member
118 PnvADU adu; member