Home
last modified time | relevance | path

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

/linux/drivers/usb/serial/
H A Dgarmin_gps.c170 static int gsp_next_packet(struct garmin_data *garmin_data_p);
260 static int pkt_add(struct garmin_data *garmin_data_p, in pkt_add() argument
277 spin_lock_irqsave(&garmin_data_p->lock, flags); in pkt_add()
278 garmin_data_p->flags |= FLAGS_QUEUING; in pkt_add()
279 result = list_empty(&garmin_data_p->pktlist); in pkt_add()
280 pkt->seq = garmin_data_p->seq_counter++; in pkt_add()
281 list_add_tail(&pkt->list, &garmin_data_p->pktlist); in pkt_add()
282 state = garmin_data_p->state; in pkt_add()
283 spin_unlock_irqrestore(&garmin_data_p->lock, flags); in pkt_add()
285 dev_dbg(&garmin_data_p->port->dev, in pkt_add()
[all …]