Home
last modified time | relevance | path

Searched defs:port (Results 76 – 100 of 2623) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/net/dsa/
H A Drzn1_a5psw.c96 int port, in a5psw_get_tag_protocol()
102 static void a5psw_port_pattern_set(struct a5psw *a5psw, int port, int pattern, in a5psw_port_pattern_set()
114 static void a5psw_port_mgmtfwd_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_mgmtfwd_set()
123 static void a5psw_port_tx_enable(struct a5psw *a5psw, int port, bool enable) in a5psw_port_tx_enable()
139 static void a5psw_port_enable_set(struct a5psw *a5psw, int port, bool enable) in a5psw_port_enable_set()
165 static void a5psw_port_fdb_flush(struct a5psw *a5psw, int port) in a5psw_port_fdb_flush()
174 static void a5psw_port_authorize_set(struct a5psw *a5psw, int port, in a5psw_port_authorize_set()
187 static void a5psw_port_disable(struct dsa_switch *ds, int port) in a5psw_port_disable()
195 static int a5psw_port_enable(struct dsa_switch *ds, int port, in a5psw_port_enable()
206 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in a5psw_port_change_mtu()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dlpc32xx_hs.c88 struct uart_port port; member
97 static void wait_for_xmit_empty(struct uart_port *port) in wait_for_xmit_empty()
111 static void wait_for_xmit_ready(struct uart_port *port) in wait_for_xmit_ready()
125 static void lpc32xx_hsuart_console_putchar(struct uart_port *port, unsigned char ch) in lpc32xx_hsuart_console_putchar()
158 struct uart_port *port; in lpc32xx_hsuart_console_setup() local
242 static void __serial_uart_flush(struct uart_port *port) in __serial_uart_flush()
251 static void __serial_lpc32xx_rx(struct uart_port *port) in __serial_lpc32xx_rx()
279 static bool serial_lpc32xx_tx_ready(struct uart_port *port) in serial_lpc32xx_tx_ready()
286 static void __serial_lpc32xx_tx(struct uart_port *port) in __serial_lpc32xx_tx()
297 struct uart_port *port = dev_id; in serial_lpc32xx_interrupt() local
[all …]
H A Dsh-sci.c73 #define SCIx_IRQ_IS_MUXED(port) \ argument
118 struct uart_port port; member
561 static inline unsigned long port_rx_irq_mask(struct uart_port *port) in port_rx_irq_mask()
573 static void sci_start_tx(struct uart_port *port) in sci_start_tx()
617 static void sci_stop_tx(struct uart_port *port) in sci_stop_tx()
640 static void sci_start_rx(struct uart_port *port) in sci_start_rx()
652 static void sci_stop_rx(struct uart_port *port) in sci_stop_rx()
666 static void sci_clear_SCxSR(struct uart_port *port, unsigned int mask) in sci_clear_SCxSR()
686 static int sci_poll_get_char(struct uart_port *port) in sci_poll_get_char()
713 static void sci_poll_put_char(struct uart_port *port, unsigned char c) in sci_poll_put_char()
[all …]
H A Dpic32_uart.c56 struct uart_port port; member
74 static inline struct pic32_sport *to_pic32_sport(struct uart_port *port) in to_pic32_sport()
137 static unsigned int pic32_uart_tx_empty(struct uart_port *port) in pic32_uart_tx_empty()
146 static void pic32_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in pic32_uart_set_mctrl()
160 static unsigned int pic32_uart_get_mctrl(struct uart_port *port) in pic32_uart_get_mctrl()
199 static void pic32_uart_stop_tx(struct uart_port *port) in pic32_uart_stop_tx()
218 static void pic32_uart_start_tx(struct uart_port *port) in pic32_uart_start_tx()
228 static void pic32_uart_stop_rx(struct uart_port *port) in pic32_uart_stop_rx()
241 static void pic32_uart_break_ctl(struct uart_port *port, int ctl) in pic32_uart_break_ctl()
259 static const char *pic32_uart_type(struct uart_port *port) in pic32_uart_type()
[all …]
H A Dmen_z135_uart.c120 struct uart_port port; member
128 #define to_men_z135(port) container_of((port), struct men_z135_port, port) argument
139 struct uart_port *port = &uart->port; in men_z135_reg_set() local
161 struct uart_port *port = &uart->port; in men_z135_reg_clr() local
197 struct uart_port *port = &uart->port; in men_z135_handle_lsr() local
222 struct uart_port *port = &uart->port; in get_rx_fifo_content() local
245 struct uart_port *port = &uart->port; in men_z135_handle_rx() local
295 struct uart_port *port = &uart->port; in men_z135_handle_tx() local
385 struct uart_port *port = &uart->port; in men_z135_intr() local
436 struct uart_port *port = &uart->port; in men_z135_request_irq() local
[all …]
H A Dpxa.c43 struct uart_port port; member
64 static void serial_pxa_enable_ms(struct uart_port *port) in serial_pxa_enable_ms()
72 static void serial_pxa_stop_tx(struct uart_port *port) in serial_pxa_stop_tx()
82 static void serial_pxa_stop_rx(struct uart_port *port) in serial_pxa_stop_rx()
185 static void serial_pxa_start_tx(struct uart_port *port) in serial_pxa_start_tx()
239 static unsigned int serial_pxa_tx_empty(struct uart_port *port) in serial_pxa_tx_empty()
252 static unsigned int serial_pxa_get_mctrl(struct uart_port *port) in serial_pxa_get_mctrl()
272 static void serial_pxa_set_mctrl(struct uart_port *port, unsigned int mctrl) in serial_pxa_set_mctrl()
293 static void serial_pxa_break_ctl(struct uart_port *port, int break_state) in serial_pxa_break_ctl()
307 static int serial_pxa_startup(struct uart_port *port) in serial_pxa_startup()
[all …]
H A Dmvebu-uart.c154 struct uart_port *port; member
163 static struct mvebu_uart *to_mvuart(struct uart_port *port) in to_mvuart()
168 #define IS_EXTENDED(port) (to_mvuart(port)->data->is_ext) argument
170 #define UART_RBR(port) (to_mvuart(port)->data->regs.rbr) argument
171 #define UART_TSH(port) (to_mvuart(port)->data->regs.tsh) argument
172 #define UART_CTRL(port) (to_mvuart(port)->data->regs.ctrl) argument
173 #define UART_INTR(port) (to_mvuart(port)->data->regs.intr) argument
175 #define CTRL_TX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_tx_rdy_int) argument
176 #define CTRL_RX_RDY_INT(port) (to_mvuart(port)->data->flags.ctrl_rx_rdy_int) argument
177 #define STAT_TX_RDY(port) (to_mvuart(port)->data->flags.stat_tx_rdy) argument
[all …]
H A Dtegra-tcu.c27 struct uart_port port; member
33 static unsigned int tegra_tcu_uart_tx_empty(struct uart_port *port) in tegra_tcu_uart_tx_empty()
38 static void tegra_tcu_uart_set_mctrl(struct uart_port *port, unsigned int mctrl) in tegra_tcu_uart_set_mctrl()
42 static unsigned int tegra_tcu_uart_get_mctrl(struct uart_port *port) in tegra_tcu_uart_get_mctrl()
47 static void tegra_tcu_uart_stop_tx(struct uart_port *port) in tegra_tcu_uart_stop_tx()
91 static void tegra_tcu_uart_start_tx(struct uart_port *port) in tegra_tcu_uart_start_tx()
109 static void tegra_tcu_uart_stop_rx(struct uart_port *port) in tegra_tcu_uart_stop_rx()
113 static void tegra_tcu_uart_break_ctl(struct uart_port *port, int ctl) in tegra_tcu_uart_break_ctl()
117 static int tegra_tcu_uart_startup(struct uart_port *port) in tegra_tcu_uart_startup()
122 static void tegra_tcu_uart_shutdown(struct uart_port *port) in tegra_tcu_uart_shutdown()
[all …]
/openbmc/linux/drivers/parport/
H A Dieee1284_ops.c35 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat()
144 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble()
232 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte()
323 int ecp_forward_to_reverse (struct parport *port) in ecp_forward_to_reverse()
355 int ecp_reverse_to_forward (struct parport *port) in ecp_reverse_to_forward()
388 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data()
474 size_t parport_ieee1284_ecp_read_data (struct parport *port, in parport_ieee1284_ecp_read_data()
618 size_t parport_ieee1284_ecp_write_addr (struct parport *port, in parport_ieee1284_ecp_write_addr()
709 size_t parport_ieee1284_epp_write_data (struct parport *port, in parport_ieee1284_epp_write_data()
753 size_t parport_ieee1284_epp_read_data (struct parport *port, in parport_ieee1284_epp_read_data()
[all …]
/openbmc/linux/drivers/hsi/controllers/
H A Domap_ssi_port.c33 static inline unsigned int ssi_wakein(struct hsi_port *port) in ssi_wakein()
40 static void ssi_debug_remove_port(struct hsi_port *port) in ssi_debug_remove_port()
49 struct hsi_port *port = m->private; in ssi_port_regs_show() local
126 struct hsi_port *port = data; in ssi_div_get() local
138 struct hsi_port *port = data; in ssi_div_set() local
157 struct hsi_port *port = to_hsi_port(omap_port->dev); in ssi_debug_add_port() local
186 struct hsi_port *port = hsi_get_port(msg->cl); in ssi_claim_lch() local
203 struct hsi_port *port = hsi_get_port(msg->cl); in ssi_start_dma() local
282 struct hsi_port *port = hsi_get_port(msg->cl); in ssi_start_pio() local
334 struct hsi_port *port = hsi_get_port(msg->cl); in ssi_async_break() local
[all …]
/openbmc/linux/net/hsr/
H A Dhsr_forward.c150 struct hsr_port *port) in hsr_get_untagged_frame()
168 struct hsr_port *port) in prp_get_untagged_frame()
191 struct hsr_port *port) in prp_set_lan_id()
208 struct hsr_port *port) in prp_fill_rct()
237 struct hsr_port *port) in hsr_set_path_id()
251 struct hsr_port *port, u8 proto_version) in hsr_fill_tag()
281 struct hsr_port *port) in hsr_create_tagged_frame()
324 struct hsr_port *port) in prp_create_tagged_frame()
369 static int hsr_xmit(struct sk_buff *skb, struct hsr_port *port, in hsr_xmit()
383 bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port) in prp_drop_frame()
[all …]
/openbmc/linux/drivers/net/wan/
H A Dwanxl.c53 struct port { struct
57 int node; /* physical port #0 - 3 */ argument
78 struct port ports[]; /* 1 - 4 port structures follow */ argument
86 static inline port_status_t *get_status(struct port *port) in get_status()
108 static inline void wanxl_cable_intr(struct port *port) in wanxl_cable_intr()
175 static inline void wanxl_tx_intr(struct port *port) in wanxl_tx_intr()
218 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr() local
283 struct port *port = dev_to_port(dev); in wanxl_xmit() local
328 struct port *port = dev_to_port(dev); in wanxl_attach() local
350 struct port *port = dev_to_port(dev); in wanxl_ioctl() local
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.c71 static int __ocelot_mact_learn(struct ocelot *ocelot, int port, in __ocelot_mact_learn()
103 int ocelot_mact_learn(struct ocelot *ocelot, int port, in ocelot_mact_learn()
247 static void ocelot_vcap_enable(struct ocelot *ocelot, int port) in ocelot_vcap_enable()
265 int port; in ocelot_single_vlan_aware_bridge() local
320 static int ocelot_port_num_untagged_vlans(struct ocelot *ocelot, int port) in ocelot_port_num_untagged_vlans()
343 static int ocelot_port_num_tagged_vlans(struct ocelot *ocelot, int port) in ocelot_port_num_tagged_vlans()
362 static bool ocelot_port_uses_native_vlan(struct ocelot *ocelot, int port) in ocelot_port_uses_native_vlan()
369 ocelot_port_find_native_vlan(struct ocelot *ocelot, int port) in ocelot_port_find_native_vlan()
384 static void ocelot_port_manage_port_tag(struct ocelot *ocelot, int port) in ocelot_port_manage_port_tag()
426 int port; in ocelot_bridge_num_find() local
[all …]
/openbmc/linux/arch/ia64/include/asm/
H A Dio.h40 #define IO_SPACE_NR(port) ((port) >> IO_SPACE_BITS) argument
42 #define IO_SPACE_PORT(port) ((port) & (IO_SPACE_SIZE - 1)) argument
104 __ia64_mk_io_addr (unsigned long port) in __ia64_mk_io_addr()
128 static inline unsigned int inb(unsigned long port) in inb()
139 static inline unsigned int inw(unsigned long port) in inw()
150 static inline unsigned int inl(unsigned long port) in inl()
161 static inline void outb(unsigned char val, unsigned long port) in outb()
170 static inline void outw(unsigned short val, unsigned long port) in outw()
179 static inline void outl(unsigned int val, unsigned long port) in outl()
188 static inline void insb(unsigned long port, void *dst, unsigned long count) in insb()
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-vbi.c13 static void saa7164_vbi_configure(struct saa7164_port *port) in saa7164_vbi_configure()
28 static int saa7164_vbi_buffers_dealloc(struct saa7164_port *port) in saa7164_vbi_buffers_dealloc()
66 static int saa7164_vbi_buffers_alloc(struct saa7164_port *port) in saa7164_vbi_buffers_alloc()
140 static int saa7164_vbi_initialize(struct saa7164_port *port) in saa7164_vbi_initialize()
198 struct saa7164_port *port = fh->port; in vidioc_querycap() local
210 static int saa7164_vbi_stop_port(struct saa7164_port *port) in saa7164_vbi_stop_port()
228 static int saa7164_vbi_acquire_port(struct saa7164_port *port) in saa7164_vbi_acquire_port()
246 static int saa7164_vbi_pause_port(struct saa7164_port *port) in saa7164_vbi_pause_port()
270 static int saa7164_vbi_stop_streaming(struct saa7164_port *port) in saa7164_vbi_stop_streaming()
313 static int saa7164_vbi_start_streaming(struct saa7164_port *port) in saa7164_vbi_start_streaming()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dkeyspan_pda.c37 struct usb_serial_port *port; member
78 struct usb_serial_port *port = priv->port; in keyspan_pda_get_write_room() local
107 struct usb_serial_port *port = priv->port; in keyspan_pda_request_unthrottle() local
147 struct usb_serial_port *port = urb->context; in keyspan_pda_rx_interrupt() local
223 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_rx_throttle() local
238 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_rx_unthrottle() local
304 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_break_ctl() local
328 struct usb_serial_port *port, in keyspan_pda_set_termios()
410 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_tiocmget() local
433 struct usb_serial_port *port = tty->driver_data; in keyspan_pda_tiocmset() local
[all …]
H A Dopticon.c50 static void opticon_process_data_packet(struct usb_serial_port *port, in opticon_process_data_packet()
57 static void opticon_process_status_packet(struct usb_serial_port *port, in opticon_process_status_packet()
73 struct usb_serial_port *port = urb->context; in opticon_process_read_urb() local
102 static int send_control_msg(struct usb_serial_port *port, u8 requesttype, in send_control_msg()
128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port) in opticon_open()
155 static void opticon_close(struct usb_serial_port *port) in opticon_close()
166 struct usb_serial_port *port = urb->context; in opticon_write_control_callback() local
190 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port, in opticon_write()
270 struct usb_serial_port *port = tty->driver_data; in opticon_write_room() local
292 struct usb_serial_port *port = tty->driver_data; in opticon_chars_in_buffer() local
[all …]
H A Dmct_u232.c176 struct usb_serial *serial, struct usb_serial_port *port, speed_t value) in mct_u232_set_baud_rate()
249 static int mct_u232_set_line_ctrl(struct usb_serial_port *port, in mct_u232_set_line_ctrl()
272 static int mct_u232_set_modem_ctrl(struct usb_serial_port *port, in mct_u232_set_modem_ctrl()
306 static int mct_u232_get_modem_stat(struct usb_serial_port *port, in mct_u232_get_modem_stat()
351 static void mct_u232_msr_to_state(struct usb_serial_port *port, in mct_u232_msr_to_state()
378 static int mct_u232_port_probe(struct usb_serial_port *port) in mct_u232_port_probe()
404 static void mct_u232_port_remove(struct usb_serial_port *port) in mct_u232_port_remove()
412 static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port) in mct_u232_open()
480 static void mct_u232_dtr_rts(struct usb_serial_port *port, int on) in mct_u232_dtr_rts()
496 static void mct_u232_close(struct usb_serial_port *port) in mct_u232_close()
[all …]
/openbmc/linux/drivers/net/team/
H A Dteam.c40 struct team_port *port = rtnl_dereference(dev->rx_handler_data); in team_port_get_rtnl() local
59 static int team_port_set_orig_dev_addr(struct team_port *port) in team_port_set_orig_dev_addr()
65 struct team_port *port) in team_port_set_team_dev_addr()
70 int team_modeop_port_enter(struct team *team, struct team_port *port) in team_modeop_port_enter()
77 struct team_port *port) in team_modeop_port_change_dev_addr()
83 static void team_lower_state_changed(struct team_port *port) in team_lower_state_changed()
92 static void team_refresh_port_linkup(struct team_port *port) in team_refresh_port_linkup()
147 struct team_port *port) in __team_option_inst_add()
205 struct team_port *port) in __team_option_inst_del_port()
217 struct team_port *port) in __team_option_inst_add_port()
[all …]
/openbmc/linux/include/linux/
H A Dtty_port.h164 static inline struct tty_port *tty_port_get(struct tty_port *port) in tty_port_get()
172 static inline bool tty_port_cts_enabled(const struct tty_port *port) in tty_port_cts_enabled()
177 static inline void tty_port_set_cts_flow(struct tty_port *port, bool val) in tty_port_set_cts_flow()
182 static inline bool tty_port_active(const struct tty_port *port) in tty_port_active()
187 static inline void tty_port_set_active(struct tty_port *port, bool val) in tty_port_set_active()
192 static inline bool tty_port_check_carrier(const struct tty_port *port) in tty_port_check_carrier()
197 static inline void tty_port_set_check_carrier(struct tty_port *port, bool val) in tty_port_set_check_carrier()
202 static inline bool tty_port_suspended(const struct tty_port *port) in tty_port_suspended()
207 static inline void tty_port_set_suspended(struct tty_port *port, bool val) in tty_port_set_suspended()
212 static inline bool tty_port_initialized(const struct tty_port *port) in tty_port_initialized()
[all …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c417 int port, phy_interface_t interface) in mv88e6xxx_port_config_interface()
438 static int mv88e6xxx_port_setup_mac(struct mv88e6xxx_chip *chip, int port, in mv88e6xxx_port_setup_mac()
473 static int mv88e6xxx_phy_is_internal(struct mv88e6xxx_chip *chip, int port) in mv88e6xxx_phy_is_internal()
480 static int mv88e6xxx_port_ppu_updates(struct mv88e6xxx_chip *chip, int port) in mv88e6xxx_port_ppu_updates()
512 static void mv88e6095_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6095_phylink_get_caps()
531 static void mv88e6185_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6185_phylink_get_caps()
570 mv88e6250_setup_supported_interfaces(struct mv88e6xxx_chip *chip, int port, in mv88e6250_setup_supported_interfaces()
619 static void mv88e6250_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6250_phylink_get_caps()
628 static void mv88e6351_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6351_phylink_get_caps()
670 static void mv88e6352_phylink_get_caps(struct mv88e6xxx_chip *chip, int port, in mv88e6352_phylink_get_caps()
[all …]
/openbmc/linux/include/net/
H A Dbond_3ad.h206 typedef struct port { struct
207 u16 actor_port_number; argument
208 u16 actor_port_priority; argument
211 u16 actor_port_aggregator_identifier; argument
213 u16 actor_admin_port_key; argument
214 u16 actor_oper_port_key; argument
215 u8 actor_admin_port_state; argument
216 u8 actor_oper_port_state; argument
218 struct port_params partner_admin; argument
219 struct port_params partner_oper; argument
[all …]
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dmsg_port.h108 #define msg_port_generic_clrsetbits(type, port, reg, clr, set) \ argument
113 #define msg_port_clrbits(port, reg, clr) \ argument
115 #define msg_port_setbits(port, reg, set) \ argument
117 #define msg_port_clrsetbits(port, reg, clr, set) \ argument
120 #define msg_port_alt_clrbits(port, reg, clr) \ argument
122 #define msg_port_alt_setbits(port, reg, set) \ argument
124 #define msg_port_alt_clrsetbits(port, reg, clr, set) \ argument
127 #define msg_port_io_clrbits(port, reg, clr) \ argument
129 #define msg_port_io_setbits(port, reg, set) \ argument
131 #define msg_port_io_clrsetbits(port, reg, clr, set) \ argument
/openbmc/qemu/hw/char/
H A Dvirtio-serial-bus.c41 VirtIOSerialPort *port; in find_port_by_id() local
56 VirtIOSerialPort *port; in find_port_by_vq() local
70 VirtIOSerialPort *port; in find_port_by_name() local
83 VirtIOSerialPort *port; in find_first_connected_console() local
100 static size_t write_to_port(VirtIOSerialPort *port, in write_to_port()
151 static void discard_throttle_data(VirtIOSerialPort *port) in discard_throttle_data()
160 static void do_flush_queued_data(VirtIOSerialPort *port, VirtQueue *vq, in do_flush_queued_data()
214 static void flush_queued_data(VirtIOSerialPort *port) in flush_queued_data()
264 int virtio_serial_open(VirtIOSerialPort *port) in virtio_serial_open()
277 int virtio_serial_close(VirtIOSerialPort *port) in virtio_serial_close()
[all …]
/openbmc/linux/drivers/block/
H A Dsunvdc.c107 static inline int vdc_version_supported(struct vdc_port *port, in vdc_version_supported()
145 struct vdc_port *port = bdev->bd_disk->private_data; in vdc_ioctl() local
179 static void vdc_blk_queue_start(struct vdc_port *port) in vdc_blk_queue_start()
204 struct vdc_port *port = to_vdc_port(vio); in vdc_handshake_complete() local
211 static int vdc_handle_unknown(struct vdc_port *port, void *arg) in vdc_handle_unknown()
226 struct vdc_port *port = to_vdc_port(vio); in vdc_send_attr() local
248 struct vdc_port *port = to_vdc_port(vio); in vdc_handle_attr() local
300 static void vdc_end_special(struct vdc_port *port, struct vio_disk_desc *desc) in vdc_end_special()
307 static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr, in vdc_end_one()
334 static int vdc_ack(struct vdc_port *port, void *msgbuf) in vdc_ack()
[all …]

12345678910>>...105