Searched refs:shpc_cap_offset (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/drivers/hotplug/ |
D | shpchp_hpc.c | 1403 u32 shpc_cap_offset, shpc_base_offset; in shpc_init() local 1439 if ((shpc_cap_offset = pci_find_capability(pdev, PCI_CAP_ID_SHPC)) == 0) { in shpc_init() 1443 dbg("%s: shpc_cap_offset = %x\n", __FUNCTION__, shpc_cap_offset); in shpc_init() 1445 rc = pci_write_config_byte(pdev, (u8)shpc_cap_offset + DWORD_SELECT , BASE_OFFSET); in shpc_init() 1451 rc = pci_read_config_dword(pdev, (u8)shpc_cap_offset + DWORD_DATA, &shpc_base_offset); in shpc_init() 1458 rc = pci_write_config_byte(pdev, (u8)shpc_cap_offset + DWORD_SELECT , i); in shpc_init() 1464 rc = pci_read_config_dword(pdev, (u8)shpc_cap_offset + DWORD_DATA, &tempdword); in shpc_init()
|