Home
last modified time | relevance | path

Searched full:up (Results 1 – 25 of 5701) sorted by relevance

12345678910>>...229

/linux/drivers/tty/serial/
H A Domap-serial.c172 static void serial_omap_mdr1_errataset(struct uart_omap_port *up, u8 mdr1);
174 static inline unsigned int serial_in(struct uart_omap_port *up, int offset) in serial_in() argument
176 offset <<= up->port.regshift; in serial_in()
177 return readw(up->port.membase + offset); in serial_in()
180 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out() argument
182 offset <<= up->port.regshift; in serial_out()
183 writew(value, up->port.membase + offset); in serial_out()
186 static inline void serial_omap_clear_fifos(struct uart_omap_port *up) in serial_omap_clear_fifos() argument
188 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_omap_clear_fifos()
189 serial_out(up, UART_FC in serial_omap_clear_fifos()
195 serial_omap_get_context_loss_count(struct uart_omap_port * up) serial_omap_get_context_loss_count() argument
206 serial_omap_enable_wakeup(struct uart_omap_port * up,bool enable) serial_omap_enable_wakeup() argument
271 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_enable_ms() local
281 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_stop_tx() local
327 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_stop_rx() local
334 serial_omap_put_char(struct uart_omap_port * up,unsigned char ch) serial_omap_put_char() argument
343 transmit_chars(struct uart_omap_port * up,unsigned int lsr) transmit_chars() argument
353 serial_omap_enable_ier_thri(struct uart_omap_port * up) serial_omap_enable_ier_thri() argument
363 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_start_tx() local
390 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_throttle() local
401 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_unthrottle() local
410 check_modem_status(struct uart_omap_port * up) check_modem_status() argument
438 serial_omap_rlsi(struct uart_omap_port * up,unsigned int lsr) serial_omap_rlsi() argument
494 serial_omap_rdi(struct uart_omap_port * up,unsigned int lsr) serial_omap_rdi() argument
524 struct uart_omap_port *up = dev_id; serial_omap_irq() local
577 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_tx_empty() local
591 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_get_mctrl() local
612 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_set_mctrl() local
646 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_break_ctl() local
661 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_startup() local
734 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_shutdown() local
769 struct uart_omap_port *up = container_of(work, struct uart_omap_port, serial_omap_uart_qos_work() local
779 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_set_termios() local
1024 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_pm() local
1053 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_config_port() local
1072 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_type() local
1078 wait_for_xmitr(struct uart_omap_port * up) wait_for_xmitr() argument
1112 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_poll_put_char() local
1120 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_poll_get_char() local
1199 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_console_putchar() local
1209 struct uart_omap_port *up = serial_omap_console_ports[co->index]; serial_omap_console_write() local
1250 struct uart_omap_port *up; serial_omap_console_setup() local
1276 serial_omap_add_console_port(struct uart_omap_port * up) serial_omap_add_console_port() argument
1287 serial_omap_add_console_port(struct uart_omap_port * up) serial_omap_add_console_port() argument
1297 struct uart_omap_port *up = to_uart_omap_port(port); serial_omap_config_rs485() local
1365 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_prepare() local
1374 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_complete() local
1381 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_suspend() local
1396 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_resume() local
1410 omap_serial_fill_features_erratas(struct uart_omap_port * up) omap_serial_fill_features_erratas() argument
1488 serial_omap_probe_rs485(struct uart_omap_port * up,struct device * dev) serial_omap_probe_rs485() argument
1542 struct uart_omap_port *up; serial_omap_probe() local
1659 struct uart_omap_port *up = platform_get_drvdata(dev); serial_omap_remove() local
1680 serial_omap_mdr1_errataset(struct uart_omap_port * up,u8 mdr1) serial_omap_mdr1_errataset() argument
1706 serial_omap_restore_context(struct uart_omap_port * up) serial_omap_restore_context() argument
1738 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_runtime_suspend() local
1765 struct uart_omap_port *up = dev_get_drvdata(dev); serial_omap_runtime_resume() local
[all...]
H A Dsunsu.c104 static unsigned int serial_in(struct uart_sunsu_port *up, int offset) in serial_in() argument
106 offset <<= up->port.regshift; in serial_in()
108 switch (up->port.iotype) { in serial_in()
110 outb(up->port.hub6 - 1 + offset, up->port.iobase); in serial_in()
111 return inb(up->port.iobase + 1); in serial_in()
114 return readb(up->port.membase + offset); in serial_in()
117 return inb(up->port.iobase + offset); in serial_in()
121 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out() argument
136 offset <<= up in serial_out()
156 serial_icr_write(struct uart_sunsu_port * up,int offset,int value) serial_icr_write() argument
167 __enable_rsa(struct uart_sunsu_port * up) __enable_rsa() argument
187 enable_rsa(struct uart_sunsu_port * up) enable_rsa() argument
206 disable_rsa(struct uart_sunsu_port * up) disable_rsa() argument
241 struct uart_sunsu_port *up = sunsu_stop_tx() local
257 struct uart_sunsu_port *up = sunsu_start_tx() local
276 struct uart_sunsu_port *up = sunsu_stop_rx() local
286 struct uart_sunsu_port *up = sunsu_enable_ms() local
297 receive_chars(struct uart_sunsu_port * up,unsigned char * status) receive_chars() argument
373 transmit_chars(struct uart_sunsu_port * up) transmit_chars() argument
409 check_modem_status(struct uart_sunsu_port * up) check_modem_status() argument
432 struct uart_sunsu_port *up = dev_id; sunsu_serial_interrupt() local
461 sunsu_change_mouse_baud(struct uart_sunsu_port * up) sunsu_change_mouse_baud() argument
474 receive_kbd_ms_chars(struct uart_sunsu_port * up,int is_break) receive_kbd_ms_chars() argument
506 struct uart_sunsu_port *up = dev_id; sunsu_kbd_ms_interrupt() local
520 struct uart_sunsu_port *up = sunsu_tx_empty() local
534 struct uart_sunsu_port *up = sunsu_get_mctrl() local
555 struct uart_sunsu_port *up = sunsu_set_mctrl() local
575 struct uart_sunsu_port *up = sunsu_break_ctl() local
590 struct uart_sunsu_port *up = sunsu_startup() local
701 struct uart_sunsu_port *up = sunsu_shutdown() local
750 struct uart_sunsu_port *up = sunsu_change_speed() local
900 struct uart_sunsu_port *up = sunsu_config_port() local
959 struct uart_sunsu_port *up = serio->port_data; sunsu_serio_write() local
979 struct uart_sunsu_port *up = serio->port_data; sunsu_serio_open() local
996 struct uart_sunsu_port *up = serio->port_data; sunsu_serio_close() local
1006 sunsu_autoconfig(struct uart_sunsu_port * up) sunsu_autoconfig() argument
1163 sunsu_kbd_ms_init(struct uart_sunsu_port * up) sunsu_kbd_ms_init() argument
1231 wait_for_xmitr(struct uart_sunsu_port * up) wait_for_xmitr() argument
1258 struct uart_sunsu_port *up = sunsu_console_putchar() local
1272 struct uart_sunsu_port *up = &sunsu_ports[co->index]; sunsu_console_write() local
1389 struct uart_sunsu_port *up; su_probe() local
1482 struct uart_sunsu_port *up = platform_get_drvdata(op); su_remove() local
[all...]
H A Dsunsab.c92 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) in sunsab_tec_wait() argument
94 int timeout = up->tec_timeout; in sunsab_tec_wait()
96 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) in sunsab_tec_wait()
100 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) in sunsab_cec_wait() argument
102 int timeout = up->cec_timeout; in sunsab_cec_wait()
104 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) in sunsab_cec_wait()
109 receive_chars(struct uart_sunsab_port *up, in receive_chars() argument
119 if (up->port.state != NULL) /* Unopened serial console */ in receive_chars()
120 port = &up->port.state->port; in receive_chars()
129 count = readb(&up->regs->r.rbcl) & (SAB82532_RECV_FIFO_SIZE - 1); in receive_chars()
[all …]
H A Dsunzilog.c108 #define ZS_IS_KEYB(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_KEYB) argument
109 #define ZS_IS_MOUSE(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_MOUSE) argument
110 #define ZS_IS_CONS(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CONS) argument
111 #define ZS_IS_KGDB(UP) ((UP)->flags & SUNZILOG_FLAG_IS_KGDB) argument
112 #define ZS_WANTS_MODEM_STATUS(UP) ((UP)->flags & SUNZILOG_FLAG_MODEM_STATUS) argument
113 #define ZS_IS_CHANNEL_A(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CHANNEL_A) argument
114 #define ZS_REGS_HELD(UP) ((UP)->flags & SUNZILOG_FLAG_REGS_HELD) argument
115 #define ZS_TX_STOPPED(UP) ((UP)->flags & SUNZILOG_FLAG_TX_STOPPED) argument
116 #define ZS_TX_ACTIVE(UP) ((UP)->flags & SUNZILOG_FLAG_TX_ACTIVE) argument
268 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, in sunzilog_maybe_update_regs() argument
[all …]
H A Dar933x_uart.c57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() argument
60 return readl(up->port.membase + offset); in ar933x_uart_read()
63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write() argument
66 writel(value, up->port.membase + offset); in ar933x_uart_write()
69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw() argument
76 t = ar933x_uart_read(up, offset); in ar933x_uart_rmw()
79 ar933x_uart_write(up, offset, t); in ar933x_uart_rmw()
82 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, in ar933x_uart_rmw_set() argument
86 ar933x_uart_rmw(up, offset, 0, val); in ar933x_uart_rmw_set()
89 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, in ar933x_uart_rmw_clear() argument
[all …]
H A Dserial_txx9.c159 static inline unsigned int sio_in(struct uart_port *up, int offset) in sio_in() argument
161 switch (up->iotype) { in sio_in()
163 return __raw_readl(up->membase + offset); in sio_in()
165 return inl(up->iobase + offset); in sio_in()
170 sio_out(struct uart_port *up, int offset, int value) in sio_out() argument
172 switch (up->iotype) { in sio_out()
174 __raw_writel(value, up->membase + offset); in sio_out()
177 outl(value, up->iobase + offset); in sio_out()
183 sio_mask(struct uart_port *up, int offset, unsigned int value) in sio_mask() argument
185 sio_out(up, offse in sio_mask()
188 sio_set(struct uart_port * up,int offset,unsigned int value) sio_set() argument
194 sio_quot_set(struct uart_port * up,int quot) sio_quot_set() argument
209 serial_txx9_stop_tx(struct uart_port * up) serial_txx9_stop_tx() argument
214 serial_txx9_start_tx(struct uart_port * up) serial_txx9_start_tx() argument
219 serial_txx9_stop_rx(struct uart_port * up) serial_txx9_stop_rx() argument
224 serial_txx9_initialize(struct uart_port * up) serial_txx9_initialize() argument
248 receive_chars(struct uart_port * up,unsigned int * status) receive_chars() argument
322 transmit_chars(struct uart_port * up) transmit_chars() argument
335 struct uart_port *up = dev_id; serial_txx9_interrupt() local
366 serial_txx9_tx_empty(struct uart_port * up) serial_txx9_tx_empty() argument
378 serial_txx9_get_mctrl(struct uart_port * up) serial_txx9_get_mctrl() argument
390 serial_txx9_set_mctrl(struct uart_port * up,unsigned int mctrl) serial_txx9_set_mctrl() argument
399 serial_txx9_break_ctl(struct uart_port * up,int break_state) serial_txx9_break_ctl() argument
415 wait_for_xmitr(struct uart_port * up) wait_for_xmitr() argument
440 serial_txx9_get_poll_char(struct uart_port * up) serial_txx9_get_poll_char() argument
466 serial_txx9_put_poll_char(struct uart_port * up,unsigned char c) serial_txx9_put_poll_char() argument
492 serial_txx9_startup(struct uart_port * up) serial_txx9_startup() argument
536 serial_txx9_shutdown(struct uart_port * up) serial_txx9_shutdown() argument
574 serial_txx9_set_termios(struct uart_port * up,struct ktermios * termios,const struct ktermios * old) serial_txx9_set_termios() argument
699 serial_txx9_request_resource(struct uart_port * up) serial_txx9_request_resource() argument
731 serial_txx9_release_resource(struct uart_port * up) serial_txx9_release_resource() argument
754 serial_txx9_release_port(struct uart_port * up) serial_txx9_release_port() argument
759 serial_txx9_request_port(struct uart_port * up) serial_txx9_request_port() argument
764 serial_txx9_config_port(struct uart_port * up,int uflags) serial_txx9_config_port() argument
821 struct uart_port *up = &serial_txx9_ports[i]; serial_txx9_register_ports() local
833 serial_txx9_console_putchar(struct uart_port * up,unsigned char ch) serial_txx9_console_putchar() argument
848 struct uart_port *up = &serial_txx9_ports[co->index]; serial_txx9_console_write() local
876 struct uart_port *up; serial_txx9_console_setup() local
1061 struct uart_port *up = &serial_txx9_ports[i]; serial_txx9_remove() local
1074 struct uart_port *up = &serial_txx9_ports[i]; serial_txx9_suspend() local
1088 struct uart_port *up = &serial_txx9_ports[i]; serial_txx9_resume() local
1147 struct uart_port *up = pci_get_drvdata(dev); pciserial_txx9_remove_one() local
1158 struct uart_port *up = pci_get_drvdata(dev); pciserial_txx9_suspend_one() local
1169 struct uart_port *up = pci_get_drvdata(dev); pciserial_txx9_resume_one() local
1254 struct uart_port *up = &serial_txx9_ports[i]; serial_txx9_exit() local
[all...]
H A Dpxa.c52 static inline unsigned int serial_in(struct uart_pxa_port *up, int offset) in serial_in() argument
55 return readl(up->port.membase + offset); in serial_in()
58 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() argument
61 writel(value, up->port.membase + offset); in serial_out()
66 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_enable_ms() local
68 up->ier |= UART_IER_MSI; in serial_pxa_enable_ms()
69 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
74 struct uart_pxa_port *up = (struct uart_pxa_port *)port; in serial_pxa_stop_tx() local
76 if (up in serial_pxa_stop_tx()
84 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_stop_rx() local
91 receive_chars(struct uart_pxa_port * up,int * status) receive_chars() argument
175 transmit_chars(struct uart_pxa_port * up) transmit_chars() argument
187 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_start_tx() local
196 check_modem_status(struct uart_pxa_port * up) check_modem_status() argument
222 struct uart_pxa_port *up = dev_id; serial_pxa_irq() local
241 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_tx_empty() local
254 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_get_mctrl() local
274 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_set_mctrl() local
295 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_break_ctl() local
309 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_startup() local
375 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_shutdown() local
405 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_set_termios() local
514 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_pm() local
533 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_config_port() local
547 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_type() local
559 wait_for_xmitr(struct uart_pxa_port * up) wait_for_xmitr() argument
586 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_console_putchar() local
601 struct uart_pxa_port *up = serial_pxa_ports[co->index]; serial_pxa_console_write() local
640 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_get_poll_char() local
654 struct uart_pxa_port *up = (struct uart_pxa_port *)port; serial_pxa_put_poll_char() local
681 struct uart_pxa_port *up; serial_pxa_console_setup() local
[all...]
/linux/drivers/net/can/usb/
H A Ducan.c85 /* wake up can transceiver from low-power sleep mode */
263 struct ucan_priv *up; member
314 static void ucan_release_context_array(struct ucan_priv *up) in ucan_release_context_array() argument
316 if (!up->context_array) in ucan_release_context_array()
320 up->available_tx_urbs = 0; in ucan_release_context_array()
322 kfree(up->context_array); in ucan_release_context_array()
323 up->context_array = NULL; in ucan_release_context_array()
326 static int ucan_alloc_context_array(struct ucan_priv *up) in ucan_alloc_context_array() argument
331 ucan_release_context_array(up); in ucan_alloc_context_array()
333 up->context_array = kzalloc_objs(*up->context_array, in ucan_alloc_context_array()
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_port.c317 static u32 default_serial_dl_read(struct uart_8250_port *up) in default_serial_dl_read() argument
320 unsigned char dll = serial_in(up, UART_DLL); in default_serial_dl_read()
321 unsigned char dlm = serial_in(up, UART_DLM); in default_serial_dl_read()
327 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in default_serial_dl_write() argument
329 serial_out(up, UART_DLL, value & 0xff); in default_serial_dl_write()
330 serial_out(up, UART_DLM, value >> 8 & 0xff); in default_serial_dl_write()
423 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() local
425 up->dl_read = default_serial_dl_read; in set_io_from_upio()
426 up->dl_write = default_serial_dl_write; in set_io_from_upio()
470 up in set_io_from_upio()
624 struct uart_8250_port *up = up_to_u8250p(port); serial8250_em485_config() local
711 serial8250_clear_IER(struct uart_8250_port * up) serial8250_clear_IER() argument
723 size_fifo(struct uart_8250_port * up) size_fifo() argument
787 autoconfig_has_efr(struct uart_8250_port * up) autoconfig_has_efr() argument
872 autoconfig_8250(struct uart_8250_port * up) autoconfig_8250() argument
889 broken_efr(struct uart_8250_port * up) broken_efr() argument
908 autoconfig_16550a(struct uart_8250_port * up) autoconfig_16550a() argument
1068 autoconfig(struct uart_8250_port * up) autoconfig() argument
1215 autoconfig_irq(struct uart_8250_port * up) autoconfig_irq() argument
1269 struct uart_8250_port *up = up_to_u8250p(port); serial8250_stop_rx() local
1402 struct uart_8250_port *up = up_to_u8250p(port); serial8250_stop_tx() local
1418 struct uart_8250_port *up = up_to_u8250p(port); __start_tx() local
1452 serial8250_em485_start_tx(struct uart_8250_port * up,bool toggle_ier) serial8250_em485_start_tx() argument
1470 struct uart_8250_port *up = up_to_u8250p(port); start_tx_rs485() local
1521 struct uart_8250_port *up = up_to_u8250p(port); serial8250_start_tx() local
1552 struct uart_8250_port *up = up_to_u8250p(port); serial8250_disable_ms() local
1569 struct uart_8250_port *up = up_to_u8250p(port); serial8250_enable_ms() local
1586 serial8250_read_char(struct uart_8250_port * up,u16 lsr) serial8250_read_char() argument
1654 serial8250_rx_chars(struct uart_8250_port * up,u16 lsr) serial8250_rx_chars() argument
1671 serial8250_tx_chars(struct uart_8250_port * up) serial8250_tx_chars() argument
1735 serial8250_modem_status(struct uart_8250_port * up) serial8250_modem_status() argument
1760 handle_rx_dma(struct uart_8250_port * up,unsigned int iir) handle_rx_dma() argument
1794 struct uart_8250_port *up = up_to_u8250p(port); serial8250_handle_irq_locked() local
1852 struct uart_8250_port *up = up_to_u8250p(port); serial8250_default_handle_irq() local
1873 struct uart_8250_port *up = up_to_u8250p(port); serial8250_tx_threshold_handle_irq() local
1885 struct uart_8250_port *up = up_to_u8250p(port); serial8250_tx_empty() local
1898 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_get_mctrl() local
1922 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_mctrl() local
1946 struct uart_8250_port *up = up_to_u8250p(port); serial8250_break_ctl() local
1959 wait_for_lsr(struct uart_8250_port * up,int bits) wait_for_lsr() argument
1987 wait_for_xmitr(struct uart_8250_port * up,int bits) wait_for_xmitr() argument
2014 struct uart_8250_port *up = up_to_u8250p(port); serial8250_get_poll_char() local
2031 struct uart_8250_port *up = up_to_u8250p(port); serial8250_put_poll_char() local
2066 struct uart_8250_port *up = up_to_u8250p(port); serial8250_startup_special() local
2113 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_TRG_levels() local
2153 struct uart_8250_port *up = up_to_u8250p(port); serial8250_THRE_test() local
2210 struct uart_8250_port *up = up_to_u8250p(port); serial8250_iir_txen_test() local
2254 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_startup() local
2362 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_shutdown() local
2428 struct uart_8250_port *up = up_to_u8250p(port); serial8250_flush_buffer() local
2437 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_get_divisor() local
2498 serial8250_compute_lcr(struct uart_8250_port * up,tcflag_t c_cflag) serial8250_compute_lcr() argument
2517 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_divisor() local
2614 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_mini() local
2631 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_trigger_for_slow_speed() local
2652 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_afe() local
2696 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_ier() local
2712 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_efr() local
2736 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_fcr() local
2762 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_termios() local
2864 serial8250_request_std_resource(struct uart_8250_port * up) serial8250_request_std_resource() argument
2902 serial8250_release_std_resource(struct uart_8250_port * up) serial8250_release_std_resource() argument
2936 struct uart_8250_port *up = up_to_u8250p(port); serial8250_release_port() local
2943 struct uart_8250_port *up = up_to_u8250p(port); serial8250_request_port() local
2948 fcr_get_rxtrig_bytes(struct uart_8250_port * up) fcr_get_rxtrig_bytes() argument
2958 bytes_to_fcr_rxtrig(struct uart_8250_port * up,unsigned char bytes) bytes_to_fcr_rxtrig() argument
2979 struct uart_8250_port *up = up_to_u8250p(uport); do_get_rxtrig() local
3015 struct uart_8250_port *up = up_to_u8250p(uport); do_set_rxtrig() local
3075 register_dev_spec_attr_grp(struct uart_8250_port * up) register_dev_spec_attr_grp() argument
3085 struct uart_8250_port *up = up_to_u8250p(port); serial8250_config_port() local
3164 serial8250_init_port(struct uart_8250_port * up) serial8250_init_port() argument
3178 serial8250_set_defaults(struct uart_8250_port * up) serial8250_set_defaults() argument
3205 serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port * up,unsigned int count) serial8250_fifo_wait_for_lsr_thre() argument
3225 struct uart_8250_port *up = up_to_u8250p(port); serial8250_console_wait_putchar() local
3234 serial8250_console_restore(struct uart_8250_port * up) serial8250_console_restore() argument
3263 serial8250_console_fifo_write(struct uart_8250_port * up,const char * s,unsigned int count) serial8250_console_fifo_write() argument
3305 serial8250_console_write(struct uart_8250_port * up,const char * s,unsigned int count) serial8250_console_write() argument
[all...]
H A D8250_rsa.c19 static int rsa8250_request_resource(struct uart_8250_port *up) in rsa8250_request_resource() argument
21 struct uart_port *port = &up->port; in rsa8250_request_resource()
37 static void rsa8250_release_resource(struct uart_8250_port *up) in rsa8250_release_resource() argument
39 struct uart_port *port = &up->port; in rsa8250_release_resource()
55 struct uart_8250_port *up = up_to_u8250p(port); in univ8250_config_port() local
58 up->probe &= ~UART_PROBE_RSA; in univ8250_config_port()
60 if (rsa8250_request_resource(up) == 0) in univ8250_config_port()
61 up->probe |= UART_PROBE_RSA; in univ8250_config_port()
64 if (probe_rsa[i] == up->port.iobase) { in univ8250_config_port()
65 if (rsa8250_request_resource(up) == 0) in univ8250_config_port()
[all …]
H A D8250.h126 static inline int serial_in(struct uart_8250_port *up, int offset) in serial_in() argument
128 return up->port.serial_in(&up->port, offset); in serial_in()
131 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() argument
133 up->port.serial_out(&up->port, offset, value); in serial_out()
138 * @up: uart 8250 port
142 * up->lsr_saved_flags.
146 static inline u16 serial_lsr_in(struct uart_8250_port *up) in serial_lsr_in() argument
148 u16 lsr = up->lsr_saved_flags; in serial_lsr_in()
150 lsr |= serial_in(up, UART_LSR); in serial_lsr_in()
151 up->lsr_saved_flags = lsr & up->lsr_save_mask; in serial_lsr_in()
[all …]
H A D8250_mtk.c90 static void mtk8250_rx_dma(struct uart_8250_port *up);
94 struct uart_8250_port *up = param; in mtk8250_dma_rx_complete()
95 struct uart_8250_dma *dma = up->dma; in mtk8250_dma_rx_complete()
96 struct mtk8250_data *data = up->port.private_data; in mtk8250_dma_rx_complete()
97 struct tty_port *tty_port = &up->port.state->port; in mtk8250_dma_rx_complete()
106 uart_port_lock_irqsave(&up->port, &flags); in mtk8250_dma_rx_complete()
126 up->port.icount.rx += copied; in mtk8250_dma_rx_complete()
130 mtk8250_rx_dma(up); in mtk8250_dma_rx_complete()
132 uart_port_unlock_irqrestore(&up->port, flags); in mtk8250_dma_rx_complete()
135 static void mtk8250_rx_dma(struct uart_8250_port *up) in mtk8250_rx_dma()
93 struct uart_8250_port *up = param; mtk8250_dma_rx_complete() local
134 mtk8250_rx_dma(struct uart_8250_port * up) mtk8250_rx_dma() argument
155 mtk8250_dma_enable(struct uart_8250_port * up) mtk8250_dma_enable() argument
193 struct uart_8250_port *up = up_to_u8250p(port); mtk8250_startup() local
212 struct uart_8250_port *up = up_to_u8250p(port); mtk8250_shutdown() local
227 mtk8250_disable_intrs(struct uart_8250_port * up,int mask) mtk8250_disable_intrs() argument
235 mtk8250_enable_intrs(struct uart_8250_port * up,int mask) mtk8250_enable_intrs() argument
243 mtk8250_set_flow_ctrl(struct uart_8250_port * up,int mode) mtk8250_set_flow_ctrl() argument
315 struct uart_8250_port *up = up_to_u8250p(port); mtk8250_set_termios() local
432 struct uart_8250_port *up = serial8250_get_port(data->line); mtk8250_runtime_suspend() local
[all...]
H A D8250_uniphier.c148 static u32 uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read() argument
150 return readl(up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_read()
153 static void uniphier_serial_dl_write(struct uart_8250_port *up, u32 value) in uniphier_serial_dl_write() argument
155 writel(value, up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_write()
161 struct uart_8250_port up; in uniphier_uart_probe() local
181 memset(&up, 0, sizeof(up)); in uniphier_uart_probe()
193 up.port.uartclk = clk_get_rate(priv->clk); in uniphier_uart_probe()
197 up.port.dev = dev; in uniphier_uart_probe()
198 up.port.private_data = priv; in uniphier_uart_probe()
199 up.port.mapbase = regs->start; in uniphier_uart_probe()
[all …]
H A D8250_ce4100.c62 static void ce4100_serial_fixup(int port, struct uart_port *up, u32 *capabilities) in ce4100_serial_fixup() argument
70 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
71 up->uartclk = 14745600; in ce4100_serial_fixup()
72 up->mapbase = 0xdffe0200; in ce4100_serial_fixup()
73 set_fixmap_nocache(FIX_EARLYCON_MEM_BASE, up->mapbase & PAGE_MASK); in ce4100_serial_fixup()
74 up->membase = (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in ce4100_serial_fixup()
75 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
76 up->mapbase += port * 0x100; in ce4100_serial_fixup()
77 up->membase += port * 0x100; in ce4100_serial_fixup()
78 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
[all …]
H A D8250_em.c142 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read() argument
144 return serial_in(up, UART_DLL_EM) | serial_in(up, UART_DLM_EM) << 8; in serial8250_em_serial_dl_read()
147 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value) in serial8250_em_serial_dl_write() argument
149 serial_out(up, UART_DLL_EM, value & 0xff); in serial8250_em_serial_dl_write()
150 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); in serial8250_em_serial_dl_write()
157 struct uart_8250_port up; in serial8250_em_probe() local
178 memset(&up, 0, sizeof(up)); in serial8250_em_probe()
179 up.port.mapbase = regs->start; in serial8250_em_probe()
180 up.port.irq = irq; in serial8250_em_probe()
181 up.port.type = PORT_16750; in serial8250_em_probe()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Duar.c83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local
85 list_del(&up->list); in up_rel_func()
86 iounmap(up->map); in up_rel_func()
87 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func()
88 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); in up_rel_func()
89 bitmap_free(up->reg_bitmap); in up_rel_func()
90 bitmap_free(up->fp_bitmap); in up_rel_func()
91 kfree(up); in up_rel_func()
97 struct mlx5_uars_page *up; in alloc_uars_page() local
106 up = kzalloc_node(sizeof(*up), GFP_KERNEL, node); in alloc_uars_page()
[all …]
/linux/drivers/mtd/maps/
H A Dsun_uflash.c52 struct uflash_dev *up; in uflash_devinit() local
64 up = kzalloc_obj(struct uflash_dev); in uflash_devinit()
65 if (!up) in uflash_devinit()
69 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ)); in uflash_devinit()
71 up->map.size = resource_size(&op->resource[0]); in uflash_devinit()
73 up->name = of_get_property(dp, "model", NULL); in uflash_devinit()
74 if (up->name && 0 < strlen(up->name)) in uflash_devinit()
75 up->map.name = up->name; in uflash_devinit()
77 up->map.phys = op->resource[0].start; in uflash_devinit()
79 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, in uflash_devinit()
[all …]
/linux/Documentation/networking/dsa/
H A Db53.rst61 The configuration can only be set up via VLAN tagging and bridge setup.
71 # The conduit interface needs to be brought up before the user ports.
72 ip link set eth0 up
73 ip link set eth0.1 up
74 ip link set eth0.2 up
75 ip link set eth0.3 up
77 # bring up the user interfaces
78 ip link set wan up
79 ip link set lan1 up
80 ip link set lan2 up
[all …]
H A Dconfiguration.rst37 The user interfaces depend on the conduit interface being up in order for them
42 - when a DSA user interface is brought up, the conduit interface is
43 automatically brought up.
100 # brought up manually before the user ports.
101 ip link set eth0 up
103 # bring up the user interfaces
104 ip link set lan1 up
105 ip link set lan2 up
106 ip link set lan3 up
112 # brought up manually before the user ports.
[all …]
/linux/lib/crypto/mpi/
H A Dmpih-mul.c21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument
24 mul_n_basecase(prodp, up, vp, size); \
26 mul_n(prodp, up, vp, size, tspace); \
29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument
32 mpih_sqr_n_basecase(prodp, up, size); \
34 mpih_sqr_n(prodp, up, size, tspace); \
37 /* Multiply the natural numbers u (pointed to by UP) and v (pointed to by VP),
42 * 1. PRODP != UP and PRODP != VP, i.e. the destination
55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() argument
66 MPN_COPY(prodp, up, size); in mul_n_basecase()
[all …]
/linux/drivers/base/power/
H A Dwakeirq.c17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ.
46 * automatically configured for wake-up from suspend based
136 * handle_threaded_wake_irq - Handler for dedicated wake-up interrupts
137 * @irq: Device specific dedicated wake-up interrupt
140 * Some devices have a separate wake-up interrupt in addition to the
141 * device IO interrupt. The wake-up interrupt signals that a device
142 * should be woken up from it's idle state. This handler uses device
144 * up to the device to do whatever it needs to. Note that as the
145 * device may need to restore context and start up regulators, we
149 * We assume that the wake-up interrupt just needs to wake-up the
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drockchip-pinconf.dtsi8 pcfg_pull_up: pcfg-pull-up {
9 bias-pull-up;
119 pcfg_pull_up_drv_level_0: pcfg-pull-up-drv-level-0 {
120 bias-pull-up;
125 pcfg_pull_up_drv_level_1: pcfg-pull-up-drv-level-1 {
126 bias-pull-up;
131 pcfg_pull_up_drv_level_2: pcfg-pull-up-drv-level-2 {
132 bias-pull-up;
137 pcfg_pull_up_drv_level_3: pcfg-pull-up-drv-level-3 {
138 bias-pull-up;
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2166x-pinctrl.dtsi85 bias-pull-up;
91 bias-pull-up;
105 bias-pull-up;
111 bias-pull-up;
126 bias-pull-up;
132 bias-pull-up;
146 bias-pull-up;
152 bias-pull-up;
158 bias-pull-up;
164 bias-pull-up;
[all …]
/linux/Documentation/admin-guide/aoe/
H A Daoe.rst76 state, mac, and netif. The state attribute is "up" when the device
79 cannot come up again until it has been closed.
90 e10.0 eth3 up
91 e10.1 eth3 up
92 e10.2 eth3 up
93 e10.3 eth3 up
94 e10.4 eth3 up
95 e10.5 eth3 up
96 e10.6 eth3 up
97 e10.7 eth3 up
[all …]
/linux/kernel/
H A Duser.c117 static void uid_hash_insert(struct user_struct *up, struct hlist_head *hashent) in uid_hash_insert() argument
119 hlist_add_head(&up->uidhash_node, hashent); in uid_hash_insert()
122 static void uid_hash_remove(struct user_struct *up) in uid_hash_remove() argument
124 hlist_del_init(&up->uidhash_node); in uid_hash_remove()
141 static int user_epoll_alloc(struct user_struct *up) in user_epoll_alloc() argument
144 return percpu_counter_init(&up->epoll_watches, 0, GFP_KERNEL); in user_epoll_alloc()
150 static void user_epoll_free(struct user_struct *up) in user_epoll_free() argument
153 percpu_counter_destroy(&up->epoll_watches); in user_epoll_free()
161 static void free_user(struct user_struct *up, unsigned long flags) in free_user() argument
164 uid_hash_remove(up); in free_user()
[all …]

12345678910>>...229