Lines Matching refs:ops

23 	struct pci_ep_ops *ops = pci_ep_get_ops(dev);  in pci_ep_write_header()  local
25 if (!ops->write_header) in pci_ep_write_header()
28 return ops->write_header(dev, fn, hdr); in pci_ep_write_header()
33 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_read_header() local
35 if (!ops->read_header) in pci_ep_read_header()
38 return ops->read_header(dev, fn, hdr); in pci_ep_read_header()
43 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_set_bar() local
58 if (!ops->set_bar) in pci_ep_set_bar()
61 return ops->set_bar(dev, func_no, ep_bar); in pci_ep_set_bar()
67 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_read_bar() local
73 if (!ops->read_bar) in pci_ep_read_bar()
76 return ops->read_bar(dev, func_no, ep_bar, barno); in pci_ep_read_bar()
81 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_clear_bar() local
83 if (!ops->clear_bar) in pci_ep_clear_bar()
86 return ops->clear_bar(dev, func_num, bar); in pci_ep_clear_bar()
92 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_map_addr() local
94 if (!ops->map_addr) in pci_ep_map_addr()
97 return ops->map_addr(dev, func_no, addr, pci_addr, size); in pci_ep_map_addr()
102 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_unmap_addr() local
104 if (!ops->unmap_addr) in pci_ep_unmap_addr()
107 return ops->unmap_addr(dev, func_no, addr); in pci_ep_unmap_addr()
112 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_set_msi() local
118 if (!ops->set_msi) in pci_ep_set_msi()
126 return ops->set_msi(dev, func_no, encode_int); in pci_ep_set_msi()
131 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_get_msi() local
134 if (!ops->get_msi) in pci_ep_get_msi()
137 interrupt = ops->get_msi(dev, func_no); in pci_ep_get_msi()
150 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_set_msix() local
155 if (!ops->set_msix) in pci_ep_set_msix()
158 return ops->set_msix(dev, func_no, interrupts - 1); in pci_ep_set_msix()
163 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_get_msix() local
166 if (!ops->get_msix) in pci_ep_get_msix()
169 interrupt = ops->get_msix(dev, func_no); in pci_ep_get_msix()
180 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_raise_irq() local
182 if (!ops->raise_irq) in pci_ep_raise_irq()
185 return ops->raise_irq(dev, func_no, type, interrupt_num); in pci_ep_raise_irq()
190 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_start() local
192 if (!ops->start) in pci_ep_start()
195 return ops->start(dev); in pci_ep_start()
200 struct pci_ep_ops *ops = pci_ep_get_ops(dev); in pci_ep_stop() local
202 if (!ops->stop) in pci_ep_stop()
205 return ops->stop(dev); in pci_ep_stop()