/include/linux/ |
D | tty_port.h | 29 int (*carrier_raised)(struct tty_port *port); 31 void (*dtr_rts)(struct tty_port *port, int raise); 35 void (*shutdown)(struct tty_port *port); 40 int (*activate)(struct tty_port *port, struct tty_struct *tty); 42 void (*destruct)(struct tty_port *port); 48 int (*receive_buf)(struct tty_port *port, const unsigned char *, const unsigned char *, size_t); 49 void (*write_wakeup)(struct tty_port *port); 96 void tty_port_init(struct tty_port *port); 97 void tty_port_link_device(struct tty_port *port, struct tty_driver *driver, 99 struct device *tty_port_register_device(struct tty_port *port, [all …]
|
D | tty_flip.h | 10 extern int tty_buffer_set_limit(struct tty_port *port, int limit); 11 extern unsigned int tty_buffer_space_avail(struct tty_port *port); 12 extern int tty_buffer_request_room(struct tty_port *port, size_t size); 13 extern int tty_insert_flip_string_flags(struct tty_port *port, 15 extern int tty_insert_flip_string_fixed_flag(struct tty_port *port, 17 extern int tty_prepare_flip_string(struct tty_port *port, 19 extern void tty_flip_buffer_push(struct tty_port *port); 20 int __tty_insert_flip_char(struct tty_port *port, unsigned char ch, char flag); 22 static inline int tty_insert_flip_char(struct tty_port *port, in tty_insert_flip_char() argument 25 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char() [all …]
|
D | serial_core.h | 24 #define uart_console(port) \ argument 25 ((port)->cons && (port)->cons->index == (port)->line) 27 #define uart_console(port) ({ (void)port; 0; }) argument 130 int (*startup)(struct uart_port *port); 131 void (*shutdown)(struct uart_port *port); 132 void (*throttle)(struct uart_port *port); 133 void (*unthrottle)(struct uart_port *port); 296 struct tty_port port; member 351 void uart_write_wakeup(struct uart_port *port); 356 void uart_update_timeout(struct uart_port *port, unsigned int cflag, [all …]
|
D | if_team.h | 78 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 …]
|
D | serial_8250.h | 84 struct uart_8250_port *port; /* for hrtimer callbacks */ member 96 struct uart_port port; member 147 return container_of(up, struct uart_8250_port, port); in up_to_u8250p() 155 extern int early_serial_setup(struct uart_port *port); 159 extern void serial8250_update_uartclk(struct uart_port *port, 161 extern void serial8250_do_set_termios(struct uart_port *port, 163 extern void serial8250_do_set_ldisc(struct uart_port *port, 165 extern unsigned int serial8250_do_get_mctrl(struct uart_port *port); 166 extern int serial8250_do_startup(struct uart_port *port); 167 extern void serial8250_do_shutdown(struct uart_port *port); [all …]
|
D | wwan.h | 54 int (*start)(struct wwan_port *port); 55 void (*stop)(struct wwan_port *port); 56 int (*tx)(struct wwan_port *port, struct sk_buff *skb); 59 int (*tx_blocking)(struct wwan_port *port, struct sk_buff *skb); 60 __poll_t (*tx_poll)(struct wwan_port *port, struct file *filp, 94 void wwan_remove_port(struct wwan_port *port); 103 void wwan_port_rx(struct wwan_port *port, struct sk_buff *skb); 112 void wwan_port_txoff(struct wwan_port *port); 122 void wwan_port_txon(struct wwan_port *port); 128 void *wwan_port_get_drvdata(struct wwan_port *port);
|
D | scc.h | 20 #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
|
D | cb710.h | 53 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 …]
|
D | rio_drv.h | 19 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 …]
|
D | parport.h | 91 size_t (*epp_write_data) (struct parport *port, const void *buf, 93 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len, 95 size_t (*epp_write_addr) (struct parport *port, const void *buf, 97 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len, 100 size_t (*ecp_write_data) (struct parport *port, const void *buf, 102 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len, 104 size_t (*ecp_write_addr) (struct parport *port, const void *buf, 107 size_t (*compat_write_data) (struct parport *port, const void *buf, 109 size_t (*nibble_read_data) (struct parport *port, void *buf, 111 size_t (*byte_read_data) (struct parport *port, void *buf, [all …]
|
D | mv643xx.h | 706 #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 …]
|
D | via-core.h | 188 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/ |
D | qrtr.h | 14 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/ |
D | dsa.h | 435 static inline bool dsa_port_is_dsa(struct dsa_port *port) in dsa_port_is_dsa() argument 437 return port->type == DSA_PORT_TYPE_DSA; in dsa_port_is_dsa() 440 static inline bool dsa_port_is_cpu(struct dsa_port *port) in dsa_port_is_cpu() argument 442 return port->type == DSA_PORT_TYPE_CPU; in dsa_port_is_cpu() 530 int port) in dsa_towards_port() argument 533 return port; in dsa_towards_port() 539 static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port) in dsa_upstream_port() argument 541 const struct dsa_port *dp = dsa_to_port(ds, port); in dsa_upstream_port() 545 return port; in dsa_upstream_port() 551 static inline bool dsa_is_upstream_port(struct dsa_switch *ds, int port) in dsa_is_upstream_port() argument [all …]
|
/include/asm-generic/ |
D | ide_iops.h | 9 static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) in __ide_mm_insw() argument 12 *(u16 *)addr = readw(port); in __ide_mm_insw() 17 static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) in __ide_mm_insl() argument 20 *(u32 *)addr = readl(port); in __ide_mm_insl() 25 static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) in __ide_mm_outsw() argument 28 writew(*(u16 *)addr, port); in __ide_mm_outsw() 33 static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) in __ide_mm_outsl() argument 36 writel(*(u32 *)addr, port); in __ide_mm_outsl()
|
/include/linux/usb/ |
D | typec.h | 141 *typec_port_register_altmode(struct typec_port *port, 144 void typec_port_register_altmodes(struct typec_port *port, 219 int (*try_role)(struct typec_port *port, int role); 220 int (*dr_set)(struct typec_port *port, enum typec_data_role role); 221 int (*pr_set)(struct typec_port *port, enum typec_role role); 222 int (*vconn_set)(struct typec_port *port, enum typec_role role); 223 int (*port_type_set)(struct typec_port *port, 271 void typec_unregister_port(struct typec_port *port); 273 struct typec_partner *typec_register_partner(struct typec_port *port, 277 struct typec_cable *typec_register_cable(struct typec_port *port, [all …]
|
D | serial.h | 73 struct tty_port port; member 117 static inline void *usb_get_serial_port_data(struct usb_serial_port *port) in usb_get_serial_port_data() argument 119 return dev_get_drvdata(&port->dev); in usb_get_serial_port_data() 122 static inline void usb_set_serial_port_data(struct usb_serial_port *port, in usb_set_serial_port_data() argument 125 dev_set_drvdata(&port->dev, data); in usb_set_serial_port_data() 161 struct usb_serial_port *port[MAX_NUM_PORTS]; member 265 int (*port_probe)(struct usb_serial_port *port); 266 void (*port_remove)(struct usb_serial_port *port); 274 int (*open)(struct tty_struct *tty, struct usb_serial_port *port); 275 void (*close)(struct usb_serial_port *port); [all …]
|
D | tcpm.h | 162 void tcpm_unregister_port(struct tcpm_port *port); 164 int tcpm_update_sink_capabilities(struct tcpm_port *port, const u32 *pdo, 168 void tcpm_vbus_change(struct tcpm_port *port); 169 void tcpm_cc_change(struct tcpm_port *port); 170 void tcpm_sink_frs(struct tcpm_port *port); 171 void tcpm_sourcing_vbus(struct tcpm_port *port); 172 void tcpm_pd_receive(struct tcpm_port *port, 174 void tcpm_pd_transmit_complete(struct tcpm_port *port, 176 void tcpm_pd_hard_reset(struct tcpm_port *port); 177 void tcpm_tcpc_reset(struct tcpm_port *port); [all …]
|
/include/rdma/ |
D | rdma_counter.h | 43 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,
|
/include/xen/interface/ |
D | event_channel.h | 31 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/uapi/linux/netfilter/ |
D | nf_conntrack_tuple_common.h | 25 __be16 port; member 28 __be16 port; member 34 __be16 port; member 37 __be16 port; member
|
/include/dt-bindings/pinctrl/ |
D | stm32-pinfunc.h | 31 #define PIN_NO(port, line) (((port) - 'A') * 0x10 + (line)) argument 33 #define STM32_PINMUX(port, line, mode) (((PIN_NO(port, line)) << 8) | (mode)) argument
|
/include/drm/ |
D | drm_of.h | 33 struct device_node *port); 35 struct device_node *port); 47 int port, int endpoint, 54 struct device_node *port) in drm_of_crtc_port_mask() argument 60 struct device_node *port) in drm_of_find_possible_crtcs() argument 88 int port, int endpoint, in drm_of_find_panel_or_bridge() argument 112 int port, int endpoint) in drm_of_panel_bridge_remove() argument 118 remote = of_graph_get_remote_node(np, port, endpoint); in drm_of_panel_bridge_remove() 148 return ret ?: endpoint.port; in drm_of_encoder_active_port_id()
|
/include/scsi/ |
D | sas_ata.h | 32 void sas_probe_sata(struct asd_sas_port *port); 33 void sas_suspend_sata(struct asd_sas_port *port); 34 void sas_resume_sata(struct asd_sas_port *port); 68 static inline void sas_probe_sata(struct asd_sas_port *port) in sas_probe_sata() argument 72 static inline void sas_suspend_sata(struct asd_sas_port *port) in sas_suspend_sata() argument 76 static inline void sas_resume_sata(struct asd_sas_port *port) in sas_resume_sata() argument
|
/include/dt-bindings/gpio/ |
D | tegra186-gpio.h | 41 #define TEGRA186_MAIN_GPIO(port, offset) \ argument 42 ((TEGRA186_MAIN_GPIO_PORT_##port * 8) + offset) 54 #define TEGRA186_AON_GPIO(port, offset) \ argument 55 ((TEGRA186_AON_GPIO_PORT_##port * 8) + offset)
|