Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/char/
Dsonypi.c464 static struct sonypi_device { struct
486 } sonypi_device; argument
557 pci_read_config_dword(sonypi_device.dev, SONYPI_G10A, &v); in sonypi_type1_srs()
558 v = (v & 0xFFFF0000) | ((u32) sonypi_device.ioport1); in sonypi_type1_srs()
559 pci_write_config_dword(sonypi_device.dev, SONYPI_G10A, v); in sonypi_type1_srs()
561 pci_read_config_dword(sonypi_device.dev, SONYPI_G10A, &v); in sonypi_type1_srs()
563 (((u32) sonypi_device.ioport1 ^ sonypi_device.ioport2) << 16); in sonypi_type1_srs()
564 pci_write_config_dword(sonypi_device.dev, SONYPI_G10A, v); in sonypi_type1_srs()
568 v |= (((u32) sonypi_device.bits) << SONYPI_IRQ_SHIFT); in sonypi_type1_srs()
571 pci_read_config_dword(sonypi_device.dev, SONYPI_G10A, &v); in sonypi_type1_srs()
[all …]