Searched refs:readbackbuff (Results 1 – 1 of 1) sorted by relevance
/linux-3.4.99/drivers/staging/bcm/ |
D | InterfaceDld.c | 208 static int bcm_compare_buff_contents(unsigned char *readbackbuff, unsigned char *buff, unsigned int… in bcm_compare_buff_contents() argument 213 if (memcmp(readbackbuff , buff, len)) in bcm_compare_buff_contents() 219 if (*(unsigned int *)&readbackbuff[len] != *(unsigned int *)&buff[len]) { in bcm_compare_buff_contents() 221 …nary %x, Val From Read Back %x ", *(unsigned int *)&buff[len], *(unsigned int*)&readbackbuff[len]); in bcm_compare_buff_contents() 306 PUCHAR readbackbuff = kzalloc(MAX_TRANSFER_CTRL_BYTE_USB, GFP_KERNEL); in buffRdbkVerify() local 309 if (NULL == readbackbuff) { in buffRdbkVerify() 316 bytes = rdm(Adapter, u32StartingAddress, readbackbuff, len); in buffRdbkVerify() 324 retval = bcm_compare_buff_contents(readbackbuff, mappedbuffer, len); in buffRdbkVerify() 333 kfree(readbackbuff); in buffRdbkVerify()
|