Lines Matching refs:recpkt
385 const __u8 *recpkt = garmin_data_p->inbuffer+GSP_INITIAL_OFFSET; in gsp_rec_packet() local
389 int pktid = recpkt[0]; in gsp_rec_packet()
390 int size = recpkt[1]; in gsp_rec_packet()
393 count-GSP_INITIAL_OFFSET, recpkt); in gsp_rec_packet()
401 cksum += *recpkt++; in gsp_rec_packet()
402 cksum += *recpkt++; in gsp_rec_packet()
405 if ((__u8 *)&(usbdata[3]) != recpkt) { in gsp_rec_packet()
407 &(usbdata[4]), recpkt); in gsp_rec_packet()
412 cksum += *recpkt++; in gsp_rec_packet()
416 if (((cksum + *recpkt) & 0xff) != 0) { in gsp_rec_packet()
418 __func__, -cksum & 0xff, *recpkt); in gsp_rec_packet()