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