Searched refs:sync_port (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c94 struct sync_port { struct
155 static inline int sync_data_avail(struct sync_port *port);
175 static void send_word(struct sync_port *port);
176 static void start_dma(struct sync_port *port, const char *data, int count);
177 static void start_dma_in(struct sync_port *port);
193 static struct sync_port ports[] = {
346 struct sync_port *port = &ports[portnbr]; initialize_port()
403 static inline int sync_data_avail(struct sync_port *port) sync_data_avail()
422 static inline int sync_data_avail_to_end(struct sync_port *port) sync_data_avail_to_end()
446 struct sync_port *port; sync_serial_open()
638 struct sync_port *port; sync_serial_release()
660 struct sync_port *port; sync_serial_poll()
690 struct sync_port *port; sync_serial_ioctl_unlocked()
979 struct sync_port *port; sync_serial_write()
1102 struct sync_port *port; sync_serial_read()
1172 static void send_word(struct sync_port *port) send_word()
1217 static void start_dma(struct sync_port *port, const char *data, int count) start_dma()
1233 static void start_dma_in(struct sync_port *port) start_dma_in()
1274 struct sync_port *port = &ports[i]; tr_interrupt()
1325 struct sync_port *port = &ports[i]; rx_interrupt()
1388 struct sync_port *port = &ports[i]; manual_interrupt()
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c95 struct sync_port { struct
177 static inline int sync_data_avail(struct sync_port *port);
202 static void start_dma_out(struct sync_port *port, const char *data, int count);
203 static void start_dma_in(struct sync_port *port);
208 static void send_word(struct sync_port *port);
263 static struct sync_port ports[] = {
311 static void sync_serial_start_port(struct sync_port *port) sync_serial_start_port()
329 struct sync_port *port = &ports[portnbr]; initialize_port()
425 static inline int sync_data_avail(struct sync_port *port) sync_data_avail()
434 struct sync_port *port; sync_serial_open()
544 struct sync_port *port; sync_serial_release()
562 struct sync_port *port; sync_serial_poll()
609 struct sync_port *port; __sync_serial_read()
742 struct sync_port *port; sync_serial_ioctl_unlocked()
1075 struct sync_port *port; sync_serial_write()
1203 static void send_word(struct sync_port *port) send_word()
1261 static void start_dma_out(struct sync_port *port, const char *data, int count) start_dma_out()
1298 static void start_dma_in(struct sync_port *port) start_dma_in()
1339 struct sync_port *port = &ports[i]; tr_interrupt()
1440 static inline void handle_rx_packet(struct sync_port *port) handle_rx_packet()
1497 struct sync_port *port = &ports[i]; rx_interrupt()
1526 struct sync_port *port = &ports[i]; manual_interrupt()
1687 struct sync_port *port = &ports[i]; etrax_sync_serial_exit()
/linux-4.1.27/arch/s390/kernel/
H A Dtime.c757 struct etr_aib *sync_port, *aib; etr_sync_clock() local
775 sync_port = (port == 0) ? &etr_port0 : &etr_port1; etr_sync_clock()
790 (aib->edf2.etv - sync_port->edf2.etv) << 32; etr_sync_clock()
795 if (!etr_aib_follows(sync_port, aib, port)) { etr_sync_clock()
819 struct etr_aib *sync_port; etr_sync_clock_stop() local
824 sync_port = (port == 0) ? &etr_port0 : &etr_port1; etr_sync_clock_stop()
825 follows = etr_aib_follows(sync_port, aib, port); etr_sync_clock_stop()
826 memcpy(sync_port, aib, sizeof(*aib)); etr_sync_clock_stop()
1001 int sync_port; etr_work_fn() local
1058 sync_port = (etr_port0_uptodate && etr_work_fn()
1066 sync_port = (etr_port1_uptodate && etr_work_fn()
1079 sync_port = (etr_port0_uptodate && etr_work_fn()
1087 sync_port = (etr_port1_uptodate && etr_work_fn()
1092 sync_port = -1; etr_work_fn()
1099 if ((eacr.es && check_sync_clock()) || sync_port < 0) { etr_work_fn()
1121 etr_sync_clock_stop(&aib, sync_port) != 0) { etr_work_fn()

Completed in 116 milliseconds