Searched refs:readp (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.*/
53 /* The idea is that readp should be ready with the data pointed out by */
56 /* the rest of the data pointed out by Descr1 and set readp to the start */
132 volatile unsigned char *volatile readp; member in struct:sync_port
358 port->readp = port->flip; initialize_port()
409 start = (unsigned char *)port->readp; /* cast away volatile */ sync_data_avail()
428 start = (unsigned char *)port->readp; /* cast away volatile */ sync_data_avail_to_end()
1114 dev, count, port->readp - port->flip, sync_serial_read()
1131 start = (unsigned char *)port->readp; /* cast away volatile */ sync_serial_read()
1145 start = (unsigned char *)port->readp; /* cast away volatile */ sync_serial_read()
1161 /* Disable interrupts while updating readp */ sync_serial_read()
1163 port->readp += count; sync_serial_read()
1164 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ sync_serial_read()
1165 port->readp = port->flip; sync_serial_read()
1359 if (port->writep == port->readp) rx_interrupt()
1429 if (port->writep == port->readp) {
1431 port->readp++;
1433 if (port->readp >= port->flip +
1435 port->readp = port->flip;
/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.*/
56 /* The idea is that readp should be ready with the data pointed out by */
59 /* the rest of the data pointed out by Descr1 and set readp to the start */
125 unsigned char *readp; member in struct:sync_port
346 port->readp = port->flip; initialize_port()
456 port->readp = port->writep = port->flip; sync_serial_open()
625 start = port->readp; __sync_serial_read()
640 start = port->readp; __sync_serial_read()
675 port->readp += count; __sync_serial_read()
677 if (port->readp >= port->flip + port->in_buffer_size) __sync_serial_read()
678 port->readp = port->flip; __sync_serial_read()
1567 if (port->writep == port->readp) { manual_interrupt()
1569 port->readp++; manual_interrupt()
1571 if (port->readp >= port->flip + manual_interrupt()
1573 port->readp = port->flip; manual_interrupt()
/linux-4.1.27/tools/hv/
H A Dhv_kvp_daemon.c182 struct kvp_record *readp; kvp_update_mem_state() local
196 readp = &record[records_read]; kvp_update_mem_state()
197 records_read += fread(readp, sizeof(struct kvp_record), kvp_update_mem_state()
236 struct kvp_record *readp; kvp_file_init() local
273 readp = &record[records_read]; kvp_file_init()
274 records_read += fread(readp, sizeof(struct kvp_record), kvp_file_init()
/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 166 milliseconds