Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/
Ddc2114x.c198 pci_dev_t devbusfn; in dc21x4x_initialize() local
204 devbusfn = pci_find_devices(supported, idx++); in dc21x4x_initialize()
205 if (devbusfn == -1) { in dc21x4x_initialize()
210 pci_read_config_dword(devbusfn, PCI_REVISION_ID, &cfrv); in dc21x4x_initialize()
219 pci_read_config_word(devbusfn, PCI_COMMAND, &status); in dc21x4x_initialize()
227 pci_write_config_word(devbusfn, PCI_COMMAND, status); in dc21x4x_initialize()
229 pci_read_config_word(devbusfn, PCI_COMMAND, &status); in dc21x4x_initialize()
248 pci_read_config_byte(devbusfn, PCI_LATENCY_TIMER, &timer); in dc21x4x_initialize()
251 pci_write_config_byte(devbusfn, PCI_LATENCY_TIMER, 0x60); in dc21x4x_initialize()
256 pci_read_config_dword(devbusfn, PCI_BASE_ADDRESS_0, &iobase); in dc21x4x_initialize()
[all …]
Dpcnet.c139 pci_dev_t devbusfn = (pci_dev_t)(unsigned long)dev->priv; in pcnet_virt_to_mem() local
142 return pci_virt_to_mem(devbusfn, virt_addr); in pcnet_virt_to_mem()
153 pci_dev_t devbusfn; in pcnet_initialize() local
166 devbusfn = pci_find_devices(supported, dev_nr); in pcnet_initialize()
167 if (devbusfn < 0) in pcnet_initialize()
179 dev->priv = (void *)(unsigned long)devbusfn; in pcnet_initialize()
185 pci_read_config_dword(devbusfn, PCI_BASE_ADDRESS_0, &bar); in pcnet_initialize()
186 dev->iobase = pci_io_to_phys(devbusfn, bar); in pcnet_initialize()
190 dev->name, devbusfn, (unsigned long)dev->iobase); in pcnet_initialize()
193 pci_write_config_word(devbusfn, PCI_COMMAND, command); in pcnet_initialize()
[all …]
/external/u-boot/drivers/video/
Dmb862xx.c186 pci_dev_t devbusfn; in pci_video_init() local
189 if ((devbusfn = pci_find_devices (supported, 0)) < 0) { in pci_video_init()
195 pci_write_config_dword (devbusfn, PCI_COMMAND, in pci_video_init()
197 pci_read_config_dword (devbusfn, PCI_BASE_ADDRESS_0, &dev->frameAdrs); in pci_video_init()
198 dev->frameAdrs = pci_mem_to_phys (devbusfn, dev->frameAdrs); in pci_video_init()
209 pci_read_config_word(devbusfn, PCI_DEVICE_ID, &device); in pci_video_init()