Home
last modified time | relevance | path

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

/linux/drivers/usb/serial/
H A Dgarmin_gps.c385 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()
[all …]