Lines Matching refs:firsthalf
1104 int firsthalf; in edge_write() local
1138 firsthalf = min(bytesleft, copySize); in edge_write()
1140 firsthalf, bytesleft); in edge_write()
1143 memcpy(&fifo->fifo[fifo->head], data, firsthalf); in edge_write()
1144 usb_serial_debug_data(&port->dev, __func__, firsthalf, &fifo->fifo[fifo->head]); in edge_write()
1147 fifo->head += firsthalf; in edge_write()
1148 fifo->count += firsthalf; in edge_write()
1154 secondhalf = copySize-firsthalf; in edge_write()
1158 memcpy(&fifo->fifo[fifo->head], &data[firsthalf], secondhalf); in edge_write()
1204 int firsthalf; in send_more_port_data() local
1254 firsthalf = min(bytesleft, count); in send_more_port_data()
1255 memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf); in send_more_port_data()
1256 fifo->tail += firsthalf; in send_more_port_data()
1257 fifo->count -= firsthalf; in send_more_port_data()
1261 secondhalf = count-firsthalf; in send_more_port_data()
1263 memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail], in send_more_port_data()