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

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c136 unsigned int in_buffer_size; member in struct:sync_port
360 port->in_buffer_size = IN_BUFFER_SIZE; initialize_port()
418 avail = port->in_buffer_size - (start - end); sync_data_avail()
438 avail = port->flip + port->in_buffer_size - start; sync_data_avail_to_end()
907 if (arg > port->in_buffer_size/NUM_IN_DESCR) sync_serial_ioctl_unlocked()
910 /* Make sure in_buffer_size is a multiple of inbufchunk */ sync_serial_ioctl_unlocked()
911 port->in_buffer_size = sync_serial_ioctl_unlocked()
912 (port->in_buffer_size/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()
1115 port->writep - port->flip, port->in_buffer_size)); sync_serial_read()
1152 avail = port->in_buffer_size; sync_serial_read()
1156 avail = port->flip + port->in_buffer_size - start; sync_serial_read()
1164 if (port->readp >= port->flip + port->in_buffer_size) /* Wrap? */ sync_serial_read()
1239 if (port->writep > port->flip + port->in_buffer_size) { start_dma_in()
1338 port->in_buffer_size) { rx_interrupt()
1340 port->in_buffer_size - port->writep; rx_interrupt()
1356 + port->in_buffer_size) rx_interrupt()
1427 if (port->writep >= port->flip + port->in_buffer_size)
1434 port->in_buffer_size)
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c129 unsigned int in_buffer_size; member in struct:sync_port
348 port->in_buffer_size = IN_BUFFER_SIZE; initialize_port()
648 port->in_buffer_size)); __sync_serial_read()
654 avail = port->flip + port->in_buffer_size - start; __sync_serial_read()
677 if (port->readp >= port->flip + port->in_buffer_size) __sync_serial_read()
1454 port->flip + port->in_buffer_size) && handle_rx_packet()
1460 if (port->writep >= port->flip + port->in_buffer_size) handle_rx_packet()
1565 if (port->writep >= port->flip + port->in_buffer_size) manual_interrupt()
1572 port->in_buffer_size) manual_interrupt()

Completed in 84 milliseconds