Lines Matching +full:0 +full:x41

30 	return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no);  in cs5530_port_base()
45 {0x00009172, 0x00012171, 0x00020080, 0x00032010, 0x00040010}, in cs5530_set_piomode()
46 {0xd1329172, 0x71212171, 0x30200080, 0x20102010, 0x00100010} in cs5530_set_piomode()
53 tuning = ioread32(base + 0x04); in cs5530_set_piomode()
54 format = (tuning & 0x80000000UL) ? 1 : 0; in cs5530_set_piomode()
58 base += 0x08; in cs5530_set_piomode()
76 u32 tuning, timing = 0; in cs5530_set_dmamode()
80 tuning = ioread32(base + 0x04); in cs5530_set_dmamode()
84 timing = 0x00921250;break; in cs5530_set_dmamode()
86 timing = 0x00911140;break; in cs5530_set_dmamode()
88 timing = 0x00911030;break; in cs5530_set_dmamode()
90 timing = 0x00077771;break; in cs5530_set_dmamode()
92 timing = 0x00012121;break; in cs5530_set_dmamode()
94 timing = 0x00002020;break; in cs5530_set_dmamode()
99 timing |= (tuning & 0x80000000UL); in cs5530_set_dmamode()
100 if (adev->devno == 0) /* Master */ in cs5530_set_dmamode()
101 iowrite32(timing, base + 0x04); in cs5530_set_dmamode()
103 if (timing & 0x00100000) in cs5530_set_dmamode()
104 tuning |= 0x00100000; /* UDMA for both */ in cs5530_set_dmamode()
106 tuning &= ~0x00100000; /* MWDMA for both */ in cs5530_set_dmamode()
107 iowrite32(tuning, base + 0x04); in cs5530_set_dmamode()
108 iowrite32(timing, base + 0x0C); in cs5530_set_dmamode()
183 return 0; in cs5530_is_palmax()
222 * --> Write 0x04 into 8-bit PCI CACHELINESIZE reg of function 0 of the cs5530 in cs5530_init_chip()
227 pci_write_config_byte(cs5530_0, PCI_CACHE_LINE_SIZE, 0x04); in cs5530_init_chip()
231 * --> Write 0x5006 into 16-bit reg at offset 0xd0 of function 0 of the cs5530 in cs5530_init_chip()
234 pci_write_config_word(cs5530_0, 0xd0, 0x5006); in cs5530_init_chip()
237 * Bit-1 at 0x40 enables MemoryWriteAndInvalidate on internal X-bus: in cs5530_init_chip()
242 pci_write_config_byte(master_0, 0x40, 0x1e); in cs5530_init_chip()
246 * 16bytes: set bit-1 at 0x41 (reg value of 0x16) in cs5530_init_chip()
247 * all others: clear bit-1 at 0x41, and do: in cs5530_init_chip()
248 * 128bytes: OR 0x00 at 0x41 in cs5530_init_chip()
249 * 256bytes: OR 0x04 at 0x41 in cs5530_init_chip()
250 * 512bytes: OR 0x08 at 0x41 in cs5530_init_chip()
251 * 1024bytes: OR 0x0c at 0x41 in cs5530_init_chip()
254 pci_write_config_byte(master_0, 0x41, 0x14); in cs5530_init_chip()
261 pci_write_config_byte(master_0, 0x42, 0x00); in cs5530_init_chip()
262 pci_write_config_byte(master_0, 0x43, 0xc1); in cs5530_init_chip()
266 return 0; in cs5530_init_chip()
313 return ata_pci_bmdma_init_one(pdev, ppi, &cs5530_sht, NULL, 0); in cs5530_init_one()
331 return 0; in cs5530_reinit_one()