Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ !
Dnv10.c39 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()
Dnv05.c51 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()
Dnv04.c40 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-5.19.10/drivers/mtd/tests/ !
Dtorturetest.c252 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-5.19.10/drivers/mtd/ubi/ !
Dmisc.c134 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()
Dubi.h867 int ubi_check_pattern(const void *buf, uint8_t patt, int size);
/linux-5.19.10/drivers/gpu/drm/nouveau/ !
Dnv04_fbcon.c188 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()
Dnouveau_fbcon.h42 struct nvif_object patt; member
Dnouveau_fbcon.c262 nvif_object_dtor(&fbcon->patt); in nouveau_fbcon_accel_fini()
/linux-5.19.10/drivers/mtd/ !
Dmtdswap.c877 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-5.19.10/drivers/mtd/nand/raw/ !
Dstm32_fmc2_nand.c286 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()