Searched refs:current_packet (Results 1 – 2 of 2) sorted by relevance
158 if (ch->current_packet) { in smd_packet_read_avail()160 if (n > ch->current_packet) in smd_packet_read_avail()161 n = ch->current_packet; in smd_packet_read_avail()241 if (ch->current_packet != 0) in update_packet_state()251 ch->current_packet = hdr[0]; in update_packet_state()538 if (len > ch->current_packet) in smd_packet_read()539 len = ch->current_packet; in smd_packet_read()546 ch->current_packet -= r; in smd_packet_read()687 ch->current_packet = 0; in smd_open()782 return ch->current_packet; in smd_cur_packet_size()
293 unsigned current_packet; member