Home
last modified time | relevance | path

Searched refs:rt_device_register (Results 1 – 25 of 60) sorted by relevance

123

/components/drivers/misc/
A Drt_random.c96 rt_device_register(&random_dev, "random", RT_DEVICE_FLAG_RDWR); in random_device_init()
187 rt_device_register(&urandom_dev, "urandom", RT_DEVICE_FLAG_RDWR); in urandom_device_init()
A Drt_null.c67 rt_device_register(&null_dev, "null", RT_DEVICE_FLAG_RDWR); in null_device_init()
A Drt_zero.c68 rt_device_register(&zero_dev, "zero", RT_DEVICE_FLAG_RDWR); in zero_device_init()
A Dpulse_encoder.c134 return rt_device_register(device, name, RT_DEVICE_FLAG_RDONLY | RT_DEVICE_FLAG_STANDALONE); in rt_device_pulse_encoder_register()
A Drt_inputcapture.c167 return rt_device_register(device, name, RT_DEVICE_FLAG_RDONLY | RT_DEVICE_FLAG_STANDALONE); in rt_device_inputcapture_register()
A Ddac.c101 result = rt_device_register(&device->parent, name, RT_DEVICE_FLAG_RDWR); in rt_hw_dac_register()
/components/drivers/spi/
A Ddev_spi.c84 return rt_device_register(device, name, RT_DEVICE_FLAG_RDWR); in rt_spi_bus_device_init()
164 return rt_device_register(device, name, RT_DEVICE_FLAG_RDWR); in rt_spidev_device_init()
/components/dfs/dfs_v2/filesystems/ptyfs/
A DREADME.md3 The device register on ptyfs is also registered in device frameworks with `rt_device_register()`.
/components/lwp/terminal/
A Dtty_ctty.c91 rc = rt_device_register(ctty, tty_name, RT_DEVICE_FLAG_DYNAMIC); in lwp_ctty_register()
A Dtty_ptmx.c294 rt_device_register(ptmx_device, device_name, 0); in lwp_ptmx_init()
334 rc = rt_device_register(sysptmx_rtdev, "ptmx", RT_DEVICE_FLAG_DYNAMIC); in _sys_ptmx_init()
A Dtty_cons.c119 rc = rt_device_register(&_cons_rtdev, "console", RT_DEVICE_FLAG_DYNAMIC); in _cons_init()
/components/drivers/watchdog/
A Ddev_watchdog.c109 return rt_device_register(device, name, flag); in rt_hw_watchdog_register()
/components/drivers/mtd/
A Dmtd_nor.c91 return rt_device_register(dev, name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STANDALONE); in rt_mtd_nor_register_device()
/components/drivers/core/
A Ddevice.c67 rt_err_t rt_device_register(rt_device_t dev, in rt_device_register() function
93 RTM_EXPORT(rt_device_register);
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbd_adb_shell.c121 ret = rt_device_register(device, "adb-sh", RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_REMOVABLE); in usbd_adb_shell_init()
A Dusbh_dfs.c171rt_device_register(dev, name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_REMOVABLE | RT_DEVICE_FLAG_STAN… in usbh_msc_run()
/components/drivers/i2c/
A Ddev_i2c_dev.c134 rt_device_register(device, name, RT_DEVICE_FLAG_RDWR); in rt_i2c_bus_device_device_init()
/components/legacy/usb/usbhost/class/
A Dudisk.c342 rt_device_register(&stor->dev[i], dname, RT_DEVICE_FLAG_RDWR | in rt_udisk_run()
389 rt_device_register(&stor->dev[0], dname, in rt_udisk_run()
/components/drivers/hwcrypto/
A Dhwcrypto.c252 err = rt_device_register(&device->parent, name, RT_DEVICE_FLAG_RDWR); in rt_hwcrypto_register()
/components/drivers/touch/
A Ddev_touch.c242 result = rt_device_register(device, name, flag | RT_DEVICE_FLAG_STANDALONE); in rt_hw_touch_register()
/components/drivers/audio/
A Ddev_audio_pipe.c297 return rt_device_register(&(pipe->parent), name, RT_DEVICE_FLAG_RDWR); in rt_audio_pipe_init()
/components/drivers/virtio/
A Dvirtio_blk.c243 …return rt_device_register((rt_device_t)virtio_blk_dev, dev_name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_F… in rt_virtio_blk_init()
/components/vbus/
A Dvbus_chnx.c265 rt_device_register(&_devx[i], p->req.name, RT_DEVICE_FLAG_RDWR); in rt_vbus_chnx_init()
/components/drivers/rtc/
A Ddev_soft_rtc.c247 rt_device_register(&soft_rtc_dev, "rtc", RT_DEVICE_FLAG_RDWR); in rt_soft_rtc_init()
/components/drivers/block/
A Dblk_dev.c220 err = rt_device_register(&blk->parent, to_blk_name(blk), in disk_add_blk_dev()

Completed in 24 milliseconds

123