Home
last modified time | relevance | path

Searched refs:disk_id (Results 1 – 10 of 10) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage_ram.c157 int32_t disk_id; in ram_mass_storage_init() local
201 disk_id = los_alloc_diskid_byname(RAM_DEV_NAME); in ram_mass_storage_init()
202 OsSetUsbStatus((uint32_t)disk_id); in ram_mass_storage_init()
203 ret = los_disk_init(RAM_DEV_NAME, &g_ram_dev_ops, (void *)sc, disk_id, NULL); in ram_mass_storage_init()
222 int32_t disk_id; in ram_mass_storage_deinit() local
241 disk_id = los_get_diskid_byname(RAM_DEV_NAME); in ram_mass_storage_deinit()
242 (void)los_disk_deinit(disk_id); in ram_mass_storage_deinit()
243 OsClearUsbStatus((uint32_t)disk_id); in ram_mass_storage_deinit()
/third_party/python/Tools/msi/
Dcsv_to_wxs.py52 for source, target, group, disk_id, condition in files:
54 groups[group].append((source, target, disk_id, condition))
84 for source, target, disk_id, condition in groups[group]:
89 if disk_id:
90 …d="{}" Name="{}" Source="{}" DiskId="{}" />'.format(make_id(target), target.name, source, disk_id))
/third_party/NuttX/drivers/bch/
Dbchlib_cache.c61 ret = los_disk_write(bch->disk->disk_id, (const void *)bch->buffer, bch->sector, 1); in bchlib_flushsector()
101 ret = los_disk_read(bch->disk->disk_id, (void *)bch->buffer, sector, 1, TRUE); in bchlib_readsector()
Dbchlib_setup.c115 bch->disk = get_disk(part->disk_id); in bchlib_setup()
Dbchlib_read.c147 … ret = los_disk_read(bch->disk->disk_id, (void *)buffer, sector + bch->sectstart, nsectors, TRUE); in bchlib_read()
Dbchlib_write.c132 ret = los_disk_write(bch->disk->disk_id, (const void *)buffer, in bchlib_write()
/third_party/NuttX/fs/driver/
Dfs_closeblockdriver.c88 disk = get_disk(part->disk_id); in close_blockdriver()
Dfs_openblockdriver.c102 disk = get_disk(part->disk_id); in open_blockdriver()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c3306 int disk_id; in umass_attach_dev_sub() local
3329 disk_id = los_alloc_diskid_byname(devname); in umass_attach_dev_sub()
3330 OsSetUsbStatus(disk_id); in umass_attach_dev_sub()
3331 ret = los_disk_init(devname, &g_dev_umass_ops, (void *)sc, disk_id, NULL); in umass_attach_dev_sub()
3366 int disk_id; in umass_detach_dev_sub() local
3398 disk_id = los_get_diskid_byname(devname); in umass_detach_dev_sub()
3399 (void)los_disk_deinit(disk_id); in umass_detach_dev_sub()
3400 (void)OsClearUsbStatus(disk_id); in umass_detach_dev_sub()
/third_party/FatFs/source/
Dff.c3209 if (disk_raw_read(part->disk_id, fs->win, bsect + offset, 1) != RES_OK) { in find_fat_partition()
6041 if (disk_raw_read(partition->disk_id, buf, extended_base, 1) != RES_OK) {
6049 if (disk_raw_read(partition->disk_id, buf, extended_base + extended_offset, 1) != RES_OK) {
6291 if (disk_raw_write(partition->disk_id, multi_buf, n, 1) != RES_OK) {
6298 if (disk_raw_read(partition->disk_id, multi_buf, b_vol, 1) != RES_OK) {
6304 if (disk_raw_write(partition->disk_id, multi_buf, b_vol, 1) != RES_OK) {