Searched refs:erase_sector (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 121 u_int erase_sector; /* Device native erase sector size [blocks] */ member 291 sc->erase_sector = 1; in mmcsd_attach() 293 sc->erase_sector = mmc_get_erase_sector(dev); in mmcsd_attach() 541 d->d_stripesize = sc->erase_sector * d->d_sectorsize; in mmcsd_add_part() 1244 u_int erase_sector, sz; in mmcsd_delete() local 1266 erase_sector = sc->erase_sector; in mmcsd_delete() 1267 start = block + erase_sector - 1; /* Round up. */ in mmcsd_delete() 1268 start -= start % erase_sector; in mmcsd_delete() 1270 stop -= end % erase_sector; in mmcsd_delete()
|
H A D | mmcvar.h | 93 MMC_ACCESSOR(erase_sector, ERASE_SECTOR, int)
|
H A D | mmc.c | 105 uint32_t erase_sector; /* Card native erase sector size */ member 1213 csd->erase_sector = mmc_get_bits(raw_csd, 128, 39, 7) + 1; in mmc_decode_csd_sd() 1237 csd->erase_sector = mmc_get_bits(raw_csd, 128, 39, 7) + 1; in mmc_decode_csd_sd() 1278 csd->erase_sector = (mmc_get_bits(raw_csd, 128, 42, 5) + 1) * in mmc_decode_csd_mmc() 1577 ivar->sec_count, ivar->erase_sector, in mmc_log_card() 1666 ivar->erase_sector = ivar->csd.erase_sector * in mmc_discover_cards() 1728 ivar->erase_sector = in mmc_discover_cards() 1760 ivar->erase_sector = ivar->csd.erase_sector * in mmc_discover_cards() [all...] |
H A D | mmcreg.h | 678 uint32_t erase_sector; member
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 303 csd->erase_sector = mmc_get_bits(raw_csd, 128, 39, 7) + 1; in mmc_decode_csd_sd() 355 csd->erase_sector = (mmc_get_bits(raw_csd, 128, 42, 5) + 1) * in mmc_decode_csd_mmc()
|