Lines Matching refs:txbuf
230 unsigned int *txbuf; in lirc_transmit() local
291 txbuf = kmalloc_array(count, sizeof(unsigned int), GFP_KERNEL); in lirc_transmit()
292 if (!txbuf) { in lirc_transmit()
298 txbuf[i] = raw[i].duration; in lirc_transmit()
318 txbuf = memdup_user(buf, n); in lirc_transmit()
319 if (IS_ERR(txbuf)) { in lirc_transmit()
320 ret = PTR_ERR(txbuf); in lirc_transmit()
326 if (txbuf[i] > IR_MAX_DURATION - duration || !txbuf[i]) { in lirc_transmit()
331 duration += txbuf[i]; in lirc_transmit()
336 ret = dev->tx_ir(dev, txbuf, count); in lirc_transmit()
340 kfree(txbuf); in lirc_transmit()
358 kfree(txbuf); in lirc_transmit()