Lines Matching refs:written
131 int written; in qcauart_transmit() local
151 written = serdev_device_write_buf(qca->serdev, qca->tx_head, in qcauart_transmit()
153 if (written > 0) { in qcauart_transmit()
154 qca->tx_left -= written; in qcauart_transmit()
155 qca->tx_head += written; in qcauart_transmit()
204 int written; in qcauart_netdev_xmit() local
236 written = serdev_device_write_buf(qca->serdev, qca->tx_buffer, in qcauart_netdev_xmit()
238 if (written > 0) { in qcauart_netdev_xmit()
239 qca->tx_left = (pos - qca->tx_buffer) - written; in qcauart_netdev_xmit()
240 qca->tx_head = qca->tx_buffer + written; in qcauart_netdev_xmit()
241 n_stats->tx_bytes += written; in qcauart_netdev_xmit()