Searched refs:ircount (Results 1 – 1 of 1) sorted by relevance
937 int ircount = 0; in mceusb_tx_ir() local952 if (ircount % MCE_PACKET_SIZE == 0) { in mceusb_tx_ir()954 if (ircount >= MCE_IRBUF_SIZE - 1) { in mceusb_tx_ir()956 ret = mce_write(ir, irbuf, ircount); in mceusb_tx_ir()959 ircount = 0; in mceusb_tx_ir()961 irbuf[ircount++] = MCE_IRDATA_HEADER; in mceusb_tx_ir()966 irbuf[ircount] = irsample; in mceusb_tx_ir()969 irbuf[ircount] = MCE_MAX_PULSE_LENGTH; in mceusb_tx_ir()976 irbuf[ircount] |= (i & 1 ? 0 : MCE_PULSE_BIT); in mceusb_tx_ir()977 ircount++; in mceusb_tx_ir()[all …]