Home
last modified time | relevance | path

Searched refs:softc (Results 1 – 6 of 6) sorted by relevance

/third_party/FreeBSD/sys/kern/
Dsubr_bus.c107 void *softc; /**< current driver's variables */ member
1045 return (dev->softc); in device_get_softc()
1055 device_set_softc(device_t dev, void *softc) in device_set_softc() argument
1057 if (dev->softc && !(dev->flags & DF_EXTERNALSOFTC)) in device_set_softc()
1058 bsd_free(dev->softc, M_BUS_SC); in device_set_softc()
1059 dev->softc = softc; in device_set_softc()
1060 if (dev->softc) in device_set_softc()
1073 device_free_softc(void *softc) in device_free_softc() argument
1075 bsd_free(softc, M_BUS_SC); in device_free_softc()
1089 if (dev->softc) in device_claim_softc()
[all …]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_config.h61 int fconfig_do_composite_initialize(struct composite_softc *softc, uint8_t ndevices,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Df_config.c428 int fconfig_do_composite_initialize(struct composite_softc *softc, uint8_t ndevices, in fconfig_do_composite_initialize() argument
431 struct composite_driver_s *drvr = &softc->drvr; in fconfig_do_composite_initialize()
434 ret = composite_initialize(softc, ndevices, pdevices); in fconfig_do_composite_initialize()
/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite.h171 extern int composite_initialize(struct composite_softc *softc, uint8_t ndevices,
Dcomposite.c811 int composite_initialize(struct composite_softc *softc, uint8_t ndevices, in composite_initialize() argument
821 priv = &softc->dev; in composite_initialize()
822 drvr = &softc->drvr; in composite_initialize()
/third_party/FreeBSD/sys/sys/
Dbus.h332 void device_set_softc(device_t dev, void *softc);
333 void device_free_softc(void *softc);