Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/tests/
Dmtd_torturetest.c313 void *patt; in tort_init() local
345 patt = patt_5A5; in tort_init()
347 patt = patt_A5A; in tort_init()
348 err = write_pattern(i, patt); in tort_init()
360 patt = patt_5A5; in tort_init()
362 patt = patt_A5A; in tort_init()
363 err = check_eraseblock(i, patt); in tort_init()
/linux-3.4.99/drivers/mtd/ubi/
Dmisc.c116 int ubi_check_pattern(const void *buf, uint8_t patt, int size) in ubi_check_pattern() argument
121 if (((const uint8_t *)buf)[i] != patt) in ubi_check_pattern()
Dubi.h520 int ubi_check_pattern(const void *buf, uint8_t patt, int size);
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_bios.c2163 uint32_t patt = 0xdeadbeef; in nv04_init_compute_mem() local
2183 poke_fb(dev, fb, 4 * i, patt); in nv04_init_compute_mem()
2185 poke_fb(dev, fb, 0x400000, patt + 1); in nv04_init_compute_mem()
2187 if (peek_fb(dev, fb, 0) == patt + 1) { in nv04_init_compute_mem()
2194 poke_fb(dev, fb, 4 * i, patt); in nv04_init_compute_mem()
2196 if ((peek_fb(dev, fb, 0xc) & 0xffff) != (patt & 0xffff)) in nv04_init_compute_mem()
2203 (patt & 0xffff0000)) { in nv04_init_compute_mem()
2209 } else if (peek_fb(dev, fb, 0) != patt) { in nv04_init_compute_mem()
2210 if (read_back_fb(dev, fb, 0x800000, patt)) in nv04_init_compute_mem()
2222 } else if (!read_back_fb(dev, fb, 0x800000, patt)) { in nv04_init_compute_mem()
[all …]
/linux-3.4.99/drivers/mtd/
Dmtdswap.c927 unsigned int test, i, j, patt, mtd_pages; in mtdswap_eblk_passes() local
946 patt = mtdswap_test_patt(test + i); in mtdswap_eblk_passes()
947 memset(d->page_buf, patt, mtd->writesize); in mtdswap_eblk_passes()
948 memset(d->oob_buf, patt, mtd->ecclayout->oobavail); in mtdswap_eblk_passes()
962 patt = mtdswap_test_patt(test + i); in mtdswap_eblk_passes()
964 if (p1[j] != patt) in mtdswap_eblk_passes()
968 if (p2[j] != (unsigned char)patt) in mtdswap_eblk_passes()