Searched refs:rid (Results 26 - 30 of 30) sorted by path

12

/haiku/src/libs/compat/freebsd_iflib/compat/net/
H A Diflib.h456 int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid,
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c733 static int iflib_legacy_setup(if_ctx_t ctx, driver_filter_t filter, void *filterarg, int *rid, const char *str);
1670 _iflib_irq_alloc(if_ctx_t ctx, if_irq_t irq, int rid, argument
1682 MPASS(rid < 512);
1683 i = rid;
1687 "failed to allocate IRQ for rid %d, name %s.\n", rid, name);
1696 "failed to setup interrupt for rid %d, name %s: %d\n",
1697 rid, name ? name : "unknown", rc);
5112 int err, msix, rid; local
5296 rid
6348 iflib_irq_alloc(if_ctx_t ctx, if_irq_t irq, int rid, driver_filter_t filter, void *filter_arg, driver_intr_t handler, void *arg, const char *name) argument
6382 iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, iflib_intr_type_t type, driver_filter_t *filter, void *filter_arg, int qid, const char *name) argument
6529 iflib_legacy_setup(if_ctx_t ctx, driver_filter_t filter, void *filter_arg, int *rid, const char *name) argument
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dbus.cpp167 bus_alloc_resource(device_t dev, int type, int *rid, unsigned long start, argument
178 "0x%" B_PRIx32 ")\n", type, *rid, start, end, count, flags);
186 if (*rid == 0) {
190 // msi or msi-x interrupt at index *rid - 1
193 res->r_bushandle = info->u.h0.interrupt_line + *rid - 1;
198 int bar_index = bus_register_to_bar_index(info, *rid);
218 bus_release_resource(device_t dev, int type, int rid, struct resource *res) argument
239 resourceSpec[i].type, &resourceSpec[i].rid, resourceSpec[i].flags);
264 bus_release_resource(dev, resourceSpec[i].type, resourceSpec[i].rid,
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbus.h44 int rid; member in struct:resource_spec
67 struct resource *bus_alloc_resource(device_t dev, int type, int *rid,
69 int bus_release_resource(device_t dev, int type, int rid, struct resource *r);
79 bus_alloc_resource_any(device_t dev, int type, int *rid, uint32 flags) argument
81 return bus_alloc_resource(dev, type, rid, 0, ~0, 1, flags);
85 bus_alloc_resource_anywhere(device_t dev, int type, int *rid, argument
88 return (bus_alloc_resource(dev, type, rid, 0, ~0, count, flags));
/haiku/src/libs/compat/openbsd_network/compat/dev/pci/
H A Dpcivar.h24 int rid; member in struct:__anon6
86 ihp->rid = 1;
94 ihp->rid = 1;
102 ihp->rid = 0;
110 struct resource* irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &ih.rid,
111 RF_ACTIVE | (ih.rid != 0 ? 0 : RF_SHAREABLE));

Completed in 92 milliseconds

12