Lines Matching defs:tx_buf
276 struct tsc2046_adc_atom *rx_buf, *tx_buf;
290 if (sizeof(*tx_buf) * max_count > PAGE_SIZE)
293 tx_buf = kcalloc(max_count, sizeof(*tx_buf), GFP_KERNEL);
294 if (!tx_buf)
310 tx_buf[i].cmd = cmd;
313 tx_buf[i].cmd = tsc2046_adc_get_cmd(priv, ch_idx, false);
316 xfer.tx_buf = tx_buf;
318 xfer.len = sizeof(*tx_buf) * max_count;
345 kfree(tx_buf);
702 priv->xfer.tx_buf = priv->tx;