Home
last modified time | relevance | path

Searched refs:drv_data (Results 1 – 16 of 16) sorted by relevance

/third_party/NuttX/drivers/bch/
Dbchdev_driver.c90 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_open()
121 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_close()
181 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_seek()
244 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_read()
267 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_write()
299 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_ioctl()
355 bop = (struct block_operations *)(((struct drv_data *)vnode->data)->ops); in bch_ioctl()
386 bch = (struct bchlib_s *)((struct drv_data *)vnode->data)->priv; in bch_unlink()
Dbchlib_setup.c74 struct drv_data *drv = (struct drv_data *)bch->vnode->data; in bchlib_setup()
/third_party/NuttX/drivers/video/
Dfb.c102 struct drv_data *drvData; in fb_mmap()
104 drvData = (struct drv_data *)filep->f_vnode->data; in fb_mmap()
139 struct drv_data *drvData; in fb_open()
141 drvData = (struct drv_data *)filep->f_vnode->data; in fb_open()
176 struct drv_data *drvData; in fb_close()
178 drvData = (struct drv_data *)filep->f_vnode->data; in fb_close()
210 struct drv_data *drvData; in fb_read()
215 drvData = (struct drv_data *)filep->f_vnode->data; in fb_read()
256 struct drv_data *drvData; in fb_write()
262 drvData = (struct drv_data *)filep->f_vnode->data; in fb_write()
[all …]
/third_party/NuttX/fs/driver/
Dfs_registerblockdriver.c80 struct drv_data *data = (struct drv_data *)zalloc(sizeof(struct drv_data)); in register_blockdriver()
Dfs_registerdriver.c84 struct drv_data *data = (struct drv_data *)zalloc(sizeof(struct drv_data)); in register_driver()
Dfs_openblockdriver.c96 struct drv_data* drv = (struct drv_data*)vnode_ptr->data; in open_blockdriver()
Dfs_findblockdriver.c84 struct block_operations *i_bops = (struct block_operations *)((struct drv_data *)vp->data)->ops; in find_blockdriver()
Dfs_closeblockdriver.c67 bop = (struct block_operations*)(((struct drv_data*)vnode_ptr->data)->ops); in close_blockdriver()
/third_party/NuttX/drivers/pipes/
Dpipe.c134 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipe_close()
162 struct pipe_dev_s *dev = ((struct drv_data *)vnode->data)->priv; in pipe_unlink()
216 struct drv_data *data = NULL; in UpdateDev()
226 data = (struct drv_data *)vnode->data; in UpdateDev()
Dpipe_common.c172 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipecommon_open()
281 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipecommon_close()
379 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipecommon_read()
540 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipecommon_write()
701 struct pipe_dev_s *dev = (struct pipe_dev_s *)((struct drv_data *)vnode->data)->priv; in pipecommon_poll()
794 dev = ((struct drv_data *)vnode->data)->priv; in pipecommon_unlink()
/third_party/FreeBSD/sys/dev/usb/serial/
Dusb_serial.c1356 struct drv_data *drvData = (struct drv_data *)filep->f_vnode->data; in tty_usb_open()
1375 struct drv_data *drvData = (struct drv_data *)filep->f_vnode->data; in tty_usb_close()
1389 struct drv_data *drvData = (struct drv_data *)filep->f_vnode->data; in tty_usb_read()
1448 struct drv_data *drvData = (struct drv_data *)filep->f_vnode->data; in tty_usb_write()
/third_party/NuttX/fs/vfs/include/
Ddriver.h80 struct drv_data struct
/third_party/NuttX/drivers/usbdev/gadget/
Dcdcacm.c311 struct drv_data *drv = (struct drv_data *)filep->f_vnode->data; in cdcuart_write()
611 struct drv_data *drv = (struct drv_data *)filep->f_vnode->data; in cdcacm_release_rxpending()
1683 struct drv_data *drv = (struct drv_data *)filep->f_vnode->data; in cdcuart_ioctl()
/third_party/NuttX/fs/mount/
Dfs_mount.c232 partition = (mtd_partition *)((struct drv_data *)device->data)->priv; in mount()
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c787 struct drv_data* drvData = (struct drv_data* )filep->f_vnode->data; in usb_open()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c3184 struct umass_softc *sc = (struct umass_softc *)((struct drv_data*)umass_inode->data)->priv; in umass_read()
3205 struct umass_softc *sc = (struct umass_softc *)((struct drv_data*)umass_inode->data)->priv; in umass_write()
3229 sc = (struct umass_softc *)(struct umass_softc *)((struct drv_data*)umass_inode->data)->priv; in umass_geometry()