/openbmc/linux/drivers/tty/serial/ |
H A D | mpc52xx_uart.c | 1043 mpc52xx_uart_tx_empty(struct uart_port *port) in mpc52xx_uart_tx_empty() 1055 mpc52xx_uart_get_mctrl(struct uart_port *port) in mpc52xx_uart_get_mctrl() 1069 mpc52xx_uart_stop_tx(struct uart_port *port) in mpc52xx_uart_stop_tx() 1076 mpc52xx_uart_start_tx(struct uart_port *port) in mpc52xx_uart_start_tx() 1083 mpc52xx_uart_stop_rx(struct uart_port *port) in mpc52xx_uart_stop_rx() 1090 mpc52xx_uart_enable_ms(struct uart_port *port) in mpc52xx_uart_enable_ms() 1110 mpc52xx_uart_startup(struct uart_port *port) in mpc52xx_uart_startup() 1148 mpc52xx_uart_shutdown(struct uart_port *port) in mpc52xx_uart_shutdown() 1257 mpc52xx_uart_type(struct uart_port *port) in mpc52xx_uart_type() 1477 struct uart_port *port = dev_id; in mpc52xx_uart_int() local [all …]
|
H A D | bcm63xx_uart.c | 143 static void bcm_uart_stop_tx(struct uart_port *port) in bcm_uart_stop_tx() 175 static void bcm_uart_stop_rx(struct uart_port *port) in bcm_uart_stop_rx() 227 static void bcm_uart_do_rx(struct uart_port *port) in bcm_uart_do_rx() 304 static void bcm_uart_do_tx(struct uart_port *port) in bcm_uart_do_tx() 334 struct uart_port *port; in bcm_uart_interrupt() local 366 static void bcm_uart_enable(struct uart_port *port) in bcm_uart_enable() 391 static void bcm_uart_flush(struct uart_port *port) in bcm_uart_flush() 707 struct uart_port *port; in bcm_console_write() local 741 struct uart_port *port; in bcm_console_setup() local 819 struct uart_port *port; in bcm_uart_probe() local [all …]
|
H A D | 21285.c | 51 static bool is_enabled(struct uart_port *port, int bit) in is_enabled() 60 static void enable(struct uart_port *port, int bit) in enable() 67 static void disable(struct uart_port *port, int bit) in disable() 75 #define tx_enable(port) enable(port, tx_enabled_bit) argument 76 #define tx_disable(port) disable(port, tx_enabled_bit) argument 79 #define rx_enable(port) enable(port, rx_enabled_bit) argument 80 #define rx_disable(port) disable(port, rx_enabled_bit) argument 93 static void serial21285_stop_tx(struct uart_port *port) in serial21285_stop_tx() 119 struct uart_port *port = dev_id; in serial21285_rx_chars() local 157 struct uart_port *port = dev_id; in serial21285_tx_chars() local [all …]
|
H A D | altera_jtaguart.c | 77 static void altera_jtaguart_start_tx(struct uart_port *port) in altera_jtaguart_start_tx() 84 static void altera_jtaguart_stop_tx(struct uart_port *port) in altera_jtaguart_stop_tx() 91 static void altera_jtaguart_stop_rx(struct uart_port *port) in altera_jtaguart_stop_rx() 111 static void altera_jtaguart_rx_chars(struct uart_port *port) in altera_jtaguart_rx_chars() 129 static void altera_jtaguart_tx_chars(struct uart_port *port) in altera_jtaguart_tx_chars() 144 struct uart_port *port = data; in altera_jtaguart_interrupt() local 170 static int altera_jtaguart_startup(struct uart_port *port) in altera_jtaguart_startup() 195 static void altera_jtaguart_shutdown(struct uart_port *port) in altera_jtaguart_shutdown() 308 struct uart_port *port; in altera_jtaguart_console_setup() local 380 struct uart_port *port; in altera_jtaguart_probe() local [all …]
|
H A D | apbuart.c | 38 static void apbuart_stop_tx(struct uart_port *port) in apbuart_stop_tx() 47 static void apbuart_start_tx(struct uart_port *port) in apbuart_start_tx() 59 static void apbuart_stop_rx(struct uart_port *port) in apbuart_stop_rx() 68 static void apbuart_rx_chars(struct uart_port *port) in apbuart_rx_chars() 121 static void apbuart_tx_chars(struct uart_port *port) in apbuart_tx_chars() 133 struct uart_port *port = dev_id; in apbuart_int() local 171 static int apbuart_startup(struct uart_port *port) in apbuart_startup() 190 static void apbuart_shutdown(struct uart_port *port) in apbuart_shutdown() 447 struct uart_port *port; in apbuart_console_setup() local 524 struct uart_port *port = NULL; in apbuart_probe() local [all …]
|
H A D | liteuart.c | 46 struct uart_port port; member 84 static void liteuart_stop_tx(struct uart_port *port) in liteuart_stop_tx() 89 static void liteuart_start_tx(struct uart_port *port) in liteuart_start_tx() 94 static void liteuart_stop_rx(struct uart_port *port) in liteuart_stop_rx() 134 struct uart_port *port = &uart->port; in liteuart_interrupt() local 156 struct uart_port *port = &uart->port; in liteuart_timer() local 181 static int liteuart_startup(struct uart_port *port) in liteuart_startup() 283 struct uart_port *port; in liteuart_probe() local 379 struct uart_port *port; in liteuart_console_write() local 393 struct uart_port *port; in liteuart_console_setup() local [all …]
|
H A D | sunhv.c | 112 static int receive_chars_read(struct uart_port *port) in receive_chars_read() 197 static void transmit_chars(struct uart_port *port) in transmit_chars() 216 struct uart_port *port = dev_id; in sunhv_interrupt() local 254 static void sunhv_stop_tx(struct uart_port *port) in sunhv_stop_tx() 260 static void sunhv_start_tx(struct uart_port *port) in sunhv_start_tx() 287 static void sunhv_stop_rx(struct uart_port *port) in sunhv_stop_rx() 312 static int sunhv_startup(struct uart_port *port) in sunhv_startup() 318 static void sunhv_shutdown(struct uart_port *port) in sunhv_shutdown() 435 struct uart_port *port = sunhv_port; in sunhv_console_write_paged() local 490 struct uart_port *port = sunhv_port; in sunhv_console_write_bychar() local [all …]
|
H A D | st-asc.c | 36 struct uart_port port; member 319 struct uart_port *port = ptr; in asc_interrupt() local 388 static void asc_start_tx(struct uart_port *port) in asc_start_tx() 397 static void asc_stop_tx(struct uart_port *port) in asc_stop_tx() 403 static void asc_stop_rx(struct uart_port *port) in asc_stop_rx() 417 static int asc_startup(struct uart_port *port) in asc_startup() 431 static void asc_shutdown(struct uart_port *port) in asc_shutdown() 600 static const char *asc_type(struct uart_port *port) in asc_type() 682 struct uart_port *port = &ascport->port; in asc_init_port() local 808 struct uart_port *port = dev_get_drvdata(dev); in asc_serial_suspend() local [all …]
|
H A D | altera_uart.c | 78 struct uart_port port; member 138 static void altera_uart_start_tx(struct uart_port *port) in altera_uart_start_tx() 146 static void altera_uart_stop_tx(struct uart_port *port) in altera_uart_stop_tx() 154 static void altera_uart_stop_rx(struct uart_port *port) in altera_uart_stop_rx() 260 struct uart_port *port = data; in altera_uart_interrupt() local 280 struct uart_port *port = &pp->port; in altera_uart_timer() local 296 static int altera_uart_startup(struct uart_port *port) in altera_uart_startup() 438 struct uart_port *port; in altera_uart_console_setup() local 489 struct uart_port *port = &dev->port; in altera_uart_earlycon_setup() local 532 struct uart_port *port; in altera_uart_probe() local [all …]
|
H A D | timbuart.c | 25 struct uart_port port; member 39 static void timbuart_stop_rx(struct uart_port *port) in timbuart_stop_rx() 46 static void timbuart_stop_tx(struct uart_port *port) in timbuart_stop_tx() 53 static void timbuart_start_tx(struct uart_port *port) in timbuart_start_tx() 69 static void timbuart_flush_buffer(struct uart_port *port) in timbuart_flush_buffer() 80 static void timbuart_rx_chars(struct uart_port *port) in timbuart_rx_chars() 96 static void timbuart_tx_chars(struct uart_port *port) in timbuart_tx_chars() 237 static int timbuart_startup(struct uart_port *port) in timbuart_startup() 254 static void timbuart_shutdown(struct uart_port *port) in timbuart_shutdown() 276 static void timbuart_set_termios(struct uart_port *port, in timbuart_set_termios() [all …]
|
H A D | mcf.c | 53 struct uart_port port; member 114 static void mcf_stop_tx(struct uart_port *port) in mcf_stop_tx() 124 static void mcf_stop_rx(struct uart_port *port) in mcf_stop_rx() 148 static int mcf_startup(struct uart_port *port) in mcf_startup() 283 struct uart_port *port = &pp->port; in mcf_rx_chars() local 329 struct uart_port *port = &pp->port; in mcf_tx_chars() local 346 struct uart_port *port = data; in mcf_interrupt() local 475 struct uart_port *port; in early_mcf_setup() local 531 struct uart_port *port; in mcf_console_setup() local 601 struct uart_port *port; in mcf_probe() local [all …]
|
H A D | stm32-usart.c | 308 struct uart_port *port = &stm32_port->port; in stm32_usart_dma_pause_resume() local 533 struct uart_port *port = arg; in stm32_usart_rx_dma_complete() local 637 struct uart_port *port = arg; in stm32_usart_tx_dma_complete() local 854 struct uart_port *port = ptr; in stm32_usart_interrupt() local 1520 struct uart_port *port = &stm32port->port; in stm32_usart_init_port() local 1655 struct uart_port *port = &stm32port->port; in stm32_usart_of_dma_rx_probe() local 1693 struct uart_port *port = &stm32port->port; in stm32_usart_of_dma_tx_probe() local 1971 struct uart_port *port = &device->port; in early_stm32_serial_write() local 2073 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_serial_suspend() local 2102 struct uart_port *port = dev_get_drvdata(dev); in stm32_usart_serial_resume() local [all …]
|
H A D | uartlite.c | 214 struct uart_port *port = dev_id; in ulite_isr() local 258 static void ulite_stop_tx(struct uart_port *port) in ulite_stop_tx() 280 static int ulite_startup(struct uart_port *port) in ulite_startup() 492 struct uart_port *port = console_port; in ulite_console_write() local 520 struct uart_port *port = NULL; in ulite_console_setup() local 630 struct uart_port *port; in ulite_assign() local 687 struct uart_port *port = dev_get_drvdata(dev); in ulite_release() local 704 struct uart_port *port = dev_get_drvdata(dev); in ulite_suspend() local 720 struct uart_port *port = dev_get_drvdata(dev); in ulite_resume() local 730 struct uart_port *port = dev_get_drvdata(dev); in ulite_runtime_suspend() local [all …]
|
H A D | mux.c | 47 struct uart_port port; member 139 static void mux_stop_tx(struct uart_port *port) in mux_stop_tx() 149 static void mux_start_tx(struct uart_port *port) in mux_start_tx() 159 static void mux_stop_rx(struct uart_port *port) in mux_stop_rx() 174 static void mux_tx_done(struct uart_port *port) in mux_tx_done() 188 static void mux_write(struct uart_port *port) in mux_write() 206 static void mux_read(struct uart_port *port) in mux_read() 246 static int mux_startup(struct uart_port *port) in mux_startup() 258 static void mux_shutdown(struct uart_port *port) in mux_shutdown() 284 static const char *mux_type(struct uart_port *port) in mux_type() [all …]
|
H A D | atmel_serial.c | 278 static bool atmel_use_fifo(struct uart_port *port) in atmel_use_fifo() 551 static void atmel_stop_tx(struct uart_port *port) in atmel_stop_tx() 637 static void atmel_stop_rx(struct uart_port *port) in atmel_stop_rx() 859 struct uart_port *port = &atmel_port->uart; in atmel_complete_tx_dma() local 919 static void atmel_tx_dma(struct uart_port *port) in atmel_tx_dma() 1078 struct uart_port *port = arg; in atmel_complete_rx_dma() local 1280 struct uart_port *port = &atmel_port->uart; in atmel_uart_timer_callback() local 1406 struct uart_port *port = dev_id; in atmel_interrupt() local 1711 struct uart_port *port = &atmel_port->uart; in atmel_tasklet_rx_func() local 1723 struct uart_port *port = &atmel_port->uart; in atmel_tasklet_tx_func() local [all …]
|
H A D | sprd_serial.c | 122 struct uart_port port; member 174 static void sprd_stop_rx(struct uart_port *port) in sprd_stop_rx() 205 static void sprd_stop_tx_dma(struct uart_port *port) in sprd_stop_tx_dma() 244 struct uart_port *port = (struct uart_port *)data; in sprd_complete_tx_dma() local 515 static void sprd_stop_tx(struct uart_port *port) in sprd_stop_tx() 536 static void sprd_start_tx(struct uart_port *port) in sprd_start_tx() 592 static inline void sprd_rx(struct uart_port *port) in sprd_rx() 638 struct uart_port *port = dev_id; in sprd_handle_irq() local 687 static int sprd_startup(struct uart_port *port) in sprd_startup() 741 static void sprd_shutdown(struct uart_port *port) in sprd_shutdown() [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | tty_port.c | 90 void tty_port_init(struct tty_port *port) in tty_port_init() 117 void tty_port_link_device(struct tty_port *port, in tty_port_link_device() 243 int tty_port_alloc_xmit_buf(struct tty_port *port) in tty_port_alloc_xmit_buf() 259 void tty_port_free_xmit_buf(struct tty_port *port) in tty_port_free_xmit_buf() 277 void tty_port_destroy(struct tty_port *port) in tty_port_destroy() 306 void tty_port_put(struct tty_port *port) in tty_port_put() 392 void tty_port_hangup(struct tty_port *port) in tty_port_hangup() 431 void tty_port_tty_wakeup(struct tty_port *port) in tty_port_tty_wakeup() 461 void tty_port_raise_dtr_rts(struct tty_port *port) in tty_port_raise_dtr_rts() 476 void tty_port_lower_dtr_rts(struct tty_port *port) in tty_port_lower_dtr_rts() [all …]
|
H A D | tty_buffer.c | 52 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive() 69 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive() 94 unsigned int tty_buffer_space_avail(struct tty_port *port) in tty_buffer_space_avail() 120 void tty_buffer_free_all(struct tty_port *port) in tty_buffer_free_all() 223 struct tty_port *port = tty->port; in tty_buffer_flush() local 529 void tty_flip_buffer_push(struct tty_port *port) in tty_flip_buffer_push() 576 void tty_buffer_init(struct tty_port *port) in tty_buffer_init() 610 void tty_buffer_set_lock_subclass(struct tty_port *port) in tty_buffer_set_lock_subclass() 615 bool tty_buffer_restart_work(struct tty_port *port) in tty_buffer_restart_work() 620 bool tty_buffer_cancel_work(struct tty_port *port) in tty_buffer_cancel_work() [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | port.c | 220 int port, int speed, bool alt_bit, in mv88e6xxx_port_set_speed_duplex() 346 int port) in mv88e6341_port_max_speed_mode() 386 int port) in mv88e6390_port_max_speed_mode() 409 int port) in mv88e6390x_port_max_speed_mode() 511 int port) in mv88e6393x_port_max_speed_mode() 665 int port) in mv88e6341_port_set_cmode_writable() 913 int port, bool unicast) in mv88e6185_port_set_forward_unknown() 1149 int port, bool multicast) in mv88e6185_port_set_default_forward() 1421 int err, port; in mv88e6393x_port_policy_write_all() local 1437 int port) in mv88e6393x_set_egress_port() [all …]
|
/openbmc/qemu/hw/net/rocker/ |
H A D | rocker_fp.c | 44 char *fp_port_get_name(FpPort *port) in fp_port_get_name() 49 bool fp_port_get_link_up(FpPort *port) in fp_port_get_link_up() 54 RockerPort *fp_port_get_info(FpPort *port) in fp_port_get_info() 79 uint8_t fp_port_get_learning(FpPort *port) in fp_port_get_learning() 180 World *fp_port_get_world(FpPort *port) in fp_port_get_world() 196 bool fp_port_enabled(FpPort *port) in fp_port_enabled() 211 void fp_port_enable(FpPort *port) in fp_port_enable() 218 void fp_port_disable(FpPort *port) in fp_port_disable() 229 FpPort *port = g_new0(FpPort, 1); in fp_port_alloc() local 254 void fp_port_free(FpPort *port) in fp_port_free() [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_uart.c | 65 struct tty_port port; member 112 struct sdio_uart_port *port; in sdio_uart_port_get() local 531 struct sdio_uart_port *port = in uart_carrier_raised() local 553 struct sdio_uart_port *port = in uart_dtr_rts() local 582 struct sdio_uart_port *port = in sdio_uart_activate() local 665 struct sdio_uart_port *port = in sdio_uart_shutdown() local 697 struct sdio_uart_port *port = in sdio_uart_port_destroy() local 736 struct sdio_uart_port *port = tty->driver_data; in sdio_uart_cleanup() local 747 struct sdio_uart_port *port = tty->driver_data; in sdio_uart_open() local 753 struct sdio_uart_port *port = tty->driver_data; in sdio_uart_close() local [all …]
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 506 struct tcpm_port *port; member 520 #define tcpm_port_is_sink(port) \ argument 528 #define tcpm_port_is_source(port) \ argument 534 #define tcpm_port_is_debug(port) \ argument 537 #define tcpm_port_is_audio(port) \ argument 544 #define tcpm_try_snk(port) \ argument 548 #define tcpm_try_src(port) \ argument 556 #define tcpm_data_role_for_sink(port) \ argument 560 #define tcpm_sink_tx_ok(port) \ argument 740 struct tcpm_port *port = s->private; in tcpm_debug_show() local [all …]
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_3ad.c | 649 struct port *port; in __agg_ports_are_ready() local 677 struct port *port; in __set_agg_ports_ready() local 690 struct port *port; in __agg_active_ports() local 1691 struct port *port; in ad_agg_selection_logic() local 1986 struct port *port) in ad_marker_response_received() 2046 struct port *port; in bond_3ad_bind_slave() local 2324 struct port *port; in bond_3ad_state_machine_handler() local 2412 struct port *port; in bond_3ad_rx_indication() local 2524 struct port *port; in bond_3ad_adapter_speed_duplex_changed() local 2552 struct port *port; in bond_3ad_handle_link_change() local [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_main.c | 640 struct mvpp2_port *port; in mvpp2_bm_init() local 955 struct mvpp2_port *port; in mvpp2_bm_pool_update_priv_fc() local 1429 struct mvpp2_port *port = arg; in mvpp2_interrupts_mask() local 1451 struct mvpp2_port *port = arg; in mvpp2_interrupts_unmask() local 2642 struct mvpp2_port *port = arg; in mvpp2_txq_sent_counter_clear() local 3518 struct mvpp2_port *port; in mvpp2_hr_timer_cb() local 6713 struct mvpp2_port *port; in mvpp2_port_probe() local 7113 int port; in mvpp2_rx_fifo_init() local 7146 int port, size; in mvpp22_rx_fifo_init() local 7187 int port, val; in mvpp23_rx_fifo_fc_set_tresh() local [all …]
|
/openbmc/linux/drivers/char/ |
H A D | virtio_console.c | 166 struct port { struct 186 /* The IO vqs for this port */ argument 215 /* The 'name' of the port that we expose via sysfs properties */ argument 221 /* The 'id' to identify the port with the Host */ argument 229 /* We should allow only one process to open a port */ argument 238 struct port *port; in find_port_by_vtermno() local 258 struct port *port; in find_port_by_devt_in_portdev() local 278 struct port *port; in find_port_by_devt() local 295 struct port *port; in find_port_by_id() local 312 struct port *port; in find_port_by_vq() local [all …]
|