Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 189) sorted by relevance

12345678

/include/linux/
Dtty_port.h35 bool (*carrier_raised)(struct tty_port *port);
36 void (*dtr_rts)(struct tty_port *port, bool active);
37 void (*shutdown)(struct tty_port *port);
38 int (*activate)(struct tty_port *port, struct tty_struct *tty);
39 void (*destruct)(struct tty_port *port);
45 size_t (*receive_buf)(struct tty_port *port, const u8 *cp, const u8 *fp,
47 void (*lookahead_buf)(struct tty_port *port, const u8 *cp,
49 void (*write_wakeup)(struct tty_port *port);
145 void tty_port_init(struct tty_port *port);
146 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver,
[all …]
Dserial_core.h24 #define uart_console(port) \ argument
25 ((port)->cons && (port)->cons->index == (port)->line)
27 #define uart_console(port) ({ (void)port; 0; }) argument
453 int (*startup)(struct uart_port *port);
454 void (*shutdown)(struct uart_port *port);
455 void (*throttle)(struct uart_port *port);
456 void (*unthrottle)(struct uart_port *port);
704 struct tty_port port; member
759 void uart_write_wakeup(struct uart_port *port);
832 #define uart_port_tx_limited(port, ch, count, tx_ready, put_char, tx_done) ({ \ argument
[all …]
Dtty_flip.h10 int tty_buffer_set_limit(struct tty_port *port, int limit);
11 unsigned int tty_buffer_space_avail(struct tty_port *port);
12 int tty_buffer_request_room(struct tty_port *port, size_t size);
13 size_t __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars,
16 size_t tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size);
17 void tty_flip_buffer_push(struct tty_port *port);
31 static inline size_t tty_insert_flip_string_fixed_flag(struct tty_port *port, in tty_insert_flip_string_fixed_flag() argument
35 return __tty_insert_flip_string_flags(port, chars, &flag, false, size); in tty_insert_flip_string_fixed_flag()
50 static inline size_t tty_insert_flip_string_flags(struct tty_port *port, in tty_insert_flip_string_flags() argument
54 return __tty_insert_flip_string_flags(port, chars, flags, true, size); in tty_insert_flip_string_flags()
[all …]
Dif_team.h78 static inline bool team_port_enabled(struct team_port *port) in team_port_enabled() argument
80 return port->index != -1; in team_port_enabled()
83 static inline bool team_port_txable(struct team_port *port) in team_port_txable() argument
85 return port->linkup && team_port_enabled(port); in team_port_txable()
90 struct team_port *port; in team_port_dev_txable() local
94 port = team_port_get_rcu(port_dev); in team_port_dev_txable()
95 txable = port ? team_port_txable(port) : false; in team_port_dev_txable()
102 static inline void team_netpoll_send_skb(struct team_port *port, in team_netpoll_send_skb() argument
105 netpoll_send_skb(port->np, skb); in team_netpoll_send_skb()
108 static inline void team_netpoll_send_skb(struct team_port *port, in team_netpoll_send_skb() argument
[all …]
Dserial_8250.h104 struct uart_8250_port *port; /* for hrtimer callbacks */ member
125 struct uart_port port; member
174 return container_of(up, struct uart_8250_port, port); in up_to_u8250p()
182 int early_serial_setup(struct uart_port *port);
185 void serial8250_update_uartclk(struct uart_port *port, unsigned int uartclk);
186 void serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
188 void serial8250_do_set_ldisc(struct uart_port *port, struct ktermios *termios);
189 unsigned int serial8250_do_get_mctrl(struct uart_port *port);
190 int serial8250_do_startup(struct uart_port *port);
191 void serial8250_do_shutdown(struct uart_port *port);
[all …]
Dscc.h20 #define Inb(port) inb_p(port) argument
21 #define Outb(port, val) outb_p(val, port) argument
23 #define Inb(port) inb(port) argument
24 #define Outb(port, val) outb(val, port) argument
Dwwan.h58 int (*start)(struct wwan_port *port);
59 void (*stop)(struct wwan_port *port);
60 int (*tx)(struct wwan_port *port, struct sk_buff *skb);
63 int (*tx_blocking)(struct wwan_port *port, struct sk_buff *skb);
64 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp,
112 void wwan_remove_port(struct wwan_port *port);
121 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb);
130 void wwan_port_txoff(struct wwan_port *port);
140 void wwan_port_txon(struct wwan_port *port);
146 void *wwan_port_get_drvdata(struct wwan_port *port);
Dcb710.h53 unsigned port, u##t value) \
55 iowrite##t(value, slot->iobase + port); \
59 unsigned port) \
61 return ioread##t(slot->iobase + port); \
65 unsigned port, u##t set, u##t clear) \
68 (ioread##t(slot->iobase + port) & ~clear)|set, \
69 slot->iobase + port); \
173 void __iomem *port, size_t count) in cb710_sg_dwiter_write_from_io() argument
176 cb710_sg_dwiter_write_next_block(miter, ioread32(port)); in cb710_sg_dwiter_write_from_io()
195 void __iomem *port, size_t count) in cb710_sg_dwiter_read_to_io() argument
[all …]
Drio_drv.h19 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset,
21 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset,
23 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset,
25 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset,
27 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset,
29 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset,
32 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid,
34 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid,
36 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid,
38 extern int rio_mport_write_config_16(struct rio_mport *port, u16 destid,
[all …]
Dparport.h86 size_t (*epp_write_data) (struct parport *port, const void *buf,
88 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len,
90 size_t (*epp_write_addr) (struct parport *port, const void *buf,
92 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len,
95 size_t (*ecp_write_data) (struct parport *port, const void *buf,
97 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len,
99 size_t (*ecp_write_addr) (struct parport *port, const void *buf,
102 size_t (*compat_write_data) (struct parport *port, const void *buf,
104 size_t (*nibble_read_data) (struct parport *port, void *buf,
106 size_t (*byte_read_data) (struct parport *port, void *buf,
[all …]
Dmv643xx.h706 #define MV64340_MPSC_CAUSE_REG(port) (0xb804 + (port<<3)) argument
707 #define MV64340_MPSC_MASK_REG(port) (0xb884 + (port<<3)) argument
709 #define MV64340_MPSC_MAIN_CONFIG_LOW(port) (0x8000 + (port<<12)) argument
710 #define MV64340_MPSC_MAIN_CONFIG_HIGH(port) (0x8004 + (port<<12)) argument
711 #define MV64340_MPSC_PROTOCOL_CONFIG(port) (0x8008 + (port<<12)) argument
712 #define MV64340_MPSC_CHANNEL_REG1(port) (0x800c + (port<<12)) argument
713 #define MV64340_MPSC_CHANNEL_REG2(port) (0x8010 + (port<<12)) argument
714 #define MV64340_MPSC_CHANNEL_REG3(port) (0x8014 + (port<<12)) argument
715 #define MV64340_MPSC_CHANNEL_REG4(port) (0x8018 + (port<<12)) argument
716 #define MV64340_MPSC_CHANNEL_REG5(port) (0x801c + (port<<12)) argument
[all …]
Dvia-core.h188 static inline u8 via_read_reg(u16 port, u8 index) in via_read_reg() argument
190 outb(index, port); in via_read_reg()
191 return inb(port + 1); in via_read_reg()
194 static inline void via_write_reg(u16 port, u8 index, u8 data) in via_write_reg() argument
196 outb(index, port); in via_write_reg()
197 outb(data, port + 1); in via_write_reg()
200 static inline void via_write_reg_mask(u16 port, u8 index, u8 data, u8 mask) in via_write_reg_mask() argument
204 outb(index, port); in via_write_reg_mask()
205 old = inb(port + 1); in via_write_reg_mask()
206 outb((data & mask) | (old & ~mask), port + 1); in via_write_reg_mask()
/include/trace/events/
Dqrtr.h14 unsigned int node, unsigned int port),
16 TP_ARGS(service, instance, node, port),
22 __field(unsigned int, port)
29 __entry->port = port;
34 __entry->port
41 unsigned int node, unsigned int port),
43 TP_ARGS(service, instance, node, port),
49 __field(unsigned int, port)
56 __entry->port = port;
61 __entry->port
[all …]
/include/net/
Ddsa.h503 static inline bool dsa_port_is_dsa(struct dsa_port *port) in dsa_port_is_dsa() argument
505 return port->type == DSA_PORT_TYPE_DSA; in dsa_port_is_dsa()
508 static inline bool dsa_port_is_cpu(struct dsa_port *port) in dsa_port_is_cpu() argument
510 return port->type == DSA_PORT_TYPE_CPU; in dsa_port_is_cpu()
626 int port) in dsa_towards_port() argument
629 return port; in dsa_towards_port()
635 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port() argument
637 const struct dsa_port *dp = dsa_to_port(ds, port); in dsa_upstream_port()
641 return port; in dsa_upstream_port()
647 static inline bool dsa_is_upstream_port(struct dsa_switch *ds, int port) in dsa_is_upstream_port() argument
[all …]
/include/linux/usb/
Dtypec.h154 *typec_port_register_altmode(struct typec_port *port,
157 void typec_port_register_altmodes(struct typec_port *port,
234 int (*try_role)(struct typec_port *port, int role);
235 int (*dr_set)(struct typec_port *port, enum typec_data_role role);
236 int (*pr_set)(struct typec_port *port, enum typec_role role);
237 int (*vconn_set)(struct typec_port *port, enum typec_role role);
238 int (*port_type_set)(struct typec_port *port,
240 struct usb_power_delivery **(*pd_get)(struct typec_port *port);
241 int (*pd_set)(struct typec_port *port, struct usb_power_delivery *pd);
295 void typec_unregister_port(struct typec_port *port);
[all …]
Dserial.h68 struct tty_port port; member
112 static inline void *usb_get_serial_port_data(struct usb_serial_port *port) in usb_get_serial_port_data() argument
114 return dev_get_drvdata(&port->dev); in usb_get_serial_port_data()
117 static inline void usb_set_serial_port_data(struct usb_serial_port *port, in usb_set_serial_port_data() argument
120 dev_set_drvdata(&port->dev, data); in usb_set_serial_port_data()
156 struct usb_serial_port *port[MAX_NUM_PORTS]; member
260 int (*port_probe)(struct usb_serial_port *port);
261 void (*port_remove)(struct usb_serial_port *port);
269 int (*open)(struct tty_struct *tty, struct usb_serial_port *port);
270 void (*close)(struct usb_serial_port *port);
[all …]
Dtcpm.h162 void tcpm_unregister_port(struct tcpm_port *port);
164 void tcpm_vbus_change(struct tcpm_port *port);
165 void tcpm_cc_change(struct tcpm_port *port);
166 void tcpm_sink_frs(struct tcpm_port *port);
167 void tcpm_sourcing_vbus(struct tcpm_port *port);
168 void tcpm_pd_receive(struct tcpm_port *port,
170 void tcpm_pd_transmit_complete(struct tcpm_port *port,
172 void tcpm_pd_hard_reset(struct tcpm_port *port);
173 void tcpm_tcpc_reset(struct tcpm_port *port);
174 void tcpm_port_clean(struct tcpm_port *port);
[all …]
/include/rdma/
Drdma_counter.h43 u32 port; member
48 int rdma_counter_set_auto_mode(struct ib_device *dev, u32 port,
51 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port);
55 u64 rdma_counter_get_hwstat_value(struct ib_device *dev, u32 port, u32 index);
56 int rdma_counter_bind_qpn(struct ib_device *dev, u32 port,
58 int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u32 port,
60 int rdma_counter_unbind_qpn(struct ib_device *dev, u32 port,
62 int rdma_counter_get_mode(struct ib_device *dev, u32 port,
66 int rdma_counter_modify(struct ib_device *dev, u32 port,
/include/xen/interface/
Devent_channel.h31 evtchn_port_t port; member
66 evtchn_port_t port; member
82 evtchn_port_t port; member
95 evtchn_port_t port; member
106 evtchn_port_t port; member
116 evtchn_port_t port; member
131 evtchn_port_t port; member
147 evtchn_port_t port; member
167 evtchn_port_t port; member
178 evtchn_port_t port; member
[all …]
/include/dt-bindings/memory/
Dmtk-memory-port.h11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument
15 #define MTK_IFAIOMMU_PERI_ID(port) MTK_M4U_ID(0, port) argument
/include/drm/
Ddrm_of.h35 struct device_node *port);
37 struct device_node *port);
49 int port, int endpoint,
54 int drm_of_lvds_get_data_mapping(const struct device_node *port);
57 int drm_of_get_data_lanes_count_ep(const struct device_node *port,
63 struct device_node *port) in drm_of_crtc_port_mask() argument
69 struct device_node *port) in drm_of_find_possible_crtcs() argument
97 int port, int endpoint, in drm_of_find_panel_or_bridge() argument
112 drm_of_lvds_get_data_mapping(const struct device_node *port) in drm_of_lvds_get_data_mapping() argument
125 drm_of_get_data_lanes_count_ep(const struct device_node *port, in drm_of_get_data_lanes_count_ep() argument
[all …]
Di915_hdcp_interface.h371 struct hdcp_port_id port; member
377 struct hdcp_port_id port; member
385 struct hdcp_port_id port; member
390 struct hdcp_port_id port; member
396 struct hdcp_port_id port; member
404 struct hdcp_port_id port; member
413 struct hdcp_port_id port; member
419 struct hdcp_port_id port; member
428 struct hdcp_port_id port; member
434 struct hdcp_port_id port; member
[all …]
/include/dt-bindings/gpio/
Dtegra241-gpio.h32 #define TEGRA241_MAIN_GPIO(port, offset) \ argument
33 ((TEGRA241_MAIN_GPIO_PORT_##port * 8) + (offset))
39 #define TEGRA241_AON_GPIO(port, offset) \ argument
40 ((TEGRA241_AON_GPIO_PORT_##port * 8) + (offset))
/include/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h25 __be16 port; member
28 __be16 port; member
34 __be16 port; member
37 __be16 port; member
/include/soc/mscc/
Docelot.h652 struct net_device *(*port_to_netdev)(struct ocelot *ocelot, int port);
659 int (*psfp_filter_add)(struct ocelot *ocelot, int port,
666 void (*tas_guard_bands_update)(struct ocelot *ocelot, int port);
955 u32 ocelot_port_readl(struct ocelot_port *port, enum ocelot_reg reg);
956 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg);
957 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask,
979 void ocelot_port_inject_frame(struct ocelot *ocelot, int port, int grp,
981 void ocelot_ifh_set_basic(void *ifh, struct ocelot *ocelot, int port,
995 void ocelot_init_port(struct ocelot *ocelot, int port);
996 void ocelot_deinit_port(struct ocelot *ocelot, int port);
[all …]

12345678