Home
last modified time | relevance | path

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

/linux-2.6.39/arch/cris/arch-v10/drivers/
Dsync_serial.c132 volatile unsigned char *volatile readp; member
358 port->readp = port->flip; in initialize_port()
409 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail()
428 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_data_avail_to_end()
1115 dev, count, port->readp - port->flip, in sync_serial_read()
1132 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1145 start = (unsigned char *)port->readp; /* cast away volatile */ in sync_serial_read()
1163 port->readp += count; in sync_serial_read()
1164 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ in sync_serial_read()
1165 port->readp = port->flip; in sync_serial_read()
[all …]
/linux-2.6.39/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-2.6.39/drivers/staging/crystalhd/
Dcrystalhd_hw.c489 uint32_t base, end, writep, readp; in crystalhd_code_in_full() local
496 readp = bc_dec_reg_rd(adp, REG_Dec_TsAudCDB2Rdptr); in crystalhd_code_in_full()
501 readp = bc_dec_reg_rd(adp, REG_Dec_TsUser0Rdptr); in crystalhd_code_in_full()
506 readp = bc_dec_reg_rd(adp, REG_DecCA_RegCinRdPtr); in crystalhd_code_in_full()
510 if (writep >= readp) in crystalhd_code_in_full()
511 cpbFullness = writep - readp; in crystalhd_code_in_full()
513 cpbFullness = (end - base) - (readp - writep); in crystalhd_code_in_full()