/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv10.c | 39 uint32_t patt = 0xdeadbeef; in nv10_devinit_meminit() local 65 fbmem_poke(fb, 0x1c, patt); in nv10_devinit_meminit() 68 if (fbmem_peek(fb, 0x1c) == patt) in nv10_devinit_meminit() 74 patt <<= 1; in nv10_devinit_meminit() 80 fbmem_poke(fb, off, patt); in nv10_devinit_meminit() 88 if (fbmem_peek(fb, off) == patt) in nv10_devinit_meminit()
|
D | nv05.c | 51 u32 patt = 0xdeadbeef; in nv05_devinit_meminit() local 99 fbmem_poke(fb, 4 * i, patt); in nv05_devinit_meminit() 101 if (fbmem_peek(fb, 0xc) != patt) in nv05_devinit_meminit() 109 (!fbmem_readback(fb, 0x1000000, ++patt) || in nv05_devinit_meminit() 110 !fbmem_readback(fb, 0, ++patt))) in nv05_devinit_meminit() 115 !fbmem_readback(fb, 0x800000, ++patt)) in nv05_devinit_meminit() 119 if (!fbmem_readback(fb, 0x400000, ++patt)) in nv05_devinit_meminit()
|
D | nv04.c | 40 u32 patt = 0xdeadbeef; in nv04_devinit_meminit() local 61 fbmem_poke(fb, 4 * i, patt); in nv04_devinit_meminit() 63 fbmem_poke(fb, 0x400000, patt + 1); in nv04_devinit_meminit() 65 if (fbmem_peek(fb, 0) == patt + 1) { in nv04_devinit_meminit() 73 fbmem_poke(fb, 4 * i, patt); in nv04_devinit_meminit() 75 if ((fbmem_peek(fb, 0xc) & 0xffff) != (patt & 0xffff)) in nv04_devinit_meminit() 81 if ((fbmem_peek(fb, 0xc) & 0xffff0000) != (patt & 0xffff0000)) { in nv04_devinit_meminit() 87 if (fbmem_peek(fb, 0) != patt) { in nv04_devinit_meminit() 88 if (fbmem_readback(fb, 0x800000, patt)) in nv04_devinit_meminit() 100 if (!fbmem_readback(fb, 0x800000, patt)) { in nv04_devinit_meminit()
|
/linux-6.1.9/drivers/mtd/tests/ |
D | torturetest.c | 252 void *patt; in tort_init() local 281 patt = patt_5A5; in tort_init() 283 patt = patt_A5A; in tort_init() 284 err = write_pattern(i, patt); in tort_init() 299 patt = patt_5A5; in tort_init() 301 patt = patt_A5A; in tort_init() 302 err = check_eraseblock(i, patt); in tort_init()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | misc.c | 134 int ubi_check_pattern(const void *buf, uint8_t patt, int size) in ubi_check_pattern() argument 139 if (((const uint8_t *)buf)[i] != patt) in ubi_check_pattern()
|
D | ubi.h | 867 int ubi_check_pattern(const void *buf, uint8_t patt, int size);
|
/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 188 NULL, 0, &nfbdev->patt); in nv04_fbcon_accel_init() 219 PUSH_NVSQ(push, NV044, 0x0000, nfbdev->patt.handle); in nv04_fbcon_accel_init() 248 PUSH_NVSQ(push, NV04A, 0x0188, nfbdev->patt.handle, in nv04_fbcon_accel_init()
|
D | nouveau_fbcon.h | 42 struct nvif_object patt; member
|
D | nouveau_fbcon.c | 263 nvif_object_dtor(&fbcon->patt); in nouveau_fbcon_accel_fini()
|
/linux-6.1.9/drivers/mtd/ |
D | mtdswap.c | 877 unsigned int test, i, j, patt, mtd_pages; in mtdswap_eblk_passes() local 896 patt = mtdswap_test_patt(test + i); in mtdswap_eblk_passes() 897 memset(d->page_buf, patt, mtd->writesize); in mtdswap_eblk_passes() 898 memset(d->oob_buf, patt, mtd->oobavail); in mtdswap_eblk_passes() 912 patt = mtdswap_test_patt(test + i); in mtdswap_eblk_passes() 914 if (p1[j] != patt) in mtdswap_eblk_passes() 918 if (p2[j] != (unsigned char)patt) in mtdswap_eblk_passes()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 286 u32 pmem, patt; in stm32_fmc2_nfc_timings_init() local 302 patt = FIELD_PREP(FMC2_PATT_ATTSET, timings->tset_att); in stm32_fmc2_nfc_timings_init() 303 patt |= FIELD_PREP(FMC2_PATT_ATTWAIT, timings->twait); in stm32_fmc2_nfc_timings_init() 304 patt |= FIELD_PREP(FMC2_PATT_ATTHOLD, timings->thold_att); in stm32_fmc2_nfc_timings_init() 305 patt |= FIELD_PREP(FMC2_PATT_ATTHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init() 306 regmap_write(nfc->regmap, FMC2_PATT, patt); in stm32_fmc2_nfc_timings_init()
|