Lines Matching refs:dev
28 * $FreeBSD: releng/11.0/sys/dev/pci/pci_private.h 298708 2016-04-27 16:31:12Z jhb $
51 void pci_add_children(device_t dev, int domain, int busno);
55 void pci_add_resources(device_t bus, device_t dev, int force,
57 void pci_add_resources_ea(device_t bus, device_t dev, int alloc_iov);
58 struct pci_devinfo *pci_alloc_devinfo_method(device_t dev);
59 int pci_attach_common(device_t dev);
60 int pci_rescan_method(device_t dev);
61 void pci_driver_added(device_t dev, driver_t *driver);
62 int pci_ea_is_enabled(device_t dev, int rid);
63 int pci_print_child(device_t dev, device_t child);
64 void pci_probe_nomatch(device_t dev, device_t child);
65 int pci_read_ivar(device_t dev, device_t child, int which,
67 int pci_write_ivar(device_t dev, device_t child, int which,
69 int pci_setup_intr(device_t dev, device_t child,
72 int pci_teardown_intr(device_t dev, device_t child,
74 int pci_get_vpd_ident_method(device_t dev, device_t child,
76 int pci_get_vpd_readonly_method(device_t dev, device_t child,
78 int pci_set_powerstate_method(device_t dev, device_t child,
80 int pci_get_powerstate_method(device_t dev, device_t child);
81 uint32_t pci_read_config_method(device_t dev, device_t child,
83 void pci_write_config_method(device_t dev, device_t child,
85 int pci_enable_busmaster_method(device_t dev, device_t child);
86 int pci_disable_busmaster_method(device_t dev, device_t child);
87 int pci_enable_io_method(device_t dev, device_t child, int space);
88 int pci_disable_io_method(device_t dev, device_t child, int space);
89 int pci_find_cap_method(device_t dev, device_t child,
91 int pci_find_extcap_method(device_t dev, device_t child,
93 int pci_find_htcap_method(device_t dev, device_t child,
95 int pci_alloc_msi_method(device_t dev, device_t child, int *count);
96 int pci_alloc_msix_method(device_t dev, device_t child, int *count);
97 void pci_enable_msi_method(device_t dev, device_t child,
99 void pci_enable_msix_method(device_t dev, device_t child,
101 void pci_disable_msi_method(device_t dev, device_t child);
102 int pci_remap_msix_method(device_t dev, device_t child,
104 int pci_release_msi_method(device_t dev, device_t child);
105 int pci_msi_count_method(device_t dev, device_t child);
106 int pci_msix_count_method(device_t dev, device_t child);
107 int pci_msix_pba_bar_method(device_t dev, device_t child);
108 int pci_msix_table_bar_method(device_t dev, device_t child);
109 struct resource *pci_alloc_resource(device_t dev, device_t child,
112 int pci_release_resource(device_t dev, device_t child, int type,
114 int pci_activate_resource(device_t dev, device_t child, int type,
116 int pci_deactivate_resource(device_t dev, device_t child, int type,
118 void pci_delete_resource(device_t dev, device_t child,
120 struct resource_list *pci_get_resource_list (device_t dev, device_t child);
125 void pci_child_deleted(device_t dev, device_t child);
126 void pci_child_detached(device_t dev, device_t child);
131 int pci_assign_interrupt_method(device_t dev, device_t child);
132 int pci_resume(device_t dev);
133 int pci_resume_child(device_t dev, device_t child);
134 int pci_suspend_child(device_t dev, device_t child);
135 bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev);
136 void pci_child_added_method(device_t dev, device_t child);
151 void pci_read_bar(device_t dev, int reg, pci_addr_t *mapp,
153 struct pci_map *pci_add_bar(device_t dev, int reg, pci_addr_t value,
156 struct resource *pci_alloc_multi_resource(device_t dev, device_t child,
160 int pci_iov_attach_method(device_t bus, device_t dev,
162 int pci_iov_detach_method(device_t bus, device_t dev);
167 struct resource *pci_vf_alloc_mem_resource(device_t dev, device_t child,
170 int pci_vf_release_mem_resource(device_t dev, device_t child,