Lines Matching refs:pci
135 int cx88_risc_buffer(struct pci_dev *pci, struct cx88_riscmem *risc, in cx88_risc_buffer() argument
157 risc->cpu = pci_zalloc_consistent(pci, risc->size, &risc->dma); in cx88_risc_buffer()
176 int cx88_risc_databuffer(struct pci_dev *pci, struct cx88_riscmem *risc, in cx88_risc_databuffer() argument
191 risc->cpu = pci_zalloc_consistent(pci, risc->size, &risc->dma); in cx88_risc_databuffer()
991 struct pci_dev *pci, in cx88_vdev_init() argument
1005 vfd->dev_parent = &pci->dev; in cx88_vdev_init()
1012 struct cx88_core* cx88_core_get(struct pci_dev *pci) in cx88_core_get() argument
1018 if (pci->bus->number != core->pci_bus) in cx88_core_get()
1020 if (PCI_SLOT(pci->devfn) != core->pci_slot) in cx88_core_get()
1023 if (0 != cx88_get_resources(core, pci)) { in cx88_core_get()
1032 core = cx88_core_create(pci, cx88_devcount); in cx88_core_get()
1042 void cx88_core_put(struct cx88_core *core, struct pci_dev *pci) in cx88_core_put() argument
1044 release_mem_region(pci_resource_start(pci,0), in cx88_core_put()
1045 pci_resource_len(pci,0)); in cx88_core_put()