Home
last modified time | relevance | path

Searched refs:readp (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/arch/cris/arch-v10/drivers/
Dsync_serial.c131 volatile unsigned char *volatile readp; member
357 port->readp = port->flip; in initialize_port()
408 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail()
427 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail_to_end()
1114 dev, count, port->readp - port->flip, in sync_serial_read()
1131 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1144 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1162 port->readp += count; in sync_serial_read()
1163 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ in sync_serial_read()
1164 port->readp = port->flip; in sync_serial_read()
[all …]
/linux-3.4.99/arch/cris/arch-v32/drivers/
Dsync_serial.c106 volatile unsigned char *volatile readp; member
317 port->readp = port->flip; in initialize_port()
397 start = (unsigned char*)port->readp; /* cast away volatile */ in sync_data_avail()
417 start = (unsigned char*)port->readp; /* cast away volatile */ in sync_data_avail_to_end()
1119 …DEBUGREAD(printk("R%d c %d ri %lu wi %lu /%lu\n", dev, count, port->readp - port->flip, port->writ… in sync_serial_read()
1138 start = (unsigned char*)port->readp; /* cast away volatile */ in sync_serial_read()
1152 start = (unsigned char*)port->readp; /* cast away volatile */ in sync_serial_read()
1170 port->readp += count; in sync_serial_read()
1171 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ in sync_serial_read()
1172 port->readp = port->flip; in sync_serial_read()
[all …]
/linux-3.4.99/tools/hv/
Dhv_kvp_daemon.c161 struct kvp_record *readp; in kvp_update_mem_state() local
174 readp = &record[records_read]; in kvp_update_mem_state()
175 records_read += fread(readp, sizeof(struct kvp_record), in kvp_update_mem_state()
214 struct kvp_record *readp; in kvp_file_init() local
247 readp = &record[records_read]; in kvp_file_init()
248 records_read += fread(readp, sizeof(struct kvp_record), in kvp_file_init()
/linux-3.4.99/drivers/staging/crystalhd/
Dcrystalhd_hw.c490 uint32_t base, end, writep, readp; in crystalhd_code_in_full() local
497 readp = bc_dec_reg_rd(adp, REG_Dec_TsAudCDB2Rdptr); in crystalhd_code_in_full()
502 readp = bc_dec_reg_rd(adp, REG_Dec_TsUser0Rdptr); in crystalhd_code_in_full()
507 readp = bc_dec_reg_rd(adp, REG_DecCA_RegCinRdPtr); in crystalhd_code_in_full()
511 if (writep >= readp) in crystalhd_code_in_full()
512 cpbFullness = writep - readp; in crystalhd_code_in_full()
514 cpbFullness = (end - base) - (readp - writep); in crystalhd_code_in_full()