Lines Matching defs:firsthalf
1119 int firsthalf;
1153 firsthalf = min(bytesleft, copySize);
1155 firsthalf, bytesleft);
1158 memcpy(&fifo->fifo[fifo->head], data, firsthalf);
1159 usb_serial_debug_data(&port->dev, __func__, firsthalf, &fifo->fifo[fifo->head]);
1162 fifo->head += firsthalf;
1163 fifo->count += firsthalf;
1169 secondhalf = copySize-firsthalf;
1173 memcpy(&fifo->fifo[fifo->head], &data[firsthalf], secondhalf);
1219 int firsthalf;
1269 firsthalf = min(bytesleft, count);
1270 memcpy(&buffer[2], &fifo->fifo[fifo->tail], firsthalf);
1271 fifo->tail += firsthalf;
1272 fifo->count -= firsthalf;
1276 secondhalf = count-firsthalf;
1278 memcpy(&buffer[2+firsthalf], &fifo->fifo[fifo->tail],