Searched refs:inbufchunk (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c137 unsigned int inbufchunk; member in struct:sync_port
361 port->inbufchunk = IN_DESCR_SIZE; initialize_port()
669 /* At least an inbufchunk of data */ sync_serial_poll()
670 if (sync_data_avail(port) >= port->inbufchunk) sync_serial_poll()
909 port->inbufchunk = arg; sync_serial_ioctl_unlocked()
910 /* Make sure in_buffer_size is a multiple of inbufchunk */ sync_serial_ioctl_unlocked()
912 (port->in_buffer_size/port->inbufchunk) * sync_serial_ioctl_unlocked()
913 port->inbufchunk; sync_serial_ioctl_unlocked()
914 DEBUG(printk(KERN_DEBUG "inbufchunk %i in_buffer_size: %i\n", sync_serial_ioctl_unlocked()
915 port->inbufchunk, port->in_buffer_size)); sync_serial_ioctl_unlocked()
1245 port->in_descr[i].sw_len = port->inbufchunk; start_dma_in()
1252 buf += port->inbufchunk; start_dma_in()
1337 if (port->writep + port->inbufchunk > port->flip + rx_interrupt()
1347 port->inbufchunk - first_size); rx_interrupt()
1349 port->inbufchunk - first_size; rx_interrupt()
1353 port->inbufchunk); rx_interrupt()
1354 port->writep += port->inbufchunk; rx_interrupt()
1437 if (sync_data_avail(port) >= port->inbufchunk) {
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c131 unsigned int inbufchunk; member in struct:sync_port
350 port->inbufchunk = IN_DESCR_SIZE; initialize_port()
585 /* At least an inbufchunk of data */ sync_serial_poll()
586 if (port->input && sync_data_avail(port) >= port->inbufchunk) sync_serial_poll()
1310 port->in_descr[i].after = buf + port->inbufchunk; start_dma_in()
1315 buf += port->inbufchunk; start_dma_in()
1453 if ((port->writep + port->inbufchunk <= handle_rx_packet()
1455 (port->in_buffer_len + port->inbufchunk < IN_BUFFER_SIZE)) { handle_rx_packet()
1458 port->inbufchunk); handle_rx_packet()
1459 port->writep += port->inbufchunk; handle_rx_packet()
1468 port->in_buffer_len += port->inbufchunk; handle_rx_packet()
1576 if (sync_data_avail(port) >= port->inbufchunk) manual_interrupt()

Completed in 84 milliseconds