Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 33) sorted by relevance

12

/components/drivers/i2c/
A Ddev_i2c_bus.c75 rt_err_t rt_i2c_driver_register(struct rt_i2c_driver *driver) in rt_i2c_driver_register() argument
77 RT_ASSERT(driver != RT_NULL); in rt_i2c_driver_register()
79 driver->parent.bus = &i2c_bus; in rt_i2c_driver_register()
81 return rt_driver_register(&driver->parent); in rt_i2c_driver_register()
97 if ((id = driver->ids)) in i2c_match()
112 client->ofw_id = rt_ofw_node_match(client->parent.ofw_node, driver->ofw_ids); in i2c_match()
136 err = driver->probe(client); in i2c_probe()
146 if (driver && driver->remove) in i2c_remove()
148 driver->remove(client); in i2c_remove()
159 if (driver && driver->shutdown) in i2c_shutdown()
[all …]
/components/drivers/spi/
A Ddev_spi_bus.c78 rt_err_t rt_spi_driver_register(struct rt_spi_driver *driver) in rt_spi_driver_register() argument
80 RT_ASSERT(driver != RT_NULL); in rt_spi_driver_register()
82 driver->parent.bus = &spi_bus; in rt_spi_driver_register()
84 return rt_driver_register(&driver->parent); in rt_spi_driver_register()
100 if ((id = driver->ids)) in spi_match()
115 device->ofw_id = rt_ofw_node_match(device->parent.ofw_node, driver->ofw_ids); in spi_match()
140 err = driver->probe(device); in spi_probe()
174 if (driver && driver->remove) in spi_remove()
176 driver->remove(device); in spi_remove()
188 if (driver && driver->shutdown) in spi_shutdown()
[all …]
A DKconfig192 bool "Using SD/TF card driver with spi"
200 An using JEDEC's SFDP standard serial (SPI) flash universal driver library
/components/drivers/usb/cherryusb/
A DKconfig297 prompt "Enable usb cdc acm driver"
302 prompt "Enable usb hid driver"
307 prompt "Enable usb msc driver"
312 prompt "Enable usb cdc ecm driver"
318 prompt "Enable usb rndis driver"
345 prompt "Enable usb asix driver"
357 prompt "Enable usb ftdi driver"
362 prompt "Enable usb ch34x driver"
367 prompt "Enable usb cp210x driver"
372 prompt "Enable usb pl2303 driver"
[all …]
A DKconfig.rtt314 prompt "Enable usb cdc acm driver"
319 prompt "Enable usb hid driver"
324 prompt "Enable usb msc driver"
331 prompt "Enable usb cdc ecm driver"
338 prompt "Enable usb rndis driver"
345 prompt "Enable usb cdc ncm driver"
367 prompt "Enable usb asix driver"
381 prompt "Enable usb ftdi driver"
386 prompt "Enable usb ch34x driver"
391 prompt "Enable usb cp210x driver"
[all …]
A DKconfig.rttpkg313 prompt "Enable usb cdc acm driver"
318 prompt "Enable usb hid driver"
323 prompt "Enable usb msc driver"
330 prompt "Enable usb cdc ecm driver"
337 prompt "Enable usb rndis driver"
344 prompt "Enable usb cdc ncm driver"
366 prompt "Enable usb asix driver"
380 prompt "Enable usb ftdi driver"
385 prompt "Enable usb ch34x driver"
390 prompt "Enable usb cp210x driver"
[all …]
A DREADME.md19 In order to make it easier for users to learn USB basics, enumeration, driver loading and IP driver…
31 …ve, the user does not need to care about the USB packetization process (the porting driver does it)
47 |class | usb class driver |
97 …nd a standard interface for different Classes to indicate what the Class driver needs to do after …
214 - [YOC](https://www.xrvm.cn/document?temp=usb-host-protocol-stack-device-driver-adaptation-instruct…
/components/drivers/include/drivers/core/
A Ddriver.h46 #define RT_DRIVER_EXPORT(driver, bus_name, mode) \ argument
47 static int ___##driver##_register(void) \
49 rt_##bus_name##_driver_register(&driver); \
52 INIT_DEVICE_EXPORT(___##driver##_register); \
/components/drivers/usb/cherryusb/port/pusb2/
A DREADME.md58 - The driver functionality of PUSB2 is provided as static libraries:
59 - - `libpusb2_hc_a64.a` : Host mode driver library for AARCH64
60 - - `libpusb2_dc_a64.a` : Device mode driver library for AARCH64
61 - - `libpusb2_hc_a32_hardfp.a` : Host mode driver library for AARCH32, using hard floating point
62 - - `libpusb2_hc_a32_softfp.a` : Host mode driver library for AARCH32, using soft floating point
63 - - `libpusb2_dc_a32_hardfp.a` : Device mode driver library for AARCH32, using hard floating point
64 - - `libpusb2_dc_a32_softfp.a` : Device mode driver library for AARCH32, using soft floating point
/components/drivers/core/
A DKconfig2 bool "Enable device driver model with device tree"
5 Enable device driver model with device tree (FDT). It will use more memory
A DSConscript11 src = src + ['dm.c', 'driver.c', 'numa.c', 'platform.c', 'power_domain.c']
/components/drivers/include/drivers/
A Dplatform.h51 #define RT_PLATFORM_DRIVER_EXPORT(driver) RT_DRIVER_EXPORT(driver, platform, BUILIN) argument
A Ddev_i2c.h285 rt_err_t rt_i2c_driver_register(struct rt_i2c_driver *driver);
288 #define RT_I2C_DRIVER_EXPORT(driver) RT_DRIVER_EXPORT(driver, i2c, BUILIN) argument
A Ddev_spi.h312 rt_err_t rt_spi_driver_register(struct rt_spi_driver *driver);
315 #define RT_SPI_DRIVER_EXPORT(driver) RT_DRIVER_EXPORT(driver, spi, BUILIN) argument
A Ddev_sdio.h222 rt_int32_t sdio_register_driver(struct rt_sdio_driver *driver);
223 rt_int32_t sdio_unregister_driver(struct rt_sdio_driver *driver);
/components/drivers/usb/cherryusb/platform/lvgl/
A Dusbh_hid_lvgl.c176 …if ((indev_drv->disp->driver->rotated == LV_DISP_ROT_NONE) || (indev_drv->disp->driver->rotated ==… in hpm_lvgl_indev_read_cb()
177 width = indev_drv->disp->driver->hor_res; in hpm_lvgl_indev_read_cb()
178 height = indev_drv->disp->driver->ver_res; in hpm_lvgl_indev_read_cb()
180 width = indev_drv->disp->driver->ver_res; in hpm_lvgl_indev_read_cb()
181 height = indev_drv->disp->driver->hor_res; in hpm_lvgl_indev_read_cb()
198 switch (indev_drv->disp->driver->rotated) { in hpm_lvgl_indev_read_cb()
256 ver_res = disp->driver->hor_res; in usbh_hid_lvgl_add_mouse()
257 hor_res = disp->driver->ver_res; in usbh_hid_lvgl_add_mouse()
/components/dfs/dfs_v2/filesystems/procfs/
A Dproc_tty.c58 void proc_tty_register_driver(void *driver) in proc_tty_register_driver() argument
63 void proc_tty_unregister_driver(void *driver) in proc_tty_unregister_driver() argument
/components/net/lwip/lwip-1.4.1/src/netif/
A DFILES13 An example of how an Ethernet device driver could look. This
18 A "loopback" network interface driver. It requires configuration
/components/drivers/usb/cherryusb/port/ohci/
A DREADME.md5 **And you need to pay for using OHCI driver**.
/components/drivers/sdio/
A Ddev_sdio.c1344 rt_int32_t sdio_register_driver(struct rt_sdio_driver *driver) in sdio_register_driver() argument
1357 sd->drv = driver; in sdio_register_driver()
1362 card = sdio_match_driver(driver->id); in sdio_register_driver()
1365 return driver->probe(card); in sdio_register_driver()
1372 rt_int32_t sdio_unregister_driver(struct rt_sdio_driver *driver) in sdio_unregister_driver() argument
1381 if (sd->drv != driver) in sdio_unregister_driver()
1389 LOG_E("SDIO driver %s not register", driver->name); in sdio_unregister_driver()
1395 card = sdio_match_driver(driver->id); in sdio_unregister_driver()
1398 driver->remove(card); in sdio_unregister_driver()
/components/legacy/usb/usbhost/
A DSConscript7 core/driver.c
/components/net/lwip/lwip-2.0.3/src/netif/
A DFILES9 An example of how an Ethernet device driver could look. This
/components/dfs/dfs_v1/filesystems/elmfat/
A Ddfs_elm.c303 char driver[4]; in dfs_elm_statfs() local
311 rt_snprintf(driver, sizeof(driver), "%d:", f->pdrv); in dfs_elm_statfs()
312 res = f_getfree(driver, &fre_clust, &f); in dfs_elm_statfs()
/components/dfs/dfs_v2/filesystems/elmfat/
A Ddfs_elm.c342 char driver[4]; in dfs_elm_statfs() local
350 rt_snprintf(driver, sizeof(driver), "%d:", f->pdrv); in dfs_elm_statfs()
351 res = f_getfree(driver, &fre_clust, &f); in dfs_elm_statfs()
/components/drivers/usb/cherryusb/port/xhci/phytium/
A DREADME.md63 - This XHCI driver functionality is provided as a static library and is only available for Phytium …

Completed in 30 milliseconds

12