Searched refs:softc (Results 1 – 10 of 10) sorted by relevance
/haiku/src/libs/compat/freebsd_network/ |
H A D | device.c | 263 return dev->softc; in device_get_softc() 268 device_set_softc(device_t dev, void *softc) in device_set_softc() argument 270 if (dev->softc == softc) in device_set_softc() 275 free(dev->softc); in device_set_softc() 278 dev->softc = softc; in device_set_softc() 279 if (dev->softc != NULL) in device_set_softc() 298 dev->softc = malloc(driver->size); in device_set_driver() 299 if (dev->softc == NULL) in device_set_driver() 302 memset(dev->softc, 0, driver->size); in device_set_driver() 461 free(parent->softc); in device_delete_child()
|
H A D | pci.cpp | 53 struct root_device_softc* root_softc = (struct root_device_softc*)device->root->softc; in get_device_pci_info() 149 = &((struct root_device_softc *)dev->root->softc)->pci_info; in pci_get_bus() 158 = &((struct root_device_softc *)dev->root->softc)->pci_info; in pci_get_slot() 274 ((struct root_device_softc *)dev->root->softc)->is_msi = true; in pci_alloc_msi() 285 ((struct root_device_softc *)dev->root->softc)->is_msi = false; in pci_release_msi() 286 ((struct root_device_softc *)dev->root->softc)->is_msix = false; in pci_release_msi() 327 ((struct root_device_softc *)dev->root->softc)->is_msix = true; in pci_alloc_msix()
|
H A D | driver.c | 67 root->softc = malloc(sizeof(struct root_device_softc)); in init_root_device() 68 if (root->softc == NULL) { in init_root_device() 73 bzero(root->softc, sizeof(struct root_device_softc)); in init_root_device() 81 ((struct root_device_softc*)root->softc)->bus = bus_type; in init_root_device() 326 struct root_device_softc* root_softc = (struct root_device_softc*)root->softc; in _fbsd_init_drivers()
|
H A D | shared.h | 33 void *softc; member
|
H A D | bus.cpp | 425 struct root_device_softc* root_softc = ((struct root_device_softc *)dev->root->softc); in bus_setup_intr() 462 struct root_device_softc *root = (struct root_device_softc *)dev->root->softc; in bus_teardown_intr()
|
H A D | fbsd_if.c | 647 if_setsoftc(if_t ifp, void *softc) in if_setsoftc() argument 649 ifp->if_softc = softc; in if_setsoftc()
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | bus.h | 104 void device_set_softc(device_t dev, void *softc);
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_haiku.cpp | 58 void* softc = device_get_softc(device); in get_ifnet() local 61 if (gDevices[i] != NULL && gDevices[i]->if_softc == softc) in get_ifnet()
|
/haiku/src/libs/compat/freebsd_iflib/compat/net/ |
H A D | iflib.h | 457 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 D | if_var.h | 792 int if_setsoftc(if_t ifp, void *softc); 795 void if_setllsoftc(if_t ifp, void *softc);
|