Home
last modified time | relevance | path

Searched defs:port (Results 151 – 175 of 2623) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/tty/
H A Dnozomi.c236 u8 port; member
246 u8 port; member
301 u8 port; member
309 u8 port; member
314 struct port { struct
315 struct tty_port port; member
319 struct kfifo fifo_ul;
321 u32 dl_size[2];
322 u8 toggle_dl;
324 u32 ul_size[2];
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.c241 int port, in hellcreek_get_tag_protocol()
247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable()
347 static u16 hellcreek_private_vid(int port) in hellcreek_private_vid()
459 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add()
481 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del()
609 int port, bool enable) in hellcreek_port_set_ucast_flood()
634 int port, bool enable) in hellcreek_port_set_mcast_flood()
839 static int hellcreek_fdb_add(struct dsa_switch *ds, int port, in hellcreek_fdb_add()
885 static int hellcreek_fdb_del(struct dsa_switch *ds, int port, in hellcreek_fdb_del()
926 static int hellcreek_fdb_dump(struct dsa_switch *ds, int port, in hellcreek_fdb_dump()
[all …]
/openbmc/linux/drivers/net/dsa/
H A Dmt7530.c1261 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable()
1289 mt7530_port_disable(struct dsa_switch *ds, int port) in mt7530_port_disable()
1347 mt7530_port_max_mtu(struct dsa_switch *ds, int port) in mt7530_port_max_mtu()
1601 mt7530_port_fdb_add(struct dsa_switch *ds, int port, in mt7530_port_fdb_add()
1618 mt7530_port_fdb_del(struct dsa_switch *ds, int port, in mt7530_port_fdb_del()
1635 mt7530_port_fdb_dump(struct dsa_switch *ds, int port, in mt7530_port_fdb_dump()
1670 mt7530_port_mdb_add(struct dsa_switch *ds, int port, in mt7530_port_mdb_add()
1697 mt7530_port_mdb_del(struct dsa_switch *ds, int port, in mt7530_port_mdb_del()
1871 mt7530_port_vlan_add(struct dsa_switch *ds, int port, in mt7530_port_vlan_add()
2899 static bool mt753x_is_mac_port(u32 port) in mt753x_is_mac_port()
[all …]
H A Ddsa_loop.c79 int port, in dsa_loop_get_protocol()
114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings()
128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats()
153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write()
169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join()
180 static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_leave()
187 static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, in dsa_loop_port_stp_state_set()
204 static int dsa_loop_port_vlan_add(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_add()
237 static int dsa_loop_port_vlan_del(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_del()
265 static int dsa_loop_port_change_mtu(struct dsa_switch *ds, int port, in dsa_loop_port_change_mtu()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dsifive.c148 struct uart_port port; member
209 static u32 __ssp_early_readl(struct uart_port *port, u16 offs) in __ssp_early_readl()
498 static void sifive_serial_stop_tx(struct uart_port *port) in sifive_serial_stop_tx()
505 static void sifive_serial_stop_rx(struct uart_port *port) in sifive_serial_stop_rx()
512 static void sifive_serial_start_tx(struct uart_port *port) in sifive_serial_start_tx()
562 static int sifive_serial_startup(struct uart_port *port) in sifive_serial_startup()
571 static void sifive_serial_shutdown(struct uart_port *port) in sifive_serial_shutdown()
626 static void sifive_serial_set_termios(struct uart_port *port, in sifive_serial_set_termios()
692 static int sifive_serial_verify_port(struct uart_port *port, in sifive_serial_verify_port()
744 struct uart_port *port = &dev->port; in early_sifive_serial_write() local
[all …]
H A Dar933x_uart.c48 struct uart_port port; member
162 static void ar933x_uart_start_tx(struct uart_port *port) in ar933x_uart_start_tx()
201 static void ar933x_uart_stop_tx(struct uart_port *port) in ar933x_uart_stop_tx()
209 static void ar933x_uart_stop_rx(struct uart_port *port) in ar933x_uart_stop_rx()
284 static void ar933x_uart_set_termios(struct uart_port *port, in ar933x_uart_set_termios()
363 struct tty_port *port = &up->port.state->port; in ar933x_uart_rx_chars() local
476 static int ar933x_uart_startup(struct uart_port *port) in ar933x_uart_startup()
506 static void ar933x_uart_shutdown(struct uart_port *port) in ar933x_uart_shutdown()
522 static const char *ar933x_uart_type(struct uart_port *port) in ar933x_uart_type()
544 static int ar933x_uart_verify_port(struct uart_port *port, in ar933x_uart_verify_port()
[all …]
H A Dsunsab.c50 struct uart_port port; /* Generic UART port */ member
112 struct tty_port *port = NULL; in receive_chars() local
308 struct tty_port *port = NULL; in sunsab_interrupt() local
405 static void sunsab_stop_tx(struct uart_port *port) in sunsab_stop_tx()
434 static void sunsab_start_tx(struct uart_port *port) in sunsab_start_tx()
485 static void sunsab_stop_rx(struct uart_port *port) in sunsab_stop_rx()
519 static int sunsab_startup(struct uart_port *port) in sunsab_startup()
591 static void sunsab_shutdown(struct uart_port *port) in sunsab_shutdown()
787 static const char *sunsab_type(struct uart_port *port) in sunsab_type()
796 static void sunsab_release_port(struct uart_port *port) in sunsab_release_port()
[all …]
H A Dsc16is7xx.c325 struct uart_port port; member
711 struct uart_port *port = &one->port; in sc16is7xx_update_mlines() local
743 struct uart_port *port = &s->p[portno].port; in sc16is7xx_port_irq() local
914 static void sc16is7xx_stop_tx(struct uart_port *port) in sc16is7xx_stop_tx()
919 static void sc16is7xx_stop_rx(struct uart_port *port) in sc16is7xx_stop_rx()
948 static void sc16is7xx_start_tx(struct uart_port *port) in sc16is7xx_start_tx()
1147 static int sc16is7xx_startup(struct uart_port *port) in sc16is7xx_startup()
1304 struct uart_port *port = &s->p[0].port; in sc16is7xx_gpio_get() local
1314 struct uart_port *port = &s->p[0].port; in sc16is7xx_gpio_set() local
1324 struct uart_port *port = &s->p[0].port; in sc16is7xx_gpio_direction_input() local
[all …]
/openbmc/linux/drivers/media/pci/saa7164/
H A Dsaa7164-api.c91 int saa7164_api_set_vbi_format(struct saa7164_port *port) in saa7164_api_set_vbi_format()
173 int saa7164_api_set_encoder(struct saa7164_port *port) in saa7164_api_set_encoder()
232 int saa7164_api_get_encoder(struct saa7164_port *port) in saa7164_api_get_encoder()
310 int saa7164_api_set_aspect_ratio(struct saa7164_port *port) in saa7164_api_set_aspect_ratio()
422 int saa7164_api_set_videomux(struct saa7164_port *port) in saa7164_api_set_videomux()
530 int saa7164_api_set_audio_std(struct saa7164_port *port) in saa7164_api_set_audio_std()
592 int saa7164_api_get_videomux(struct saa7164_port *port) in saa7164_api_get_videomux()
729 int saa7164_api_initialize_dif(struct saa7164_port *port) in saa7164_api_initialize_dif()
811 struct saa7164_port *port) in saa7164_api_configure_port_vbi()
848 struct saa7164_port *port, in saa7164_api_configure_port_mpeg2ts()
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c126 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner() local
150 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_unregister_altmodes() local
193 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner() local
220 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_cable() local
269 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_register_port_altmodes() local
438 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_enable_tbt() local
493 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_enable_dp() local
538 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_enable_usb4() local
567 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_configure_mux() local
710 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_register_altmodes() local
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-mxc.c163 struct mxc_gpio_port *port = gc->private; in gpio_set_irq_type() local
299 struct mxc_gpio_port *port; in mx2_gpio_irq_handler() local
329 struct mxc_gpio_port *port = gc->private; in gpio_set_wake_irq() local
381 struct mxc_gpio_port *port = gpiochip_get_data(gc); in mxc_gpio_to_irq() local
424 struct mxc_gpio_port *port; in mxc_gpio_probe() local
609 struct mxc_gpio_port *port = dev_get_drvdata(dev); in mxc_gpio_runtime_suspend() local
620 struct mxc_gpio_port *port = dev_get_drvdata(dev); in mxc_gpio_runtime_resume() local
638 struct mxc_gpio_port *port = platform_get_drvdata(pdev); in mxc_gpio_noirq_suspend() local
649 struct mxc_gpio_port *port = platform_get_drvdata(pdev); in mxc_gpio_noirq_resume() local
665 struct mxc_gpio_port *port; in mxc_gpio_syscore_suspend() local
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.h154 #define PHM_READ_INDIRECT_FIELD(device, port, reg, field) \ argument
158 #define PHM_READ_VFPF_INDIRECT_FIELD(device, port, reg, field) \ argument
166 #define PHM_WRITE_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
171 #define PHM_WRITE_VFPF_INDIRECT_FIELD(device, port, reg, field, fieldval) \ argument
180 #define PHM_WAIT_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
183 #define PHM_WAIT_INDIRECT_FIELD(hwmgr, port, reg, field, fieldval) \ argument
191 #define PHM_WAIT_INDIRECT_REGISTER_UNEQUAL(hwmgr, port, reg, value, mask) \ argument
201 port, index, value, mask) \ argument
215 port, index, value, mask) \ argument
219 #define PHM_WAIT_VFPF_INDIRECT_REGISTER(hwmgr, port, reg, value, mask) \ argument
[all …]
/openbmc/u-boot/arch/xtensa/include/asm/
H A Dio.h59 #define inb(port) readb((u8 *)((port))) argument
60 #define outb(val, port) writeb((val), (u8 *)((unsigned long)(port))) argument
61 #define inw(port) readw((u16 *)((port))) argument
62 #define outw(val, port) writew((val), (u16 *)((unsigned long)(port))) argument
63 #define inl(port) readl((u32 *)((port))) argument
66 #define inb_p(port) inb((port)) argument
67 #define outb_p(val, port) outb((val), (port)) argument
68 #define inw_p(port) inw((port)) argument
69 #define outw_p(val, port) outw((val), (port)) argument
70 #define inl_p(port) inl((port)) argument
[all …]
/openbmc/u-boot/drivers/serial/
H A Dserial_ns16550.c79 #define DECLARE_ESERIAL_FUNCTIONS(port) \ argument
110 #define INIT_ESERIAL_STRUCTURE(port, __name) { \ argument
121 static void _serial_putc(const char c, const int port) in _serial_putc()
129 static void _serial_puts(const char *s, const int port) in _serial_puts()
136 static int _serial_getc(const int port) in _serial_getc()
141 static int _serial_tstc(const int port) in _serial_tstc()
146 static void _serial_setbrg(const int port) in _serial_setbrg()
/openbmc/linux/drivers/usb/serial/
H A Dsymbolserial.c34 struct usb_serial_port *port = urb->context; in symbol_int_callback() local
91 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) in symbol_open()
111 static void symbol_close(struct usb_serial_port *port) in symbol_close()
118 struct usb_serial_port *port = tty->driver_data; in symbol_throttle() local
128 struct usb_serial_port *port = tty->driver_data; in symbol_unthrottle() local
148 static int symbol_port_probe(struct usb_serial_port *port) in symbol_port_probe()
163 static void symbol_port_remove(struct usb_serial_port *port) in symbol_port_remove()
H A Dkl5kusb105.c123 static int klsi_105_chg_port_settings(struct usb_serial_port *port, in klsi_105_chg_port_settings()
155 static int klsi_105_get_line_state(struct usb_serial_port *port, in klsi_105_get_line_state()
189 static int klsi_105_port_probe(struct usb_serial_port *port) in klsi_105_port_probe()
213 static void klsi_105_port_remove(struct usb_serial_port *port) in klsi_105_port_remove()
221 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port) in klsi_105_open()
303 static void klsi_105_close(struct usb_serial_port *port) in klsi_105_close()
328 static int klsi_105_prepare_write_buffer(struct usb_serial_port *port, in klsi_105_prepare_write_buffer()
345 struct usb_serial_port *port = urb->context; in klsi_105_process_read_urb() local
369 struct usb_serial_port *port, in klsi_105_set_termios()
490 struct usb_serial_port *port = tty->driver_data; in klsi_105_tiocmget() local
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c54 static void lan966x_vlan_port_add_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_add_vlan_mask()
63 static void lan966x_vlan_port_del_vlan_mask(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan_mask()
104 static u16 lan966x_vlan_port_get_pvid(struct lan966x_port *port) in lan966x_vlan_port_get_pvid()
114 int lan966x_vlan_port_set_vid(struct lan966x_port *port, u16 vid, in lan966x_vlan_port_set_vid()
137 static void lan966x_vlan_port_remove_vid(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_remove_vid()
146 void lan966x_vlan_port_set_vlan_aware(struct lan966x_port *port, in lan966x_vlan_port_set_vlan_aware()
152 void lan966x_vlan_port_apply(struct lan966x_port *port) in lan966x_vlan_port_apply()
213 void lan966x_vlan_port_add_vlan(struct lan966x_port *port, in lan966x_vlan_port_add_vlan()
236 void lan966x_vlan_port_del_vlan(struct lan966x_port *port, u16 vid) in lan966x_vlan_port_del_vlan()
285 u16 port, vid; in lan966x_vlan_init() local
H A Dlan966x_taprio.c41 static u32 lan966x_taprio_list_index(struct lan966x_port *port, u8 entry) in lan966x_taprio_list_index()
46 static u32 lan966x_taprio_list_state_get(struct lan966x_port *port) in lan966x_taprio_list_state_get()
67 static void lan966x_taprio_list_state_set(struct lan966x_port *port, in lan966x_taprio_list_state_set()
77 static int lan966x_taprio_list_shutdown(struct lan966x_port *port, in lan966x_taprio_list_shutdown()
150 static int lan966x_taprio_shutdown(struct lan966x_port *port) in lan966x_taprio_shutdown()
172 static int lan966x_taprio_find_list(struct lan966x_port *port, in lan966x_taprio_find_list()
268 static int lan966x_taprio_gcl_free_get(struct lan966x_port *port, in lan966x_taprio_gcl_free_get()
327 static int lan966x_taprio_gcl_setup(struct lan966x_port *port, in lan966x_taprio_gcl_setup()
412 int lan966x_taprio_speed_set(struct lan966x_port *port, int speed) in lan966x_taprio_speed_set()
441 int lan966x_taprio_add(struct lan966x_port *port, in lan966x_taprio_add()
[all …]
/openbmc/linux/lib/
H A Diomap.c64 #define pio_read16be(port) swab16(inw(port)) argument
65 #define pio_read32be(port) swab32(inl(port)) argument
115 static u64 pio_read64_lo_hi(unsigned long port) in pio_read64_lo_hi()
125 static u64 pio_read64_hi_lo(unsigned long port) in pio_read64_hi_lo()
135 static u64 pio_read64be_lo_hi(unsigned long port) in pio_read64be_lo_hi()
145 static u64 pio_read64be_hi_lo(unsigned long port) in pio_read64be_hi_lo()
193 #define pio_write16be(val,port) outw(swab16(val),port) argument
194 #define pio_write32be(val,port) outl(swab32(val),port) argument
198 #define mmio_write16be(val,port) writew(swab16(val),port) argument
199 #define mmio_write32be(val,port) writel(swab32(val),port) argument
[all …]
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/axp/
H A Dboard_env_spec.h130 #define SATA_BASE_REG(port) (0xA2000 + (port)*0x2000) argument
132 #define SATA_PWR_PLL_CTRL_REG(port) (SATA_BASE_REG(port) + 0x804) argument
133 #define SATA_DIG_LP_ENA_REG(port) (SATA_BASE_REG(port) + 0x88C) argument
134 #define SATA_REF_CLK_SEL_REG(port) (SATA_BASE_REG(port) + 0x918) argument
135 #define SATA_COMPHY_CTRL_REG(port) (SATA_BASE_REG(port) + 0x920) argument
139 #define SATA_GEN_1_SET_0_REG(port) (SATA_BASE_REG(port) + 0x834) argument
140 #define SATA_GEN_1_SET_1_REG(port) (SATA_BASE_REG(port) + 0x838) argument
141 #define SATA_GEN_2_SET_0_REG(port) (SATA_BASE_REG(port) + 0x83C) argument
142 #define SATA_GEN_2_SET_1_REG(port) (SATA_BASE_REG(port) + 0x840) argument
147 #define MV_ETH_REGS_BASE(port) MV_ETH_REGS_OFFSET(port) argument
[all …]
/openbmc/linux/sound/core/seq/
H A Dseq_ports.c47 struct snd_seq_client_port *port; in snd_seq_port_use_ptr() local
71 struct snd_seq_client_port *port, *found; in snd_seq_port_query_nearest() local
220 struct snd_seq_client_port *port, in clear_subscriber_list()
258 struct snd_seq_client_port *port) in port_delete()
307 struct snd_seq_client_port *port, *tmp; in snd_seq_delete_all_ports() local
431 struct snd_seq_client_port *port, in subscribe_port()
456 struct snd_seq_client_port *port, in unsubscribe_port()
499 struct snd_seq_client_port *port, in check_and_subscribe_port()
549 struct snd_seq_client_port *port, in __delete_and_unsubscribe_port()
571 struct snd_seq_client_port *port, in delete_and_unsubscribe_port()
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dswitch.c468 int tb_port_state(struct tb_port *port) in tb_port_state()
1562 struct tb_port *port; in tb_switch_reset_host() local
2266 struct tb_port *port; in tb_switch_release() local
2298 const struct tb_port *port; in tb_switch_uevent() local
2990 struct tb_port *up, *down, *port; in tb_switch_asym_enable() local
3222 struct tb_port *port; in tb_switch_port_hotplug_enable() local
3382 struct tb_port *port; in tb_switch_remove() local
3423 struct tb_port *port; in tb_sw_set_unplugged() local
3475 struct tb_port *port; in tb_switch_resume() local
3578 struct tb_port *port; in tb_switch_suspend() local
[all …]
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1646 void ksz_r_mib_stats64(struct ksz_device *dev, int port) in ksz_r_mib_stats64()
2232 static void port_r_cnt(struct ksz_device *dev, int port) in port_r_cnt()
2501 static int ksz_enable_port(struct dsa_switch *ds, int port, in ksz_enable_port()
2593 int port, in ksz_get_tag_protocol()
2706 static int ksz_max_mtu(struct dsa_switch *ds, int port) in ksz_max_mtu()
2756 static int ksz_get_mac_eee(struct dsa_switch *ds, int port, in ksz_get_mac_eee()
2776 static int ksz_set_mac_eee(struct dsa_switch *ds, int port, in ksz_set_mac_eee()
2799 static void ksz_set_xmii(struct ksz_device *dev, int port, in ksz_set_xmii()
2909 bool ksz_get_gbit(struct ksz_device *dev, int port) in ksz_get_gbit()
3417 static int ksz_setup_tc(struct dsa_switch *ds, int port, in ksz_setup_tc()
[all …]
/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c227 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg() local
242 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_enable_tx_rx() local
257 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_disable_tx_rx() local
274 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_set_flow_control() local
293 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_speed_set() local
728 struct gemini_ethernet_port *port, in gmac_get_queue_page()
1695 struct gemini_ethernet_port *port = in gmac_coalesce_delay_expired() local
1705 struct gemini_ethernet_port *port; in gmac_irq() local
2266 struct gemini_ethernet_port *port = data; in gemini_port_irq_thread() local
2287 struct gemini_ethernet_port *port = data; in gemini_port_irq() local
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_core.c122 struct uart_port *port; in serial8250_interrupt() local
304 struct uart_port *port = &up->port; in univ8250_setup_timer() local
329 struct uart_port *port = &up->port; in univ8250_setup_irq() local
339 struct uart_port *port = &up->port; in univ8250_release_irq() local
352 struct uart_port *port = &up->port; in serial8250_request_rsa_resource() local
373 struct uart_port *port = &up->port; in serial8250_release_rsa_resource() local
606 struct uart_port *port; in univ8250_console_setup() local
640 struct uart_port *port; in univ8250_console_exit() local
787 struct uart_port *port = &up->port; in serial8250_suspend_port() local
811 struct uart_port *port = &up->port; in serial8250_resume_port() local
[all …]

12345678910>>...105