Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/kern/
H A Dsubr_bus.c106 void *softc; /**< current driver's variables */ member
713 * @brief Find the softc field of a device given a unit number
718 * @returns the softc field of the device with the given
1036 * @brief Return the device's softc field
1038 * The softc is allocated and zeroed when a driver is attached, based
1044 return (dev->softc); in device_get_softc()
1048 * @brief Set the device's softc field
1050 * Most drivers do not need to use this since the softc is allocated
1054 device_set_softc(device_t dev, void *softc) in device_set_softc() argument
1056 if (dev->softc in device_set_softc()
1072 device_free_softc(void *softc) device_free_softc() argument
[all...]
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
H A Df_config.h61 int fconfig_do_composite_initialize(struct composite_softc *softc, uint8_t ndevices,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A 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/
H A Dcomposite.h171 extern int composite_initialize(struct composite_softc *softc, uint8_t ndevices,
H A 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/
H A Dbus.h79 #define DF_EXTERNALSOFTC 0x40 /* softc not allocated by us */
334 void device_set_softc(device_t dev, void *softc);
335 void device_free_softc(void *softc);

Completed in 7 milliseconds