| /openbmc/qemu/hw/isa/ |
| H A D | lpc_ich9.c | 74 static void ich9_cc_update(ICH9LPCState *lpc) in ich9_cc_update() argument 95 ich9_cc_update_ir(lpc->irr[slot], in ich9_cc_update() 96 pci_get_word(lpc->chip_config + *offset)); in ich9_cc_update() 106 lpc->irr[30][pci_intx] = pci_intx + 4; in ich9_cc_update() 110 static void ich9_cc_init(ICH9LPCState *lpc) in ich9_cc_init() argument 126 lpc->irr[slot][intx] = (slot + intx) % 4 + 4; in ich9_cc_init() 129 ich9_cc_update(lpc); in ich9_cc_init() 132 static void ich9_cc_reset(ICH9LPCState *lpc) in ich9_cc_reset() argument 134 uint8_t *c = lpc->chip_config; in ich9_cc_reset() 136 memset(lpc->chip_config, 0, sizeof(lpc->chip_config)); in ich9_cc_reset() [all …]
|
| /openbmc/qemu/hw/ppc/ |
| H A D | pnv_lpc.c | 239 bool pnv_lpc_opb_read(PnvLpcController *lpc, uint32_t addr, in pnv_lpc_opb_read() argument 243 return !address_space_read(&lpc->opb_as, addr, MEMTXATTRS_UNSPECIFIED, in pnv_lpc_opb_read() 247 bool pnv_lpc_opb_write(PnvLpcController *lpc, uint32_t addr, in pnv_lpc_opb_write() argument 251 return !address_space_write(&lpc->opb_as, addr, MEMTXATTRS_UNSPECIFIED, in pnv_lpc_opb_write() 265 static void pnv_lpc_do_eccb(PnvLpcController *lpc, uint64_t cmd) in pnv_lpc_do_eccb() argument 280 success = pnv_lpc_opb_read(lpc, opb_addr, data, sz); in pnv_lpc_do_eccb() 282 lpc->eccb_stat_reg = ECCB_STAT_OP_DONE | in pnv_lpc_do_eccb() 288 lpc->eccb_stat_reg = ECCB_STAT_OP_DONE | in pnv_lpc_do_eccb() 292 data[0] = lpc->eccb_data_reg >> 24; in pnv_lpc_do_eccb() 293 data[1] = lpc->eccb_data_reg >> 16; in pnv_lpc_do_eccb() [all …]
|
| H A D | pnv_adu.c | 125 pnv_lpc_opb_read(adu->lpc, lpc_addr, (void *)&data, lpc_size); in pnv_adu_xscom_write() 151 pnv_lpc_opb_write(adu->lpc, lpc_addr, (void *)&data, lpc_size); in pnv_adu_xscom_write() 180 assert(adu->lpc); in pnv_adu_realize() 189 DEFINE_PROP_LINK("lpc", PnvADU, lpc, TYPE_PNV_LPC, PnvLpcController *),
|
| /openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
| H A D | phosphor-ipmi-flash_git.bb | 26 # Only one type of p2a or lpc can be enabled. 27 PACKAGECONFIG[aspeed-p2a] = "-Dp2a-type=aspeed-p2a,,,,,aspeed-lpc nuvoton-lpc nuvoton-p2a-vga nuvot… 28 PACKAGECONFIG[aspeed-lpc] = "-Dlpc-type=aspeed-lpc,,,,,aspeed-p2a nuvoton-lpc nuvoton-p2a-vga nuvot… 29 PACKAGECONFIG[nuvoton-lpc] = "-Dlpc-type=nuvoton-lpc,,,,,aspeed-p2a aspeed-lpc nuvoton-p2a-vga nuvo… 30 PACKAGECONFIG[nuvoton-p2a-vga] = "-Dp2a-type=nuvoton-p2a-vga,,,,,aspeed-p2a aspeed-lpc nuvoton-lpc … 31 …voton-p2a-mbox] = "-Dp2a-type=nuvoton-p2a-mbox,,,,,aspeed-p2a aspeed-lpc nuvoton-lpc nuvoton-p2a-v…
|
| /openbmc/qemu/hw/acpi/ |
| H A D | ich9_timer.c | 22 ICH9LPCState *lpc; in ich9_pm_update_swsmi_timer() local 25 lpc = container_of(pm, ICH9LPCState, pm); in ich9_pm_update_swsmi_timer() 27 (pci_get_word(lpc->d.config + ICH9_LPC_GEN_PMCON_3) & 0xc0) >> 6; in ich9_pm_update_swsmi_timer() 63 ICH9LPCState *lpc; in ich9_pm_update_periodic_timer() local 66 lpc = container_of(pm, ICH9LPCState, pm); in ich9_pm_update_periodic_timer() 67 per_smi_sel = pci_get_word(lpc->d.config + ICH9_LPC_GEN_PMCON_1) & 3; in ich9_pm_update_periodic_timer()
|
| H A D | ich9.c | 464 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_pre_plug_cb() local 472 uint64_t negotiated = lpc->smi_negotiated_features; in ich9_pm_device_pre_plug_cb() 486 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_plug_cb() local 492 acpi_memory_plug_cb(hotplug_dev, &lpc->pm.acpi_memory_hotplug, in ich9_pm_device_plug_cb() 496 if (lpc->pm.cpu_hotplug_legacy) { in ich9_pm_device_plug_cb() 497 legacy_acpi_cpu_plug_cb(hotplug_dev, &lpc->pm.gpe_cpu, dev, errp); in ich9_pm_device_plug_cb() 499 acpi_cpu_plug_cb(hotplug_dev, &lpc->pm.cpuhp_state, dev, errp); in ich9_pm_device_plug_cb() 502 acpi_pcihp_device_plug_cb(hotplug_dev, &lpc->pm.acpi_pci_hotplug, in ich9_pm_device_plug_cb() 513 ICH9LPCState *lpc = ICH9_LPC_DEVICE(hotplug_dev); in ich9_pm_device_unplug_request_cb() local 517 &lpc->pm.acpi_memory_hotplug, dev, in ich9_pm_device_unplug_request_cb() [all …]
|
| /openbmc/hiomapd/ |
| H A D | configure.ac | 17 AC_CHECK_HEADER(linux/aspeed-lpc-ctrl.h,[HAVE_UAPI_LINUX_LPC_CTRL_H=""],[HAVE_UAPI_LINUX_LPC_CTRL_H… 19 …lpc-ctrl.h: Attempting to download locally for building from https://git.kernel.org/pub/scm/linux/… 20 …lpc-ctrl.h && mkdir -p linux && wget --quiet https://git.kernel.org/pub/scm/linux/kernel/git/gregk…
|
| /openbmc/phosphor-mboxd/ |
| H A D | configure.ac | 17 AC_CHECK_HEADER(linux/aspeed-lpc-ctrl.h,[HAVE_UAPI_LINUX_LPC_CTRL_H=""],[HAVE_UAPI_LINUX_LPC_CTRL_H… 19 …lpc-ctrl.h: Attempting to download locally for building from https://git.kernel.org/pub/scm/linux/… 20 …lpc-ctrl.h && mkdir -p linux && wget --quiet https://git.kernel.org/pub/scm/linux/kernel/git/gregk…
|
| /openbmc/u-boot/arch/x86/cpu/intel_common/ |
| H A D | cpu.c | 33 struct udevice *dev, *lpc; in cpu_common_init() local 55 ret = uclass_first_device(UCLASS_LPC, &lpc); in cpu_common_init() 58 if (!lpc) in cpu_common_init()
|
| /openbmc/qemu/hw/intc/ |
| H A D | loongarch_pch_pic.c | 263 LoongarchPICClass *lpc = LOONGARCH_PIC_GET_CLASS(obj); in loongarch_pic_reset_hold() local 265 if (lpc->parent_phases.hold) { in loongarch_pic_reset_hold() 266 lpc->parent_phases.hold(obj, type); in loongarch_pic_reset_hold() 277 LoongarchPICClass *lpc = LOONGARCH_PIC_GET_CLASS(dev); in loongarch_pic_realize() local 281 lpc->parent_realize(dev, &local_err); in loongarch_pic_realize() 322 LoongarchPICClass *lpc = LOONGARCH_PIC_CLASS(klass); in loongarch_pic_class_init() local 327 NULL, &lpc->parent_phases); in loongarch_pic_class_init() 329 &lpc->parent_realize); in loongarch_pic_class_init()
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/flite/flite/ |
| H A D | 0001-Remove-defining-const-as-nothing.patch | 51 @@ -132,16 +129,16 @@ cst_sts *find_sts(cst_wave *sig, cst_track *lpc) 52 lpc->frames[i],lpc->num_channels, 57 sts[i].frame = cst_alloc(unsigned short,lpc->num_channels-1); 58 for (j=1; j < lpc->num_channels; j++) 61 (((lpc->frames[i][j]-lpc_min)/lpc_range)*65535); 71 @@ -189,7 +186,7 @@ cst_sts *find_sts(cst_wave *sig, cst_track *lpc)
|
| /openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/console/obmc-console/ |
| H A D | setup-uart-routing | 4 echo -ne "$1" > /sys/devices/platform/ahb/ahb:apb/1e789000.lpc/1e789098.uart-routing/"$2" 5 echo -ne "$2" > /sys/devices/platform/ahb/ahb:apb/1e789000.lpc/1e789098.uart-routing/"$1"
|
| /openbmc/qemu/hw/arm/ |
| H A D | aspeed_ast2400.c | 241 object_initialize_child(obj, "lpc", &s->lpc, TYPE_ASPEED_LPC); in aspeed_ast2400_soc_init() 472 if (!sysbus_realize(SYS_BUS_DEVICE(&s->lpc), errp)) { in aspeed_ast2400_soc_realize() 475 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->lpc), 0, sc->memmap[ASPEED_DEV_LPC]); in aspeed_ast2400_soc_realize() 478 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 0, in aspeed_ast2400_soc_realize() 490 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_1, in aspeed_ast2400_soc_realize() 491 qdev_get_gpio_in(DEVICE(&s->lpc), aspeed_lpc_kcs_1)); in aspeed_ast2400_soc_realize() 493 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_2, in aspeed_ast2400_soc_realize() 494 qdev_get_gpio_in(DEVICE(&s->lpc), aspeed_lpc_kcs_2)); in aspeed_ast2400_soc_realize() 496 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_3, in aspeed_ast2400_soc_realize() 497 qdev_get_gpio_in(DEVICE(&s->lpc), aspeed_lpc_kcs_3)); in aspeed_ast2400_soc_realize() [all …]
|
| H A D | aspeed_ast10x0.c | 153 object_initialize_child(obj, "lpc", &s->lpc, TYPE_ASPEED_LPC); in aspeed_soc_ast1030_init() 283 if (!sysbus_realize(SYS_BUS_DEVICE(&s->lpc), errp)) { in aspeed_soc_ast1030_realize() 286 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->lpc), 0, sc->memmap[ASPEED_DEV_LPC]); in aspeed_soc_ast1030_realize() 289 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 0, in aspeed_soc_ast1030_realize() 295 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_1, in aspeed_soc_ast1030_realize() 299 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_2, in aspeed_soc_ast1030_realize() 303 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_3, in aspeed_soc_ast1030_realize() 307 sysbus_connect_irq(SYS_BUS_DEVICE(&s->lpc), 1 + aspeed_lpc_kcs_4, in aspeed_soc_ast1030_realize()
|
| /openbmc/qemu/include/hw/ppc/ |
| H A D | pnv_lpc.h | 112 bool pnv_lpc_opb_read(PnvLpcController *lpc, uint32_t addr, 114 bool pnv_lpc_opb_write(PnvLpcController *lpc, uint32_t addr, 117 ISABus *pnv_lpc_isa_create(PnvLpcController *lpc, bool use_cpld, Error **errp);
|
| H A D | pnv_chip.h | 59 PnvLpcController lpc; member 87 PnvLpcController lpc; member 121 PnvLpcController lpc; member
|
| /openbmc/hiomapd/test/ |
| H A D | Makefile.am.include | 6 lpc.c \ 14 lpc.c \ 21 lpc.c \ 28 lpc.c \
|
| H A D | mbox.c | 203 struct tmpf lpc; member 211 tmpf_destroy(&test.lpc); in cleanup() 232 rc = tmpf_init(&test.lpc, "lpc-store.XXXXXX"); in mbox_create_frontend_context() 265 rc = __lpc_dev_init(&test.context, test.lpc.path); in mbox_create_frontend_context() 268 rc = fallocate(test.lpc.fd, 0, 0, test.context.mem_size); in mbox_create_frontend_context()
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
| H A D | meson.build | 71 if (get_option('lpc-type') == 'aspeed-lpc' or 76 if (get_option('lpc-type') == 'nuvoton-lpc' or
|
| /openbmc/u-boot/arch/x86/cpu/ivybridge/ |
| H A D | cpu.c | 130 struct udevice *dev, *lpc; in checkcpu() local 176 uclass_first_device(UCLASS_LPC, &lpc); in checkcpu() 177 enable_usb_bar(pci_get_controller(lpc->parent)); in checkcpu()
|
| /openbmc/phosphor-mboxd/test/ |
| H A D | mbox.c | 199 struct tmpf lpc; member 207 tmpf_destroy(&test.lpc); in cleanup() 228 rc = tmpf_init(&test.lpc, "lpc-store.XXXXXX"); in mbox_create_test_context() 251 rc = __init_lpc_dev(&test.context, test.lpc.path); in mbox_create_test_context() 254 rc = fallocate(test.lpc.fd, 0, 0, test.context.mem_size); in mbox_create_test_context()
|
| /openbmc/phosphor-ipmi-flash/ |
| H A D | meson.build | 63 if get_option('lpc-type') != 'none' 70 or get_option('lpc-type') == 'none' \ 115 'aspeed-lpc' : '-DASPEED_LPC', 116 'nuvoton-lpc' : '-DNUVOTON_LPC', 120 if get_option('lpc-type') == option_key
|
| /openbmc/u-boot/doc/device-tree-bindings/misc/ |
| H A D | intel-lpc.txt | 8 - compatible = "intel,lpc" 45 lpc { 46 compatible = "intel,lpc";
|
| /openbmc/qemu/contrib/plugins/ |
| H A D | cflow.c | 238 uint64_t lpc = qemu_plugin_u64_get(last_pc, cpu_index); in vcpu_tb_branched_exec() local 244 if (!lpc) { in vcpu_tb_branched_exec() 248 NodeData *node = fetch_node(lpc, true); in vcpu_tb_branched_exec() 250 bool early_exit = (lpc != ebpc); in vcpu_tb_branched_exec() 261 __func__, pc, ebpc, npc, lpc); in vcpu_tb_branched_exec()
|
| /openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
| H A D | firmware_sessionstat_unittest.cpp | 60 FirmwareFlags::UpdateFlags::lpc, in TEST_F() 72 FirmwareFlags::UpdateFlags::lpc); in TEST_F()
|