Home
last modified time | relevance | path

Searched refs:num_sectors (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/usb/gadget/
A Dstorage_common.c279 loff_t num_sectors; member
568 static int fsg_lun_open(struct fsg_lun *curlun, unsigned int num_sectors, in fsg_lun_open() argument
577 curlun->file_length = num_sectors << 9; in fsg_lun_open()
578 curlun->num_sectors = num_sectors; in fsg_lun_open()
A Df_mass_storage.c718 if (lba >= curlun->num_sectors) { in do_read()
852 if (lba >= curlun->num_sectors) { in do_write()
1015 if (lba >= curlun->num_sectors) { in do_verify()
1180 put_unaligned_be32(curlun->num_sectors - 1, &buf[0]); in do_read_capacity()
1197 if (lba >= curlun->num_sectors) { in do_read_header()
1232 store_cdrom_address(&buf[16], msf, curlun->num_sectors); in do_read_toc()
1365 put_unaligned_be32(curlun->num_sectors, &buf[0]); in do_read_format_capacities()
2494 rc = fsg_lun_open(&common->luns[i], ums[i].num_sectors, ""); in fsg_common_init()
/u-boot/cmd/
A Dusb_mass_storage.c102 ums[ums_count].num_sectors = block_dev->lba; in ums_init()
105 ums[ums_count].num_sectors = info.size; in ums_init()
122 ums[ums_count].num_sectors); in ums_init()
/u-boot/include/
A Dusb_mass_storage.h23 unsigned int num_sectors; member
/u-boot/drivers/mtd/
A Daltera_qspi.c264 u32 num_sectors; in altera_qspi_lock() local
269 num_sectors = mtd->size / mtd->erasesize; in altera_qspi_lock()
273 if (sector_start >= num_sectors / 2) { in altera_qspi_lock()
274 sr_bp = fls(num_sectors - 1 - sector_start) + 1; in altera_qspi_lock()
276 } else if (sector_end < num_sectors / 2) { in altera_qspi_lock()

Completed in 10 milliseconds