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

1234567891011>>

/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dnv50.c31 struct nv50_i2c_port *port = (void *)base; local
32 if (state) port->state |= 0x01;
33 else port->state &= 0xfe;
34 nv_wr32(priv, port->addr, port->state);
41 struct nv50_i2c_port *port = (void *)base; local
42 if (state) port->state |= 0x02;
43 else port->state &= 0xfd;
44 nv_wr32(priv, port->addr, port
51 struct nv50_i2c_port *port = (void *)base; local
59 struct nv50_i2c_port *port = (void *)base; local
84 struct nv50_i2c_port *port; local
106 struct nv50_i2c_port *port = (void *)object; local
[all...]
H A Dbase.c51 struct nouveau_i2c_port *port = bit->data; local
52 return nouveau_i2c(port)->acquire(port, bit->timeout);
59 struct nouveau_i2c_port *port = bit->data; local
60 return nouveau_i2c(port)->release(port);
66 struct nouveau_i2c_port *port = data; local
67 port->func->drive_scl(port, state);
73 struct nouveau_i2c_port *port local
80 struct nouveau_i2c_port *port = data; local
87 struct nouveau_i2c_port *port = data; local
98 struct nouveau_i2c_port *port = (void *)object; local
107 struct nouveau_i2c_port *port = (void *)object; local
122 struct nouveau_i2c_port *port; local
178 struct nouveau_i2c_port *port; local
206 struct nouveau_i2c_port *port; local
217 nouveau_i2c_release_pad(struct nouveau_i2c_port *port) argument
229 nouveau_i2c_try_acquire_pad(struct nouveau_i2c_port *port) argument
250 nouveau_i2c_acquire_pad(struct nouveau_i2c_port *port, unsigned long timeout) argument
291 struct nouveau_i2c_port *port = nouveau_i2c_find(i2c, index); local
333 struct nouveau_i2c_port *port = i2c->find(i2c, index); local
343 struct nouveau_i2c_port *port = i2c->find(i2c, index); local
368 struct nouveau_i2c_port *port; local
407 struct nouveau_i2c_port *port; local
435 struct nouveau_i2c_port *port; local
460 struct nouveau_i2c_port *port, *temp; local
[all...]
/drivers/input/serio/
H A Dq40kbd.c54 struct serio *port; member in struct:q40kbd
66 serio_interrupt(q40kbd->port, master_inb(KEYCODE_REG), 0);
99 * q40kbd_open() is called when a port is open by the higher layer.
103 static int q40kbd_open(struct serio *port) argument
105 struct q40kbd *q40kbd = port->port_data;
116 static void q40kbd_close(struct serio *port) argument
118 struct q40kbd *q40kbd = port->port_data;
127 struct serio *port; local
131 port = kzalloc(sizeof(struct serio), GFP_KERNEL);
132 if (!q40kbd || !port) {
[all...]
/drivers/net/wan/
H A Dixp4xx_hss.c2 * Intel IXP4xx HSS (synchronous serial port) driver for Linux
204 #define HSS_CONFIG_TX_PCR 0x00 /* port configuration registers */
256 struct port { struct
314 #define rx_desc_phys(port, n) ((port)->desc_tab_phys + \
316 #define rx_desc_ptr(port, n) (&(port)->desc_tab[n])
318 #define tx_desc_phys(port, n) ((port)->desc_tab_phys + \
320 #define tx_desc_ptr(port,
360 hss_npe_send(struct port *port, struct msg *msg, const char* what) argument
370 hss_config_set_lut(struct port *port) argument
393 hss_config(struct port *port) argument
460 hss_set_hdlc_cfg(struct port *port) argument
472 hss_get_status(struct port *port) argument
488 hss_start_hdlc(struct port *port) argument
499 hss_stop_hdlc(struct port *port) argument
510 hss_load_firmware(struct port *port) argument
582 queue_get_desc(unsigned int queue, struct port *port, int is_tx) argument
612 dma_unmap_tx(struct port *port, struct desc *desc) argument
628 struct port *port = dev_to_port(netdev); local
645 struct port *port = dev_to_port(dev); local
656 struct port *port = container_of(napi, struct port, napi); local
793 struct port *port = dev_to_port(dev); local
832 struct port *port = dev_to_port(dev); local
916 request_hdlc_queues(struct port *port) argument
959 release_hdlc_queues(struct port *port) argument
968 init_hdlc_queues(struct port *port) argument
1013 destroy_hdlc_queues(struct port *port) argument
1048 struct port *port = dev_to_port(dev); local
1113 struct port *port = dev_to_port(dev); local
1169 struct port *port = dev_to_port(dev); local
1250 struct port *port = dev_to_port(dev); local
1331 struct port *port; local
1382 struct port *port = platform_get_drvdata(pdev); local
[all...]
H A Dhd64572.c47 #define get_msci(port) (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET)
48 #define get_dmac_rx(port) (port->chan ? DMAC1RX_OFFSET : DMAC0RX_OFFSET)
49 #define get_dmac_tx(port) (port->chan ? DMAC1TX_OFFSET : DMAC0TX_OFFSET)
65 static inline void enable_intr(port_t *port) argument
68 sca_outl(sca_inl(IER0, port->card) |
69 (port->chan ? 0x08002200 : 0x00080022), IER0, port
72 disable_intr(port_t *port) argument
78 desc_abs_number(port_t *port, u16 desc, int transmit) argument
88 desc_offset(port_t *port, u16 desc, int transmit) argument
95 desc_address(port_t *port, u16 desc, int transmit) argument
103 buffer_offset(port_t *port, u16 desc, int transmit) argument
110 sca_set_carrier(port_t *port) argument
128 sca_init_port(port_t *port) argument
189 sca_msci_intr(port_t *port) argument
202 sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, u16 rxin) argument
233 sca_rx_done(port_t *port, int budget) argument
289 sca_tx_done(port_t *port) argument
330 port_t *port = container_of(napi, port_t, napi); local
358 port_t *port = get_port(card, i); local
370 sca_set_port(port_t *port) argument
426 port_t *port = dev_to_port(dev); local
485 port_t *port = dev_to_port(dev); local
521 port_t *port = dev_to_port(dev); local
567 port_t *port = dev_to_port(dev); local
[all...]
H A Dhd64570.c45 #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET)
46 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET)
47 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET)
54 static inline struct net_device *port_to_dev(port_t *port) argument
56 return port->dev;
87 static inline u16 next_desc(port_t *port, u16 desc, int transmit) argument
89 return (desc + 1) % (transmit ? port_to_card(port)
94 desc_abs_number(port_t *port, u16 desc, int transmit) argument
105 desc_offset(port_t *port, u16 desc, int transmit) argument
112 desc_address(port_t *port, u16 desc, int transmit) argument
125 buffer_offset(port_t *port, u16 desc, int transmit) argument
132 sca_set_carrier(port_t *port) argument
150 sca_init_port(port_t *port) argument
222 sca_msci_intr(port_t *port) argument
243 sca_rx(card_t *card, port_t *port, pkt_desc __iomem *desc, u16 rxin) argument
290 sca_rx_intr(port_t *port) argument
342 sca_tx_intr(port_t *port) argument
388 port_t *port = get_port(card, i); local
407 sca_set_port(port_t *port) argument
462 port_t *port = dev_to_port(dev); local
526 port_t *port = dev_to_port(dev); local
568 port_t *port = dev_to_port(dev); local
622 port_t *port = dev_to_port(dev); local
[all...]
/drivers/usb/serial/
H A Dconsole.c27 struct usb_serial_port *port; member in struct:usbcons_info
42 * Things that are different from the way the serial port code
65 struct usb_serial_port *port; local
110 port = usb_serial_port_get_by_minor(co->index);
111 if (port == NULL) {
116 serial = port->serial;
122 tty_port_tty_set(&port->port, NULL);
124 info->port = port;
195 struct usb_serial_port *port = info->port; local
[all...]
H A Dmetro-usb.c56 static inline int metrousb_is_unidirectional_mode(struct usb_serial_port *port) argument
59 port->serial->dev->descriptor.idProduct);
64 static int metrousb_send_unidirectional_cmd(u8 cmd, struct usb_serial_port *port) argument
70 if (!metrousb_is_unidirectional_mode(port))
79 ret = usb_interrupt_msg(port->serial->dev,
80 usb_sndintpipe(port->serial->dev, port->interrupt_out_endpointAddress),
95 struct usb_serial_port *port = urb->context; local
96 struct metrousb_private *metro_priv = usb_get_serial_port_data(port);
102 dev_dbg(&port
166 struct usb_serial_port *port = urb->context; local
172 metrousb_cleanup(struct usb_serial_port *port) argument
182 metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) argument
262 metrousb_port_probe(struct usb_serial_port *port) argument
277 metrousb_port_remove(struct usb_serial_port *port) argument
289 struct usb_serial_port *port = tty->driver_data; local
304 struct usb_serial_port *port = tty->driver_data; local
320 struct usb_serial_port *port = tty->driver_data; local
348 struct usb_serial_port *port = tty->driver_data; local
[all...]
H A Dnavman.c32 struct usb_serial_port *port = urb->context; local
45 dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n",
49 dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n",
54 usb_serial_debug_data(&port->dev, __func__, urb->actual_length, data);
57 tty_insert_flip_string(&port->port, data, urb->actual_length);
58 tty_flip_buffer_push(&port->port);
69 static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) argument
73 if (port
85 navman_close(struct usb_serial_port *port) argument
90 navman_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
[all...]
H A Dmxuport.c65 #define RQ_VENDOR_SET_OPEN 0x08 /* Set open/close port */
158 /* This structure holds all of the local port information */
192 * Add a four byte header containing the port number and the number of
196 static int mxuport_prepare_write_buffer(struct usb_serial_port *port, argument
202 count = kfifo_out_locked(&port->write_fifo, buf + HEADER_SIZE,
204 &port->lock);
206 put_unaligned_be16(port->port_number, buf);
209 dev_dbg(&port->dev, "%s - size %zd count %d\n", __func__,
290 * data being read from the port. Since all the data comes over one
292 * port
297 struct usb_serial_port *port = tty->driver_data; local
316 struct usb_serial_port *port = tty->driver_data; local
329 mxuport_process_read_urb_data(struct usb_serial_port *port, char *data, int size) argument
346 mxuport_msr_event(struct usb_serial_port *port, u8 buf[4]) argument
408 mxuport_lsr_event(struct usb_serial_port *port, u8 buf[4]) argument
437 mxuport_process_read_urb_event(struct usb_serial_port *port, u8 buf[4], u32 event) argument
476 struct usb_serial_port *port = urb->context; local
523 struct usb_serial_port *port = urb->context; local
567 struct usb_serial_port *port = urb->context; local
581 mxuport_tx_empty(struct usb_serial_port *port) argument
609 mxuport_set_mcr(struct usb_serial_port *port, u8 mcr_state) argument
624 mxuport_set_dtr(struct usb_serial_port *port, int on) argument
646 mxuport_set_rts(struct usb_serial_port *port, u8 state) argument
688 mxuport_dtr_rts(struct usb_serial_port *port, int on) argument
712 struct usb_serial_port *port = tty->driver_data; local
744 struct usb_serial_port *port = tty->driver_data; local
773 mxuport_set_termios_flow(struct tty_struct *tty, struct ktermios *old_termios, struct usb_serial_port *port, struct usb_serial *serial) argument
846 mxuport_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
1110 mxuport_port_probe(struct usb_serial_port *port) argument
1149 mxuport_alloc_write_urb(struct usb_serial *serial, struct usb_serial_port *port, struct usb_serial_port *port0, int j) argument
1175 mxuport_alloc_write_urbs(struct usb_serial *serial, struct usb_serial_port *port, struct usb_serial_port *port0) argument
1195 struct usb_serial_port *port; local
1266 mxuport_open(struct tty_struct *tty, struct usb_serial_port *port) argument
1298 mxuport_close(struct usb_serial_port *port) argument
1312 struct usb_serial_port *port = tty->driver_data; local
1330 struct usb_serial_port *port; local
[all...]
H A Df81232.c53 static void f81232_update_line_status(struct usb_serial_port *port, argument
58 * FIXME: Update port->icount, and call
60 * wake_up_interruptible(&port->port.delta_msr_wait);
68 struct usb_serial_port *port = urb->context; local
82 dev_dbg(&port->dev, "%s - urb shutting down with status: %d\n",
86 dev_dbg(&port->dev, "%s - nonzero urb status received: %d\n",
91 usb_serial_debug_data(&port->dev, __func__,
94 f81232_update_line_status(port, data, actual_length);
106 struct usb_serial_port *port local
167 f81232_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
194 f81232_open(struct tty_struct *tty, struct usb_serial_port *port) argument
218 f81232_close(struct usb_serial_port *port) argument
224 f81232_dtr_rts(struct usb_serial_port *port, int on) argument
241 f81232_carrier_raised(struct usb_serial_port *port) argument
253 struct usb_serial_port *port = tty->driver_data; local
273 f81232_port_probe(struct usb_serial_port *port) argument
290 f81232_port_remove(struct usb_serial_port *port) argument
[all...]
H A Dusb_wwan.c39 void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) argument
44 intfdata = usb_get_serial_data(port->serial);
49 portdata = usb_get_serial_port_data(port);
54 intfdata->send_setup(port);
60 struct usb_serial_port *port = tty->driver_data; local
64 portdata = usb_get_serial_port_data(port);
80 struct usb_serial_port *port = tty->driver_data; local
84 portdata = usb_get_serial_port_data(port);
85 intfdata = usb_get_serial_data(port->serial);
100 return intfdata->send_setup(port);
104 get_serial_info(struct usb_serial_port *port, struct serial_struct __user *retinfo) argument
126 set_serial_info(struct usb_serial_port *port, struct serial_struct __user *newinfo) argument
160 struct usb_serial_port *port = tty->driver_data; local
181 usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
262 struct usb_serial_port *port; local
298 struct usb_serial_port *port; local
324 struct usb_serial_port *port = tty->driver_data; local
345 struct usb_serial_port *port = tty->driver_data; local
365 usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port) argument
421 usb_wwan_close(struct usb_serial_port *port) argument
458 usb_wwan_setup_urb(struct usb_serial_port *port, int endpoint, int dir, void *ctx, char *buf, int len, void (*callback) (struct urb *)) argument
477 usb_wwan_port_probe(struct usb_serial_port *port) argument
539 usb_wwan_port_remove(struct usb_serial_port *port) argument
566 struct usb_serial_port *port; local
603 usb_wwan_submit_delayed_urbs(struct usb_serial_port *port) argument
640 struct usb_serial_port *port; local
[all...]
/drivers/tty/serial/
H A Dsirfsoc_uart.c35 sirfsoc_uart_pio_rx_chars(struct uart_port *port, unsigned int max_rx_count);
39 static void sirfsoc_uart_start_next_rx_dma(struct uart_port *port);
64 .port = {
71 .port = {
78 .port = {
85 .port = {
92 .port = {
99 .port = {
107 static inline struct sirfsoc_uart_port *to_sirfport(struct uart_port *port) argument
109 return container_of(port, struc
112 sirfsoc_uart_tx_empty(struct uart_port *port) argument
123 sirfsoc_uart_get_mctrl(struct uart_port *port) argument
147 sirfsoc_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
169 sirfsoc_uart_stop_tx(struct uart_port *port) argument
201 struct uart_port *port = &sirfport->port; local
285 sirfsoc_uart_start_tx(struct uart_port *port) argument
306 sirfsoc_uart_stop_rx(struct uart_port *port) argument
335 sirfsoc_uart_disable_ms(struct uart_port *port) argument
361 struct uart_port *port = &sirfport->port; local
370 sirfsoc_uart_enable_ms(struct uart_port *port) argument
394 sirfsoc_uart_break_ctl(struct uart_port *port, int break_state) argument
409 sirfsoc_uart_pio_rx_chars(struct uart_port *port, unsigned int max_rx_count) argument
440 struct uart_port *port = &sirfport->port; local
463 struct uart_port *port = &sirfport->port; local
484 struct uart_port *port = &sirfport->port; local
493 sirfsoc_rx_submit_one_dma_desc(struct uart_port *port, int index) argument
518 struct uart_port *port = &sirfport->port; local
572 struct uart_port *port = &sirfport->port; local
593 struct uart_port *port = &sirfport->port; local
620 struct uart_port *port = &sirfport->port; local
703 struct uart_port *port = &sirfport->port; local
738 sirfsoc_uart_start_next_rx_dma(struct uart_port *port) argument
760 sirfsoc_uart_start_rx(struct uart_port *port) argument
844 sirfsoc_uart_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
1031 sirfsoc_uart_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
1041 sirfsoc_uart_startup(struct uart_port *port) argument
1114 sirfsoc_uart_shutdown(struct uart_port *port) argument
1135 sirfsoc_uart_type(struct uart_port *port) argument
1140 sirfsoc_uart_request_port(struct uart_port *port) argument
1150 sirfsoc_uart_release_port(struct uart_port *port) argument
1155 sirfsoc_uart_config_port(struct uart_port *port, int flags) argument
1190 struct uart_port *port = &sirfsoc_uart_ports[co->index].port; local
1213 sirfsoc_uart_console_putchar(struct uart_port *port, int ch) argument
1227 struct uart_port *port = &sirfsoc_uart_ports[co->index].port; local
1274 struct uart_port *port; local
1433 struct uart_port *port = &sirfport->port; local
1457 struct uart_port *port = &sirfport->port; local
1465 struct uart_port *port = &sirfport->port; local
[all...]
H A Dvt8500_serial.c124 static inline void vt8500_write(struct uart_port *port, unsigned int val, argument
127 writel(val, port->membase + off);
130 static inline unsigned int vt8500_read(struct uart_port *port, unsigned int off) argument
132 return readl(port->membase + off);
135 static void vt8500_stop_tx(struct uart_port *port) argument
137 struct vt8500_port *vt8500_port = container_of(port,
142 vt8500_write(port, vt8500_port->ier, VT8500_URIER);
145 static void vt8500_stop_rx(struct uart_port *port) argument
147 struct vt8500_port *vt8500_port = container_of(port,
152 vt8500_write(port, vt8500_por
155 vt8500_enable_ms(struct uart_port *port) argument
165 handle_rx(struct uart_port *port) argument
205 handle_tx(struct uart_port *port) argument
236 vt8500_start_tx(struct uart_port *port) argument
249 handle_delta_cts(struct uart_port *port) argument
257 struct uart_port *port = dev_id; local
278 vt8500_tx_empty(struct uart_port *port) argument
284 vt8500_get_mctrl(struct uart_port *port) argument
295 vt8500_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
307 vt8500_break_ctl(struct uart_port *port, int break_ctl) argument
315 vt8500_set_baud_rate(struct uart_port *port, unsigned int baud) argument
339 vt8500_startup(struct uart_port *port) argument
358 vt8500_shutdown(struct uart_port *port) argument
371 vt8500_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
452 vt8500_type(struct uart_port *port) argument
459 vt8500_release_port(struct uart_port *port) argument
463 vt8500_request_port(struct uart_port *port) argument
468 vt8500_config_port(struct uart_port *port, int flags) argument
473 vt8500_verify_port(struct uart_port *port, struct serial_struct *ser) argument
488 wait_for_xmitr(struct uart_port *port) argument
502 vt8500_console_putchar(struct uart_port *port, int c) argument
570 vt8500_get_poll_char(struct uart_port *port) argument
580 vt8500_put_poll_char(struct uart_port *port, unsigned char c) argument
644 int port; local
[all...]
H A Dmsm_serial.h127 void msm_write(struct uart_port *port, unsigned int val, unsigned int off) argument
129 writel_relaxed(val, port->membase + off);
133 unsigned int msm_read(struct uart_port *port, unsigned int off) argument
135 return readl_relaxed(port->membase + off);
141 static inline void msm_serial_set_mnd_regs_tcxo(struct uart_port *port) argument
143 msm_write(port, 0x06, UART_MREG);
144 msm_write(port, 0xF1, UART_NREG);
145 msm_write(port, 0x0F, UART_DREG);
146 msm_write(port, 0x1A, UART_MNDREG);
147 port
153 msm_serial_set_mnd_regs_tcxoby4(struct uart_port *port) argument
163 msm_serial_set_mnd_regs_from_uartclk(struct uart_port *port) argument
[all...]
H A Dsh-sci.c73 #define SCIx_IRQ_IS_MUXED(port) \
74 ((port)->irqs[SCIx_ERI_IRQ] == \
75 (port)->irqs[SCIx_RXI_IRQ]) || \
76 ((port)->irqs[SCIx_ERI_IRQ] && \
77 ((port)->irqs[SCIx_RXI_IRQ] < 0))
80 struct uart_port port; member in struct:sci_port
126 static void sci_start_tx(struct uart_port *port);
127 static void sci_stop_tx(struct uart_port *port);
128 static void sci_start_rx(struct uart_port *port);
138 return container_of(uart, struct sci_port, port);
472 sci_poll_get_char(struct uart_port *port) argument
499 sci_poll_put_char(struct uart_port *port, unsigned char c) argument
512 sci_init_pins(struct uart_port *port, unsigned int cflag) argument
543 sci_txfill(struct uart_port *port) argument
558 sci_txroom(struct uart_port *port) argument
563 sci_rxfill(struct uart_port *port) argument
581 sci_rxd_in(struct uart_port *port) argument
596 sci_transmit_chars(struct uart_port *port) argument
657 sci_receive_chars(struct uart_port *port) argument
755 sci_schedule_break_timer(struct sci_port *port) argument
763 struct sci_port *port = (struct sci_port *)data; local
776 sci_handle_errors(struct uart_port *port) argument
842 sci_handle_fifo_overrun(struct uart_port *port) argument
868 sci_handle_breaks(struct uart_port *port) argument
904 struct uart_port *port = ptr; local
940 struct uart_port *port = ptr; local
952 struct uart_port *port = ptr; local
976 struct uart_port *port = ptr; local
985 port_rx_irq_mask(struct uart_port *port) argument
1000 struct uart_port *port = ptr; local
1045 struct uart_port *port = &sci_port->port; local
1091 sci_request_irq(struct sci_port *port) argument
1144 sci_free_irq(struct sci_port *port) argument
1172 sci_tx_empty(struct uart_port *port) argument
1192 sci_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
1208 sci_get_mctrl(struct uart_port *port) argument
1221 struct uart_port *port = &s->port; local
1257 struct uart_port *port = &s->port; local
1290 struct uart_port *port = &s->port; local
1314 struct uart_port *port = &s->port; local
1329 struct uart_port *port = &s->port; local
1383 struct uart_port *port = &s->port; local
1440 struct uart_port *port = &s->port; local
1492 sci_start_tx(struct uart_port *port) argument
1522 sci_stop_tx(struct uart_port *port) argument
1537 sci_start_rx(struct uart_port *port) argument
1549 sci_stop_rx(struct uart_port *port) argument
1563 sci_break_ctl(struct uart_port *port, int break_state) argument
1608 struct uart_port *port = &s->port; local
1620 sci_request_dma(struct uart_port *port) argument
1710 sci_free_dma(struct uart_port *port) argument
1720 sci_request_dma(struct uart_port *port) argument
1724 sci_free_dma(struct uart_port *port) argument
1729 sci_startup(struct uart_port *port) argument
1751 sci_shutdown(struct uart_port *port) argument
1856 sci_reset(struct uart_port *port) argument
1872 sci_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
1986 sci_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
2001 sci_type(struct uart_port *port) argument
2021 sci_port_size(struct uart_port *port) argument
2035 sci_remap_port(struct uart_port *port) argument
2063 sci_release_port(struct uart_port *port) argument
2073 sci_request_port(struct uart_port *port) argument
2092 sci_config_port(struct uart_port *port, int flags) argument
2102 sci_verify_port(struct uart_port *port, struct serial_struct *ser) argument
2138 struct uart_port *port = &sci_port->port; local
2287 sci_cleanup_single(struct sci_port *port) argument
2296 serial_console_putchar(struct uart_port *port, int ch) argument
2309 struct uart_port *port = &sci_port->port; local
2344 struct uart_port *port; local
2441 struct sci_port *port = platform_get_drvdata(dev); local
[all...]
H A D21285.c2 * Driver for the serial port on the 21285 StrongArm-110 core logic chip.
43 #define tx_enabled(port) ((port)->unused[0])
44 #define rx_enabled(port) ((port)->unused[1])
57 static void serial21285_stop_tx(struct uart_port *port) argument
59 if (tx_enabled(port)) {
61 tx_enabled(port) = 0;
65 static void serial21285_start_tx(struct uart_port *port) argument
67 if (!tx_enabled(port)) {
73 serial21285_stop_rx(struct uart_port *port) argument
83 struct uart_port *port = dev_id; local
120 struct uart_port *port = dev_id; local
153 serial21285_tx_empty(struct uart_port *port) argument
159 serial21285_get_mctrl(struct uart_port *port) argument
164 serial21285_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
168 serial21285_break_ctl(struct uart_port *port, int break_state) argument
183 serial21285_startup(struct uart_port *port) argument
202 serial21285_shutdown(struct uart_port *port) argument
209 serial21285_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
300 serial21285_type(struct uart_port *port) argument
305 serial21285_release_port(struct uart_port *port) argument
310 serial21285_request_port(struct uart_port *port) argument
316 serial21285_config_port(struct uart_port *port, int flags) argument
325 serial21285_verify_port(struct uart_port *port, struct serial_struct *ser) argument
370 serial21285_console_putchar(struct uart_port *port, int ch) argument
385 serial21285_get_options(struct uart_port *port, int *baud, int *parity, int *bits) argument
422 struct uart_port *port = &serial21285_port; local
[all...]
H A Dpnx8xxx_uart.c37 /* We'll be using StrongARM sa1100 serial port major/minor */
55 * This is the size of our serial port register set.
71 return (__raw_readl(sport->port.membase + offset));
76 __raw_writel(value, sport->port.membase + offset);
86 status = sport->port.ops->get_mctrl(&sport->port);
95 sport->port.icount.rng++;
97 sport->port.icount.dsr++;
99 uart_handle_dcd_change(&sport->port, status & TIOCM_CAR);
101 uart_handle_cts_change(&sport->port, statu
127 pnx8xxx_stop_tx(struct uart_port *port) argument
143 pnx8xxx_start_tx(struct uart_port *port) argument
159 pnx8xxx_stop_rx(struct uart_port *port) argument
175 pnx8xxx_enable_ms(struct uart_port *port) argument
314 pnx8xxx_tx_empty(struct uart_port *port) argument
321 pnx8xxx_get_mctrl(struct uart_port *port) argument
337 pnx8xxx_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
348 pnx8xxx_break_ctl(struct uart_port *port, int break_state) argument
364 pnx8xxx_startup(struct uart_port *port) argument
398 pnx8xxx_shutdown(struct uart_port *port) argument
434 pnx8xxx_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
552 pnx8xxx_type(struct uart_port *port) argument
562 pnx8xxx_release_port(struct uart_port *port) argument
572 pnx8xxx_request_port(struct uart_port *port) argument
582 pnx8xxx_config_port(struct uart_port *port, int flags) argument
597 pnx8xxx_verify_port(struct uart_port *port, struct serial_struct *ser) argument
663 pnx8xxx_console_putchar(struct uart_port *port, int ch) argument
[all...]
H A Dioc3_serial.c36 /* determine given the sio_ir what port it applies to */
41 * we have 2 logical ports (rs232, rs422) for each physical port
127 /* the ioc3_port used for this port */
134 /* Local port info for each IOC3 serial port */
142 /* pci mem addresses for this port */
146 /* Ring buffer page for this port */
151 /* Rings for this port */
155 /* Hook to port specific values */
186 /* Flags per port */
308 set_baud(struct ioc3_port *port, int baud) argument
380 port_init(struct ioc3_port *port) argument
484 enable_intrs(struct ioc3_port *port, uint32_t mask) argument
496 local_open(struct ioc3_port *port) argument
546 set_rx_timeout(struct ioc3_port *port, int timeout) argument
590 config_port(struct ioc3_port *port, int baud, int byte_size, int stop_bits, int parenb, int parodd) argument
679 do_write(struct ioc3_port *port, char *buf, int len) argument
762 disable_intrs(struct ioc3_port *port, uint32_t mask) argument
776 set_notification(struct ioc3_port *port, int mask, int set_on) argument
828 struct ioc3_port *port = get_ioc3_port(the_port); local
868 ioc3_set_proto(struct ioc3_port *port, int proto) argument
901 struct ioc3_port *port = get_ioc3_port(the_port); local
957 struct ioc3_port *port = get_ioc3_port(the_port); local
1051 struct ioc3_port *port; local
1076 ioc3_cb_output_lowat(struct ioc3_port *port) argument
1120 struct ioc3_port *port = get_ioc3_port(the_port); local
1399 struct ioc3_port *port = get_ioc3_port(the_port); local
1443 struct ioc3_port *port; local
1673 struct ioc3_port *port = get_ioc3_port(the_port); local
1687 struct ioc3_port *port = get_ioc3_port(the_port); local
1700 struct ioc3_port *port = get_ioc3_port(the_port); local
1723 struct ioc3_port *port; local
1769 struct ioc3_port *port = get_ioc3_port(the_port); local
1793 struct ioc3_port *port = get_ioc3_port(the_port); local
1819 struct ioc3_port *port; local
1870 ic3_request_port(struct uart_port *port) argument
1914 struct ioc3_port *port; local
1976 struct ioc3_port *port; local
2015 struct ioc3_port *port; local
[all...]
H A Dimx.c205 struct uart_port port; member in struct:imx_port
306 static void imx_port_ucrs_save(struct uart_port *port, argument
310 ucr->ucr1 = readl(port->membase + UCR1);
311 ucr->ucr2 = readl(port->membase + UCR2);
312 ucr->ucr3 = readl(port->membase + UCR3);
315 static void imx_port_ucrs_restore(struct uart_port *port, argument
319 writel(ucr->ucr1, port->membase + UCR1);
320 writel(ucr->ucr2, port->membase + UCR2);
321 writel(ucr->ucr3, port->membase + UCR3);
332 status = sport->port
373 imx_stop_tx(struct uart_port *port) argument
434 imx_stop_rx(struct uart_port *port) argument
459 imx_enable_ms(struct uart_port *port) argument
578 imx_start_tx(struct uart_port *port) argument
660 struct tty_port *port = &sport->port.state->port; local
783 imx_tx_empty(struct uart_port *port) argument
800 imx_get_mctrl(struct uart_port *port) argument
817 imx_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
837 imx_break_ctl(struct uart_port *port, int break_state) argument
900 struct tty_port *port = &sport->port.state->port; local
1071 imx_startup(struct uart_port *port) argument
1215 imx_shutdown(struct uart_port *port) argument
1285 imx_flush_buffer(struct uart_port *port) argument
1296 imx_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
1463 imx_type(struct uart_port *port) argument
1473 imx_config_port(struct uart_port *port, int flags) argument
1487 imx_verify_port(struct uart_port *port, struct serial_struct *ser) argument
1510 imx_poll_get_char(struct uart_port *port) argument
1518 imx_poll_put_char(struct uart_port *port, unsigned char c) argument
1576 imx_console_putchar(struct uart_port *port, int ch) argument
[all...]
/drivers/s390/scsi/
H A Dzfcp_unit.c23 struct fc_rport *rport = unit->port->rport;
42 * zfcp_unit_queue_scsi_scan - Register configured units on port
43 * @port: The zfcp_port where to register units
45 * After opening a port, all units configured on this port have to be
51 void zfcp_unit_queue_scsi_scan(struct zfcp_port *port) argument
55 read_lock_irq(&port->unit_list_lock);
56 list_for_each_entry(unit, &port->unit_list, list) {
58 if (scsi_queue_work(port->adapter->scsi_host,
62 read_unlock_irq(&port
65 _zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) argument
89 zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) argument
119 zfcp_unit_add(struct zfcp_port *port, u64 fcp_lun) argument
190 struct zfcp_port *port; local
230 zfcp_unit_remove(struct zfcp_port *port, u64 fcp_lun) argument
[all...]
/drivers/pci/host/
H A Dpcie-xilinx.c101 * struct xilinx_pcie_port - PCIe port information
129 static inline u32 pcie_read(struct xilinx_pcie_port *port, u32 reg) argument
131 return readl(port->reg_base + reg);
134 static inline void pcie_write(struct xilinx_pcie_port *port, u32 val, u32 reg) argument
136 writel(val, port->reg_base + reg);
139 static inline bool xilinx_pcie_link_is_up(struct xilinx_pcie_port *port) argument
141 return (pcie_read(port, XILINX_PCIE_REG_PSCR) &
147 * @port: PCIe port information
149 static void xilinx_pcie_clear_err_interrupts(struct xilinx_pcie_port *port) argument
170 struct xilinx_pcie_port *port = sys_to_pcie(bus->sysdata); local
203 struct xilinx_pcie_port *port = sys_to_pcie(bus->sysdata); local
302 struct xilinx_pcie_port *port; local
320 xilinx_pcie_assign_msi(struct xilinx_pcie_port *port) argument
355 struct xilinx_pcie_port *port = sys_to_pcie(pdev->bus->sysdata); local
424 xilinx_pcie_enable_msi(struct xilinx_pcie_port *port) argument
441 struct xilinx_pcie_port *port = sys_to_pcie(bus->sysdata); local
484 struct xilinx_pcie_port *port = (struct xilinx_pcie_port *)data; local
606 xilinx_pcie_free_irq_domain(struct xilinx_pcie_port *port) argument
637 xilinx_pcie_init_irq_domain(struct xilinx_pcie_port *port) argument
679 xilinx_pcie_init_port(struct xilinx_pcie_port *port) argument
713 struct xilinx_pcie_port *port = sys_to_pcie(sys); local
729 struct xilinx_pcie_port *port = sys_to_pcie(sys); local
745 xilinx_pcie_parse_and_add_res(struct xilinx_pcie_port *port) argument
836 xilinx_pcie_parse_dt(struct xilinx_pcie_port *port) argument
879 struct xilinx_pcie_port *port; local
944 struct xilinx_pcie_port *port = platform_get_drvdata(pdev); local
[all...]
H A Dpci-mvebu.c116 u32 port; member in struct:mvebu_pcie_port
136 static inline void mvebu_writel(struct mvebu_pcie_port *port, u32 val, u32 reg) argument
138 writel(val, port->base + reg);
141 static inline u32 mvebu_readl(struct mvebu_pcie_port *port, u32 reg) argument
143 return readl(port->base + reg);
146 static inline bool mvebu_has_ioport(struct mvebu_pcie_port *port) argument
148 return port->io_target != -1 && port->io_attr != -1;
151 static bool mvebu_pcie_link_up(struct mvebu_pcie_port *port) argument
153 return !(mvebu_readl(port, PCIE_STAT_OF
156 mvebu_pcie_set_local_bus_nr(struct mvebu_pcie_port *port, int nr) argument
166 mvebu_pcie_set_local_dev_nr(struct mvebu_pcie_port *port, int nr) argument
181 mvebu_pcie_setup_wins(struct mvebu_pcie_port *port) argument
234 mvebu_pcie_setup_hw(struct mvebu_pcie_port *port) argument
254 mvebu_pcie_hw_rd_conf(struct mvebu_pcie_port *port, struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) argument
271 mvebu_pcie_hw_wr_conf(struct mvebu_pcie_port *port, struct pci_bus *bus, u32 devfn, int where, int size, u32 val) argument
299 mvebu_pcie_del_windows(struct mvebu_pcie_port *port, phys_addr_t base, size_t size) argument
317 mvebu_pcie_add_windows(struct mvebu_pcie_port *port, unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) argument
349 mvebu_pcie_handle_iobase_change(struct mvebu_pcie_port *port) argument
394 mvebu_pcie_handle_membase_change(struct mvebu_pcie_port *port) argument
431 mvebu_sw_pci_bridge_init(struct mvebu_pcie_port *port) argument
453 mvebu_sw_pci_bridge_read(struct mvebu_pcie_port *port, unsigned int where, int size, u32 *value) argument
532 mvebu_sw_pci_bridge_write(struct mvebu_pcie_port *port, unsigned int where, int size, u32 value) argument
624 struct mvebu_pcie_port *port = &pcie->ports[i]; local
641 struct mvebu_pcie_port *port; local
678 struct mvebu_pcie_port *port; local
753 struct mvebu_pcie_port *port = &pcie->ports[i]; local
836 mvebu_pcie_map_registers(struct platform_device *pdev, struct device_node *np, struct mvebu_pcie_port *port) argument
970 struct mvebu_pcie_port *port = &pcie->ports[i]; local
[all...]
/drivers/pinctrl/
H A Dpinctrl-adi2.c37 pins of port A and port B, PINT2 and PINT3 manage all the pins from port
38 C to port J as shown in Figure 9-2.
49 mapping logic, this driver only maps a 16-bit gpio port to the upper or lower
62 A PINT device is not part of a GPIO port device in Blackfin. Multiple GPIO
63 port devices can be mapped to the same PINT device.
75 * struct gpio_port_saved - GPIO port registers that should be saved between
113 * @domain: [0] irq domain of the gpio port, whose hardware interrupts are
115 * [1] irq domain of the gpio port, whos
196 hwirq_to_pintbit(struct gpio_port *port, int hwirq) argument
215 port_setup(struct gpio_port *port, unsigned offset, bool use_for_gpio) argument
227 portmux_setup(struct gpio_port *port, unsigned offset, unsigned short function) argument
244 get_portmux(struct gpio_port *port, unsigned offset) argument
258 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
281 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
305 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
320 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
335 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
364 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
379 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
446 struct gpio_port *port = irq_data_get_irq_chip_data(d); local
485 struct gpio_port *port; local
500 struct gpio_port *port; local
626 struct gpio_port *port; local
684 struct gpio_port *port; local
728 struct gpio_port *port; local
746 struct gpio_port *port = container_of(chip, struct gpio_port, chip); local
763 struct gpio_port *port = container_of(chip, struct gpio_port, chip); local
783 struct gpio_port *port = container_of(chip, struct gpio_port, chip); local
799 struct gpio_port *port = container_of(chip, struct gpio_port, chip); local
888 struct gpio_port *port = d->host_data; local
905 adi_gpio_init_int(struct gpio_port *port) argument
949 struct gpio_port *port; local
1040 struct gpio_port *port = platform_get_drvdata(pdev); local
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c38 /* Take the encoder configuration from the port struct and
41 static void saa7164_vbi_configure(struct saa7164_port *port) argument
43 struct saa7164_dev *dev = port->dev;
46 port->vbi_params.width = port->width;
47 port->vbi_params.height = port->height;
48 port->vbi_params.is_50hz =
49 (port->encodernorm.id & V4L2_STD_625_50) != 0;
52 saa7164_api_initialize_dif(port);
66 saa7164_vbi_buffers_dealloc(struct saa7164_port *port) argument
104 saa7164_vbi_buffers_alloc(struct saa7164_port *port) argument
179 saa7164_vbi_initialize(struct saa7164_port *port) argument
189 struct saa7164_port *port = fh->port; local
218 struct saa7164_port *port = fh->port; local
251 struct saa7164_port *port = fh->port; local
267 struct saa7164_port *port = fh->port; local
287 struct saa7164_port *port = fh->port; local
313 struct saa7164_port *port = fh->port; local
325 struct saa7164_port *port = fh->port; local
375 struct saa7164_port *port = fh->port; local
411 struct saa7164_port *port = fh->port; local
470 saa7164_get_ctrl(struct saa7164_port *port, struct v4l2_ext_control *ctrl) argument
501 struct saa7164_port *port = fh->port; local
579 saa7164_set_ctrl(struct saa7164_port *port, struct v4l2_ext_control *ctrl) argument
626 struct saa7164_port *port = fh->port; local
655 struct saa7164_port *port = fh->port; local
690 struct saa7164_port *port = fh->port; local
711 struct saa7164_port *port = fh->port; local
728 struct saa7164_port *port = fh->port; local
785 struct saa7164_port *port = fh->port; local
812 saa7164_vbi_stop_port(struct saa7164_port *port) argument
830 saa7164_vbi_acquire_port(struct saa7164_port *port) argument
848 saa7164_vbi_pause_port(struct saa7164_port *port) argument
872 saa7164_vbi_stop_streaming(struct saa7164_port *port) argument
915 saa7164_vbi_start_streaming(struct saa7164_port *port) argument
1017 struct saa7164_port *port; local
1042 struct saa7164_port *port = fh->port; local
1062 saa7164_vbi_next_buf(struct saa7164_port *port) argument
1094 struct saa7164_port *port = fh->port; local
1201 struct saa7164_port *port = fh->port; local
1281 saa7164_vbi_alloc( struct saa7164_port *port, struct pci_dev *pci, struct video_device *template, char *type) argument
1305 saa7164_vbi_register(struct saa7164_port *port) argument
1360 saa7164_vbi_unregister(struct saa7164_port *port) argument
[all...]

Completed in 842 milliseconds

1234567891011>>