Lines Matching +full:0 +full:x6d

68  * byte @0x88: bit 0..7
69 * byte @0x8c: bit 8..15
70 * word @0x90: bit 16..30
72 * Please set win_size_bits to 0x7fffffff if you actually want to do something
74 static uint win_size_bits = 0;
75 module_param(win_size_bits, uint, 0);
89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup()
90 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup()
109 window->phys = 0; in ck804xrom_cleanup()
110 window->size = 0; in ck804xrom_cleanup()
138 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
139 pci_write_config_byte(pdev, 0x88, byte | win_size_bits ); in ck804xrom_init_one()
142 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
145 window->phys = 0xffb00000; /* 5MiB */ in ck804xrom_init_one()
147 window->phys = 0xffc00000; /* 4MiB */ in ck804xrom_init_one()
149 window->phys = 0xffff0000; /* 64KiB */ in ck804xrom_init_one()
153 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
154 pci_write_config_byte(pdev, 0x88, byte | (win_size_bits & 0xff)); in ck804xrom_init_one()
156 pci_read_config_byte(pdev, 0x8c, &byte); in ck804xrom_init_one()
157 pci_write_config_byte(pdev, 0x8c, byte | ((win_size_bits & 0xff00) >> 8)); in ck804xrom_init_one()
159 pci_read_config_word(pdev, 0x90, &word); in ck804xrom_init_one()
160 pci_write_config_word(pdev, 0x90, word | ((win_size_bits & 0x7fff0000) >> 16)); in ck804xrom_init_one()
162 window->phys = 0xff000000; /* 16MiB, hardcoded for now */ in ck804xrom_init_one()
166 window->size = 0xffffffffUL - window->phys + 1UL; in ck804xrom_init_one()
188 pci_read_config_byte(pdev, 0x6d, &byte); in ck804xrom_init_one()
189 pci_write_config_byte(pdev, 0x6d, byte | 1); in ck804xrom_init_one()
191 /* FIXME handle registers 0x80 - 0x8C the bios region locks */ in ck804xrom_init_one()
205 * registers sets them to 0x7 (no access). in ck804xrom_init_one()
208 if (map_top < 0xffc00000) in ck804xrom_init_one()
209 map_top = 0xffc00000; in ck804xrom_init_one()
215 while((map_top - 1) < 0xffffffffUL) { in ck804xrom_init_one()
225 memset(map, 0, sizeof(*map)); in ck804xrom_init_one()
232 map->map.size = 0xffffffffUL - map_top + 1UL; in ck804xrom_init_one()
288 for(i = 0; i < cfi->numchips; i++) in ck804xrom_init_one()
293 if (mtd_device_register(map->mtd, NULL, 0)) { in ck804xrom_init_one()
317 return 0; in ck804xrom_init_one()
329 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0051), .driver_data = DEV_CK804 },
330 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0360), .driver_data = DEV_MCP55 },
331 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0361), .driver_data = DEV_MCP55 },
332 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0362), .driver_data = DEV_MCP55 },
333 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0363), .driver_data = DEV_MCP55 },
334 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0364), .driver_data = DEV_MCP55 },
335 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0365), .driver_data = DEV_MCP55 },
336 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0366), .driver_data = DEV_MCP55 },
337 { PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, 0x0367), .driver_data = DEV_MCP55 },
338 { 0, }
341 #if 0
370 #if 0 in init_ck804xrom()