Searched refs:xref (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/sys/powerpc/ofw/
H A Dopenpic_ofw.c126 phandle_t xref, node; local
130 if (OF_getencprop(node, "phandle", &xref, sizeof(xref)) == -1 &&
131 OF_getencprop(node, "ibm,phandle", &xref, sizeof(xref)) == -1 &&
132 OF_getencprop(node, "linux,phandle", &xref, sizeof(xref)) == -1)
133 xref = node;
135 return (openpic_common_attach(dev, xref));
/freebsd-11-stable/sys/dev/ofw/
H A Dopenfirm.c91 phandle_t xref; member in struct:xrefinfo
106 * xref-phandle-device lookup helper routines.
109 * of info that cross-references node handles, xref handles, and device_t
111 * with an xref handle, but it is also used to speed up translation between xref
113 * the node tree each time we want to translate between a node and xref handle.
120 phandle_t child, xref; local
129 if (OF_getencprop(child, "phandle", &xref, sizeof(xref)) ==
130 -1 && OF_getencprop(child, "ibm,phandle", &xref,
176 xrefinfo_add(phandle_t node, phandle_t xref, device_t dev) argument
561 OF_child_xref_phandle(phandle_t parent, phandle_t xref) argument
590 OF_node_from_xref(phandle_t xref) argument
610 phandle_t xref; local
626 OF_device_from_xref(phandle_t xref) argument
652 OF_device_register_xref(phandle_t xref, device_t dev) argument
[all...]
H A Dopenfirm.h135 phandle_t OF_node_from_xref(phandle_t xref);
139 * When properties contain references to other nodes using xref handles it is
142 * register its association with an xref handle, and for other drivers to obtain
143 * the device_t associated with an xref handle.
145 device_t OF_device_from_xref(phandle_t xref);
147 int OF_device_register_xref(phandle_t xref, device_t dev);
/freebsd-11-stable/sys/dev/extres/hwreset/
H A Dhwreset.c98 hwreset_default_ofw_map(device_t provider_dev, phandle_t xref, int ncells, argument
171 phandle_t xref, node; local
177 xref = OF_xref_from_node(node);
178 OF_device_register_xref(xref, provider_dev);
184 phandle_t xref; local
186 xref = OF_xref_from_device(provider_dev);
187 OF_device_register_xref(xref, NULL);
H A Dhwreset.h43 int hwreset_default_ofw_map(device_t provider_dev, phandle_t xref, int ncells,
/freebsd-11-stable/sys/kern/
H A Dsubr_intr.c119 static struct intr_pic *pic_lookup(device_t dev, intptr_t xref);
150 static void intr_map_copy_map_data(u_int res_id, device_t *dev, intptr_t *xref,
692 pic_lookup_locked(device_t dev, intptr_t xref) argument
698 if (dev == NULL && xref == 0)
704 if (xref == pic->pic_xref)
706 } else if (xref == 0 || pic->pic_xref == 0) {
709 } else if (xref == pic->pic_xref && dev == pic->pic_dev)
719 pic_lookup(device_t dev, intptr_t xref) argument
724 pic = pic_lookup_locked(dev, xref);
733 pic_create(device_t dev, intptr_t xref) argument
761 pic_destroy(device_t dev, intptr_t xref) argument
781 intr_pic_register(device_t dev, intptr_t xref) argument
802 intr_pic_deregister(device_t dev, intptr_t xref) argument
821 intr_pic_claim_root(device_t dev, intptr_t xref, intr_irq_filter_t *filter, void *arg, u_int ipicount) argument
899 intr_resolve_irq(device_t dev, intptr_t xref, struct intr_map_data *data, struct intr_irqsrc **isrc) argument
1253 intr_msi_register(device_t dev, intptr_t xref) argument
1271 intr_alloc_msi(device_t pci, device_t child, intptr_t xref, int count, int maxcount, int *irqs) argument
1309 intr_release_msi(device_t pci, device_t child, intptr_t xref, int count, int *irqs) argument
1348 intr_alloc_msix(device_t pci, device_t child, intptr_t xref, int *irq) argument
1377 intr_release_msix(device_t pci, device_t child, intptr_t xref, int irq) argument
1410 intr_map_msi(device_t pci, device_t child, intptr_t xref, int irq, uint64_t *addr, uint32_t *data) argument
1490 intptr_t xref; member in struct:intr_map_entry
1588 intr_map_irq(device_t dev, intptr_t xref, struct intr_map_data *data) argument
[all...]
/freebsd-11-stable/sys/dev/beri/virtio/
H A Dvirtio.c199 phandle_t xref; local
205 if (OF_searchencprop(node, name, &xref,
206 sizeof(xref)) == -1) {
210 pio_node = OF_node_from_xref(xref);
226 phandle_t xref; local
233 if (OF_searchencprop(node, "beri-mem", &xref,
234 sizeof(xref)) == -1) {
238 mem_node = OF_node_from_xref(xref);
H A Dvirtio_mmio_platform.c89 phandle_t xref; local
95 if (OF_searchencprop(node, name, &xref,
96 sizeof(xref)) == -1) {
100 pio_node = OF_node_from_xref(xref);
/freebsd-11-stable/sys/dev/mii/
H A Dmii_fdt.c92 pcell_t xref; local
96 if (OF_getencprop(macnode, props[i], &xref, sizeof(xref)) > 0)
97 return (OF_node_from_xref(xref));
/freebsd-11-stable/contrib/openpam/misc/
H A Dgendoc.pl120 my %xref;
169 %xref = (
178 ++$xref{3}->{pam_strerror};
229 ++$xref{$sect}->{$page};
304 ++$xref{3}->{$1};
341 'xref' => \%xref,
417 my $xref = shift; # References
421 foreach my $sect (sort(keys(%{$xref}))) {
422 foreach my $page (sort(dictionary_order keys(%{$xref
[all...]
/freebsd-11-stable/sys/arm64/arm64/
H A Dgic_v3_fdt.c121 intptr_t xref; local
140 xref = OF_xref_from_node(ofw_bus_get_node(dev));
141 sc->gic_pic = intr_pic_register(dev, xref);
148 if (intr_pic_claim_root(dev, xref, arm_gic_v3_intr, sc,
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dtzic.c205 intptr_t xref; local
218 xref = OF_xref_from_node(ofw_bus_get_node(sc->dev));
219 pic = intr_pic_register(sc->dev, xref);
223 return (intr_pic_claim_root(sc->dev, xref, tzic_intr, sc, 0));
/freebsd-11-stable/sys/arm/arm/
H A Dpl190.c227 phandle_t xref; local
277 xref = OF_xref_from_node(ofw_bus_get_node(sc->dev));
278 pic = intr_pic_register(sc->dev, xref);
282 return (intr_pic_claim_root(sc->dev, xref, pl190_intc_intr, sc, 0));
H A Dgic.c617 intptr_t xref = gic_xref(dev); local
714 if (intr_pic_register(dev, xref) == NULL) {
725 if (pxref == 0 || xref == pxref) {
726 if (intr_pic_claim_root(dev, xref, arm_gic_intr, sc,
729 intr_pic_deregister(dev, xref);
736 intr_pic_deregister(dev, xref);
742 intr_pic_deregister(dev, xref);
747 OF_device_register_xref(xref, dev);
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_intr.c342 bcm_intc_pic_register(struct bcm_intc_softc *sc, intptr_t xref) argument
373 if (intr_pic_register(sc->sc_dev, xref) == NULL)
400 intptr_t xref; local
414 xref = OF_xref_from_node(ofw_bus_get_node(dev));
415 if (bcm_intc_pic_register(sc, xref) != 0) {
425 if (intr_pic_claim_root(dev, xref, bcm2835_intc_intr, sc, 0) != 0) {
/freebsd-11-stable/sys/arm/ti/
H A Daintc.c227 intptr_t xref; local
239 xref = OF_xref_from_node(ofw_bus_get_node(sc->sc_dev));
240 pic = intr_pic_register(sc->sc_dev, xref);
244 return (intr_pic_claim_root(sc->sc_dev, xref, ti_aintc_intr, sc, 0));
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_intr_v1.c168 intptr_t xref = pic_xref(dev); local
204 if (intr_pic_register(dev, xref) == NULL) {
212 intr_pic_deregister(dev, xref);
H A Dmtk_intr_v2.c163 intptr_t xref = pic_xref(dev); local
199 if (intr_pic_register(dev, xref) == NULL) {
207 intr_pic_deregister(dev, xref);
H A Dmtk_intr_gic.c171 intptr_t xref = gic_xref(dev); local
216 if (intr_pic_register(dev, xref) == NULL) {
/freebsd-11-stable/sys/arm/allwinner/
H A Daw_nmi.c328 phandle_t xref; local
357 xref = OF_xref_from_node(ofw_bus_get_node(dev));
366 if (intr_pic_register(dev, (intptr_t)xref) == NULL) {
/freebsd-11-stable/sys/mips/mips/
H A Dmips_pic.c196 intptr_t xref = pic_xref(dev); local
231 if (intr_pic_register(dev, xref) == NULL) {
237 if (intr_pic_claim_root(dev, xref, mips_pic_intr, sc, 0) != 0) {
239 intr_pic_deregister(dev, xref);
/freebsd-11-stable/sys/arm/allwinner/a10/
H A Da10_intc.c257 intptr_t xref; local
269 xref = OF_xref_from_node(ofw_bus_get_node(sc->sc_dev));
270 pic = intr_pic_register(sc->sc_dev, xref);
274 return (intr_pic_claim_root(sc->sc_dev, xref, a10_intr, sc, 0));
/freebsd-11-stable/sys/dev/gpio/
H A Dofw_gpiobus.c62 phandle_t xref; local
72 idx, &xref, &ncells, &cells);
77 pin.dev = OF_device_from_xref(xref);
91 rv = gpio_map_gpios(pin.dev, cnode, OF_node_from_xref(xref), ncells,
/freebsd-11-stable/sys/arm/nvidia/
H A Das3722_regulators.c94 phandle_t xref; member in struct:as3722_reg_sc
575 reg_sc->xref = OF_xref_from_node(node);
645 as3722_regulator_map(device_t dev, phandle_t xref, int ncells, argument
655 if (sc->regs[i]->xref == xref) {
/freebsd-11-stable/sys/dev/virtio/mmio/
H A Dvirtio_mmio.c270 phandle_t xref; local
278 if (OF_searchencprop(node, "platform", &xref,
279 sizeof(xref)) == -1) {
283 platform_node = OF_node_from_xref(xref);

Completed in 234 milliseconds

12