Searched refs:softc (Results 1 - 10 of 10) sorted by relevance

/haiku/src/libs/compat/freebsd_network/
H A Dpci.cpp53 struct root_device_softc* root_softc = (struct root_device_softc*)device->root->softc;
149 = &((struct root_device_softc *)dev->root->softc)->pci_info;
158 = &((struct root_device_softc *)dev->root->softc)->pci_info;
274 ((struct root_device_softc *)dev->root->softc)->is_msi = true;
285 ((struct root_device_softc *)dev->root->softc)->is_msi = false;
286 ((struct root_device_softc *)dev->root->softc)->is_msix = false;
327 ((struct root_device_softc *)dev->root->softc)->is_msix = true;
H A Ddevice.c263 return dev->softc;
268 device_set_softc(device_t dev, void *softc) argument
270 if (dev->softc == softc)
275 free(dev->softc);
278 dev->softc = softc;
279 if (dev->softc != NULL)
298 dev->softc = malloc(driver->size);
299 if (dev->softc
[all...]
H A Dshared.h33 void *softc; member in struct:device
H A Ddriver.c67 root->softc = malloc(sizeof(struct root_device_softc));
68 if (root->softc == NULL) {
73 bzero(root->softc, sizeof(struct root_device_softc));
81 ((struct root_device_softc*)root->softc)->bus = bus_type;
326 struct root_device_softc* root_softc = (struct root_device_softc*)root->softc;
338 // (i.e. they set driver softc in probe(), etc.)
H A Dbus.cpp425 struct root_device_softc* root_softc = ((struct root_device_softc *)dev->root->softc);
462 struct root_device_softc *root = (struct root_device_softc *)dev->root->softc;
H A Dif.c1136 if_setsoftc(if_t ifp, void *softc) argument
1138 ((struct ifnet *)ifp)->if_softc = softc;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbus.h104 void device_set_softc(device_t dev, void *softc);
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_haiku.cpp58 void* softc = device_get_softc(device); local
61 if (gDevices[i] != NULL && gDevices[i]->if_softc == softc)
/haiku/src/libs/compat/freebsd_iflib/compat/net/
H A Diflib.h81 if_t iri_ifp; /* driver may have >1 iface per softc */
143 if_ctx_t iidi_ctx; /* Back-pointer to the iflib ctx (softc) */
452 int iflib_device_register(device_t dev, void *softc, if_shared_ctx_t sctx, if_ctx_t *ctxp);
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif_var.h795 int if_setsoftc(if_t ifp, void *softc);

Completed in 87 milliseconds