Lines Matching refs:firsthalf
1195 int firsthalf; in edge_write() local
1229 firsthalf = min(bytesleft, copySize); in edge_write()
1231 firsthalf, bytesleft); in edge_write()
1234 memcpy(&fifo->fifo[fifo->head], data, firsthalf); in edge_write()
1235 usb_serial_debug_data(&port->dev, __func__, firsthalf, &fifo->fifo[fifo->head]); in edge_write()
1238 fifo->head += firsthalf; in edge_write()
1239 fifo->count += firsthalf; in edge_write()
1245 secondhalf = copySize-firsthalf; in edge_write()
1249 memcpy(&fifo->fifo[fifo->head], &data[firsthalf], secondhalf); in edge_write()
1295 int firsthalf; in send_more_port_data() local
1345 firsthalf = min(bytesleft, count); in send_more_port_data()
1346 memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf); in send_more_port_data()
1347 fifo->tail += firsthalf; in send_more_port_data()
1348 fifo->count -= firsthalf; in send_more_port_data()
1352 secondhalf = count-firsthalf; in send_more_port_data()
1354 memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail], in send_more_port_data()