Searched refs:ircount (Results 1 – 1 of 1) sorted by relevance
936 int ircount = 0; in mceusb_tx_ir() local951 if (ircount % MCE_PACKET_SIZE == 0) { in mceusb_tx_ir()953 if (ircount >= MCE_IRBUF_SIZE - 1) { in mceusb_tx_ir()955 ret = mce_write(ir, irbuf, ircount); in mceusb_tx_ir()958 ircount = 0; in mceusb_tx_ir()960 irbuf[ircount++] = MCE_IRDATA_HEADER; in mceusb_tx_ir()965 irbuf[ircount] = irsample; in mceusb_tx_ir()968 irbuf[ircount] = MCE_MAX_PULSE_LENGTH; in mceusb_tx_ir()975 irbuf[ircount] |= (i & 1 ? 0 : MCE_PULSE_BIT); in mceusb_tx_ir()976 ircount++; in mceusb_tx_ir()[all …]