Home
last modified time | relevance | path

Searched refs:device_t (Results 1 – 25 of 645) sorted by relevance

12345678910>>...26

/f-stack/freebsd/sys/
H A Dbus.h374 device_t bus, device_t child,
379 device_t bus, device_t child,
382 device_t bus, device_t child,
386 device_t bus, device_t child,
391 device_t bus, device_t child,
413 device_t
426 int bus_generic_bind_intr(device_t dev, device_t child,
446 bus_generic_get_resource_list (device_t, device_t);
578 int device_delete_child(device_t dev, device_t child);
590 device_t device_get_parent(device_t dev);
[all …]
H A Dintr.h84 device_t isrc_dev; /* where isrc is mapped */
114 int intr_pic_deregister(device_t, intptr_t);
120 extern device_t intr_irq_root_dev;
124 int intr_activate_irq(device_t, struct resource *);
142 int intr_msi_register(device_t, intptr_t);
143 int intr_alloc_msi(device_t, device_t, intptr_t, int, int, int *);
144 int intr_release_msi(device_t, device_t, intptr_t, int, int *);
145 int intr_map_msi(device_t, device_t, intptr_t, int, uint64_t *, uint32_t *);
146 int intr_alloc_msix(device_t, device_t, intptr_t, int *);
147 int intr_release_msix(device_t, device_t, intptr_t, int);
[all …]
/f-stack/freebsd/arm/arm/
H A Dnexus.c85 static int nexus_print_child(device_t, device_t);
86 static device_t nexus_add_child(device_t, u_int, const char *, int);
89 static int nexus_activate_resource(device_t, device_t, int, int,
91 static bus_space_tag_t nexus_get_bus_tag(device_t, device_t);
98 static int nexus_describe_intr(device_t dev, device_t child,
100 static int nexus_deactivate_resource(device_t, device_t, int, int,
102 static int nexus_release_resource(device_t, device_t, int, int,
187 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
197 static device_t
200 device_t child; in nexus_add_child()
[all …]
/f-stack/freebsd/x86/x86/
H A Dnexus.c98 static int nexus_print_child(device_t, device_t);
111 static int nexus_describe_intr(device_t dev, device_t child,
114 static int nexus_activate_resource(device_t, device_t, int, int,
124 static int nexus_release_resource(device_t, device_t, int, int,
134 static int nexus_set_resource(device_t, device_t, int, int,
136 static int nexus_get_resource(device_t, device_t, int, int,
319 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
332 static device_t
654 nexus_get_reslist(device_t dev, device_t child) in nexus_get_reslist()
729 nexus_alloc_msix(device_t pcib, device_t dev, int *irq) in nexus_alloc_msix()
[all …]
H A Dlegacy.c67 static int legacy_print_child(device_t, device_t);
70 static int legacy_read_ivar(device_t, device_t, int, uintptr_t *);
71 static int legacy_write_ivar(device_t, device_t, int, uintptr_t);
158 device_t child; in legacy_attach()
184 legacy_print_child(device_t bus, device_t child) in legacy_print_child()
197 static device_t
200 device_t child; in legacy_add_child()
321 device_t child; in cpu_identify()
336 static device_t
340 device_t child; in cpu_add_child()
[all …]
/f-stack/freebsd/arm64/arm64/
H A Dnexus.c103 static int nexus_print_child(device_t, device_t);
107 static int nexus_activate_resource(device_t, device_t, int, int,
111 static struct resource_list *nexus_get_reslist(device_t, device_t);
112 static int nexus_set_resource(device_t, device_t, int, int,
114 static int nexus_deactivate_resource(device_t, device_t, int, int,
116 static int nexus_release_resource(device_t, device_t, int, int,
122 static bus_space_tag_t nexus_get_bus_tag(device_t, device_t);
183 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
193 static device_t
196 device_t child; in nexus_add_child()
[all …]
/f-stack/freebsd/mips/mips/
H A Dnexus.c101 static void nexus_delete_resource(device_t, device_t, int, int);
103 nexus_get_reslist(device_t, device_t);
106 static int nexus_print_child(device_t, device_t);
109 static int nexus_release_resource(device_t, device_t, int, int,
113 static int nexus_activate_resource(device_t, device_t, int, int,
118 static int nexus_setup_intr(device_t dev, device_t child,
128 static int nexus_ofw_map_intr(device_t dev, device_t child,
131 static int nexus_describe_intr(device_t dev, device_t child,
221 nexus_print_child(device_t bus, device_t child) in nexus_print_child()
250 static device_t
[all …]
/f-stack/freebsd/arm64/cavium/
H A Dthunder_pcie_pem_fdt.c62 static int thunder_pem_fdt_alloc_msix(device_t, device_t, int *);
63 static int thunder_pem_fdt_release_msix(device_t, device_t, int);
64 static int thunder_pem_fdt_alloc_msi(device_t, device_t, int, int, int *);
65 static int thunder_pem_fdt_release_msi(device_t, device_t, int, int *);
66 static int thunder_pem_fdt_map_msi(device_t, device_t, int, uint64_t *,
68 static int thunder_pem_fdt_get_id(device_t, device_t, enum pci_id_type,
128 thunder_pem_fdt_release_msi(device_t pci, device_t child, int count, int *irqs) in thunder_pem_fdt_release_msi()
141 thunder_pem_fdt_alloc_msix(device_t pci, device_t child, int *irq) in thunder_pem_fdt_alloc_msix()
154 thunder_pem_fdt_release_msix(device_t pci, device_t child, int irq) in thunder_pem_fdt_release_msix()
167 thunder_pem_fdt_map_msi(device_t pci, device_t child, int irq, uint64_t *addr, in thunder_pem_fdt_map_msi()
[all …]
H A Dthunder_pcie_pem.c126 static int thunder_pem_adjust_resource(device_t, device_t, int,
132 static int thunder_pem_alloc_msix(device_t, device_t, int *);
133 static int thunder_pem_release_msix(device_t, device_t, int);
222 thunder_pem_read_ivar(device_t dev, device_t child, int index, in thunder_pem_read_ivar()
338 thunder_pem_get_dma_tag(device_t dev, device_t child) in thunder_pem_get_dma_tag()
350 device_t bus; in thunder_pem_alloc_msi()
360 device_t bus; in thunder_pem_release_msi()
367 thunder_pem_alloc_msix(device_t pci, device_t child, int *irq) in thunder_pem_alloc_msix()
369 device_t bus; in thunder_pem_alloc_msix()
378 device_t bus; in thunder_pem_release_msix()
[all …]
H A Dthunder_pcie_fdt.c60 static struct resource * thunder_pcie_fdt_alloc_resource(device_t, device_t,
63 static int thunder_pcie_fdt_attach(device_t);
64 static int thunder_pcie_fdt_probe(device_t);
65 static int thunder_pcie_fdt_get_id(device_t, device_t, enum pci_id_type,
94 thunder_pcie_fdt_probe(device_t dev) in thunder_pcie_fdt_probe()
116 thunder_pcie_fdt_attach(device_t dev) in thunder_pcie_fdt_attach()
128 thunder_pcie_fdt_get_id(device_t pci, device_t child, enum pci_id_type type, in thunder_pcie_fdt_get_id()
149 thunder_pcie_fdt_alloc_resource(device_t dev, device_t child, int type, int *rid, in thunder_pcie_fdt_alloc_resource()
/f-stack/freebsd/x86/include/
H A Dlegacyvar.h51 int legacy_pcib_maxslots(device_t dev);
52 uint32_t legacy_pcib_read_config(device_t dev, u_int bus, u_int slot,
54 int legacy_pcib_read_ivar(device_t dev, device_t child, int which,
56 void legacy_pcib_write_config(device_t dev, u_int bus, u_int slot,
58 int legacy_pcib_write_ivar(device_t dev, device_t child, int which,
60 struct resource *legacy_pcib_alloc_resource(device_t dev, device_t child,
63 int legacy_pcib_adjust_resource(device_t dev, device_t child, int type,
65 int legacy_pcib_release_resource(device_t dev, device_t child, int type,
67 int legacy_pcib_alloc_msi(device_t pcib, device_t dev, int count,
69 int legacy_pcib_alloc_msix(device_t pcib, device_t dev, int *irq);
[all …]
/f-stack/freebsd/mips/atheros/
H A Dapb.c64 static int apb_activate_resource(device_t, device_t, int, int,
66 static device_t apb_add_child(device_t, u_int, const char *, int);
68 apb_alloc_resource(device_t, device_t, int, int *, rman_res_t,
71 static int apb_deactivate_resource(device_t, device_t, int, int,
74 apb_get_resource_list(device_t, device_t);
78 static int apb_release_resource(device_t, device_t, int, int,
82 static int apb_teardown_intr(device_t, device_t, struct resource *,
267 apb_release_resource(device_t dev, device_t child, int type, in apb_release_resource()
448 static device_t
473 apb_get_resource_list(device_t dev, device_t child) in apb_get_resource_list()
[all …]
/f-stack/freebsd/arm64/qoriq/
H A Dls1046_gpio.c70 device_t dev;
71 device_t busdev;
90 static int qoriq_gpio_probe(device_t);
91 static int qoriq_gpio_attach(device_t);
92 static device_t qoriq_gpio_get_bus(device_t);
93 static int qoriq_gpio_pin_max(device_t, int*);
231 qoriq_gpio_probe(device_t dev) in qoriq_gpio_probe()
246 qoriq_gpio_attach(device_t dev) in qoriq_gpio_attach()
266 static device_t
267 qoriq_gpio_get_bus(device_t dev) in qoriq_gpio_get_bus()
[all …]
/f-stack/freebsd/mips/broadcom/
H A Dbhnd_nexus.c70 bhnd_nexus_get_service_registry(device_t dev, device_t child) in bhnd_nexus_get_service_registry()
80 bhnd_nexus_activate_resource(device_t dev, device_t child, int type, int rid, in bhnd_nexus_activate_resource()
97 bhnd_nexus_deactivate_resource(device_t dev, device_t child, in bhnd_nexus_deactivate_resource()
116 bhnd_nexus_is_hw_disabled(device_t dev, device_t child) in bhnd_nexus_is_hw_disabled()
141 bhnd_nexus_get_attach_type(device_t dev, device_t child) in bhnd_nexus_get_attach_type()
150 bhnd_nexus_get_chipid(device_t dev, device_t child) in bhnd_nexus_get_chipid()
159 bhnd_nexus_read_board_info(device_t dev, device_t child, in bhnd_nexus_read_board_info()
180 bhnd_nexus_map_intr(device_t dev, device_t child, u_int intr, rman_res_t *irq) in bhnd_nexus_map_intr()
212 bhnd_nexus_unmap_intr(device_t dev, device_t child, rman_res_t irq) in bhnd_nexus_unmap_intr()
224 bhnd_nexus_get_dma_translation(device_t dev, device_t child, in bhnd_nexus_get_dma_translation()
/f-stack/freebsd/x86/xen/
H A Dxen_nexus.c56 nexus_xen_probe(device_t dev) in nexus_xen_probe()
66 nexus_xen_attach(device_t dev) in nexus_xen_attach()
69 device_t acpi_dev = NULL; in nexus_xen_attach()
93 nexus_xen_config_intr(device_t dev, int irq, enum intr_trigger trig, in nexus_xen_config_intr()
112 nexus_xen_alloc_msix(device_t pcib, device_t dev, int *irq) in nexus_xen_alloc_msix()
119 nexus_xen_release_msix(device_t pcib, device_t dev, int irq) in nexus_xen_release_msix()
126 nexus_xen_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) in nexus_xen_alloc_msi()
133 nexus_xen_release_msi(device_t pcib, device_t dev, int count, int *irqs) in nexus_xen_release_msi()
140 nexus_xen_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, uint32_t *data) in nexus_xen_map_msi()
/f-stack/freebsd/arm/ti/
H A Dti_sysc.h32 uint64_t ti_sysc_get_rev_address(device_t dev);
33 uint64_t ti_sysc_get_rev_address_offset_host(device_t dev);
34 uint64_t ti_sysc_get_sysc_address(device_t dev);
35 uint64_t ti_sysc_get_sysc_address_offset_host(device_t dev);
36 uint64_t ti_sysc_get_syss_address(device_t dev);
37 uint64_t ti_sysc_get_syss_address_offset_host(device_t dev);
38 int ti_sysc_clock_enable(device_t dev);
39 int ti_sysc_clock_disable(device_t dev);
41 uint32_t ti_sysc_get_soft_reset_bit(device_t dev);
/f-stack/freebsd/kern/
H A Dmsi_if.m52 iommu_deinit(device_t dev, device_t child)
58 device_t dev;
59 device_t child;
62 device_t *pic;
67 device_t dev;
74 device_t dev;
76 device_t *pic;
81 device_t dev;
87 device_t dev;
95 device_t dev;
[all …]
H A Dsubr_bus.c263 device_t dev = (device_t)arg1; in device_sysctl_handler()
1395 device_t
1831 device_print_child(device_t dev, device_t child) in device_print_child()
1859 device_t
1885 device_t
2015 device_t
2070 device_probe_child(device_t dev, device_t child) in device_probe_child()
2248 device_t
3667 device_t
5087 root_print_child(device_t dev, device_t child) in root_print_child()
[all …]
H A Dpic_if.m96 device_t dev;
103 device_t dev;
108 device_t dev;
113 device_t dev;
118 device_t dev;
124 device_t dev;
131 device_t dev;
138 device_t dev;
145 device_t dev;
150 device_t dev;
[all …]
/f-stack/freebsd/mips/atheros/ar531x/
H A Dapb.c72 static int apb_activate_resource(device_t, device_t, int, int,
74 static device_t apb_add_child(device_t, u_int, const char *, int);
76 apb_alloc_resource(device_t, device_t, int, int *, rman_res_t,
79 static int apb_deactivate_resource(device_t, device_t, int, int,
82 apb_get_resource_list(device_t, device_t);
86 static int apb_release_resource(device_t, device_t, int, int,
89 static int apb_setup_intr(device_t, device_t, struct resource *, int,
91 static int apb_teardown_intr(device_t, device_t, struct resource *,
371 apb_release_resource(device_t dev, device_t child, int type, in apb_release_resource()
620 static device_t
[all …]
/f-stack/freebsd/arm/mv/
H A Dgpio.c77 device_t dev;
78 device_t sc_busdev;
101 device_t dev;
105 static int mv_gpio_probe(device_t);
106 static int mv_gpio_attach(device_t);
149 static device_t mv_gpio_get_bus(device_t);
202 mv_gpio_probe(device_t dev) in mv_gpio_probe()
298 mv_gpio_attach(device_t dev) in mv_gpio_attach()
729 device_t dev; in mv_gpio_debounce()
1191 static device_t
[all …]
/f-stack/freebsd/mips/cavium/octe/
H A Doctebus.c53 static void octebus_identify(driver_t *drv, device_t parent);
54 static int octebus_probe(device_t dev);
55 static int octebus_attach(device_t dev);
56 static int octebus_detach(device_t dev);
57 static int octebus_shutdown(device_t dev);
83 octebus_identify(driver_t *drv, device_t parent) in octebus_identify()
89 octebus_probe(device_t dev) in octebus_probe()
98 octebus_attach(device_t dev) in octebus_attach()
114 octebus_detach(device_t dev) in octebus_detach()
121 octebus_shutdown(device_t dev) in octebus_shutdown()
/f-stack/freebsd/x86/pci/
H A Dpci_bus.c83 legacy_pcib_route_interrupt(device_t pcib, device_t dev, int pin) in legacy_pcib_route_interrupt()
101 device_t bus; in legacy_pcib_alloc_msi()
109 legacy_pcib_alloc_msix(device_t pcib, device_t dev, int *irq) in legacy_pcib_alloc_msix()
111 device_t bus; in legacy_pcib_alloc_msix()
121 device_t bus, hostb; in legacy_pcib_map_msi()
386 device_t child; in legacy_pcib_identify()
426 device_t *devs; in legacy_pcib_identify()
512 device_t pir; in legacy_pcib_attach()
533 legacy_pcib_read_ivar(device_t dev, device_t child, int which, in legacy_pcib_read_ivar()
549 legacy_pcib_write_ivar(device_t dev, device_t child, int which, in legacy_pcib_write_ivar()
[all …]
H A Dqpi.c91 qpi_probe(device_t dev) in qpi_probe()
106 device_t child; in qpi_probe_pcib()
149 qpi_attach(device_t dev) in qpi_attach()
165 qpi_print_child(device_t bus, device_t child) in qpi_print_child()
180 qpi_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in qpi_read_ivar()
223 qpi_pcib_probe(device_t dev) in qpi_pcib_probe()
231 qpi_pcib_attach(device_t dev) in qpi_pcib_attach()
239 qpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) in qpi_pcib_read_ivar()
256 qpi_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, in qpi_pcib_alloc_resource()
269 qpi_pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, in qpi_pcib_map_msi()
[all …]
/f-stack/freebsd/x86/cpufreq/
H A Dp4tcc.c62 device_t dev;
76 static int p4tcc_probe(device_t dev);
77 static int p4tcc_attach(device_t dev);
78 static int p4tcc_detach(device_t dev);
83 static int p4tcc_type(device_t dev, int *type);
122 p4tcc_identify(driver_t *driver, device_t parent) in p4tcc_identify()
143 p4tcc_probe(device_t dev) in p4tcc_probe()
154 p4tcc_attach(device_t dev) in p4tcc_attach()
219 p4tcc_detach(device_t dev) in p4tcc_detach()
308 p4tcc_get(device_t dev, struct cf_setting *set) in p4tcc_get()
[all …]

12345678910>>...26