Home
last modified time | relevance | path

Searched defs:port (Results 26 – 50 of 2623) sorted by relevance

12345678910>>...105

/openbmc/u-boot/drivers/serial/
H A Dserial_sh.c26 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
31 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
43 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
51 static int scif_rxfill(struct uart_port *port) in scif_rxfill()
81 static void handle_error(struct uart_port *port) in handle_error()
116 static int serial_getc_check(struct uart_port *port) in serial_getc_check()
300 struct uart_port *port = &sh_sci; in sh_serial_setbrg() local
307 struct uart_port *port = &sh_sci; in sh_serial_init() local
317 struct uart_port *port = &sh_sci; in sh_serial_putc() local
333 struct uart_port *port = &sh_sci; in sh_serial_tstc() local
[all …]
H A Dserial_sh.h151 # define SCSCR_INIT(port) 0x38 argument
172 # define SCSCR_INIT(port) 0x38 argument
175 # define SCSCR_INIT(port) 0x3a argument
327 #define SCxSR_TEND(port)\ argument
329 #define SCxSR_ERRORS(port)\ argument
331 #define SCxSR_RDxF(port)\ argument
333 #define SCxSR_TDxE(port)\ argument
335 #define SCxSR_FER(port)\ argument
337 #define SCxSR_PER(port)\ argument
339 #define SCxSR_BRK(port)\ argument
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dusb4.c168 struct tb_port *port; in usb4_switch_check_wakes() local
414 struct tb_port *port; in usb4_switch_set_wake() local
735 const struct tb_port *port; in usb4_switch_credits_init() local
972 const struct tb_port *port) in usb4_switch_map_pcie_down()
1003 const struct tb_port *port) in usb4_switch_map_usb3_down()
1034 struct tb_port *port; in usb4_switch_add_ports() local
1067 struct tb_port *port; in usb4_switch_remove_ports() local
1123 int usb4_port_reset(struct tb_port *port) in usb4_port_reset()
1895 struct tb_port *port; member
1904 struct tb_port *port = info->port; in usb4_port_retimer_nvm_write_next_block() local
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dgeneric.c235 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_write_room() local
252 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_chars_in_buffer() local
270 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_wait_until_sent() local
347 struct usb_serial_port *port = urb->context; in usb_serial_generic_process_read_urb() local
372 struct usb_serial_port *port = urb->context; in usb_serial_generic_read_bulk_callback() local
437 struct usb_serial_port *port = urb->context; in usb_serial_generic_write_bulk_callback() local
476 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_throttle() local
484 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_unthrottle() local
501 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_msr_changed() local
529 struct usb_serial_port *port = tty->driver_data; in usb_serial_generic_tiocmiwait() local
[all …]
H A Dusb-serial.c64 struct usb_serial_port *port; in usb_serial_port_get_by_minor() local
86 struct usb_serial_port *port; in allocate_minors() local
165 struct usb_serial_port *port; in destroy_serial() local
218 struct usb_serial_port *port; in serial_install() local
256 struct usb_serial_port *port = in serial_port_activate() local
285 struct usb_serial_port *port = tty->driver_data; in serial_open() local
304 struct usb_serial_port *port = in serial_port_shutdown() local
549 struct usb_serial_port *port; in serial_proc_show() local
629 struct usb_serial_port *port = in usb_serial_port_work() local
967 struct usb_serial_port *port; in usb_serial_probe() local
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgtty.c50 static int dbc_start_tx(struct dbc_port *port) in dbc_start_tx()
117 struct dbc_port *port = dbc_to_port(dbc); in dbc_read_complete() local
128 struct dbc_port *port = dbc_to_port(dbc); in dbc_write_complete() local
193 struct dbc_port *port; in dbc_tty_install() local
209 struct dbc_port *port = tty->driver_data; in dbc_tty_open() local
216 struct dbc_port *port = tty->driver_data; in dbc_tty_close() local
224 struct dbc_port *port = tty->driver_data; in dbc_tty_write() local
256 struct dbc_port *port = tty->driver_data; in dbc_tty_put_char() local
269 struct dbc_port *port = tty->driver_data; in dbc_tty_flush_chars() local
279 struct dbc_port *port = tty->driver_data; in dbc_tty_write_room() local
[all …]
/openbmc/linux/drivers/tty/serial/
H A Ddigicolor-usart.c77 struct uart_port port; member
83 static bool digicolor_uart_tx_full(struct uart_port *port) in digicolor_uart_tx_full()
89 static bool digicolor_uart_rx_empty(struct uart_port *port) in digicolor_uart_rx_empty()
95 static void digicolor_uart_stop_tx(struct uart_port *port) in digicolor_uart_stop_tx()
111 static void digicolor_uart_stop_rx(struct uart_port *port) in digicolor_uart_stop_rx()
132 static void digicolor_uart_rx(struct uart_port *port) in digicolor_uart_rx()
180 static void digicolor_uart_tx(struct uart_port *port) in digicolor_uart_tx()
219 struct uart_port *port = dev_id; in digicolor_uart_int() local
395 struct uart_port *port = digicolor_ports[co->index]; in digicolor_uart_console_write() local
419 struct uart_port *port; in digicolor_uart_console_setup() local
[all …]
H A Dserial_core.c127 struct uart_port *port; in uart_stop() local
168 struct uart_port *port; in uart_start() local
572 struct uart_port *port; in uart_put_char() local
601 struct uart_port *port; in uart_write() local
641 struct uart_port *port; in uart_write_room() local
654 struct uart_port *port; in uart_chars_in_buffer() local
667 struct uart_port *port; in uart_flush_buffer() local
710 struct uart_port *port; in uart_send_xchar() local
733 struct uart_port *port; in uart_throttle() local
762 struct uart_port *port; in uart_unthrottle() local
[all …]
H A Dmps2-uart.c71 struct uart_port port; member
120 static void mps2_uart_stop_tx(struct uart_port *port) in mps2_uart_stop_tx()
129 static void mps2_uart_tx_chars(struct uart_port *port) in mps2_uart_tx_chars()
138 static void mps2_uart_start_tx(struct uart_port *port) in mps2_uart_start_tx()
156 static void mps2_uart_stop_rx(struct uart_port *port) in mps2_uart_stop_rx()
169 static void mps2_uart_rx_chars(struct uart_port *port) in mps2_uart_rx_chars()
185 struct uart_port *port = data; in mps2_uart_rxirq() local
203 struct uart_port *port = data; in mps2_uart_txirq() local
222 struct uart_port *port = data; in mps2_uart_oerrirq() local
266 static int mps2_uart_startup(struct uart_port *port) in mps2_uart_startup()
[all …]
H A Dvt8500_serial.c122 static void vt8500_stop_tx(struct uart_port *port) in vt8500_stop_tx()
132 static void vt8500_stop_rx(struct uart_port *port) in vt8500_stop_rx()
142 static void vt8500_enable_ms(struct uart_port *port) in vt8500_enable_ms()
152 static void handle_rx(struct uart_port *port) in handle_rx()
197 static void handle_tx(struct uart_port *port) in handle_tx()
206 static void vt8500_start_tx(struct uart_port *port) in vt8500_start_tx()
227 struct uart_port *port = dev_id; in vt8500_irq() local
303 static int vt8500_startup(struct uart_port *port) in vt8500_startup()
322 static void vt8500_shutdown(struct uart_port *port) in vt8500_shutdown()
452 static void wait_for_xmitr(struct uart_port *port) in wait_for_xmitr()
[all …]
H A Dapbuart.h48 #define APBBASE_DATA_P(port) (&(APBBASE(port)->data)) argument
49 #define APBBASE_STATUS_P(port) (&(APBBASE(port)->status)) argument
50 #define APBBASE_CTRL_P(port) (&(APBBASE(port)->ctrl)) argument
51 #define APBBASE_SCALAR_P(port) (&(APBBASE(port)->scaler)) argument
53 #define UART_GET_CHAR(port) (__raw_readl(APBBASE_DATA_P(port))) argument
54 #define UART_PUT_CHAR(port, v) (__raw_writel(v, APBBASE_DATA_P(port))) argument
55 #define UART_GET_STATUS(port) (__raw_readl(APBBASE_STATUS_P(port))) argument
57 #define UART_GET_CTRL(port) (__raw_readl(APBBASE_CTRL_P(port))) argument
58 #define UART_PUT_CTRL(port, v) (__raw_writel(v, APBBASE_CTRL_P(port))) argument
59 #define UART_GET_SCAL(port) (__raw_readl(APBBASE_SCALAR_P(port))) argument
[all …]
H A Darc_uart.c68 #define RBASE(port, reg) (port->membase + reg) argument
96 struct uart_port port; member
122 static void arc_serial_stop_rx(struct uart_port *port) in arc_serial_stop_rx()
127 static void arc_serial_stop_tx(struct uart_port *port) in arc_serial_stop_tx()
156 static void arc_serial_tx_chars(struct uart_port *port) in arc_serial_tx_chars()
191 static void arc_serial_start_tx(struct uart_port *port) in arc_serial_start_tx()
269 struct uart_port *port = dev_id; in arc_serial_isr() local
327 static int arc_serial_startup(struct uart_port *port) in arc_serial_startup()
480 struct uart_port *port; in arc_serial_console_setup() local
550 struct uart_port *port = &dev->port; in arc_early_console_setup() local
[all …]
H A Damba-pl010.c52 struct uart_port port; member
59 static void pl010_stop_tx(struct uart_port *port) in pl010_stop_tx()
70 static void pl010_start_tx(struct uart_port *port) in pl010_start_tx()
81 static void pl010_stop_rx(struct uart_port *port) in pl010_stop_rx()
102 static void pl010_enable_ms(struct uart_port *port) in pl010_enable_ms()
113 static void pl010_rx_chars(struct uart_port *port) in pl010_rx_chars()
166 static void pl010_tx_chars(struct uart_port *port) in pl010_tx_chars()
178 struct uart_port *port = &uap->port; in pl010_modem_status() local
206 struct uart_port *port = &uap->port; in pl010_int() local
283 static int pl010_startup(struct uart_port *port) in pl010_startup()
[all …]
H A Dserial_port.c23 static int __serial_port_busy(struct uart_port *port) in __serial_port_busy()
32 struct uart_port *port; in serial_port_runtime_resume() local
59 struct uart_port *port = port_dev->port; in serial_port_runtime_suspend() local
90 static void serial_base_port_set_tx(struct uart_port *port, in serial_base_port_set_tx()
101 void serial_base_port_startup(struct uart_port *port) in serial_base_port_startup()
108 void serial_base_port_shutdown(struct uart_port *port) in serial_base_port_shutdown()
140 int uart_add_one_port(struct uart_driver *drv, struct uart_port *port) in uart_add_one_port()
146 void uart_remove_one_port(struct uart_driver *drv, struct uart_port *port) in uart_remove_one_port()
197 static int __uart_read_properties(struct uart_port *port, bool use_defaults) in __uart_read_properties()
282 int uart_read_port_properties(struct uart_port *port) in uart_read_port_properties()
[all …]
H A Dmeson_uart.c107 static void meson_uart_stop_tx(struct uart_port *port) in meson_uart_stop_tx()
116 static void meson_uart_stop_rx(struct uart_port *port) in meson_uart_stop_rx()
125 static void meson_uart_shutdown(struct uart_port *port) in meson_uart_shutdown()
239 struct uart_port *port = (struct uart_port *)dev_id; in meson_uart_interrupt() local
269 static void meson_uart_reset(struct uart_port *port) in meson_uart_reset()
281 static int meson_uart_startup(struct uart_port *port) in meson_uart_startup()
587 struct uart_port *port; in meson_serial_console_write() local
598 struct uart_port *port; in meson_serial_console_setup() local
674 struct uart_port *port) in meson_uart_probe_clocks()
708 struct uart_port *port; in meson_uart_probe() local
[all …]
/openbmc/linux/drivers/net/wan/
H A Dixp4xx_hss.c258 struct port { struct
259 struct device *dev;
260 struct npe *npe;
261 unsigned int txreadyq;
262 unsigned int rxtrigq;
263 unsigned int rxfreeq;
287 u8 cmd, unused, hss_port, index; argument
651 struct port *port = dev_to_port(dev); in hss_hdlc_rx_irq() local
800 struct port *port = dev_to_port(dev); in hss_hdlc_txdone_irq() local
839 struct port *port = dev_to_port(dev); in hss_hdlc_xmit() local
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c96 struct prestera_port *port = NULL, *tmp; in prestera_port_find_by_hwid() local
112 struct prestera_port *port = NULL, *tmp; in prestera_find_port() local
128 struct prestera_port *port; in prestera_switch_get() local
158 struct prestera_port *port = netdev_priv(dev); in prestera_port_open() local
189 struct prestera_port *port = netdev_priv(dev); in prestera_port_close() local
534 struct prestera_port *port = in prestera_port_stats_update() local
606 struct prestera_port *port; in prestera_port_create() local
765 struct prestera_port *port, *tmp; in prestera_destroy_ports() local
773 struct prestera_port *port, *tmp; in prestera_create_ports() local
800 struct prestera_port *port; in prestera_port_handle_event() local
[all …]
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c55 static unsigned int jsm_tty_tx_empty(struct uart_port *port) in jsm_tty_tx_empty()
115 static void jsm_tty_write(struct uart_port *port) in jsm_tty_write()
123 static void jsm_tty_start_tx(struct uart_port *port) in jsm_tty_start_tx()
136 static void jsm_tty_stop_tx(struct uart_port *port) in jsm_tty_stop_tx()
165 static void jsm_tty_stop_rx(struct uart_port *port) in jsm_tty_stop_rx()
188 static int jsm_tty_open(struct uart_port *port) in jsm_tty_open()
270 static void jsm_tty_close(struct uart_port *port) in jsm_tty_close()
302 static void jsm_tty_set_termios(struct uart_port *port, in jsm_tty_set_termios()
323 static const char *jsm_tty_type(struct uart_port *port) in jsm_tty_type()
332 static int jsm_tty_request_port(struct uart_port *port) in jsm_tty_request_port()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c25 static void lan966x_port_link_down(struct lan966x_port *port) in lan966x_port_link_down()
144 static void lan966x_port_link_up(struct lan966x_port *port) in lan966x_port_link_up()
277 void lan966x_port_config_down(struct lan966x_port *port) in lan966x_port_config_down()
282 void lan966x_port_config_up(struct lan966x_port *port) in lan966x_port_config_up()
287 void lan966x_port_status_get(struct lan966x_port *port, in lan966x_port_status_get()
331 int lan966x_port_pcs_set(struct lan966x_port *port, in lan966x_port_pcs_set()
398 static void lan966x_port_qos_pcp_set(struct lan966x_port *port, in lan966x_port_qos_pcp_set()
422 static void lan966x_port_qos_dscp_set(struct lan966x_port *port, in lan966x_port_qos_dscp_set()
447 static int lan966x_port_qos_default_set(struct lan966x_port *port, in lan966x_port_qos_default_set()
537 void lan966x_port_qos_set(struct lan966x_port *port, in lan966x_port_qos_set()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c1159 struct uart_port *port = &up->port; in autoconfig() local
1326 struct uart_port *port = &up->port; in autoconfig_irq() local
1707 struct uart_port *port = &up->port; in serial8250_read_char() local
1775 struct uart_port *port = &up->port; in serial8250_rx_chars() local
1792 struct uart_port *port = &up->port; in serial8250_tx_chars() local
1852 struct uart_port *port = &up->port; in serial8250_modem_status() local
2554 struct uart_port *port = &up->port; in npcm_get_divisor() local
2979 struct uart_port *port = &up->port; in serial8250_request_std_resource() local
3020 struct uart_port *port = &up->port; in serial8250_release_std_resource() local
3278 struct uart_port *port = &up->port; in serial8250_init_port() local
[all …]
/openbmc/linux/drivers/parport/
H A Dieee1284.c36 static void parport_ieee1284_wakeup (struct parport *port) in parport_ieee1284_wakeup()
43 struct parport *port = from_timer(port, t, timer); in timeout_waiting_on_port() local
64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event()
107 int parport_poll_peripheral(struct parport *port, in parport_poll_peripheral()
156 int parport_wait_peripheral(struct parport *port, in parport_wait_peripheral()
214 static void parport_ieee1284_terminate (struct parport *port) in parport_ieee1284_terminate()
317 int parport_negotiate (struct parport *port, int mode) in parport_negotiate()
536 static int parport_ieee1284_ack_data_avail (struct parport *port) in parport_ieee1284_ack_data_avail()
552 struct parport *port = handle; in parport_ieee1284_interrupt() local
583 ssize_t parport_write (struct parport *port, const void *buffer, size_t len) in parport_write()
[all …]
/openbmc/linux/arch/m68k/include/asm/
H A Dio_mm.h201 #define isa_inb(port) in_8(isa_itb(port)) argument
204 #define isa_outb(val,port) out_8(isa_itb(port),(val)) argument
218 #define isa_rom_inb(port) rom_in_8(isa_itb(port)) argument
219 #define isa_rom_inw(port) \ argument
224 #define isa_rom_outw(val, port) \ argument
274 #define isa_insw(port, buf, nr) \ argument
278 #define isa_outsw(port, buf, nr) \ argument
282 #define isa_insl(port, buf, nr) \ argument
286 #define isa_outsl(port, buf, nr) \ argument
299 #define isa_rom_insw(port, buf, nr) \ argument
[all …]
/openbmc/u-boot/drivers/bios_emulator/
H A Dbesys.c254 #define IS_SPKR_PORT(port) (port == 0x61) argument
267 static u8 VGA_inpb (const int port) in VGA_inpb()
343 static void VGA_outpb (int port, u8 val) in VGA_outpb()
501 static u32 PCI_inp(int port, int type) in PCI_inp()
532 static void PCI_outp(int port, u32 val, int type) in PCI_outp()
570 u8 X86API BE_inb(X86EMU_pioAddr port) in BE_inb()
616 u16 X86API BE_inw(X86EMU_pioAddr port) in BE_inw()
649 u32 X86API BE_inl(X86EMU_pioAddr port) in BE_inl()
679 void X86API BE_outb(X86EMU_pioAddr port, u8 val) in BE_outb()
714 void X86API BE_outw(X86EMU_pioAddr port, u16 val) in BE_outw()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Du_serial.c103 struct tty_port port; member
136 struct gs_port *port; member
599 struct gs_port *port; in gs_open() local
1080 struct gs_port *port; in gserial_set_console() local
1109 struct gs_port *port; in gserial_get_console() local
1151 struct gs_port *port; in gs_port_alloc() local
1209 struct gs_port *port; in gserial_free_line() local
1229 struct gs_port *port; in gserial_alloc_line_no_console() local
1306 struct gs_port *port; in gserial_connect() local
1430 struct gs_port *port; in gserial_suspend() local
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dat91_gpio.c22 static struct at91_port *at91_pio_get_port(unsigned port) in at91_pio_get_port()
240 int at91_set_pio_input(unsigned port, u32 pin, int use_pullup) in at91_set_pio_input()
270 int at91_set_pio_output(unsigned port, u32 pin, int value) in at91_set_pio_output()
428 int at91_set_pio_value(unsigned port, unsigned pin, int value) in at91_set_pio_value()
450 int at91_get_pio_value(unsigned port, unsigned pin) in at91_get_pio_value()
511 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_direction_input() local
522 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_direction_output() local
532 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_get_value() local
541 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_set_value() local
550 struct at91_port_priv *port = dev_get_priv(dev); in at91_gpio_get_function() local
[all …]

12345678910>>...105