Searched refs:port (Results 226 - 250 of 3102) sorted by relevance

1234567891011>>

/linux-master/scripts/dtc/include-prefixes/dt-bindings/gpio/
H A Dtegra234-gpio.h45 #define TEGRA234_MAIN_GPIO(port, offset) \
46 ((TEGRA234_MAIN_GPIO_PORT_##port * 8) + offset)
56 #define TEGRA234_AON_GPIO(port, offset) \
57 ((TEGRA234_AON_GPIO_PORT_##port * 8) + offset)
/linux-master/include/media/i2c/
H A Dds90ub9xx.h12 * @port: Deserializer RX port for this Serializer
17 u32 port; member in struct:ds90ub9xx_platform_data
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_port.c11 static int ipc_port_ctrl_start(struct wwan_port *port) argument
13 struct iosm_cdev *ipc_port = wwan_port_get_drvdata(port);
26 static void ipc_port_ctrl_stop(struct wwan_port *port) argument
28 struct iosm_cdev *ipc_port = wwan_port_get_drvdata(port);
34 static int ipc_port_ctrl_tx(struct wwan_port *port, struct sk_buff *skb) argument
36 struct iosm_cdev *ipc_port = wwan_port_get_drvdata(port);
73 void ipc_port_deinit(struct iosm_cdev *port[]) argument
80 if (port[ctrl_chl_nr]) {
81 ipc_port = port[ctrl_chl_nr];
/linux-master/drivers/tty/serial/
H A Dfsl_lpuart.c3 * Freescale lpuart serial port driver
262 struct uart_port port; member in struct:lpuart_port
382 static inline u32 lpuart32_read(struct uart_port *port, u32 off) argument
384 switch (port->iotype) {
386 return readl(port->membase + off);
388 return ioread32be(port->membase + off);
394 static inline void lpuart32_write(struct uart_port *port, u32 val, argument
397 switch (port->iotype) {
399 writel(val, port->membase + off);
402 iowrite32be(val, port
440 lpuart_stop_tx(struct uart_port *port) argument
449 lpuart32_stop_tx(struct uart_port *port) argument
458 lpuart_stop_rx(struct uart_port *port) argument
466 lpuart32_stop_rx(struct uart_port *port) argument
522 lpuart_stopped_or_empty(struct uart_port *port) argument
575 lpuart_dma_tx_request(struct uart_port *port) argument
603 lpuart_flush_buffer(struct uart_port *port) argument
629 lpuart_wait_bit_set(struct uart_port *port, unsigned int offset, u8 bit) argument
636 lpuart32_wait_bit_set(struct uart_port *port, unsigned int offset, u32 bit) argument
645 lpuart_poll_init(struct uart_port *port) argument
683 lpuart_poll_put_char(struct uart_port *port, unsigned char c) argument
690 lpuart_poll_get_char(struct uart_port *port) argument
698 lpuart32_poll_init(struct uart_port *port) argument
732 lpuart32_poll_put_char(struct uart_port *port, unsigned char c) argument
738 lpuart32_poll_get_char(struct uart_port *port) argument
749 struct uart_port *port = &sport->port; local
792 lpuart_start_tx(struct uart_port *port) argument
810 lpuart32_start_tx(struct uart_port *port) argument
828 lpuart_uart_pm(struct uart_port *port, unsigned int state, unsigned int oldstate) argument
842 lpuart_tx_empty(struct uart_port *port) argument
858 lpuart32_tx_empty(struct uart_port *port) argument
890 struct tty_port *port = &sport->port.state->port; local
967 struct tty_port *port = &sport->port.state->port; local
1068 lpuart_handle_sysrq_chars(struct uart_port *port, unsigned char *p, int count) argument
1098 lpuart_tty_insert_flip_string(struct tty_port *port, unsigned char *chars, size_t size, bool is_cs7) argument
1111 struct tty_port *port = &sport->port.state->port; local
1349 struct tty_port *port = &sport->port.state->port; local
1435 lpuart_dma_rx_free(struct uart_port *port) argument
1453 lpuart_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
1483 lpuart32_config_rs485(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
1513 lpuart_get_mctrl(struct uart_port *port) argument
1525 lpuart32_get_mctrl(struct uart_port *port) argument
1537 lpuart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
1551 lpuart32_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
1565 lpuart_break_ctl(struct uart_port *port, int break_state) argument
1577 lpuart32_break_ctl(struct uart_port *port, int break_state) argument
1815 lpuart_startup(struct uart_port *port) argument
1875 lpuart32_startup(struct uart_port *port) argument
1929 lpuart_shutdown(struct uart_port *port) argument
1948 lpuart32_shutdown(struct uart_port *port) argument
1978 lpuart_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2130 __lpuart32_serial_setbrg(struct uart_port *port, unsigned int baudrate, bool use_rx_dma, bool use_tx_dma) argument
2216 lpuart32_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
2368 lpuart_type(struct uart_port *port) argument
2373 lpuart_release_port(struct uart_port *port) argument
2378 lpuart_request_port(struct uart_port *port) argument
2384 lpuart_config_port(struct uart_port *port, int flags) argument
2390 lpuart_verify_port(struct uart_port *port, struct serial_struct *ser) argument
2462 lpuart_console_putchar(struct uart_port *port, unsigned char ch) argument
2468 lpuart32_console_putchar(struct uart_port *port, unsigned char ch) argument
2795 struct uart_port *port = &sport->port; local
3034 struct tty_port *port = &sport->port.state->port; local
3157 struct tty_port *port = &sport->port.state->port; local
[all...]
H A Dmax310x.c281 struct uart_port port; member in struct:max310x_one
290 container_of(_port, struct max310x_one, port)
314 static u8 max310x_port_read(struct uart_port *port, u8 reg) argument
316 struct max310x_one *one = to_max310x_port(port);
324 static void max310x_port_write(struct uart_port *port, u8 reg, u8 val) argument
326 struct max310x_one *one = to_max310x_port(port);
331 static void max310x_port_update(struct uart_port *port, u8 reg, u8 mask, u8 val) argument
333 struct max310x_one *one = to_max310x_port(port);
389 static void max310x_power(struct uart_port *port, int on) argument
391 struct max310x_port *s = dev_get_drvdata(port
508 max310x_set_baud(struct uart_port *port, int baud) argument
638 max310x_batch_write(struct uart_port *port, u8 *txbuf, unsigned int len) argument
645 max310x_batch_read(struct uart_port *port, u8 *rxbuf, unsigned int len) argument
652 max310x_handle_rx(struct uart_port *port, unsigned int rxlen) argument
748 max310x_handle_tx(struct uart_port *port) argument
789 max310x_start_tx(struct uart_port *port) argument
798 struct uart_port *port = &s->p[portno].port; local
857 max310x_tx_empty(struct uart_port *port) argument
864 max310x_get_mctrl(struct uart_port *port) argument
883 max310x_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
890 max310x_break_ctl(struct uart_port *port, int break_state) argument
897 max310x_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
1031 max310x_rs485_config(struct uart_port *port, struct ktermios *termios, struct serial_rs485 *rs485) argument
1047 max310x_startup(struct uart_port *port) argument
1097 max310x_shutdown(struct uart_port *port) argument
1105 max310x_type(struct uart_port *port) argument
1112 max310x_request_port(struct uart_port *port) argument
1118 max310x_config_port(struct uart_port *port, int flags) argument
1124 max310x_verify_port(struct uart_port *port, struct serial_struct *s) argument
1134 max310x_null_void(struct uart_port *port) argument
1190 struct uart_port *port = &s->p[offset / 4].port; local
1200 struct uart_port *port = &s->p[offset / 4].port; local
1209 struct uart_port *port = &s->p[offset / 4].port; local
1220 struct uart_port *port = &s->p[offset / 4].port; local
1234 struct uart_port *port = &s->p[offset / 4].port; local
[all...]
H A Dpic32_uart.c43 /* struct pic32_sport - pic32 serial port descriptor
44 * @port: uart port descriptor
45 * @idx: port index
56 struct uart_port port; member in struct:pic32_sport
74 static inline struct pic32_sport *to_pic32_sport(struct uart_port *port) argument
76 return container_of(port, struct pic32_sport, port);
82 __raw_writel(val, sport->port.membase + reg);
87 return __raw_readl(sport->port
137 pic32_uart_tx_empty(struct uart_port *port) argument
146 pic32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
160 pic32_uart_get_mctrl(struct uart_port *port) argument
199 pic32_uart_stop_tx(struct uart_port *port) argument
218 pic32_uart_start_tx(struct uart_port *port) argument
228 pic32_uart_stop_rx(struct uart_port *port) argument
241 pic32_uart_break_ctl(struct uart_port *port, int ctl) argument
259 pic32_uart_type(struct uart_port *port) argument
265 pic32_uart_do_rx(struct uart_port *port) argument
342 pic32_uart_do_tx(struct uart_port *port) argument
400 struct uart_port *port = dev_id; local
410 struct uart_port *port = dev_id; local
428 pic32_uart_en_and_unmask(struct uart_port *port) argument
439 pic32_uart_dsbl_and_mask(struct uart_port *port) argument
453 pic32_uart_startup(struct uart_port *port) argument
577 pic32_uart_shutdown(struct uart_port *port) argument
598 pic32_uart_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) argument
679 pic32_uart_request_port(struct uart_port *port) argument
704 pic32_uart_release_port(struct uart_port *port) argument
719 pic32_uart_config_port(struct uart_port *port, int flags) argument
729 pic32_uart_verify_port(struct uart_port *port, struct serial_struct *serinfo) argument
765 pic32_console_putchar(struct uart_port *port, unsigned char ch) argument
871 struct uart_port *port; local
943 struct uart_port *port = platform_get_drvdata(pdev); local
[all...]
H A Dsh-sci.h11 * SCI register subset common for all port types.
164 #define SCxSR_TEND(port) (((port)->type == PORT_SCI) ? SCI_TEND : SCIF_TEND)
165 #define SCxSR_RDxF(port) (((port)->type == PORT_SCI) ? SCI_RDRF : SCIF_DR | SCIF_RDF)
166 #define SCxSR_TDxE(port) (((port)->type == PORT_SCI) ? SCI_TDRE : SCIF_TDFE)
167 #define SCxSR_FER(port) (((port)->type == PORT_SCI) ? SCI_FER : SCIF_FER)
168 #define SCxSR_PER(port) (((por
[all...]
H A Dtegra-tcu.c27 struct uart_port port; member in struct:tegra_tcu
33 static unsigned int tegra_tcu_uart_tx_empty(struct uart_port *port) argument
38 static void tegra_tcu_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) argument
42 static unsigned int tegra_tcu_uart_get_mctrl(struct uart_port *port) argument
47 static void tegra_tcu_uart_stop_tx(struct uart_port *port) argument
91 static void tegra_tcu_uart_start_tx(struct uart_port *port) argument
93 struct tegra_tcu *tcu = port->private_data;
94 struct circ_buf *xmit = &port->state->xmit;
103 uart_xmit_advance(port, count);
106 uart_write_wakeup(port);
109 tegra_tcu_uart_stop_rx(struct uart_port *port) argument
113 tegra_tcu_uart_break_ctl(struct uart_port *port, int ctl) argument
117 tegra_tcu_uart_startup(struct uart_port *port) argument
122 tegra_tcu_uart_shutdown(struct uart_port *port) argument
126 tegra_tcu_uart_set_termios(struct uart_port *port, struct ktermios *new, const struct ktermios *old) argument
163 struct tty_port *port = &tcu->port.state->port; local
178 struct uart_port *port; local
[all...]
/linux-master/drivers/net/wwan/
H A Dwwan_core.c27 static DEFINE_IDA(minors); /* minors for WWAN port chardevs */
38 /* WWAN port flags */
46 * @port_id: Current available port ID to pick.
63 * struct wwan_port - The structure that defines a WWAN port
66 * @flags: Store port state and capabilities
67 * @ops: Pointer to WWAN port operations
68 * @ops_lock: Protect port ops
71 * @waitqueue: The waitqueue for port fops (read/write/poll)
75 * @at_data: AT port specific data
281 * child port, an
342 struct wwan_port *port = to_wwan_port(dev); local
356 struct wwan_port *port = to_wwan_port(dev); local
395 __wwan_port_dev_assign_name(struct wwan_port *port, const char *fmt) argument
444 struct wwan_port *port; local
514 wwan_remove_port(struct wwan_port *port) argument
537 wwan_port_rx(struct wwan_port *port, struct sk_buff *skb) argument
544 wwan_port_txon(struct wwan_port *port) argument
551 wwan_port_txoff(struct wwan_port *port) argument
557 wwan_port_get_drvdata(struct wwan_port *port) argument
563 wwan_port_op_start(struct wwan_port *port) argument
586 wwan_port_op_stop(struct wwan_port *port) argument
598 wwan_port_op_tx(struct wwan_port *port, struct sk_buff *skb, bool nonblock) argument
620 is_read_blocked(struct wwan_port *port) argument
625 is_write_blocked(struct wwan_port *port) argument
630 wwan_wait_rx(struct wwan_port *port, bool nonblock) argument
644 wwan_wait_tx(struct wwan_port *port, bool nonblock) argument
660 struct wwan_port *port; local
679 struct wwan_port *port = filp->private_data; local
690 struct wwan_port *port = filp->private_data; local
723 struct wwan_port *port = filp->private_data; local
773 struct wwan_port *port = filp->private_data; local
793 wwan_port_fops_at_ioctl(struct wwan_port *port, unsigned int cmd, unsigned long arg) argument
868 struct wwan_port *port = filp->private_data; local
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_pnp.c112 /* Intermec CV60 touchscreen port */
201 /* Generic standard PC COM port */
203 /* Generic 16550A-compatible COM port */
365 * Winbond CIR port, should not be probed. We should keep track of
370 * SMSC IrCC SIR/FIR port, should not be probed by serial driver as
436 struct uart_8250_port uart, *port; local
447 uart.port.irq = pnp_irq(dev, 0);
449 uart.port.iobase = pnp_port_start(dev, 2);
450 uart.port.iotype = UPIO_PORT;
452 uart.port
[all...]
H A D8250_tegra.c47 struct uart_port *port; local
57 port = &port8250.port;
58 spin_lock_init(&port->lock);
60 port->flags = UPF_BOOT_AUTOCONF | UPF_FIXED_PORT | UPF_FIXED_TYPE;
61 port->type = PORT_TEGRA;
62 port->dev = &pdev->dev;
63 port->handle_break = tegra_uart_handle_break;
69 port->membase = devm_ioremap(&pdev->dev, res->start,
71 if (!port
137 struct uart_port *port = &port8250->port; local
151 struct uart_port *port = &port8250->port; local
[all...]
/linux-master/security/selinux/
H A Dnetport.c3 * Network port table
60 * sel_netport_hashfn - Hashing function for the port table
61 * @pnum: port number
64 * This is the hashing function for the port table, it returns the bucket
65 * number for the given port.
74 * sel_netport_find - Search for a port record
76 * @pnum: port
79 * Search the network port table and return the matching record. If an entry
86 struct sel_netport *port; local
89 list_for_each_entry_rcu(port,
104 sel_netport_insert(struct sel_netport *port) argument
140 struct sel_netport *port; local
185 struct sel_netport *port; local
209 struct sel_netport *port, *port_tmp; local
[all...]
/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dunsigned-md5.c36 static void try_accept(const char *tst_name, unsigned int port, argument
52 lsk = test_listen_socket(this_ip_addr, port, 1);
130 static void server_add_fail_tests(unsigned int *port) argument
134 try_accept("TCP-AO established: add TCP-MD5 key", (*port)++, NULL, 0,
137 try_accept("TCP-MD5 established: add TCP-AO key", (*port)++, &addr_any,
139 try_accept("non-signed established: add TCP-AO key", (*port)++, NULL, 0,
143 static void server_vrf_tests(unsigned int *port) argument
150 unsigned int port = test_server_port; local
155 try_accept("AO server (INADDR_ANY): AO client", port++, NULL, 0,
158 try_accept("AO server (INADDR_ANY): MD5 client", port
255 try_connect(const char *tst_name, unsigned int port, union tcp_addr *md5_addr, uint8_t md5_prefix, union tcp_addr *ao_addr, uint8_t ao_prefix, uint8_t sndid, uint8_t rcvid, uint8_t vrf, fault_t inj, int needs_tcp_md5, union tcp_addr *bind_addr) argument
360 open_add(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, bool set_ao_required, uint8_t sndid, uint8_t rcvid, fault_t inj) argument
404 try_to_preadd(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, bool set_ao_required, uint8_t sndid, uint8_t rcvid, int needs_tcp_md5, int needs_vrf, fault_t inj) argument
430 try_to_add(const char *tst_name, unsigned int port, unsigned int strategy, union tcp_addr md5_addr, uint8_t md5_prefix, int md5_vrf, union tcp_addr ao_addr, uint8_t ao_prefix, int ao_vrf, uint8_t sndid, uint8_t rcvid, int needs_tcp_md5, fault_t inj) argument
514 client_add_fail_tests(unsigned int *port) argument
550 client_vrf_tests(unsigned int *port) argument
667 unsigned int port = test_server_port; local
[all...]
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_devlink.c8 * Resource 0: Memory tracked per source port
9 * Resource 1: Frame references tracked per source port
10 * Resource 2: Memory tracked per destination port
11 * Resource 3: Frame references tracked per destination port
22 * Q_RSRV: reservation per QoS class per port
24 * P_RSRV: reservation per port
35 * For setting up the reserved areas, egress watermarks exist per port and per
42 * | | | per egress port
47 #define BUF_Q_RSRV_E(port, prio) \
48 (BUF_xxxx_E + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port)
252 ocelot_disable_reservation_watermarks(struct ocelot *ocelot, int port) argument
304 int port, prio; local
328 int port, prio; local
479 int port; local
601 ocelot_sb_port_pool_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 pool_index, u32 *p_threshold) argument
632 ocelot_sb_port_pool_set(struct ocelot *ocelot, int port, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
675 ocelot_sb_tc_pool_bind_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
712 ocelot_sb_tc_pool_bind_set(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
778 int port, prio; local
818 ocelot_sb_occ_port_pool_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 pool_index, u32 *p_cur, u32 *p_max) argument
850 ocelot_sb_occ_tc_port_bind_get(struct ocelot *ocelot, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
[all...]
/linux-master/drivers/usb/serial/
H A Dusb_wwan.c38 * Generate DTR/RTS signals on the port using the SET_CONTROL_LINE_STATE request
41 static int usb_wwan_send_setup(struct usb_serial_port *port) argument
43 struct usb_serial *serial = port->serial;
49 portdata = usb_get_serial_port_data(port);
67 usb_autopm_put_interface(port->serial->interface);
72 void usb_wwan_dtr_rts(struct usb_serial_port *port, int on) argument
77 intfdata = usb_get_serial_data(port->serial);
82 portdata = usb_get_serial_port_data(port);
87 usb_wwan_send_setup(port);
93 struct usb_serial_port *port local
113 struct usb_serial_port *port = tty->driver_data; local
137 usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
217 struct usb_serial_port *port; local
257 struct usb_serial_port *port; local
284 struct usb_serial_port *port = tty->driver_data; local
305 struct usb_serial_port *port = tty->driver_data; local
325 usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port) argument
381 usb_wwan_close(struct usb_serial_port *port) argument
419 usb_wwan_setup_urb(struct usb_serial_port *port, int endpoint, int dir, void *ctx, char *buf, int len, void (*callback) (struct urb *)) argument
442 usb_wwan_port_probe(struct usb_serial_port *port) argument
504 usb_wwan_port_remove(struct usb_serial_port *port) argument
529 struct usb_serial_port *port; local
566 usb_wwan_submit_delayed_urbs(struct usb_serial_port *port) argument
603 struct usb_serial_port *port; local
[all...]
H A Dmos7840.c64 * Defines used for sending commands to port
175 { MCS_DEVICE(0x9710, 0x7843, MCS_PORTS(3)) }, /* ASIX MCS7840 3 port */
192 /* This structure holds all of the local port information */
195 int port_num; /*Actual port number in the device(1,2,etc) */
196 struct urb *read_urb; /* read URB for this port */
199 struct usb_serial_port *port; /* loop back to the owner of this object */ member in struct:moschip_port
227 static int mos7840_set_reg_sync(struct usb_serial_port *port, __u16 reg, argument
230 struct usb_device *dev = port->serial->dev;
232 dev_dbg(&port->dev, "mos7840_set_reg_sync offset is %x, value %x\n", reg, val);
245 static int mos7840_get_reg_sync(struct usb_serial_port *port, __u1 argument
278 mos7840_set_uart_reg(struct usb_serial_port *port, __u16 reg, __u16 val) argument
302 mos7840_get_uart_reg(struct usb_serial_port *port, __u16 reg, __u16 *val) argument
334 mos7840_dump_serial_port(struct usb_serial_port *port, struct moschip_port *mos7840_port) argument
388 mos7840_set_led_sync(struct usb_serial_port *port, __u16 reg, __u16 val) argument
414 mos7840_led_activity(struct usb_serial_port *port) argument
435 struct usb_serial_port *port = mos7840_port->port; local
478 struct usb_serial_port *port = mos7840_port->port; local
512 mos7840_open(struct tty_struct *tty, struct usb_serial_port *port) argument
735 struct usb_serial_port *port = tty->driver_data; local
759 mos7840_close(struct usb_serial_port *port) argument
792 struct usb_serial_port *port = tty->driver_data; local
817 struct usb_serial_port *port = tty->driver_data; local
844 mos7840_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *data, int count) argument
939 struct usb_serial_port *port = tty->driver_data; local
968 struct usb_serial_port *port = tty->driver_data; local
992 struct usb_serial_port *port = tty->driver_data; local
1020 struct usb_serial_port *port = tty->driver_data; local
1057 mos7840_calc_baud_rate_divisor(struct usb_serial_port *port, int baudRate, int *divisor, __u16 *clk_sel_val) argument
1101 struct usb_serial_port *port = mos7840_port->port; local
1195 struct usb_serial_port *port = mos7840_port->port; local
1333 mos7840_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
1389 struct usb_serial_port *port = tty->driver_data; local
1533 mos7840_port_probe(struct usb_serial_port *port) argument
1721 mos7840_port_remove(struct usb_serial_port *port) argument
[all...]
H A Dxr_serial.c104 static int xr21v141x_uart_enable(struct usb_serial_port *port);
105 static int xr21v141x_uart_disable(struct usb_serial_port *port);
106 static int xr21v141x_fifo_reset(struct usb_serial_port *port);
108 struct usb_serial_port *port,
134 int (*enable)(struct usb_serial_port *port);
135 int (*disable)(struct usb_serial_port *port);
136 int (*fifo_reset)(struct usb_serial_port *port);
138 struct usb_serial_port *port,
244 static int xr_set_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 val) argument
246 struct xr_data *data = usb_get_serial_port_data(port);
264 xr_get_reg(struct usb_serial_port *port, u8 channel, u16 reg, u16 *val) argument
303 xr_set_reg_uart(struct usb_serial_port *port, u16 reg, u16 val) argument
310 xr_get_reg_uart(struct usb_serial_port *port, u16 reg, u16 *val) argument
317 xr_set_reg_um(struct usb_serial_port *port, u8 reg_base, u8 val) argument
327 __xr_uart_enable(struct usb_serial_port *port) argument
335 __xr_uart_disable(struct usb_serial_port *port) argument
350 xr21v141x_uart_enable(struct usb_serial_port *port) argument
371 xr21v141x_uart_disable(struct usb_serial_port *port) argument
384 xr_uart_enable(struct usb_serial_port *port) argument
394 xr_uart_disable(struct usb_serial_port *port) argument
404 xr21v141x_fifo_reset(struct usb_serial_port *port) argument
419 xr_fifo_reset(struct usb_serial_port *port) argument
440 struct usb_serial_port *port = tty->driver_data; local
463 xr_tiocmset_port(struct usb_serial_port *port, unsigned int set, unsigned int clear) argument
495 struct usb_serial_port *port = tty->driver_data; local
500 xr_dtr_rts(struct usb_serial_port *port, int on) argument
510 struct usb_serial_port *port = tty->driver_data; local
561 xr21v141x_set_baudrate(struct tty_struct *tty, struct usb_serial_port *port) argument
627 xr_set_flow_mode(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
690 xr21v141x_set_line_settings(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
749 xr_cdc_set_line_coding(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
849 struct usb_serial_port *port = tty->driver_data; local
865 struct usb_serial_port *port = tty->driver_data; local
898 xr_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument
916 xr_open(struct tty_struct *tty, struct usb_serial_port *port) argument
943 xr_close(struct usb_serial_port *port) argument
980 xr_gpio_init(struct usb_serial_port *port, const struct xr_type *type) argument
1012 xr_port_probe(struct usb_serial_port *port) argument
1056 xr_port_remove(struct usb_serial_port *port) argument
[all...]
/linux-master/drivers/net/ethernet/cortina/
H A Dgemini.c226 struct gemini_ethernet_port *port = netdev_priv(netdev); local
230 spin_lock_irqsave(&port->config_lock, flags);
232 reg = readl(port->gmac_base + GMAC_CONFIG0);
234 writel(reg, port->gmac_base + GMAC_CONFIG0);
236 spin_unlock_irqrestore(&port->config_lock, flags);
241 struct gemini_ethernet_port *port = netdev_priv(netdev); local
245 spin_lock_irqsave(&port->config_lock, flags);
247 reg = readl(port->gmac_base + GMAC_CONFIG0);
249 writel(reg, port->gmac_base + GMAC_CONFIG0);
251 spin_unlock_irqrestore(&port
256 struct gemini_ethernet_port *port = netdev_priv(netdev); local
273 struct gemini_ethernet_port *port = netdev_priv(netdev); local
292 struct gemini_ethernet_port *port = netdev_priv(netdev); local
362 struct gemini_ethernet_port *port = netdev_priv(netdev); local
466 struct gemini_ethernet_port *port = netdev_priv(netdev); local
546 struct gemini_ethernet_port *port = netdev_priv(netdev); local
605 struct gemini_ethernet_port *port = netdev_priv(netdev); local
676 struct gemini_ethernet_port *port = netdev_priv(netdev); local
702 struct gemini_ethernet_port *port = netdev_priv(netdev); local
726 gmac_get_queue_page(struct gemini_ethernet *geth, struct gemini_ethernet_port *port, dma_addr_t addr) argument
754 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1037 geth_resize_freeq(struct gemini_ethernet_port *port) argument
1108 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1135 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1238 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1317 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1346 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1363 gmac_skb_if_good_frame(struct gemini_ethernet_port *port, union gmac_rxdesc_0 word0, unsigned int frame_len) argument
1405 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1518 struct gemini_ethernet_port *port = netdev_priv(napi->dev); local
1546 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1617 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1653 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1671 struct gemini_ethernet_port *port = local
1681 struct gemini_ethernet_port *port; local
1742 gmac_start_dma(struct gemini_ethernet_port *port) argument
1763 gmac_stop_dma(struct gemini_ethernet_port *port) argument
1776 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1834 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1855 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1890 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1913 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1926 struct gemini_ethernet_port *port = netdev_priv(netdev); local
1995 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2026 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2101 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2116 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2136 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2159 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2173 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2188 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2195 struct gemini_ethernet_port *port = netdev_priv(netdev); local
2243 struct gemini_ethernet_port *port = data; local
2264 struct gemini_ethernet_port *port = data; local
2291 gemini_port_remove(struct gemini_ethernet_port *port) argument
2353 gemini_port_save_mac_addr(struct gemini_ethernet_port *port) argument
2367 struct gemini_ethernet_port *port; local
2525 struct gemini_ethernet_port *port = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c38 struct rmnet_port *port = rmnet_get_port_rtnl(real_dev); local
40 if (port->nr_rmnet_devs)
43 rmnet_map_tx_aggregate_exit(port);
47 kfree(port);
56 struct rmnet_port *port; local
62 port = rmnet_get_port_rtnl(real_dev);
63 if (port->rmnet_mode != RMNET_EPMODE_VND) {
71 port = kzalloc(sizeof(*port), GFP_KERNEL);
72 if (!port)
91 rmnet_unregister_bridge(struct rmnet_port *port) argument
128 struct rmnet_port *port; local
226 struct rmnet_port *port; local
302 struct rmnet_port *port; local
372 struct rmnet_port *port; local
419 rmnet_get_endpoint(struct rmnet_port *port, u8 mux_id) argument
437 struct rmnet_port *port, *slave_port; local
488 struct rmnet_port *port = rmnet_get_port_rtnl(slave_dev); local
[all...]
/linux-master/drivers/tty/
H A Dtty_buffer.c45 * @port: tty port owning the flip buffer
53 void tty_buffer_lock_exclusive(struct tty_port *port) argument
55 struct tty_bufhead *buf = &port->buf;
64 * @port: tty port owning the flip buffer
70 void tty_buffer_unlock_exclusive(struct tty_port *port) argument
72 struct tty_bufhead *buf = &port->buf;
85 * @port: tty port ownin
94 tty_buffer_space_avail(struct tty_port *port) argument
120 tty_buffer_free_all(struct tty_port *port) argument
159 tty_buffer_alloc(struct tty_port *port, size_t size) argument
198 tty_buffer_free(struct tty_port *port, struct tty_buffer *b) argument
223 struct tty_port *port = tty->port; local
261 __tty_buffer_request_room(struct tty_port *port, size_t size, bool flags) argument
294 tty_buffer_request_room(struct tty_port *port, size_t size) argument
300 __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars, const u8 *flags, bool mutable_flags, size_t size) argument
354 tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size) argument
397 lookahead_bufs(struct tty_port *port, struct tty_buffer *head) argument
436 receive_buf(struct tty_port *port, struct tty_buffer *head, size_t count) argument
464 struct tty_port *port = container_of(work, struct tty_port, buf.work); local
529 tty_flip_buffer_push(struct tty_port *port) argument
552 tty_insert_flip_string_and_push_buffer(struct tty_port *port, const u8 *chars, size_t size) argument
576 tty_buffer_init(struct tty_port *port) argument
600 tty_buffer_set_limit(struct tty_port *port, int limit) argument
610 tty_buffer_set_lock_subclass(struct tty_port *port) argument
615 tty_buffer_restart_work(struct tty_port *port) argument
620 tty_buffer_cancel_work(struct tty_port *port) argument
625 tty_buffer_flush_work(struct tty_port *port) argument
[all...]
H A Dnozomi.c220 u8 port; member in struct:ctrl_dl
230 u8 port; member in struct:ctrl_ul
285 u8 port; member in struct:ctrl_dl
293 u8 port; member in struct:ctrl_ul
297 /* This holds all information that is needed regarding a port */
298 struct port { struct
299 struct tty_port port; member in struct:port
332 struct port port[NOZOMI_MAX_PORTS]; member in struct:nozomi
363 static inline struct port *get_port_by_tt
667 enable_transmit_ul(enum port_type port, struct nozomi *dc) argument
680 disable_transmit_ul(enum port_type port, struct nozomi *dc) argument
694 enable_transmit_dl(enum port_type port, struct nozomi *dc) argument
707 disable_transmit_dl(enum port_type port, struct nozomi *dc) argument
727 struct port *port = &dc->port[index]; local
756 struct port *port = &dc->port[index]; local
853 enum port_type port = PORT_MDM; local
944 port2ctrl(enum port_type port, const struct nozomi *dc) argument
996 handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, u16 read_iir, u16 mask1, u16 mask2) argument
1036 handle_data_ul(struct nozomi *dc, enum port_type port, u16 read_iir) argument
1382 struct port *port = &dc->port[i]; local
1487 struct port *port = get_port_by_tty(tty); local
1496 struct port *port = get_port_by_tty(tty); local
1513 struct port *port = get_port_by_tty(tty); local
1531 struct port *port = container_of(tport, struct port, port); local
1547 struct port *port = tty->driver_data; local
1553 struct port *port = container_of(tport, struct port, port); local
1568 struct port *port = tty->driver_data; local
1575 struct port *port = tty->driver_data; local
1587 struct port *port = tty->driver_data; local
1625 struct port *port = tty->driver_data; local
1638 const struct port *port = tty->driver_data; local
1674 ntty_cflags_changed(struct port *port, unsigned long flags, struct async_icount *cprev) argument
1693 struct port *port = tty->driver_data; local
1713 struct port *port = tty->driver_data; local
1765 struct port *port = tty->driver_data; local
[all...]
/linux-master/arch/parisc/lib/
H A Dio.c124 * Read COUNT 8-bit bytes from port PORT into memory starting at
127 void insb (unsigned long port, void *dst, unsigned long count) argument
137 *p = inb(port);
144 w = inb(port) << 24;
145 w |= inb(port) << 16;
146 w |= inb(port) << 8;
147 w |= inb(port);
154 *p = inb(port);
161 * Read COUNT 16-bit words from port PORT into memory starting at
167 void insw (unsigned long port, voi argument
239 insl(unsigned long port, void *dst, unsigned long count) argument
319 outsb(unsigned long port, const void * src, unsigned long count) argument
337 outsw(unsigned long port, const void *src, unsigned long count) argument
409 outsl(unsigned long port, const void *src, unsigned long count) argument
[all...]
/linux-master/drivers/media/pci/saa7164/
H A Dsaa7164-api.c91 int saa7164_api_set_vbi_format(struct saa7164_port *port) argument
93 struct saa7164_dev *dev = port->dev;
98 port->nr, port->hwcfg.unitid);
105 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid,
111 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid,
121 ret = saa7164_cmd_send(port->dev, port
154 saa7164_api_set_gop_size(struct saa7164_port *port) argument
173 saa7164_api_set_encoder(struct saa7164_port *port) argument
232 saa7164_api_get_encoder(struct saa7164_port *port) argument
310 saa7164_api_set_aspect_ratio(struct saa7164_port *port) argument
354 saa7164_api_set_usercontrol(struct saa7164_port *port, u8 ctl) argument
388 saa7164_api_get_usercontrol(struct saa7164_port *port, u8 ctl) argument
422 saa7164_api_set_videomux(struct saa7164_port *port) argument
457 saa7164_api_audio_mute(struct saa7164_port *port, int mute) argument
474 saa7164_api_set_audio_volume(struct saa7164_port *port, s8 level) argument
530 saa7164_api_set_audio_std(struct saa7164_port *port) argument
569 saa7164_api_set_audio_detection(struct saa7164_port *port, int autodetect) argument
592 saa7164_api_get_videomux(struct saa7164_port *port) argument
608 saa7164_api_set_dif(struct saa7164_port *port, u8 reg, u8 val) argument
666 saa7164_api_configure_dif(struct saa7164_port *port, u32 std) argument
729 saa7164_api_initialize_dif(struct saa7164_port *port) argument
767 saa7164_api_transition_port(struct saa7164_port *port, u8 mode) argument
810 saa7164_api_configure_port_vbi(struct saa7164_dev *dev, struct saa7164_port *port) argument
847 saa7164_api_configure_port_mpeg2ts(struct saa7164_dev *dev, struct saa7164_port *port, struct tmComResTSFormatDescrHeader *tsfmt) argument
882 saa7164_api_configure_port_mpeg2ps(struct saa7164_dev *dev, struct saa7164_port *port, struct tmComResPSFormatDescrHeader *fmt) argument
[all...]
/linux-master/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c121 /* IOM port status register */
155 struct pmc_usb_port *port; member in struct:pmc_usb
166 static void update_port_status(struct pmc_usb_port *port) argument
170 /* SoC expects the USB Type-C port numbers to start with 0 */
171 port_num = port->usb3_port - 1;
173 port->iom_status = readl(port->pmc->iom_base +
174 port->pmc->iom_port_status_offset +
175 port_num * port->pmc->iom_port_status_size);
178 static int sbu_orientation(struct pmc_usb_port *port) argument
186 hsl_orientation(struct pmc_usb_port *port) argument
230 pmc_usb_command(struct pmc_usb_port *port, u8 *msg, u32 len) argument
248 pmc_usb_mux_dp_hpd(struct pmc_usb_port *port, struct typec_displayport_data *dp) argument
276 pmc_usb_mux_dp(struct pmc_usb_port *port, struct typec_mux_state *state) argument
331 pmc_usb_mux_tbt(struct pmc_usb_port *port, struct typec_mux_state *state) argument
379 pmc_usb_mux_usb4(struct pmc_usb_port *port, struct typec_mux_state *state) argument
433 pmc_usb_mux_safe_state(struct pmc_usb_port *port, struct typec_mux_state *state) argument
457 pmc_usb_disconnect(struct pmc_usb_port *port) argument
477 pmc_usb_connect(struct pmc_usb_port *port, enum usb_role role) argument
510 struct pmc_usb_port *port = typec_mux_get_drvdata(mux); local
547 struct pmc_usb_port *port = typec_switch_get_drvdata(sw); local
558 struct pmc_usb_port *port = usb_role_switch_get_drvdata(sw); local
576 struct pmc_usb_port *port = &pmc->port[index]; local
710 struct pmc_usb_port *port = s->private; local
719 pmc_mux_port_debugfs_init(struct pmc_usb_port *port) argument
[all...]
/linux-master/drivers/net/ethernet/realtek/
H A Datp.h82 static inline unsigned char inbyte(unsigned short port) argument
86 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (_v) : "d" (port));
93 static inline unsigned char read_nibble(short port, unsigned char offset) argument
97 outb(EOC+offset, port + PAR_DATA);
98 outb(RdAddr+offset, port + PAR_DATA);
99 inbyte(port + PAR_STATUS); /* Settling time delay */
100 retval = inbyte(port + PAR_STATUS);
101 outb(EOC+offset, port + PAR_DATA);
159 write_reg(short port, unsigned char reg, unsigned char value) argument
163 outb(EOC | reg, port
179 write_reg_high(short port, unsigned char reg, unsigned char value) argument
199 write_reg_byte(short port, unsigned char reg, unsigned char value) argument
[all...]

Completed in 228 milliseconds

1234567891011>>