Searched refs:writep (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c49 /* readp writep */
51 /* If the application keeps up the pace readp will be right after writep.*/
134 volatile unsigned char *volatile writep; member in struct:sync_port
359 port->writep = port->flip; initialize_port()
410 end = (unsigned char *)port->writep; /* cast away volatile */ sync_data_avail()
429 end = (unsigned char *)port->writep; /* cast away volatile */ sync_data_avail_to_end()
1115 port->writep - port->flip, port->in_buffer_size)); sync_serial_read()
1132 end = (unsigned char *)port->writep; /* cast away volatile */ sync_serial_read()
1146 end = (unsigned char *)port->writep; /* cast away volatile */ sync_serial_read()
1237 port->writep = port->flip; start_dma_in()
1239 if (port->writep > port->flip + port->in_buffer_size) { start_dma_in()
1337 if (port->writep + port->inbufchunk > port->flip + rx_interrupt()
1340 port->in_buffer_size - port->writep; rx_interrupt()
1341 memcpy(port->writep, rx_interrupt()
1348 port->writep = port->flip + rx_interrupt()
1351 memcpy(port->writep, rx_interrupt()
1354 port->writep += port->inbufchunk; rx_interrupt()
1355 if (port->writep >= port->flip rx_interrupt()
1357 port->writep = port->flip; rx_interrupt()
1359 if (port->writep == port->readp) rx_interrupt()
1400 *port->writep++ = manual_interrupt()
1406 *port->writep = (data & 0x0ff0) >> 4; IO_STATE()
1407 *(port->writep + 1) = data & 0x0f; IO_STATE()
1408 port->writep += 2; IO_STATE()
1412 *(unsigned short *)port->writep =
1414 port->writep += 2;
1417 *(unsigned int *)port->writep = *port->data_in;
1418 port->writep += 3;
1421 *(unsigned int *)port->writep = *port->data_in;
1422 port->writep += 4;
1427 if (port->writep >= port->flip + port->in_buffer_size)
1428 port->writep = port->flip;
1429 if (port->writep == port->readp) {
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c52 /* readp writep */
54 /* If the application keeps up the pace readp will be right after writep.*/
127 unsigned char *writep; member in struct:sync_port
347 port->writep = port->flip; initialize_port()
456 port->readp = port->writep = port->flip; sync_serial_open()
626 end = port->writep; __sync_serial_read()
641 end = port->writep; __sync_serial_read()
1304 port->writep = port->flip; start_dma_in()
1453 if ((port->writep + port->inbufchunk <= handle_rx_packet()
1456 memcpy(port->writep, handle_rx_packet()
1459 port->writep += port->inbufchunk; handle_rx_packet()
1460 if (port->writep >= port->flip + port->in_buffer_size) handle_rx_packet()
1461 port->writep = port->flip; handle_rx_packet()
1543 *port->writep++ = data.data & 0xff; manual_interrupt()
1546 *port->writep = (data.data & 0x0ff0) >> 4; manual_interrupt()
1547 *(port->writep + 1) = data.data & 0x0f; manual_interrupt()
1548 port->writep += 2; manual_interrupt()
1551 *(unsigned short *)port->writep = data.data; manual_interrupt()
1552 port->writep += 2; manual_interrupt()
1555 *(unsigned int *)port->writep = data.data; manual_interrupt()
1556 port->writep += 3; manual_interrupt()
1559 *(unsigned int *)port->writep = data.data; manual_interrupt()
1560 port->writep += 4; manual_interrupt()
1565 if (port->writep >= port->flip + port->in_buffer_size) manual_interrupt()
1566 port->writep = port->flip; manual_interrupt()
1567 if (port->writep == port->readp) { manual_interrupt()
/linux-4.1.27/arch/sparc/kernel/
H A Dentry.S790 and %o2, 2, %o2 ! arg3 = writep
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
H A Dtx.c1581 "wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n", iwl_pcie_hcmd_complete()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Dcommon.c3304 "wrong command queue %d (should be %d), sequence 0x%X readp=%d writep=%d\n", il_tx_cmd_complete()

Completed in 190 milliseconds