Searched refs:port (Results 51 - 75 of 3102) sorted by relevance

1234567891011>>

/linux-master/drivers/tty/serial/
H A Dmilbeaut_usio.c65 static void mlb_usio_stop_tx(struct uart_port *port) argument
67 writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE,
68 port->membase + MLB_USIO_REG_FCR);
69 writeb(readb(port->membase + MLB_USIO_REG_SCR) & ~MLB_USIO_SCR_TBIE,
70 port->membase + MLB_USIO_REG_SCR);
73 static void mlb_usio_tx_chars(struct uart_port *port) argument
75 struct circ_buf *xmit = &port->state->xmit;
78 writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE,
79 port->membase + MLB_USIO_REG_FCR);
80 writeb(readb(port
120 mlb_usio_start_tx(struct uart_port *port) argument
135 mlb_usio_stop_rx(struct uart_port *port) argument
141 mlb_usio_enable_ms(struct uart_port *port) argument
148 mlb_usio_rx_chars(struct uart_port *port) argument
208 struct uart_port *port = dev_id; local
219 struct uart_port *port = dev_id; local
229 mlb_usio_tx_empty(struct uart_port *port) argument
235 mlb_usio_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
239 mlb_usio_get_mctrl(struct uart_port *port) argument
245 mlb_usio_break_ctl(struct uart_port *port, int break_state) argument
249 mlb_usio_startup(struct uart_port *port) argument
290 mlb_usio_shutdown(struct uart_port *port) argument
298 mlb_usio_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
373 mlb_usio_type(struct uart_port *port) argument
378 mlb_usio_config_port(struct uart_port *port, int flags) argument
402 mlb_usio_console_putchar(struct uart_port *port, unsigned char c) argument
413 struct uart_port *port = &mlb_usio_ports[co->index]; local
420 struct uart_port *port; local
499 struct uart_port *port; local
557 struct uart_port *port = &mlb_usio_ports[pdev->id]; local
[all...]
H A Dowl-uart.c76 struct uart_port port; member in struct:owl_uart_port
84 static inline void owl_uart_write(struct uart_port *port, u32 val, unsigned int off) argument
86 writel(val, port->membase + off);
89 static inline u32 owl_uart_read(struct uart_port *port, unsigned int off) argument
91 return readl(port->membase + off);
94 static void owl_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
98 ctl = owl_uart_read(port, OWL_UART_CTL);
105 owl_uart_write(port, ctl, OWL_UART_CTL);
108 static unsigned int owl_uart_get_mctrl(struct uart_port *port) argument
113 ctl = owl_uart_read(port, OWL_UART_CT
122 owl_uart_tx_empty(struct uart_port *port) argument
138 owl_uart_stop_rx(struct uart_port *port) argument
151 owl_uart_stop_tx(struct uart_port *port) argument
164 owl_uart_start_tx(struct uart_port *port) argument
182 owl_uart_send_chars(struct uart_port *port) argument
191 owl_uart_receive_chars(struct uart_port *port) argument
234 struct uart_port *port = dev_id; local
256 owl_uart_shutdown(struct uart_port *port) argument
273 owl_uart_startup(struct uart_port *port) argument
307 owl_uart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
379 owl_uart_release_port(struct uart_port *port) argument
396 owl_uart_request_port(struct uart_port *port) argument
419 owl_uart_type(struct uart_port *port) argument
424 owl_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
436 owl_uart_config_port(struct uart_port *port, int flags) argument
446 owl_uart_poll_get_char(struct uart_port *port) argument
454 owl_uart_poll_put_char(struct uart_port *port, unsigned char ch) argument
497 owl_console_putchar(struct uart_port *port, unsigned char ch) argument
508 owl_uart_port_write(struct uart_port *port, const char *s, u_int count) argument
[all...]
H A Desp32_acm.c48 static void esp32s3_acm_write(struct uart_port *port, unsigned long reg, u32 v) argument
50 writel(v, port->membase + reg);
53 static u32 esp32s3_acm_read(struct uart_port *port, unsigned long reg) argument
55 return readl(port->membase + reg);
58 static u32 esp32s3_acm_tx_fifo_free(struct uart_port *port) argument
60 u32 status = esp32s3_acm_read(port, USB_SERIAL_JTAG_EP1_CONF_REG);
65 static u32 esp32s3_acm_tx_fifo_cnt(struct uart_port *port) argument
67 u32 status = esp32s3_acm_read(port, USB_SERIAL_JTAG_IN_EP1_ST_REG);
72 static u32 esp32s3_acm_rx_fifo_cnt(struct uart_port *port) argument
74 u32 status = esp32s3_acm_read(port, USB_SERIAL_JTAG_OUT_EP1_ST_RE
80 esp32s3_acm_tx_empty(struct uart_port *port) argument
85 esp32s3_acm_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
89 esp32s3_acm_get_mctrl(struct uart_port *port) argument
94 esp32s3_acm_stop_tx(struct uart_port *port) argument
103 esp32s3_acm_rxint(struct uart_port *port) argument
126 esp32s3_acm_push(struct uart_port *port) argument
133 esp32s3_acm_put_char(struct uart_port *port, u8 c) argument
138 esp32s3_acm_put_char_sync(struct uart_port *port, u8 c) argument
153 esp32s3_acm_transmit_buffer(struct uart_port *port) argument
177 esp32s3_acm_txint(struct uart_port *port) argument
184 struct uart_port *port = dev_id; local
198 esp32s3_acm_start_tx(struct uart_port *port) argument
203 esp32s3_acm_stop_rx(struct uart_port *port) argument
212 esp32s3_acm_startup(struct uart_port *port) argument
225 esp32s3_acm_shutdown(struct uart_port *port) argument
231 esp32s3_acm_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
237 esp32s3_acm_type(struct uart_port *port) argument
243 esp32s3_acm_config_port(struct uart_port *port, int flags) argument
250 esp32s3_acm_poll_put_char(struct uart_port *port, unsigned char c) argument
255 esp32s3_acm_poll_get_char(struct uart_port *port) argument
282 esp32s3_acm_string_write(struct uart_port *port, const char *s, unsigned int count) argument
291 struct uart_port *port = esp32s3_acm_ports[co->index]; local
370 struct uart_port *port; local
418 struct uart_port *port = platform_get_drvdata(pdev); local
[all...]
H A Daltera_jtaguart.c53 static unsigned int altera_jtaguart_tx_space(struct uart_port *port, u32 *ctlp) argument
55 u32 ctl = readl(port->membase + ALTERA_JTAGUART_CONTROL_REG);
63 static unsigned int altera_jtaguart_tx_empty(struct uart_port *port) argument
65 return altera_jtaguart_tx_space(port, NULL) ? TIOCSER_TEMT : 0;
68 static unsigned int altera_jtaguart_get_mctrl(struct uart_port *port) argument
73 static void altera_jtaguart_set_mctrl(struct uart_port *port, unsigned int sigs) argument
77 static void altera_jtaguart_start_tx(struct uart_port *port) argument
79 port->read_status_mask |= ALTERA_JTAGUART_CONTROL_WE_MSK;
80 writel(port->read_status_mask,
81 port
84 altera_jtaguart_stop_tx(struct uart_port *port) argument
91 altera_jtaguart_stop_rx(struct uart_port *port) argument
98 altera_jtaguart_break_ctl(struct uart_port *port, int break_state) argument
102 altera_jtaguart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
111 altera_jtaguart_rx_chars(struct uart_port *port) argument
129 altera_jtaguart_tx_chars(struct uart_port *port) argument
144 struct uart_port *port = data; local
162 altera_jtaguart_config_port(struct uart_port *port, int flags) argument
170 altera_jtaguart_startup(struct uart_port *port) argument
195 altera_jtaguart_shutdown(struct uart_port *port) argument
211 altera_jtaguart_type(struct uart_port *port) argument
216 altera_jtaguart_request_port(struct uart_port *port) argument
222 altera_jtaguart_release_port(struct uart_port *port) argument
227 altera_jtaguart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
262 altera_jtaguart_console_putc(struct uart_port *port, unsigned char c) argument
282 altera_jtaguart_console_putc(struct uart_port *port, unsigned char c) argument
300 struct uart_port *port = &altera_jtaguart_ports[co->index]; local
308 struct uart_port *port; local
380 struct uart_port *port; local
430 struct uart_port *port; local
[all...]
H A Dserial_port.c3 * Serial core port device driver
23 static int __serial_port_busy(struct uart_port *port) argument
25 return !uart_tx_stopped(port) &&
26 uart_circ_chars_pending(&port->state->xmit);
32 struct uart_port *port; local
35 port = port_dev->port;
37 if (port->flags & UPF_DEAD)
40 /* Flush any pending TX for the port */
41 uart_port_lock_irqsave(port,
59 struct uart_port *port = port_dev->port; local
83 serial_base_port_set_tx(struct uart_port *port, struct serial_port_device *port_dev, bool enabled) argument
94 serial_base_port_startup(struct uart_port *port) argument
101 serial_base_port_shutdown(struct uart_port *port) argument
133 uart_add_one_port(struct uart_driver *drv, struct uart_port *port) argument
139 uart_remove_one_port(struct uart_driver *drv, struct uart_port *port) argument
190 __uart_read_properties(struct uart_port *port, bool use_defaults) argument
275 uart_read_port_properties(struct uart_port *port) argument
281 uart_read_and_validate_port_properties(struct uart_port *port) argument
[all...]
H A Daltera_uart.c78 struct uart_port port; member in struct:altera_uart
84 static u32 altera_uart_readl(struct uart_port *port, int reg) argument
86 return readl(port->membase + (reg << port->regshift));
89 static void altera_uart_writel(struct uart_port *port, u32 dat, int reg) argument
91 writel(dat, port->membase + (reg << port->regshift));
94 static unsigned int altera_uart_tx_empty(struct uart_port *port) argument
96 return (altera_uart_readl(port, ALTERA_UART_STATUS_REG) &
100 static unsigned int altera_uart_get_mctrl(struct uart_port *port) argument
126 altera_uart_set_mctrl(struct uart_port *port, unsigned int sigs) argument
138 altera_uart_start_tx(struct uart_port *port) argument
146 altera_uart_stop_tx(struct uart_port *port) argument
154 altera_uart_stop_rx(struct uart_port *port) argument
162 altera_uart_break_ctl(struct uart_port *port, int break_state) argument
176 altera_uart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
202 altera_uart_rx_chars(struct uart_port *port) argument
248 altera_uart_tx_chars(struct uart_port *port) argument
260 struct uart_port *port = data; local
280 struct uart_port *port = &pp->port; local
286 altera_uart_config_port(struct uart_port *port, int flags) argument
296 altera_uart_startup(struct uart_port *port) argument
327 altera_uart_shutdown(struct uart_port *port) argument
346 altera_uart_type(struct uart_port *port) argument
351 altera_uart_request_port(struct uart_port *port) argument
357 altera_uart_release_port(struct uart_port *port) argument
362 altera_uart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
371 altera_uart_poll_get_char(struct uart_port *port) argument
380 altera_uart_poll_put_char(struct uart_port *port, unsigned char c) argument
419 altera_uart_console_putc(struct uart_port *port, unsigned char c) argument
431 struct uart_port *port = &(altera_uart_ports + co->index)->port; local
438 struct uart_port *port; local
489 struct uart_port *port = &dev->port; local
532 struct uart_port *port; local
600 struct uart_port *port = platform_get_drvdata(pdev); local
[all...]
H A Dmcf.c53 struct uart_port port; member in struct:mcf_uart
60 static unsigned int mcf_tx_empty(struct uart_port *port) argument
62 return (readb(port->membase + MCFUART_USR) & MCFUART_USR_TXEMPTY) ?
68 static unsigned int mcf_get_mctrl(struct uart_port *port) argument
70 struct mcf_uart *pp = container_of(port, struct mcf_uart, port);
73 sigs = (readb(port->membase + MCFUART_UIPR) & MCFUART_UIPR_CTS) ?
76 sigs |= (mcf_getppdcd(port->line) ? TIOCM_CD : 0);
77 sigs |= (mcf_getppdtr(port->line) ? TIOCM_DTR : 0);
84 static void mcf_set_mctrl(struct uart_port *port, unsigne argument
98 mcf_start_tx(struct uart_port *port) argument
114 mcf_stop_tx(struct uart_port *port) argument
124 mcf_stop_rx(struct uart_port *port) argument
134 mcf_break_ctl(struct uart_port *port, int break_state) argument
148 mcf_startup(struct uart_port *port) argument
174 mcf_shutdown(struct uart_port *port) argument
194 mcf_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
283 struct uart_port *port = &pp->port; local
329 struct uart_port *port = &pp->port; local
346 struct uart_port *port = data; local
369 mcf_config_port(struct uart_port *port, int flags) argument
384 mcf_type(struct uart_port *port) argument
391 mcf_request_port(struct uart_port *port) argument
399 mcf_release_port(struct uart_port *port) argument
406 mcf_verify_port(struct uart_port *port, struct serial_struct *ser) argument
416 mcf_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
475 struct uart_port *port = &(mcf_ports + co->index)->port; local
504 struct uart_port *port; local
574 struct uart_port *port; local
605 struct uart_port *port; local
[all...]
H A Dsunplus-uart.c71 #define SUP_DUMMY_READ BIT(16) /* drop bytes received on a !CREAD port */
75 struct uart_port port; member in struct:sunplus_uart_port
80 static void sp_uart_put_char(struct uart_port *port, unsigned int ch) argument
82 writel(ch, port->membase + SUP_UART_DATA);
85 static u32 sunplus_tx_buf_not_full(struct uart_port *port) argument
87 unsigned int lsr = readl(port->membase + SUP_UART_LSR);
92 static unsigned int sunplus_tx_empty(struct uart_port *port) argument
94 unsigned int lsr = readl(port->membase + SUP_UART_LSR);
99 static void sunplus_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
101 unsigned int mcr = readl(port
131 sunplus_get_mctrl(struct uart_port *port) argument
155 sunplus_stop_tx(struct uart_port *port) argument
164 sunplus_start_tx(struct uart_port *port) argument
173 sunplus_stop_rx(struct uart_port *port) argument
182 sunplus_break_ctl(struct uart_port *port, int ctl) argument
201 transmit_chars(struct uart_port *port) argument
231 receive_chars(struct uart_port *port) argument
277 struct uart_port *port = args; local
295 sunplus_startup(struct uart_port *port) argument
317 sunplus_shutdown(struct uart_port *port) argument
332 sunplus_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *oldtermios) argument
413 sunplus_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
423 sunplus_type(struct uart_port *port) argument
428 sunplus_config_port(struct uart_port *port, int type) argument
434 sunplus_verify_port(struct uart_port *port, struct serial_struct *ser) argument
443 wait_for_xmitr(struct uart_port *port) argument
460 sunplus_poll_put_char(struct uart_port *port, unsigned char data) argument
466 sunplus_poll_get_char(struct uart_port *port) argument
501 sunplus_uart_console_putchar(struct uart_port *port, unsigned char ch) argument
587 struct uart_port *port; local
730 sunplus_uart_putc(struct uart_port *port, unsigned char c) argument
[all...]
H A Dserial_base.h3 * Serial core related functions, serial port device drivers do not need this.
24 struct uart_port *port; member in struct:serial_port_device
34 void serial_base_port_startup(struct uart_port *port);
35 void serial_base_port_shutdown(struct uart_port *port);
40 struct serial_ctrl_device *serial_base_ctrl_add(struct uart_port *port,
42 struct serial_port_device *serial_base_port_add(struct uart_port *port,
47 int serial_ctrl_register_port(struct uart_driver *drv, struct uart_port *port);
48 void serial_ctrl_unregister_port(struct uart_driver *drv, struct uart_port *port);
50 int serial_core_register_port(struct uart_driver *drv, struct uart_port *port);
51 void serial_core_unregister_port(struct uart_driver *drv, struct uart_port *port);
[all...]
H A Dlpc32xx_hs.c88 struct uart_port port; member in struct:lpc32xx_hsuart_port
97 static void wait_for_xmit_empty(struct uart_port *port) argument
103 port->membase))) == 0)
111 static void wait_for_xmit_ready(struct uart_port *port) argument
117 port->membase))) < 32)
125 static void lpc32xx_hsuart_console_putchar(struct uart_port *port, unsigned char ch) argument
127 wait_for_xmit_ready(port);
128 writel((u32)ch, LPC32XX_HSUART_FIFO(port->membase));
140 locked = uart_port_trylock_irqsave(&up->port, &flags);
142 uart_port_lock_irqsave(&up->port,
154 struct uart_port *port; local
236 __serial_uart_flush(struct uart_port *port) argument
245 __serial_lpc32xx_rx(struct uart_port *port) argument
274 serial_lpc32xx_tx_ready(struct uart_port *port) argument
281 __serial_lpc32xx_tx(struct uart_port *port) argument
292 struct uart_port *port = dev_id; local
337 serial_lpc32xx_tx_empty(struct uart_port *port) argument
348 serial_lpc32xx_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
355 serial_lpc32xx_get_mctrl(struct uart_port *port) argument
362 serial_lpc32xx_stop_tx(struct uart_port *port) argument
372 serial_lpc32xx_start_tx(struct uart_port *port) argument
383 serial_lpc32xx_stop_rx(struct uart_port *port) argument
396 serial_lpc32xx_break_ctl(struct uart_port *port, int break_state) argument
413 serial_lpc32xx_startup(struct uart_port *port) argument
451 serial_lpc32xx_shutdown(struct uart_port *port) argument
470 serial_lpc32xx_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
510 serial_lpc32xx_type(struct uart_port *port) argument
515 serial_lpc32xx_release_port(struct uart_port *port) argument
527 serial_lpc32xx_request_port(struct uart_port *port) argument
548 serial_lpc32xx_config_port(struct uart_port *port, int uflags) argument
573 serial_lpc32xx_verify_port(struct uart_port *port, struct serial_struct *ser) argument
[all...]
H A Datmel_serial.c40 /* Revisit: We should calculate this based on the actual port settings */
57 static void atmel_start_rx(struct uart_port *port);
58 static void atmel_stop_rx(struct uart_port *port);
71 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port
102 * at91: 6 USARTs and one DBGU port (SAM9260)
108 * We wrap our port structure around the generic uart_port.
127 spinlock_t lock_tx; /* port lock */
128 spinlock_t lock_rx; /* port lock */
182 int (*prepare_rx)(struct uart_port *port);
183 int (*prepare_tx)(struct uart_port *port);
206 atmel_uart_readl(struct uart_port *port, u32 reg) argument
211 atmel_uart_writel(struct uart_port *port, u32 reg, u32 value) argument
216 atmel_uart_read_char(struct uart_port *port) argument
221 atmel_uart_write_char(struct uart_port *port, u8 value) argument
226 atmel_uart_is_half_duplex(struct uart_port *port) argument
239 atmel_use_pdc_rx(struct uart_port *port) argument
246 atmel_use_pdc_tx(struct uart_port *port) argument
253 atmel_use_pdc_rx(struct uart_port *port) argument
258 atmel_use_pdc_tx(struct uart_port *port) argument
264 atmel_use_dma_tx(struct uart_port *port) argument
271 atmel_use_dma_rx(struct uart_port *port) argument
278 atmel_use_fifo(struct uart_port *port) argument
293 atmel_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485conf) argument
331 atmel_calc_cd(struct uart_port *port, struct serial_iso7816 *iso7816conf) argument
344 atmel_calc_fidi(struct uart_port *port, struct serial_iso7816 *iso7816conf) argument
358 atmel_config_iso7816(struct uart_port *port, struct serial_iso7816 *iso7816conf) argument
455 atmel_tx_empty(struct uart_port *port) argument
469 atmel_set_mctrl(struct uart_port *port, u_int mctrl) argument
526 atmel_get_mctrl(struct uart_port *port) argument
551 atmel_stop_tx(struct uart_port *port) argument
583 atmel_start_tx(struct uart_port *port) argument
616 atmel_start_rx(struct uart_port *port) argument
637 atmel_stop_rx(struct uart_port *port) argument
655 atmel_enable_ms(struct uart_port *port) argument
688 atmel_disable_ms(struct uart_port *port) argument
721 atmel_break_ctl(struct uart_port *port, int break_state) argument
735 atmel_buffer_rx_char(struct uart_port *port, unsigned int status, unsigned int ch) argument
759 atmel_pdc_rxerr(struct uart_port *port, unsigned int status) argument
780 atmel_rx_chars(struct uart_port *port) argument
831 atmel_tx_chars(struct uart_port *port) argument
859 struct uart_port *port = &atmel_port->uart; local
899 atmel_release_tx_dma(struct uart_port *port) argument
919 atmel_tx_dma(struct uart_port *port) argument
1010 atmel_prepare_tx_dma(struct uart_port *port) argument
1082 struct uart_port *port = arg; local
1088 atmel_release_rx_dma(struct uart_port *port) argument
1105 atmel_rx_from_dma(struct uart_port *port) argument
1187 atmel_prepare_rx_dma(struct uart_port *port) argument
1288 struct uart_port *port = &atmel_port->uart; local
1301 atmel_handle_receive(struct uart_port *port, unsigned int pending) argument
1352 atmel_handle_transmit(struct uart_port *port, unsigned int pending) argument
1378 atmel_handle_status(struct uart_port *port, unsigned int pending, unsigned int status) argument
1414 struct uart_port *port = dev_id; local
1445 atmel_release_tx_pdc(struct uart_port *port) argument
1459 atmel_tx_pdc(struct uart_port *port) argument
1505 atmel_prepare_tx_pdc(struct uart_port *port) argument
1522 atmel_rx_from_ring(struct uart_port *port) argument
1584 atmel_release_rx_pdc(struct uart_port *port) argument
1600 atmel_rx_from_pdc(struct uart_port *port) argument
1672 atmel_prepare_rx_pdc(struct uart_port *port) argument
1719 struct uart_port *port = &atmel_port->uart; local
1731 struct uart_port *port = &atmel_port->uart; local
1772 atmel_set_ops(struct uart_port *port) argument
1808 atmel_get_ip_name(struct uart_port *port) argument
1883 atmel_startup(struct uart_port *port) argument
2011 atmel_flush_buffer(struct uart_port *port) argument
2029 atmel_shutdown(struct uart_port *port) argument
2092 atmel_serial_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
2129 atmel_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2391 atmel_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
2411 atmel_type(struct uart_port *port) argument
2419 atmel_release_port(struct uart_port *port) argument
2435 atmel_request_port(struct uart_port *port) argument
2457 atmel_config_port(struct uart_port *port, int flags) argument
2468 atmel_verify_port(struct uart_port *port, struct serial_struct *ser) argument
2489 atmel_poll_get_char(struct uart_port *port) argument
2497 atmel_poll_put_char(struct uart_port *port, unsigned char ch) argument
2545 struct uart_port *port = &atmel_port->uart; local
2588 atmel_console_putchar(struct uart_port *port, unsigned char ch) argument
2600 struct uart_port *port = &atmel_ports[co->index].uart; local
2642 atmel_console_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
2672 struct uart_port *port = &atmel_ports[co->index].uart; local
2760 struct uart_port *port = dev_get_drvdata(dev); local
2802 struct uart_port *port = dev_get_drvdata(dev); local
3014 struct uart_port *port = platform_get_drvdata(pdev); local
[all...]
H A Dmvebu-uart.c134 /* Driver data, a structure for each UART port */
154 struct uart_port *port; member in struct:mvebu_uart
163 static struct mvebu_uart *to_mvuart(struct uart_port *port) argument
165 return (struct mvebu_uart *)port->private_data;
168 #define IS_EXTENDED(port) (to_mvuart(port)->data->is_ext)
170 #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr)
171 #define UART_TSH(port) (to_mvuart(port)
185 mvebu_uart_tx_empty(struct uart_port *port) argument
197 mvebu_uart_get_mctrl(struct uart_port *port) argument
202 mvebu_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
211 mvebu_uart_stop_tx(struct uart_port *port) argument
219 mvebu_uart_start_tx(struct uart_port *port) argument
234 mvebu_uart_stop_rx(struct uart_port *port) argument
247 mvebu_uart_break_ctl(struct uart_port *port, int brk) argument
262 mvebu_uart_rx_chars(struct uart_port *port, unsigned int status) argument
335 mvebu_uart_tx_chars(struct uart_port *port, unsigned int status) argument
347 struct uart_port *port = (struct uart_port *)dev_id; local
362 struct uart_port *port = (struct uart_port *)dev_id; local
374 struct uart_port *port = (struct uart_port *)dev_id; local
383 mvebu_uart_startup(struct uart_port *port) argument
441 mvebu_uart_shutdown(struct uart_port *port) argument
455 mvebu_uart_baud_rate_set(struct uart_port *port, unsigned int baud) argument
536 mvebu_uart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
595 mvebu_uart_type(struct uart_port *port) argument
600 mvebu_uart_release_port(struct uart_port *port) argument
605 mvebu_uart_request_port(struct uart_port *port) argument
611 mvebu_uart_get_poll_char(struct uart_port *port) argument
621 mvebu_uart_put_poll_char(struct uart_port *port, unsigned char c) argument
662 mvebu_uart_putc(struct uart_port *port, unsigned char c) argument
707 wait_for_xmitr(struct uart_port *port) argument
715 wait_for_xmite(struct uart_port *port) argument
723 mvebu_uart_console_putchar(struct uart_port *port, unsigned char ch) argument
732 struct uart_port *port = &mvebu_uart_ports[co->index]; local
766 struct uart_port *port; local
825 struct uart_port *port = mvuart->port; local
848 struct uart_port *port = mvuart->port; local
881 struct uart_port *port; local
[all...]
/linux-master/drivers/usb/serial/
H A Dgeneric.c106 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) argument
110 clear_bit(USB_SERIAL_THROTTLED, &port->flags);
112 if (port->bulk_in_size)
113 result = usb_serial_generic_submit_read_urbs(port, GFP_KERNEL);
119 void usb_serial_generic_close(struct usb_serial_port *port) argument
124 if (port->bulk_out_size) {
125 for (i = 0; i < ARRAY_SIZE(port->write_urbs); ++i)
126 usb_kill_urb(port->write_urbs[i]);
128 spin_lock_irqsave(&port->lock, flags);
129 kfifo_reset_out(&port
139 usb_serial_generic_prepare_write_buffer(struct usb_serial_port *port, void *dest, size_t size) argument
154 usb_serial_generic_write_start(struct usb_serial_port *port, gfp_t mem_flags) argument
213 usb_serial_generic_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
235 struct usb_serial_port *port = tty->driver_data; local
252 struct usb_serial_port *port = tty->driver_data; local
270 struct usb_serial_port *port = tty->driver_data; local
300 usb_serial_generic_submit_read_urb(struct usb_serial_port *port, int index, gfp_t mem_flags) argument
324 usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, gfp_t mem_flags) argument
347 struct usb_serial_port *port = urb->context; local
372 struct usb_serial_port *port = urb->context; local
437 struct usb_serial_port *port = urb->context; local
476 struct usb_serial_port *port = tty->driver_data; local
484 struct usb_serial_port *port = tty->driver_data; local
501 struct usb_serial_port *port = tty->driver_data; local
529 struct usb_serial_port *port = tty->driver_data; local
550 struct usb_serial_port *port = tty->driver_data; local
575 usb_serial_handle_sysrq_char(struct usb_serial_port *port, unsigned int ch) argument
589 usb_serial_handle_break(struct usb_serial_port *port) argument
610 usb_serial_handle_dcd_change(struct usb_serial_port *port, struct tty_struct *tty, unsigned int status) argument
634 struct usb_serial_port *port; local
[all...]
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-encoder.c36 /* Take the encoder configuration form the port struct and
39 static void saa7164_encoder_configure(struct saa7164_port *port) argument
41 struct saa7164_dev *dev = port->dev;
44 port->encoder_params.width = port->width;
45 port->encoder_params.height = port->height;
46 port->encoder_params.is_50hz =
47 (port->encodernorm.id & V4L2_STD_625_50) != 0;
50 saa7164_api_initialize_dif(port);
59 saa7164_encoder_buffers_dealloc(struct saa7164_port *port) argument
97 saa7164_encoder_buffers_alloc(struct saa7164_port *port) argument
186 saa7164_encoder_initialize(struct saa7164_port *port) argument
193 saa7164_s_std(struct saa7164_port *port, v4l2_std_id id) argument
227 saa7164_g_std(struct saa7164_port *port, v4l2_std_id *id) argument
264 saa7164_g_input(struct saa7164_port *port, unsigned int *i) argument
285 saa7164_s_input(struct saa7164_port *port, unsigned int i) argument
312 struct saa7164_port *port = fh->port; local
338 saa7164_g_frequency(struct saa7164_port *port, struct v4l2_frequency *f) argument
355 saa7164_s_frequency(struct saa7164_port *port, const struct v4l2_frequency *f) argument
410 struct saa7164_port *port = local
487 struct saa7164_port *port = fh->port; local
514 struct saa7164_port *port = fh->port; local
526 saa7164_encoder_stop_port(struct saa7164_port *port) argument
544 saa7164_encoder_acquire_port(struct saa7164_port *port) argument
562 saa7164_encoder_pause_port(struct saa7164_port *port) argument
586 saa7164_encoder_stop_streaming(struct saa7164_port *port) argument
629 saa7164_encoder_start_streaming(struct saa7164_port *port) argument
710 struct saa7164_port *port; local
737 struct saa7164_port *port = fh->port; local
758 saa7164_enc_next_buf(struct saa7164_port *port) argument
791 struct saa7164_port *port = fh->port; local
898 struct saa7164_port *port = fh->port; local
971 saa7164_encoder_alloc( struct saa7164_port *port, struct pci_dev *pci, struct video_device *template, char *type) argument
995 saa7164_encoder_register(struct saa7164_port *port) argument
1126 saa7164_encoder_unregister(struct saa7164_port *port) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_mipi.c320 unsigned int port; local
339 port = (unsigned int)pipe->stream->config.source.port.port;
340 if (port >= N_CSI_PORTS) {
341 IA_CSS_ERROR("allocate_mipi_frames(%p) exit: port is not correct (port=%d).",
342 pipe, port);
348 &my_css.mipi_frame_size[port]);
351 * 2401 system allows multiple streams to use same physical port
429 unsigned int port; local
518 unsigned int port; local
[all...]
/linux-master/drivers/net/wan/
H A Dixp4xx_hss.c3 * Intel IXP4xx HSS (synchronous serial port) driver for Linux
206 #define HSS_CONFIG_TX_PCR 0x00 /* port configuration registers */
258 struct port { struct
325 #define rx_desc_phys(port, n) ((port)->desc_tab_phys + \
327 #define rx_desc_ptr(port, n) (&(port)->desc_tab[n])
329 #define tx_desc_phys(port, n) ((port)->desc_tab_phys + \
331 #define tx_desc_ptr(port,
364 hss_npe_send(struct port *port, struct msg *msg, const char *what) argument
375 hss_config_set_lut(struct port *port) argument
398 hss_config(struct port *port) argument
465 hss_set_hdlc_cfg(struct port *port) argument
477 hss_get_status(struct port *port) argument
493 hss_start_hdlc(struct port *port) argument
504 hss_stop_hdlc(struct port *port) argument
515 hss_load_firmware(struct port *port) argument
588 queue_get_desc(unsigned int queue, struct port *port, int is_tx) argument
619 dma_unmap_tx(struct port *port, struct desc *desc) argument
634 struct port *port = dev_to_port(netdev); local
651 struct port *port = dev_to_port(dev); local
662 struct port *port = container_of(napi, struct port, napi); local
800 struct port *port = dev_to_port(dev); local
839 struct port *port = dev_to_port(dev); local
923 request_hdlc_queues(struct port *port) argument
966 release_hdlc_queues(struct port *port) argument
975 init_hdlc_queues(struct port *port) argument
1022 destroy_hdlc_queues(struct port *port) argument
1060 struct port *port = dev_to_port(dev); local
1071 struct port *port = dev_to_port(dev); local
1155 struct port *port = dev_to_port(dev); local
1212 struct port *port = dev_to_port(dev); local
1292 hss_hdlc_set_clock(struct port *port, unsigned int clock_type) argument
1312 struct port *port = dev_to_port(dev); local
1395 struct port *port; local
1527 struct port *port = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_core.c122 struct uart_port *port; local
125 port = &up->port;
127 if (port->handle_irq(port)) {
181 h = &irq_lists[up->port.irq % NR_IRQ_HASH];
184 if (i->irq == up->port.irq)
194 i->irq = up->port.irq;
210 ret = request_irq(up->port.irq, serial8250_interrupt,
211 up->port
304 struct uart_port *port = &up->port; local
329 struct uart_port *port = &up->port; local
339 struct uart_port *port = &up->port; local
352 struct uart_port *port = &up->port; local
373 struct uart_port *port = &up->port; local
416 serial8250_set_isa_configurator( void (*v)(int port, struct uart_port *up, u32 *capabilities)) argument
425 univ8250_config_port(struct uart_port *port, int flags) argument
451 univ8250_request_port(struct uart_port *port) argument
466 univ8250_release_port(struct uart_port *port) argument
551 struct uart_port *port = &up->port; local
606 struct uart_port *port; local
640 struct uart_port *port; local
680 struct uart_port *port = &serial8250_ports[i].port; local
742 early_serial_setup(struct uart_port *port) argument
787 struct uart_port *port = &up->port; local
811 struct uart_port *port = &up->port; local
949 serial8250_find_match_or_unused(const struct uart_port *port) argument
991 struct uart_port *port = &up->port; local
[all...]
H A D8250_port.c3 * Base port operations for 8250/16550-type serial ports
10 * mapbase is the physical address of the IO port.
217 .name = "CIR port"
415 static int serial8250_default_handle_irq(struct uart_port *port);
504 pm_runtime_get_sync(p->port.dev);
512 pm_runtime_mark_last_busy(p->port.dev);
513 pm_runtime_put_autosuspend(p->port.dev);
519 * @p: uart_8250_port port instance
531 * or from any other callback protected with p->port.lock spinlock.
540 lockdep_assert_held_once(&p->port
610 serial8250_em485_config(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
1147 struct uart_port *port = &up->port; local
1314 struct uart_port *port = &up->port; local
1370 serial8250_stop_rx(struct uart_port *port) argument
1505 serial8250_stop_tx(struct uart_port *port) argument
1522 __start_tx(struct uart_port *port) argument
1573 start_tx_rs485(struct uart_port *port) argument
1625 serial8250_start_tx(struct uart_port *port) argument
1646 serial8250_throttle(struct uart_port *port) argument
1651 serial8250_unthrottle(struct uart_port *port) argument
1656 serial8250_disable_ms(struct uart_port *port) argument
1673 serial8250_enable_ms(struct uart_port *port) argument
1695 struct uart_port *port = &up->port; local
1763 struct uart_port *port = &up->port; local
1780 struct uart_port *port = &up->port; local
1840 struct uart_port *port = &up->port; local
1892 serial8250_handle_irq(struct uart_port *port, unsigned int iir) argument
1943 serial8250_default_handle_irq(struct uart_port *port) argument
1964 serial8250_tx_threshold_handle_irq(struct uart_port *port) argument
1982 serial8250_tx_empty(struct uart_port *port) argument
2000 serial8250_do_get_mctrl(struct uart_port *port) argument
2018 serial8250_get_mctrl(struct uart_port *port) argument
2025 serial8250_do_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
2038 serial8250_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
2049 serial8250_break_ctl(struct uart_port *port, int break_state) argument
2110 serial8250_get_poll_char(struct uart_port *port) argument
2132 serial8250_put_poll_char(struct uart_port *port, unsigned char c) argument
2170 serial8250_do_startup(struct uart_port *port) argument
2457 serial8250_startup(struct uart_port *port) argument
2464 serial8250_do_shutdown(struct uart_port *port) argument
2521 serial8250_shutdown(struct uart_port *port) argument
2529 serial8250_do_get_divisor(struct uart_port *port, unsigned int baud, unsigned int *frac) argument
2585 serial8250_get_divisor(struct uart_port *port, unsigned int baud, unsigned int *frac) argument
2614 serial8250_do_set_divisor(struct uart_port *port, unsigned int baud, unsigned int quot, unsigned int quot_frac) argument
2641 serial8250_set_divisor(struct uart_port *port, unsigned int baud, unsigned int quot, unsigned int quot_frac) argument
2650 serial8250_get_baud_rate(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2685 serial8250_update_uartclk(struct uart_port *port, unsigned int uartclk) argument
2719 serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2858 serial8250_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2867 serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
2886 serial8250_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
2894 serial8250_do_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
2904 serial8250_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
2929 struct uart_port *port = &up->port; local
2970 struct uart_port *port = &up->port; local
2997 serial8250_release_port(struct uart_port *port) argument
3004 serial8250_request_port(struct uart_port *port) argument
3038 do_get_rxtrig(struct tty_port *port) argument
3050 do_serial8250_get_rxtrig(struct tty_port *port) argument
3064 struct tty_port *port = dev_get_drvdata(dev); local
3074 do_set_rxtrig(struct tty_port *port, unsigned char bytes) argument
3095 do_serial8250_set_rxtrig(struct tty_port *port, unsigned char bytes) argument
3109 struct tty_port *port = dev_get_drvdata(dev); local
3146 serial8250_config_port(struct uart_port *port, int flags) argument
3180 serial8250_verify_port(struct uart_port *port, struct serial_struct *ser) argument
3190 serial8250_type(struct uart_port *port) argument
3228 struct uart_port *port = &up->port; local
3242 struct uart_port *port = &up->port; local
3269 serial8250_console_putchar(struct uart_port *port, unsigned char ch) argument
3282 struct uart_port *port = &up->port; local
3345 struct uart_port *port = &up->port; local
3428 probe_baud(struct uart_port *port) argument
3443 serial8250_console_setup(struct uart_port *port, char *options, bool probe) argument
3469 serial8250_console_exit(struct uart_port *port) argument
[all...]
/linux-master/drivers/scsi/bfa/
H A Dbfa_port.c21 bfa_port_stats_swap(struct bfa_port_s *port, union bfa_port_stats_u *stats) argument
45 * @param[in] port - Pointer to the port module
51 bfa_port_enable_isr(struct bfa_port_s *port, bfa_status_t status) argument
53 bfa_trc(port, status);
54 port->endis_pending = BFA_FALSE;
55 port->endis_cbfn(port->endis_cbarg, status);
62 * @param[in] port - Pointer to the port modul
68 bfa_port_disable_isr(struct bfa_port_s *port, bfa_status_t status) argument
85 bfa_port_get_stats_isr(struct bfa_port_s *port, bfa_status_t status) argument
114 bfa_port_clear_stats_isr(struct bfa_port_s *port, bfa_status_t status) argument
141 struct bfa_port_s *port = (struct bfa_port_s *) cbarg; local
203 bfa_port_mem_claim(struct bfa_port_s *port, u8 *dma_kva, u64 dma_pa) argument
219 bfa_port_enable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, void *cbarg) argument
275 bfa_port_disable(struct bfa_port_s *port, bfa_port_endis_cbfn_t cbfn, void *cbarg) argument
331 bfa_port_get_stats(struct bfa_port_s *port, union bfa_port_stats_u *stats, bfa_port_stats_cbfn_t cbfn, void *cbarg) argument
370 bfa_port_clear_stats(struct bfa_port_s *port, bfa_port_stats_cbfn_t cbfn, void *cbarg) argument
411 struct bfa_port_s *port = (struct bfa_port_s *) arg; local
457 bfa_port_attach(struct bfa_port_s *port, struct bfa_ioc_s *ioc, void *dev, struct bfa_trc_mod_s *trcmod) argument
496 bfa_port_set_dportenabled(struct bfa_port_s *port, bfa_boolean_t enabled) argument
[all...]
/linux-master/drivers/char/
H A Dvirtio_console.c43 /* Used for exporting per-port information to debugfs */
67 /* The hvc device associated with this console port */
154 /* Array of per-port IO virtqueues */
165 /* This struct holds the per-port data */
166 struct port { struct
167 /* Next port in the list, head is in the ports_device */
178 * port. Has to be a spinlock because it can be called from
186 /* The IO vqs for this port */
189 /* File in the debugfs directory that exposes this port's information */
194 * this port fo
235 struct port *port; local
255 struct port *port; local
275 struct port *port; local
292 struct port *port; local
309 struct port *port; local
322 is_console_port(struct port *port) argument
459 get_inbuf(struct port *port) argument
497 discard_port_data(struct port *port) argument
523 port_has_data(struct port *port) argument
569 send_control_msg(struct port *port, unsigned int event, unsigned int value) argument
580 reclaim_consumed_buffers(struct port *port) argument
595 __send_to_port(struct port *port, struct scatterlist *sg, int nents, size_t in_count, void *data, bool nonblock) argument
653 fill_readbuf(struct port *port, u8 __user *out_buf, size_t out_count, bool to_user) argument
696 will_read_block(struct port *port) argument
705 will_write_block(struct port *port) argument
731 struct port *port; local
775 wait_port_writable(struct port *port, bool nonblock) argument
798 struct port *port; local
903 struct port *port = filp->private_data; local
962 struct port *port; local
987 struct port *port; local
1022 struct port *port; local
1075 struct port *port; local
1109 struct port *port; local
1137 struct port *port; local
1149 resize_console(struct port *port) argument
1168 struct port *port; local
1194 init_port_console(struct port *port) argument
1243 struct port *port; local
1264 struct port *port = s->private; local
1282 set_console_size(struct port *port, u16 rows, u16 cols) argument
1317 send_sigio_to_port(struct port *port) argument
1326 struct port *port; local
1451 struct port *port; local
1458 remove_port_data(struct port *port) argument
1475 unplug_port(struct port *port) argument
1532 struct port *port; local
1703 struct port *port; local
1716 struct port *port; local
1784 struct port *port; local
1917 struct port *port, *port2; local
2103 struct port *port; local
2138 struct port *port; local
[all...]
/linux-master/drivers/pci/controller/
H A Dpcie-xilinx-dma-pl.c88 * struct pl_dma_pcie - PCIe port information
115 static inline u32 pcie_read(struct pl_dma_pcie *port, u32 reg) argument
117 return readl(port->reg_base + reg);
120 static inline void pcie_write(struct pl_dma_pcie *port, u32 val, u32 reg) argument
122 writel(val, port->reg_base + reg);
125 static inline bool xilinx_pl_dma_pcie_link_up(struct pl_dma_pcie *port) argument
127 return (pcie_read(port, XILINX_PCIE_DMA_REG_PSCR) &
131 static void xilinx_pl_dma_pcie_clear_err_interrupts(struct pl_dma_pcie *port) argument
133 unsigned long val = pcie_read(port, XILINX_PCIE_DMA_REG_RPEFR);
136 dev_dbg(port
146 struct pl_dma_pcie *port = bus->sysdata; local
171 struct pl_dma_pcie *port = bus->sysdata; local
188 xilinx_pl_dma_pcie_enable_msi(struct pl_dma_pcie *port) argument
198 struct pl_dma_pcie *port = irq_data_get_irq_chip_data(data); local
211 struct pl_dma_pcie *port = irq_data_get_irq_chip_data(data); local
248 struct pl_dma_pcie *port = args; local
267 struct pl_dma_pcie *port = args; local
288 struct pl_dma_pcie *port = args; local
327 struct pl_dma_pcie *port = (struct pl_dma_pcie *)dev_id; local
428 xilinx_pl_dma_pcie_free_irq_domains(struct pl_dma_pcie *port) argument
448 xilinx_pl_dma_pcie_init_msi_irq_domain(struct pl_dma_pcie *port) argument
493 struct pl_dma_pcie *port = args; local
505 struct pl_dma_pcie *port = irq_data_get_irq_chip_data(d); local
517 struct pl_dma_pcie *port = irq_data_get_irq_chip_data(d); local
554 xilinx_pl_dma_pcie_init_irq_domain(struct pl_dma_pcie *port) argument
596 xilinx_pl_dma_pcie_setup_irq(struct pl_dma_pcie *port) argument
652 xilinx_pl_dma_pcie_init_port(struct pl_dma_pcie *port) argument
680 xilinx_request_msi_irq(struct pl_dma_pcie *port) argument
713 xilinx_pl_dma_pcie_parse_dt(struct pl_dma_pcie *port, struct resource *bus_range) argument
746 struct pl_dma_pcie *port; local
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c40 /* Set the vlan port members mask */
54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid) argument
56 struct lan966x *lan966x = port->lan966x;
57 u8 p = port->chip_port;
63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid) argument
65 struct lan966x *lan966x = port->lan966x;
66 u8 p = port->chip_port;
104 static u16 lan966x_vlan_port_get_pvid(struct lan966x_port *port) argument
106 struct lan966x *lan966x = port->lan966x;
108 if (!(lan966x->bridge_mask & BIT(port
114 lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid, bool pvid, bool untagged) argument
137 lan966x_vlan_port_remove_vid(struct lan966x_port *port, u16 vid) argument
146 lan966x_vlan_port_set_vlan_aware(struct lan966x_port *port, bool vlan_aware) argument
152 lan966x_vlan_port_apply(struct lan966x_port *port) argument
213 lan966x_vlan_port_add_vlan(struct lan966x_port *port, u16 vid, bool pvid, bool untagged) argument
236 lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) argument
285 u16 port, vid; local
[all...]
H A Dlan966x_port.c25 static void lan966x_port_link_down(struct lan966x_port *port) argument
27 struct lan966x *lan966x = port->lan966x;
35 lan966x, AFI_PORT_CFG(port->chip_port));
37 /* wait for reg afi_port_frm_out to become 0 for the port */
39 val = lan_rd(lan966x, AFI_PORT_FRM_OUT(port->chip_port));
46 pr_err("AFI timeout chip port %u", port->chip_port);
56 lan966x, DEV_CLOCK_CFG(port->chip_port));
61 lan966x, DEV_MAC_ENA_CFG(port->chip_port));
63 /* 3: Disable traffic being sent to or from switch port */
144 lan966x_port_link_up(struct lan966x_port *port) argument
277 lan966x_port_config_down(struct lan966x_port *port) argument
282 lan966x_port_config_up(struct lan966x_port *port) argument
287 lan966x_port_status_get(struct lan966x_port *port, struct phylink_link_state *state) argument
331 lan966x_port_pcs_set(struct lan966x_port *port, struct lan966x_port_config *config) argument
398 lan966x_port_qos_pcp_set(struct lan966x_port *port, struct lan966x_port_qos_pcp *qos) argument
422 lan966x_port_qos_dscp_set(struct lan966x_port *port, struct lan966x_port_qos_dscp *qos) argument
447 lan966x_port_qos_default_set(struct lan966x_port *port, struct lan966x_port_qos *qos) argument
467 lan966x_port_qos_pcp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_pcp_rewr *qos) argument
503 lan966x_port_qos_dscp_rewr_set(struct lan966x_port *port, struct lan966x_port_qos_dscp_rewr *qos) argument
529 lan966x_port_qos_dscp_rewr_mode_set(struct lan966x_port *port, int mode) argument
537 lan966x_port_qos_set(struct lan966x_port *port, struct lan966x_port_qos *qos) argument
547 lan966x_port_init(struct lan966x_port *port) argument
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-dbgtty.c28 dbc_send_packet(struct dbc_port *port, char *packet, unsigned int size) argument
32 len = kfifo_len(&port->write_fifo);
36 size = kfifo_out(&port->write_fifo, packet, size);
40 static int dbc_start_tx(struct dbc_port *port)
41 __releases(&port->port_lock)
42 __acquires(&port->port_lock)
48 struct list_head *pool = &port->write_pool;
52 len = dbc_send_packet(port, req->buf, DBC_MAX_PACKET);
60 spin_unlock(&port->port_lock);
62 spin_lock(&port
107 struct dbc_port *port = dbc_to_port(dbc); local
118 struct dbc_port *port = dbc_to_port(dbc); local
183 struct dbc_port *port; local
199 struct dbc_port *port = tty->driver_data; local
206 struct dbc_port *port = tty->driver_data; local
214 struct dbc_port *port = tty->driver_data; local
228 struct dbc_port *port = tty->driver_data; local
241 struct dbc_port *port = tty->driver_data; local
251 struct dbc_port *port = tty->driver_data; local
264 struct dbc_port *port = tty->driver_data; local
277 struct dbc_port *port = tty->driver_data; local
304 struct dbc_port *port = from_tasklet(port, t, push); local
373 struct dbc_port *port = container_of(_port, struct dbc_port, port); local
387 xhci_dbc_tty_init_port(struct xhci_dbc *dbc, struct dbc_port *port) argument
401 xhci_dbc_tty_exit_port(struct dbc_port *port) argument
411 struct dbc_port *port = dbc_to_port(dbc); local
469 struct dbc_port *port = dbc_to_port(dbc); local
495 struct dbc_port *port; local
530 struct dbc_port *port = dbc_to_port(dbc); local
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477.h15 u32 ksz9477_get_port_addr(int port, int offset);
16 void ksz9477_cfg_port_member(struct ksz_device *dev, int port, u8 member);
17 void ksz9477_flush_dyn_mac_table(struct ksz_device *dev, int port);
18 void ksz9477_port_setup(struct ksz_device *dev, int port, bool cpu_port);
22 void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt);
23 void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr,
25 void ksz9477_freeze_mib(struct ksz_device *dev, int port, bool freeze);
26 void ksz9477_port_init_cnt(struct ksz_device *dev, int port);
27 int ksz9477_port_vlan_filtering(struct ksz_device *dev, int port,
29 int ksz9477_port_vlan_add(struct ksz_device *dev, int port,
[all...]

Completed in 225 milliseconds

1234567891011>>