/drivers/mtd/tests/ |
D | subpagetest.c | 41 static unsigned char *readbuf; variable 137 clear_data(readbuf, subpgsize); in verify_eraseblock() 138 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 150 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { in verify_eraseblock() 156 print_subpage(readbuf); in verify_eraseblock() 164 clear_data(readbuf, subpgsize); in verify_eraseblock() 165 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock() 177 if (unlikely(memcmp(readbuf, writebuf, subpgsize))) { in verify_eraseblock() 183 print_subpage(readbuf); in verify_eraseblock() 201 clear_data(readbuf, subpgsize * k); in verify_eraseblock2() [all …]
|
D | oobtest.c | 44 static unsigned char *readbuf; variable 194 ops.oobbuf = readbuf; in verify_eraseblock() 203 bitflips = memcmpshow(addr, readbuf, in verify_eraseblock() 228 ops.oobbuf = readbuf; in verify_eraseblock() 237 readbuf + use_offset, in verify_eraseblock() 242 bitflips += memffshow(addr, 0, readbuf, use_offset); in verify_eraseblock() 246 bitflips += memffshow(addr, k, readbuf + k, in verify_eraseblock() 285 ops.oobbuf = readbuf; in verify_eraseblock_in_one_go() 298 bitflips = memcmpshow(addr, readbuf + (i * oobavail), in verify_eraseblock_in_one_go() 382 readbuf = kmalloc(mtd->erasesize, GFP_KERNEL); in mtd_oobtest_init() [all …]
|
D | stresstest.c | 46 static unsigned char *readbuf; variable 100 return mtdtest_read(mtd, addr, len, readbuf); in do_read() 200 readbuf = vmalloc(bufsize); in mtd_stresstest_init() 203 if (!readbuf || !writebuf || !offsets) in mtd_stresstest_init() 235 vfree(readbuf); in mtd_stresstest_init()
|
D | pagetest.c | 205 char *readbuf = twopages; in erasecrosstest() local 233 memset(readbuf, 0, pgsize); in erasecrosstest() 234 err = mtdtest_read(mtd, addr0, pgsize, readbuf); in erasecrosstest() 239 if (memcmp(writebuf, readbuf, pgsize)) { in erasecrosstest() 263 memset(readbuf, 0, pgsize); in erasecrosstest() 264 err = mtdtest_read(mtd, addr0, pgsize, readbuf); in erasecrosstest() 269 if (memcmp(writebuf, readbuf, pgsize)) { in erasecrosstest()
|
/drivers/net/wireless/hostap/ |
D | hostap_download.c | 391 u8 readbuf[4]; in prism2_enable_genesis() local 400 hfa384x_from_aux(dev, 0x7e0038, sizeof(readbuf), readbuf); in prism2_enable_genesis() 402 hfa384x_from_aux(dev, 0x7e0038, sizeof(readbuf), readbuf); in prism2_enable_genesis() 404 if (memcmp(initseq, readbuf, sizeof(initseq)) == 0) { in prism2_enable_genesis() 412 readbuf[0], readbuf[1], readbuf[2], readbuf[3]); in prism2_enable_genesis()
|
/drivers/usb/class/ |
D | usblp.c | 151 char *readbuf; /* read transfer_buffer */ member 191 dev_dbg(dev, "readbuf=0x%p\n", usblp->readbuf); in usblp_dump() 475 kfree(usblp->readbuf); in usblp_cleanup() 875 copy_to_user(buffer, usblp->readbuf + usblp->readcount, count)) { in usblp_read() 1031 usblp->readbuf, USBLP_BUF_SIZE_IN, in usblp_submit_read() 1162 if (!(usblp->readbuf = kmalloc(USBLP_BUF_SIZE_IN, GFP_KERNEL))) { in usblp_probe() 1233 kfree(usblp->readbuf); in usblp_probe()
|
/drivers/net/ethernet/wiznet/ |
D | w5100.c | 96 void (*readbuf)(struct w5100_priv *priv, u16 addr, u8 *buf, int len); member 303 #define w5100_readbuf priv->readbuf 654 priv->readbuf = w5100_readbuf_indirect; in w5100_hw_probe() 661 priv->readbuf = w5100_readbuf_direct; in w5100_hw_probe()
|
/drivers/media/radio/ |
D | radio-cadet.c | 333 unsigned char readbuf[RDS_BUFFER]; in cadet_read() local 349 readbuf[i++] = dev->rdsbuf[dev->rdsout++]; in cadet_read() 352 if (i && copy_to_user(data, readbuf, i)) in cadet_read()
|
/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 151 if (ar->readbuf) { in carl9170_cmd_callback() 153 memcpy(ar->readbuf, buffer + 4, len - 4); in carl9170_cmd_callback() 155 ar->readbuf = NULL; in carl9170_cmd_callback()
|
D | usb.c | 671 ar->readbuf = (u8 *)out; in carl9170_exec_cmd() 707 ar->readbuf = NULL; in carl9170_exec_cmd()
|
D | carl9170.h | 372 u8 *readbuf; member
|