Home
last modified time | relevance | path

Searched refs:lpc_dev (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/video/backlight/
H A Dcr_bllcd.c52 static struct pci_dev *lpc_dev; variable
160 lpc_dev = pci_get_device(PCI_VENDOR_ID_INTEL, in cr_backlight_probe()
162 if (!lpc_dev) { in cr_backlight_probe()
167 pci_read_config_byte(lpc_dev, CRVML_REG_GPIOEN, &dev_en); in cr_backlight_probe()
170 pci_dev_put(lpc_dev); in cr_backlight_probe()
180 pci_dev_put(lpc_dev); in cr_backlight_probe()
187 pci_dev_put(lpc_dev); in cr_backlight_probe()
191 pci_read_config_dword(lpc_dev, CRVML_REG_GPIOBAR, in cr_backlight_probe()
197 pci_dev_put(lpc_dev); in cr_backlight_probe()
222 pci_dev_put(lpc_dev); in cr_backlight_remove()
/openbmc/qemu/hw/i386/
H A Dpc_q35.c134 DeviceState *lpc_dev; in pc_q35_init() local
235 lpc_dev = DEVICE(lpc); in pc_q35_init()
236 qdev_prop_set_bit(lpc_dev, "smm-enabled", in pc_q35_init()
239 qdev_connect_gpio_out_named(lpc_dev, ICH9_GPIO_GSI, i, x86ms->gsi[i]); in pc_q35_init()
267 isa_bus = ISA_BUS(qdev_get_child_bus(lpc_dev, "isa.0")); in pc_q35_init()