Lines Matching +full:0 +full:x48

31 	unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);  in cb710_pci_configure()
35 cb710_pci_update_config_reg(pdev, 0x48, in cb710_pci_configure()
36 ~0x000000FF, 0x0000003F); in cb710_pci_configure()
38 pci_read_config_dword(pdev, 0x48, &val); in cb710_pci_configure()
39 if (val & 0x80000000) in cb710_pci_configure()
40 return 0; in cb710_pci_configure()
48 cb710_pci_update_config_reg(pdev0, 0x8C, in cb710_pci_configure()
49 ~0x00F00000, 0x00100000); in cb710_pci_configure()
50 cb710_pci_update_config_reg(pdev0, 0xB0, in cb710_pci_configure()
51 ~0x08000000, 0x08000000); in cb710_pci_configure()
54 cb710_pci_update_config_reg(pdev0, 0x8C, in cb710_pci_configure()
55 ~0x00000F00, 0x00000200); in cb710_pci_configure()
56 cb710_pci_update_config_reg(pdev0, 0x90, in cb710_pci_configure()
57 ~0x00060000, 0x00040000); in cb710_pci_configure()
61 return 0; in cb710_pci_configure()
67 struct cb710_slot *slot = &chip->slot[0]; in cb710_irq_handler()
103 "register: %s.%d; slot %d; mask %d; IO offset: 0x%02X\n", in cb710_register_slot()
135 return 0; in cb710_register_slot()
175 return 0; in cb710_suspend()
193 int n = 0; in cb710_probe()
200 pci_read_config_dword(pdev, 0x48, &val); in cb710_probe()
201 if (!(val & 0x80000000)) { in cb710_probe()
202 pci_write_config_dword(pdev, 0x48, val|0x71000000); in cb710_probe()
203 pci_read_config_dword(pdev, 0x48, &val); in cb710_probe()
206 dev_dbg(&pdev->dev, "PCI config[0x48] = 0x%08X\n", val); in cb710_probe()
207 if (!(val & 0x70000000)) in cb710_probe()
226 err = pcim_iomap_regions(pdev, 0x0001, KBUILD_MODNAME); in cb710_probe()
232 chip->iobase = pcim_iomap_table(pdev)[0]; in cb710_probe()
242 if (err < 0) in cb710_probe()
246 dev_info(&pdev->dev, "id %d, IO 0x%p, IRQ %d\n", in cb710_probe()
251 CB710_SLOT_MMC, 0x00, "cb710-mmc"); in cb710_probe()
258 CB710_SLOT_MS, 0x40, "cb710-ms"); in cb710_probe()
265 CB710_SLOT_SM, 0x60, "cb710-sm"); in cb710_probe()
270 return 0; in cb710_probe()
277 BUG_ON(atomic_read(&chip->slot_refs_count) != 0); in cb710_probe()
290 BUG_ON(atomic_read(&chip->slot_refs_count) != 0); in cb710_remove_one()
299 { 0, }