| /linux/drivers/tty/serial/ |
| H A D | sunsab.c | 92 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 D | sunzilog.c | 108 #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 D | ar933x_uart.c | 57 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 96 ar933x_uart_start_tx_interrupt(struct ar933x_uart_port * up) ar933x_uart_start_tx_interrupt() argument 102 ar933x_uart_stop_tx_interrupt(struct ar933x_uart_port * up) ar933x_uart_stop_tx_interrupt() argument 108 ar933x_uart_start_rx_interrupt(struct ar933x_uart_port * up) ar933x_uart_start_rx_interrupt() argument 114 ar933x_uart_stop_rx_interrupt(struct ar933x_uart_port * up) ar933x_uart_stop_rx_interrupt() argument 120 ar933x_uart_putc(struct ar933x_uart_port * up,int ch) ar933x_uart_putc() argument 131 struct ar933x_uart_port *up = ar933x_uart_tx_empty() local 145 struct ar933x_uart_port *up = ar933x_uart_get_mctrl() local 156 struct ar933x_uart_port *up = ar933x_uart_set_mctrl() local 164 struct ar933x_uart_port *up = ar933x_uart_start_tx() local 170 ar933x_uart_wait_tx_complete(struct ar933x_uart_port * up) ar933x_uart_wait_tx_complete() argument 187 ar933x_uart_rx_flush(struct ar933x_uart_port * up) ar933x_uart_rx_flush() argument 203 struct ar933x_uart_port *up = ar933x_uart_stop_tx() local 211 struct ar933x_uart_port *up = ar933x_uart_stop_rx() local 219 struct ar933x_uart_port *up = ar933x_uart_break_ctl() local 288 struct ar933x_uart_port *up = ar933x_uart_set_termios() local 361 ar933x_uart_rx_chars(struct ar933x_uart_port * up) ar933x_uart_rx_chars() argument 391 ar933x_uart_tx_chars(struct ar933x_uart_port * up) ar933x_uart_tx_chars() argument 445 struct ar933x_uart_port *up = dev_id; ar933x_uart_interrupt() local 477 struct ar933x_uart_port *up = ar933x_uart_startup() local 507 struct ar933x_uart_port *up = ar933x_uart_shutdown() local 546 struct ar933x_uart_port *up = ar933x_uart_verify_port() local 566 struct ar933x_uart_port *up = ar933x_poll_get_char() local 597 struct ar933x_uart_port *up = ar933x_poll_put_char() local 646 struct ar933x_uart_port *up = ar933x_config_rs485() local 660 ar933x_uart_wait_xmitr(struct ar933x_uart_port * up) ar933x_uart_wait_xmitr() argument 676 struct ar933x_uart_port *up = ar933x_uart_console_putchar() local 686 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; ar933x_uart_console_write() local 719 struct ar933x_uart_port *up; ar933x_uart_console_setup() local 763 struct ar933x_uart_port *up; ar933x_uart_probe() local 877 struct ar933x_uart_port *up; ar933x_uart_remove() local [all...] |
| H A D | ma35d1_serial.c | 105 #define MA35_ISR_WK_IF BIT(6) /* UART Wake-up Interrupt Flag */ 189 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); in ma35d1serial_stop_tx() local 191 __stop_tx(up); in ma35d1serial_stop_tx() 194 static void transmit_chars(struct uart_ma35d1_port *up) in transmit_chars() argument 199 if (uart_tx_stopped(&up->port)) { in transmit_chars() 200 ma35d1serial_stop_tx(&up->port); in transmit_chars() 204 serial_in(up, MA35_FSR_REG)); in transmit_chars() 205 uart_port_tx_limited(&up->port, ch, count, in transmit_chars() 206 !(serial_in(up, MA35_FSR_REG) & MA35_FSR_TX_FULL), in transmit_chars() 207 serial_out(up, MA35_THR_RE in transmit_chars() 213 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_start_tx() local 224 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_stop_rx() local 232 receive_chars(struct uart_ma35d1_port * up) receive_chars() argument 287 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_interrupt() local 308 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_tx_empty() local 320 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_get_mctrl() local 332 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_set_mctrl() local 363 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_break_ctl() local 379 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_startup() local 407 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_shutdown() local 417 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_set_termios() local 530 wait_for_xmitr(struct uart_ma35d1_port * up) wait_for_xmitr() argument 541 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_console_putchar() local 555 struct uart_ma35d1_port *up; ma35d1serial_console_write() local 696 struct uart_ma35d1_port *up; ma35d1serial_probe() local 772 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_remove() local 782 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_suspend() local 796 struct uart_ma35d1_port *up = to_ma35d1_uart_port(port); ma35d1serial_resume() local [all...] |
| /linux/drivers/net/can/usb/ |
| H A D | ucan.c | 85 /* 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 in ucan_alloc_context_array() 352 ucan_alloc_context(struct ucan_priv * up) ucan_alloc_context() argument 383 ucan_release_context(struct ucan_priv * up,struct ucan_urb_context * ctx) ucan_release_context() argument 411 ucan_ctrl_command_out(struct ucan_priv * up,u8 cmd,u16 subcmd,u16 datalen) ucan_ctrl_command_out() argument 426 ucan_get_fw_str(struct ucan_priv * up,char * fw_str,size_t size) ucan_get_fw_str() argument 445 ucan_parse_device_info(struct ucan_priv * up,struct ucan_ctl_cmd_device_info * device_info) ucan_parse_device_info() argument 484 ucan_handle_error_frame(struct ucan_priv * up,struct ucan_message_in * m,canid_t canid) ucan_handle_error_frame() argument 566 ucan_rx_can_msg(struct ucan_priv * up,struct ucan_message_in * m) ucan_rx_can_msg() argument 636 ucan_tx_complete_msg(struct ucan_priv * up,struct ucan_message_in * m) ucan_tx_complete_msg() argument 692 struct ucan_priv *up = urb->context; ucan_read_bulk_callback() local 820 struct ucan_priv *up; ucan_write_bulk_callback() local 861 ucan_cleanup_rx_urbs(struct ucan_priv * up,struct urb ** urbs) ucan_cleanup_rx_urbs() argument 879 ucan_prepare_and_anchor_rx_urbs(struct ucan_priv * up,struct urb ** urbs) ucan_prepare_and_anchor_rx_urbs() argument 928 ucan_submit_rx_urbs(struct ucan_priv * up,struct urb ** urbs) ucan_submit_rx_urbs() argument 968 struct ucan_priv *up = netdev_priv(netdev); ucan_open() local 1050 ucan_prepare_tx_urb(struct ucan_priv * up,struct ucan_urb_context * context,struct can_frame * cf,u8 echo_index) ucan_prepare_tx_urb() argument 1104 ucan_clean_up_tx_urb(struct ucan_priv * up,struct urb * urb) ucan_clean_up_tx_urb() argument 1120 struct ucan_priv *up = netdev_priv(netdev); ucan_start_xmit() local 1199 struct ucan_priv *up = netdev_priv(netdev); ucan_close() local 1249 struct ucan_priv *up = netdev_priv(netdev); ucan_set_bittiming() local 1274 struct ucan_priv *up = netdev_priv(netdev); ucan_set_mode() local 1309 struct ucan_priv *up; ucan_probe() local 1550 struct ucan_priv *up = usb_get_intfdata(intf); ucan_disconnect() local [all...] |
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_port.c | 341 static u32 default_serial_dl_read(struct uart_8250_port *up) 344 unsigned char dll = serial_in(up, UART_DLL); in hub6_serial_in() 345 unsigned char dlm = serial_in(up, UART_DLM); in hub6_serial_in() 351 static void default_serial_dl_write(struct uart_8250_port *up, u32 value) in hub6_serial_out() 353 serial_out(up, UART_DLL, value & 0xff); in hub6_serial_out() 354 serial_out(up, UART_DLM, value >> 8 & 0xff); in hub6_serial_out() 447 struct uart_8250_port *up = up_to_u8250p(p); in set_io_from_upio() 449 up->dl_read = default_serial_dl_read; in set_io_from_upio() 450 up->dl_write = default_serial_dl_write; in set_io_from_upio() 494 up 325 default_serial_dl_read(struct uart_8250_port * up) default_serial_dl_read() argument 335 default_serial_dl_write(struct uart_8250_port * up,u32 value) default_serial_dl_write() argument 431 struct uart_8250_port *up = up_to_u8250p(p); set_io_from_upio() local 628 struct uart_8250_port *up = up_to_u8250p(port); serial8250_em485_config() local 720 __serial8250_clear_IER(struct uart_8250_port * up) __serial8250_clear_IER() argument 728 serial8250_clear_IER(struct uart_8250_port * up) serial8250_clear_IER() argument 740 size_fifo(struct uart_8250_port * up) size_fifo() argument 804 autoconfig_has_efr(struct uart_8250_port * up) autoconfig_has_efr() argument 889 autoconfig_8250(struct uart_8250_port * up) autoconfig_8250() argument 906 broken_efr(struct uart_8250_port * up) broken_efr() argument 925 autoconfig_16550a(struct uart_8250_port * up) autoconfig_16550a() argument 1085 autoconfig(struct uart_8250_port * up) autoconfig() argument 1232 autoconfig_irq(struct uart_8250_port * up) autoconfig_irq() argument 1286 struct uart_8250_port *up = up_to_u8250p(port); serial8250_stop_rx() local 1426 struct uart_8250_port *up = up_to_u8250p(port); serial8250_stop_tx() local 1442 struct uart_8250_port *up = up_to_u8250p(port); __start_tx() local 1476 serial8250_em485_start_tx(struct uart_8250_port * up,bool toggle_ier) serial8250_em485_start_tx() argument 1494 struct uart_8250_port *up = up_to_u8250p(port); start_tx_rs485() local 1545 struct uart_8250_port *up = up_to_u8250p(port); serial8250_start_tx() local 1576 struct uart_8250_port *up = up_to_u8250p(port); serial8250_disable_ms() local 1593 struct uart_8250_port *up = up_to_u8250p(port); serial8250_enable_ms() local 1610 serial8250_read_char(struct uart_8250_port * up,u16 lsr) serial8250_read_char() argument 1678 serial8250_rx_chars(struct uart_8250_port * up,u16 lsr) serial8250_rx_chars() argument 1695 serial8250_tx_chars(struct uart_8250_port * up) serial8250_tx_chars() argument 1759 serial8250_modem_status(struct uart_8250_port * up) serial8250_modem_status() argument 1784 handle_rx_dma(struct uart_8250_port * up,unsigned int iir) handle_rx_dma() argument 1818 struct uart_8250_port *up = up_to_u8250p(port); serial8250_handle_irq_locked() local 1883 struct uart_8250_port *up = up_to_u8250p(port); serial8250_default_handle_irq() local 1904 struct uart_8250_port *up = up_to_u8250p(port); serial8250_tx_threshold_handle_irq() local 1916 struct uart_8250_port *up = up_to_u8250p(port); serial8250_tx_empty() local 1929 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_get_mctrl() local 1953 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_mctrl() local 1977 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_break_ctl() local 1999 wait_for_lsr(struct uart_8250_port * up,int bits) wait_for_lsr() argument 2027 wait_for_xmitr(struct uart_8250_port * up,int bits) wait_for_xmitr() argument 2064 struct uart_8250_port *up = up_to_u8250p(port); serial8250_get_poll_char() local 2081 struct uart_8250_port *up = up_to_u8250p(port); serial8250_put_poll_char() local 2119 struct uart_8250_port *up = up_to_u8250p(port); serial8250_startup_special() local 2166 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_TRG_levels() local 2206 struct uart_8250_port *up = up_to_u8250p(port); serial8250_THRE_test() local 2263 struct uart_8250_port *up = up_to_u8250p(port); serial8250_iir_txen_test() local 2307 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_startup() local 2415 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_shutdown() local 2481 struct uart_8250_port *up = up_to_u8250p(port); serial8250_flush_buffer() local 2490 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_get_divisor() local 2551 serial8250_compute_lcr(struct uart_8250_port * up,tcflag_t c_cflag) serial8250_compute_lcr() argument 2570 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_divisor() local 2667 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_mini() local 2684 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_trigger_for_slow_speed() local 2705 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_afe() local 2749 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_ier() local 2765 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_efr() local 2789 struct uart_8250_port *up = up_to_u8250p(port); serial8250_set_fcr() local 2815 struct uart_8250_port *up = up_to_u8250p(port); serial8250_do_set_termios() local 2923 serial8250_request_std_resource(struct uart_8250_port * up) serial8250_request_std_resource() argument 2950 serial8250_release_std_resource(struct uart_8250_port * up) serial8250_release_std_resource() argument 2972 struct uart_8250_port *up = up_to_u8250p(port); serial8250_release_port() local 2979 struct uart_8250_port *up = up_to_u8250p(port); serial8250_request_port() local 2984 fcr_get_rxtrig_bytes(struct uart_8250_port * up) fcr_get_rxtrig_bytes() argument 2994 bytes_to_fcr_rxtrig(struct uart_8250_port * up,unsigned char bytes) bytes_to_fcr_rxtrig() argument 3015 struct uart_8250_port *up = up_to_u8250p(uport); do_get_rxtrig() local 3056 struct uart_8250_port *up = up_to_u8250p(uport); do_set_rxtrig() local 3121 register_dev_spec_attr_grp(struct uart_8250_port * up) register_dev_spec_attr_grp() argument 3131 struct uart_8250_port *up = up_to_u8250p(port); serial8250_config_port() local 3210 serial8250_init_port(struct uart_8250_port * up) serial8250_init_port() argument 3224 serial8250_set_defaults(struct uart_8250_port * up) serial8250_set_defaults() argument 3251 serial8250_fifo_wait_for_lsr_thre(struct uart_8250_port * up,struct nbcon_write_context * wctxt,unsigned int count) serial8250_fifo_wait_for_lsr_thre() argument 3285 struct uart_8250_port *up = up_to_u8250p(port); serial8250_console_putchar() local 3294 struct uart_8250_port *up = up_to_u8250p(port); serial8250_console_wait_putchar() local 3303 serial8250_console_restore(struct uart_8250_port * up) serial8250_console_restore() argument 3332 __serial8250_console_fifo_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt,const char * s,unsigned int count) __serial8250_console_fifo_write() argument 3375 serial8250_console_fifo_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt) serial8250_console_fifo_write() argument 3381 __serial8250_console_byte_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt,const char * s,unsigned int count) __serial8250_console_byte_write() argument 3402 serial8250_console_byte_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt) serial8250_console_byte_write() argument 3412 __serial8250_console_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt,bool use_fifo) __serial8250_console_write() argument 3441 serial8250_console_write(struct uart_8250_port * up,struct nbcon_write_context * wctxt,bool is_atomic) serial8250_console_write() argument 3581 struct uart_8250_port *up = container_of(iwp, struct uart_8250_port, console_msr_work); console_msr_handler() local 3591 struct uart_8250_port *up = up_to_u8250p(port); serial8250_console_setup() local 3625 struct uart_8250_port *up = up_to_u8250p(port); serial8250_console_exit() local [all...] |
| H A D | 8250_omap.c | 186 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() 192 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() 197 lcr = serial_in(up, UART_LCR); in __omap8250_set_mctrl() 198 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in __omap8250_set_mctrl() 203 serial_out(up, UART_EFR, priv->efr); in __omap8250_set_mctrl() 204 serial_out(up, UART_LCR, lcr); in __omap8250_set_mctrl() 231 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset() 234 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap_8250_mdr1_errataset() 236 serial_out(up, UART_FCR, up in omap_8250_mdr1_errataset() 185 struct uart_8250_port *up = up_to_u8250p(port); __omap8250_set_mctrl() local 230 omap_8250_mdr1_errataset(struct uart_8250_port * up,struct omap8250_priv * priv) omap_8250_mdr1_errataset() argument 266 omap8250_update_scr(struct uart_8250_port * up,struct omap8250_priv * priv) omap8250_update_scr() argument 286 omap8250_update_mdr1(struct uart_8250_port * up,struct omap8250_priv * priv) omap8250_update_mdr1() argument 295 omap8250_restore_regs(struct uart_8250_port * up) omap8250_restore_regs() argument 366 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_set_termios_atomic() local 533 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_pm() local 551 omap_serial_fill_features_erratas(struct uart_8250_port * up,struct omap8250_priv * priv) omap_serial_fill_features_erratas() argument 631 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_irq() local 709 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_startup() local 764 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_shutdown() local 810 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_unthrottle() local 828 struct uart_8250_port *up = up_to_u8250p(port); omap8250_rs485_config() local 1214 handle_rx_dma(struct uart_8250_port * up,unsigned int iir) handle_rx_dma() argument 1226 omap_8250_handle_rx_dma(struct uart_8250_port * up,u8 iir,u16 status) omap_8250_handle_rx_dma() argument 1239 am654_8250_handle_uart_errors(struct uart_8250_port * up,u8 iir,u16 status) am654_8250_handle_uart_errors() argument 1253 am654_8250_handle_rx_dma(struct uart_8250_port * up,u8 iir,u16 status) am654_8250_handle_rx_dma() argument 1292 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_dma_handle_irq() local 1413 struct uart_8250_port up; omap8250_probe() local 1617 struct uart_8250_port *up; omap8250_remove() local 1659 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_suspend() local 1687 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_resume() local 1711 omap8250_lost_context(struct uart_8250_port * up) omap8250_lost_context() argument 1775 struct uart_8250_port *up = NULL; omap8250_runtime_suspend() local 1808 struct uart_8250_port *up = NULL; omap8250_runtime_resume() local [all...] |
| H A D | 8250_uniphier.c | 149 static u32 uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read() 151 return readl(up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_read() 154 static void uniphier_serial_dl_write(struct uart_8250_port *up, u32 value) in uniphier_serial_dl_write() 156 writel(value, up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_write() 162 struct uart_8250_port up; in uniphier_uart_probe() 180 memset(&up, 0, sizeof(up)); in uniphier_uart_probe() 187 up.port.uartclk = clk_get_rate(priv->clk); in uniphier_uart_probe() 191 up.port.dev = dev; in uniphier_uart_probe() 192 up in uniphier_uart_probe() 148 uniphier_serial_dl_read(struct uart_8250_port * up) uniphier_serial_dl_read() argument 153 uniphier_serial_dl_write(struct uart_8250_port * up,u32 value) uniphier_serial_dl_write() argument 161 struct uart_8250_port up; uniphier_uart_probe() local 246 struct uart_8250_port *up = serial8250_get_port(priv->line); uniphier_uart_suspend() local 259 struct uart_8250_port *up = serial8250_get_port(priv->line); uniphier_uart_resume() local [all...] |
| H A D | 8250_bcm7271.c | 439 static void brcmuart_rx_buf_done_isr(struct uart_port *up, int index) in brcmuart_rx_buf_done_isr() argument 441 struct brcmuart_priv *priv = up->private_data; in brcmuart_rx_buf_done_isr() 442 struct tty_port *tty_port = &up->state->port; in brcmuart_rx_buf_done_isr() 452 dev_err(up->dev, "RX done interrupt but DATA_RDY not found\n"); in brcmuart_rx_buf_done_isr() 459 up->icount.overrun++; in brcmuart_rx_buf_done_isr() 460 dev_warn(up->dev, "RX OVERRUN Error\n"); in brcmuart_rx_buf_done_isr() 463 up->icount.frame++; in brcmuart_rx_buf_done_isr() 464 dev_warn(up->dev, "RX FRAMING Error\n"); in brcmuart_rx_buf_done_isr() 467 up->icount.parity++; in brcmuart_rx_buf_done_isr() 468 dev_warn(up in brcmuart_rx_buf_done_isr() 213 struct uart_port *up; global() member 495 brcmuart_rx_isr(struct uart_port * up,u32 rx_isr) brcmuart_rx_isr() argument 536 brcmuart_tx_isr(struct uart_port * up,u32 isr) brcmuart_tx_isr() argument 555 struct uart_port *up = dev_id; brcmuart_isr() local 588 struct uart_8250_port *up = up_to_u8250p(port); brcmuart_startup() local 625 struct uart_8250_port *up = up_to_u8250p(port); brcmuart_shutdown() local 707 set_clock_mux(struct uart_port * up,struct brcmuart_priv * priv,u32 baud) set_clock_mux() argument 774 brcmstb_set_termios(struct uart_port * up,struct ktermios * termios,const struct ktermios * old) brcmstb_set_termios() argument 795 struct uart_8250_port *up = up_to_u8250p(p); brcmuart_handle_irq() local 843 struct uart_8250_port *up = up_to_u8250p(p); brcmuart_hrtimer_func() local 960 struct uart_8250_port up; brcmuart_probe() local 1134 struct uart_8250_port *up = serial8250_get_port(priv->line); brcmuart_suspend() local 1156 struct uart_8250_port *up = serial8250_get_port(priv->line); brcmuart_resume() local [all...] |
| H A D | 8250_ce4100.c | 62 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 D | 8250_em.c | 138 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_out() 140 return serial_in(up, UART_DLL_EM) | serial_in(up, UART_DLM_EM) << 8; 143 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value) in serial8250_em_serial_dl_read() 145 serial_out(up, UART_DLL_EM, value & 0xff); 146 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); in serial8250_em_serial_dl_write() argument 152 struct uart_8250_port up; in serial8250_em_probe() 169 memset(&up, 0, sizeof(up)); in serial8250_em_probe() 170 up in serial8250_em_probe() 141 serial8250_em_serial_dl_read(struct uart_8250_port * up) serial8250_em_serial_dl_read() argument 156 struct uart_8250_port up; serial8250_em_probe() local [all...] |
| H A D | 8250_dw.c | 107 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_exit() 112 if (up->capabilities & UART_CAP_FIFO) in dw8250_idle_exit() 113 serial_port_out(p, UART_FCR, up->fcr); in dw8250_idle_exit() 114 serial_port_out(p, UART_MCR, up->mcr); in dw8250_idle_exit() 115 serial_port_out(p, UART_IER, up->ier); in dw8250_idle_exit() 118 if (up->dma) in dw8250_idle_exit() 119 serial8250_tx_dma_resume(up); in dw8250_idle_exit() 135 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_enter() 149 if (up->dma) { in dw8250_idle_enter() 150 serial8250_rx_dma_flush(up); in dw8250_idle_enter() 105 struct uart_8250_port *up = up_to_u8250p(p); dw8250_idle_exit() local 133 struct uart_8250_port *up = up_to_u8250p(p); dw8250_idle_enter() local 191 struct uart_8250_port *up = up_to_u8250p(p); dw8250_set_divisor() local 268 struct uart_8250_port *up = up_to_u8250p(p); dw8250_tx_wait_empty() local 380 struct uart_8250_port *up = up_to_u8250p(p); dw8250_quirk_ier_kick() local 397 struct uart_8250_port *up = up_to_u8250p(p); dw8250_handle_irq() local 495 struct uart_8250_port *up = up_to_u8250p(p); dw8250_set_ldisc() local 551 struct uart_port *up = &p->port; dw8250_prepare_tx_dma() local 564 struct uart_port *up = &p->port; dw8250_prepare_rx_dma() local 626 struct uart_8250_port uart = {}, *up = &uart; dw8250_probe() local [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | uar.c | 83 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 D | sun_uflash.c | 52 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 D | b53.rst | 61 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 D | configuration.rst | 37 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 D | mpih-mul.c | 21 #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 D | wakeirq.c | 17 * 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 D | rockchip-pinconf.dtsi | 8 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 D | bcm2166x-pinctrl.dtsi | 85 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 D | aoe.rst | 76 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/fs/ceph/ |
| H A D | strings.c | 15 /* up and out */ in ceph_mds_state_name() 16 case CEPH_MDS_STATE_BOOT: return "up:boot"; in ceph_mds_state_name() 17 case CEPH_MDS_STATE_STANDBY: return "up:standby"; in ceph_mds_state_name() 18 case CEPH_MDS_STATE_STANDBY_REPLAY: return "up:standby-replay"; in ceph_mds_state_name() 19 case CEPH_MDS_STATE_REPLAYONCE: return "up:oneshot-replay"; in ceph_mds_state_name() 20 case CEPH_MDS_STATE_CREATING: return "up:creating"; in ceph_mds_state_name() 21 case CEPH_MDS_STATE_STARTING: return "up:starting"; in ceph_mds_state_name() 22 /* up and in */ in ceph_mds_state_name() 23 case CEPH_MDS_STATE_REPLAY: return "up:replay"; in ceph_mds_state_name() 24 case CEPH_MDS_STATE_RESOLVE: return "up:resolve"; in ceph_mds_state_name() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan.sh | 45 ip link set dev $swp1 up 46 ip link set dev $swp2 up 91 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 108 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 125 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 141 ip link add name dummy1 up type dummy 143 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 162 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 179 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \ 195 ip link add name dummy1 up type dummy [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | ams,as3711.yaml | 15 two step-up DC/DC converters are defined. 26 Step-up converter configuration, to be used as a backlight source 34 description: Framebuffer phandle for the first step-up converter 38 description: Maximum current for the first step-up converter 42 description: Framebuffer phandle for the second step-up converter 46 description: Maximum current for the second step-up converter 50 description: Second step-up converter uses voltage feedback 55 Second step-up converter uses CURR1 input for current feedback 60 Second step-up converter uses CURR2 input for current feedback 65 Second step-up converter uses CURR3 input for current feedback [all …]
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28.dtsi | 224 fsl,pull-up = <MXS_PULL_DISABLE>; 235 fsl,pull-up = <MXS_PULL_DISABLE>; 248 fsl,pull-up = <MXS_PULL_DISABLE>; 272 fsl,pull-up = <MXS_PULL_DISABLE>; 295 fsl,pull-up = <MXS_PULL_DISABLE>; 306 fsl,pull-up = <MXS_PULL_DISABLE>; 319 fsl,pull-up = <MXS_PULL_DISABLE>; 330 fsl,pull-up = <MXS_PULL_DISABLE>; 341 fsl,pull-up = <MXS_PULL_DISABLE>; 352 fsl,pull-up = <MXS_PULL_DISABLE>; [all …]
|