Home
last modified time | relevance | path

Searched refs:BB_LEN (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/spi/
Dspi-tegra.c141 #define BB_LEN 32 macro
205 unsigned len = min(t->len - tspi->cur_pos, BB_LEN * in spi_tegra_fill_tx_fifo()
532 tspi->rx_bb = dma_alloc_coherent(&pdev->dev, sizeof(u32) * BB_LEN, in spi_tegra_probe()
559 dma_free_coherent(&pdev->dev, sizeof(u32) * BB_LEN, in spi_tegra_probe()
586 dma_free_coherent(&pdev->dev, sizeof(u32) * BB_LEN, in spi_tegra_remove()
/linux-3.4.99/drivers/md/
Dmd.h176 #define BB_LEN(x) (((x) & BB_LEN_MASK) + 1) macro
Dmd.c1814 | BB_LEN(internal_bb)); in super_1_sync()
7763 BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > s) { in md_is_badblock()
7773 *bad_sectors = BB_LEN(p[lo]); in md_is_badblock()
7835 sector_t e = a + BB_LEN(p[lo]); in md_set_badblocks()
7854 if (BB_LEN(p[lo]) != BB_MAX_LEN) in md_set_badblocks()
7865 sector_t e = a + BB_LEN(p[hi]); in md_set_badblocks()
7893 int lolen = BB_LEN(p[lo]); in md_set_badblocks()
7894 int hilen = BB_LEN(p[hi]); in md_set_badblocks()
7994 if (BB_OFFSET(p[lo]) + BB_LEN(p[lo]) > target) { in md_clear_badblocks()
7998 sector_t end = a + BB_LEN(p[lo]); in md_clear_badblocks()
[all …]