Home
last modified time | relevance | path

Searched defs:port (Results 176 – 200 of 2623) sorted by relevance

12345678910>>...105

/openbmc/linux/drivers/pci/controller/
H A Dpci-xgene.c72 static u32 xgene_pcie_readl(struct xgene_pcie *port, u32 reg) in xgene_pcie_readl()
104 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_get_cfg_base() local
118 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_set_rtdid_reg() local
165 struct xgene_pcie *port = pcie_bus_to_port(bus); in xgene_pcie_config_read32() local
228 struct xgene_pcie *port; in xgene_pcie_ecam_init() local
308 static void xgene_pcie_linkup(struct xgene_pcie *port, in xgene_pcie_linkup()
323 static int xgene_pcie_init_port(struct xgene_pcie *port) in xgene_pcie_init_port()
343 static int xgene_pcie_map_reg(struct xgene_pcie *port, in xgene_pcie_map_reg()
404 static int xgene_pcie_map_ranges(struct xgene_pcie *port) in xgene_pcie_map_ranges()
562 static int xgene_pcie_setup(struct xgene_pcie *port) in xgene_pcie_setup()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Droce_gid_mgmt.c99 u32 port, union ib_gid *gid, in update_gid()
147 is_eth_port_of_netdev_filter(struct ib_device *ib_dev, u32 port, in is_eth_port_of_netdev_filter()
227 static bool pass_all_filter(struct ib_device *ib_dev, u32 port, in pass_all_filter()
284 u32 port, struct net_device *ndev, in update_gid_ip()
298 u32 port, in bond_delete_netdev_default_gids()
332 u32 port, struct net_device *ndev) in enum_netdev_ipv4_ips()
376 u32 port, struct net_device *ndev) in enum_netdev_ipv6_ips()
429 static void add_netdev_ips(struct ib_device *ib_dev, u32 port, in add_netdev_ips()
474 u32 port, in enum_all_gids_of_dev_cb()
519 u32 port, in callback_for_addr_gid_device_scan()
[all …]
/openbmc/linux/drivers/media/pci/smipcie/
H A Dsmipcie-main.c351 static void smi_port_dma_free(struct smi_port *port) in smi_port_dma_free()
438 static void smi_port_exit(struct smi_port *port) in smi_port_exit()
677 static int smi_fe_init(struct smi_port *port) in smi_fe_init()
720 static void smi_fe_exit(struct smi_port *port) in smi_fe_exit()
771 static u32 smi_config_DMA(struct smi_port *port) in smi_config_DMA()
817 struct smi_port *port = dvbdmx->priv; in smi_start_feed() local
834 struct smi_port *port = dvbdmx->priv; in smi_stop_feed() local
846 static int smi_dvb_init(struct smi_port *port) in smi_dvb_init()
890 static void smi_dvb_exit(struct smi_port *port) in smi_dvb_exit()
906 struct smi_port *port, int index) in smi_port_attach()
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ierb.c29 #define ENETC_IERB_TXMBAR(port) (((port) * 0x100) + 0x8080) argument
30 #define ENETC_IERB_RXMBER(port) (((port) * 0x100) + 0x8090) argument
31 #define ENETC_IERB_RXMBLR(port) (((port) * 0x100) + 0x8094) argument
32 #define ENETC_IERB_RXBCR(port) (((port) * 0x100) + 0x80a0) argument
33 #define ENETC_IERB_TXBCR(port) (((port) * 0x100) + 0x80a8) argument
51 int port = enetc_pf_to_port(pf_pdev); in enetc_ierb_register_pf() local
/openbmc/u-boot/drivers/gpio/
H A Datmel_pio4.c19 static struct atmel_pio4_port *atmel_pio4_port_base(u32 port) in atmel_pio4_port_base()
45 static int atmel_pio4_config_io_func(u32 port, u32 pin, in atmel_pio4_config_io_func()
68 int atmel_pio4_set_gpio(u32 port, u32 pin, u32 config) in atmel_pio4_set_gpio()
75 int atmel_pio4_set_a_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_a_periph()
82 int atmel_pio4_set_b_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_b_periph()
89 int atmel_pio4_set_c_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_c_periph()
96 int atmel_pio4_set_d_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_d_periph()
103 int atmel_pio4_set_e_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_e_periph()
110 int atmel_pio4_set_f_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_f_periph()
117 int atmel_pio4_set_g_periph(u32 port, u32 pin, u32 config) in atmel_pio4_set_g_periph()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c124 static int ark3116_port_probe(struct usb_serial_port *port) in ark3116_port_probe()
181 static void ark3116_port_remove(struct usb_serial_port *port) in ark3116_port_remove()
191 struct usb_serial_port *port, in ark3116_set_termios()
296 static void ark3116_close(struct usb_serial_port *port) in ark3116_close()
376 struct usb_serial_port *port = tty->driver_data; in ark3116_tiocmget() local
403 struct usb_serial_port *port = tty->driver_data; in ark3116_tiocmset() local
438 struct usb_serial_port *port = tty->driver_data; in ark3116_break_ctl() local
457 static void ark3116_update_msr(struct usb_serial_port *port, __u8 msr) in ark3116_update_msr()
480 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr()
504 struct usb_serial_port *port = urb->context; in ark3116_read_int_callback() local
[all …]
H A Dmetro-usb.c78 static int metrousb_send_unidirectional_cmd(u8 cmd, struct usb_serial_port *port) in metrousb_send_unidirectional_cmd()
109 struct usb_serial_port *port = urb->context; in metrousb_read_int_callback() local
163 static void metrousb_cleanup(struct usb_serial_port *port) in metrousb_cleanup()
170 static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) in metrousb_open()
244 static int metrousb_port_probe(struct usb_serial_port *port) in metrousb_port_probe()
259 static void metrousb_port_remove(struct usb_serial_port *port) in metrousb_port_remove()
269 struct usb_serial_port *port = tty->driver_data; in metrousb_throttle() local
282 struct usb_serial_port *port = tty->driver_data; in metrousb_tiocmget() local
296 struct usb_serial_port *port = tty->driver_data; in metrousb_tiocmset() local
324 struct usb_serial_port *port = tty->driver_data; in metrousb_unthrottle() local
H A Dbelkin_sa.c113 static int belkin_sa_port_probe(struct usb_serial_port *port) in belkin_sa_port_probe()
138 static void belkin_sa_port_remove(struct usb_serial_port *port) in belkin_sa_port_remove()
147 struct usb_serial_port *port) in belkin_sa_open()
164 static void belkin_sa_close(struct usb_serial_port *port) in belkin_sa_close()
172 struct usb_serial_port *port = urb->context; in belkin_sa_read_int_callback() local
237 struct usb_serial_port *port = urb->context; in belkin_sa_process_read_urb() local
277 struct usb_serial_port *port, in belkin_sa_set_termios()
404 struct usb_serial_port *port = tty->driver_data; in belkin_sa_break_ctl() local
419 struct usb_serial_port *port = tty->driver_data; in belkin_sa_tiocmget() local
434 struct usb_serial_port *port = tty->driver_data; in belkin_sa_tiocmset() local
H A Dkobil_sct.c114 static int kobil_port_probe(struct usb_serial_port *port) in kobil_port_probe()
147 static void kobil_port_remove(struct usb_serial_port *port) in kobil_port_remove()
165 static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port) in kobil_open()
256 static void kobil_close(struct usb_serial_port *port) in kobil_close()
267 struct usb_serial_port *port = urb->context; in kobil_read_int_callback() local
293 static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, in kobil_write()
371 struct usb_serial_port *port = tty->driver_data; in kobil_tiocmget() local
420 struct usb_serial_port *port = tty->driver_data; in kobil_tiocmset() local
478 struct usb_serial_port *port, in kobil_set_termios()
538 struct usb_serial_port *port = tty->driver_data; in kobil_ioctl() local
H A Dmos7840.c735 struct usb_serial_port *port = tty->driver_data; in mos7840_chars_in_buffer() local
792 struct usb_serial_port *port = tty->driver_data; in mos7840_break() local
817 struct usb_serial_port *port = tty->driver_data; in mos7840_write_room() local
939 struct usb_serial_port *port = tty->driver_data; in mos7840_throttle() local
968 struct usb_serial_port *port = tty->driver_data; in mos7840_unthrottle() local
992 struct usb_serial_port *port = tty->driver_data; in mos7840_tiocmget() local
1020 struct usb_serial_port *port = tty->driver_data; in mos7840_tiocmset() local
1334 struct usb_serial_port *port, in mos7840_set_termios()
1389 struct usb_serial_port *port = tty->driver_data; in mos7840_ioctl() local
1743 struct usb_serial_port *port; in mos7840_suspend() local
[all …]
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_erp.c109 struct zfcp_port *port; in zfcp_erp_action_dismiss_adapter() local
163 struct zfcp_port *port, in zfcp_erp_required_act()
216 struct zfcp_port *port, in zfcp_erp_setup_act()
283 struct zfcp_port *port, in zfcp_erp_action_enqueue()
648 struct zfcp_port *port; in zfcp_erp_port_forced_reopen_all() local
661 struct zfcp_port *port; in _zfcp_erp_port_reopen_all() local
733 struct zfcp_port *port; in zfcp_erp_enqueue_ptp_port() local
1031 struct zfcp_port *port = act->port; in zfcp_erp_open_ptp_port() local
1045 struct zfcp_port *port = act->port; in zfcp_erp_port_strategy_open_common() local
1695 struct zfcp_port *port; in zfcp_erp_set_adapter_status() local
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_mrp.c91 static int ocelot_mrp_trap_add(struct ocelot *ocelot, int port) in ocelot_mrp_trap_add()
99 static int ocelot_mrp_trap_del(struct ocelot *ocelot, int port) in ocelot_mrp_trap_del()
107 struct ocelot_port *port) in ocelot_mrp_save_mac()
116 struct ocelot_port *port) in ocelot_mrp_del_mac()
122 int ocelot_mrp_add(struct ocelot *ocelot, int port, in ocelot_mrp_add()
144 int ocelot_mrp_del(struct ocelot *ocelot, int port, in ocelot_mrp_del()
161 int ocelot_mrp_add_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_add_ring_role()
201 int ocelot_mrp_del_ring_role(struct ocelot *ocelot, int port, in ocelot_mrp_del_ring_role()
H A Docelot_stats.c323 static int ocelot_port_update_stats(struct ocelot *ocelot, int port) in ocelot_port_update_stats()
369 int port, err; in ocelot_check_stats_work() local
416 static void ocelot_port_stats_run(struct ocelot *ocelot, int port, void *priv, in ocelot_port_stats_run()
442 int ocelot_get_sset_count(struct ocelot *ocelot, int port, int sset) in ocelot_get_sset_count()
506 static void ocelot_port_mm_stats_cb(struct ocelot *ocelot, int port, in ocelot_port_mm_stats_cb()
520 void ocelot_port_get_pause_stats(struct ocelot *ocelot, int port, in ocelot_port_get_pause_stats()
543 void ocelot_port_get_mm_stats(struct ocelot *ocelot, int port, in ocelot_port_get_mm_stats()
619 void ocelot_port_get_rmon_stats(struct ocelot *ocelot, int port, in ocelot_port_get_rmon_stats()
761 void ocelot_port_get_eth_mac_stats(struct ocelot *ocelot, int port, in ocelot_port_get_eth_mac_stats()
801 void ocelot_port_get_eth_phy_stats(struct ocelot *ocelot, int port, in ocelot_port_get_eth_phy_stats()
[all …]
H A Docelot_net.c202 int port = priv->port.index; in ocelot_setup_tc_cls_flower() local
227 int port = priv->port.index; in ocelot_setup_tc_cls_matchall_police() local
307 int port = priv->port.index; in ocelot_del_tc_cls_matchall_police() local
328 int port = priv->port.index; in ocelot_del_tc_cls_matchall_mirred() local
498 int port = priv->port.index; in ocelot_vlan_vid_add() local
516 int port = priv->port.index; in ocelot_vlan_vid_del() local
559 int port = priv->port.index; in ocelot_port_xmit() local
725 int port = priv->port.index; in ocelot_get_stats64() local
739 int port = priv->port.index; in ocelot_port_fdb_add() local
752 int port = priv->port.index; in ocelot_port_fdb_del() local
[all …]
H A Docelot_mm.c52 void ocelot_port_update_active_preemptible_tcs(struct ocelot *ocelot, int port) in ocelot_port_update_active_preemptible_tcs()
90 void ocelot_port_change_fp(struct ocelot *ocelot, int port, in ocelot_port_change_fp()
105 static void ocelot_mm_update_port_status(struct ocelot *ocelot, int port) in ocelot_mm_update_port_status()
157 int port; in ocelot_mm_irq() local
168 int ocelot_port_set_mm(struct ocelot *ocelot, int port, in ocelot_port_set_mm()
234 int ocelot_port_get_mm(struct ocelot *ocelot, int port, in ocelot_port_get_mm()
276 int port; in ocelot_mm_init() local
/openbmc/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c184 struct port { struct
195 int id; /* logical port ID */ argument
196 int speed, duplex;
197 u8 firmware[4];
198 int hwts_tx_en;
199 int hwts_rx_en;
572 struct port *port = netdev_priv(dev); in ixp4xx_adjust_link() local
681 struct port *port = netdev_priv(dev); in eth_rx_irq() local
805 struct port *port; in eth_txdone_irq() local
846 struct port *port = netdev_priv(dev); in eth_xmit() local
[all …]
/openbmc/linux/drivers/phy/tegra/
H A Dxusb.c477 struct tegra_xusb_port *port; in tegra_xusb_find_port() local
499 struct tegra_xusb_port *port; in tegra_xusb_find_usb2_port() local
511 struct tegra_xusb_port *port; in tegra_xusb_find_usb3_port() local
743 struct tegra_xusb_port *port = &usb2->base; in tegra_xusb_usb2_port_parse_dt() local
845 struct tegra_xusb_port *port = &ulpi->base; in tegra_xusb_ulpi_port_parse_dt() local
1045 struct tegra_xusb_port *port, *tmp; in __tegra_xusb_remove_ports() local
1107 struct tegra_xusb_port *port; in tegra_xusb_setup_ports() local
1373 unsigned int port) in tegra_xusb_padctl_usb3_save_context()
1383 unsigned int port, bool idle) in tegra_xusb_padctl_hsic_set_idle()
1449 unsigned int port, bool enable) in tegra_xusb_padctl_usb3_set_lfps_detect()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dpmac_zilog.c211 struct tty_port *port; in pmz_receive_chars() local
577 static void pmz_stop_tx(struct uart_port *port) in pmz_stop_tx()
586 static void pmz_start_tx(struct uart_port *port) in pmz_start_tx()
628 static void pmz_stop_rx(struct uart_port *port) in pmz_stop_rx()
641 static void pmz_enable_ms(struct uart_port *port) in pmz_enable_ms()
873 static int pmz_startup(struct uart_port *port) in pmz_startup()
917 static void pmz_shutdown(struct uart_port *port) in pmz_shutdown()
1251 static const char *pmz_type(struct uart_port *port) in pmz_type()
1265 static void pmz_release_port(struct uart_port *port) in pmz_release_port()
1269 static int pmz_request_port(struct uart_port *port) in pmz_request_port()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c55 static void sparx5_attr_stp_state_set(struct sparx5_port *port, in sparx5_attr_stp_state_set()
129 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_attr_set() local
165 static int sparx5_port_bridge_join(struct sparx5_port *port, in sparx5_port_bridge_join()
205 static void sparx5_port_bridge_leave(struct sparx5_port *port, in sparx5_port_bridge_leave()
231 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_changeupper() local
252 struct sparx5_port *port = netdev_priv(dev); in sparx5_port_add_addr() local
305 struct sparx5_port *port; in sparx5_switchdev_bridge_fdb_event_work() local
413 struct sparx5_port *port = netdev_priv(dev); in sparx5_handle_port_vlan_add() local
517 struct sparx5_port *port = netdev_priv(dev); in sparx5_handle_port_mdb_add() local
574 struct sparx5_port *port = netdev_priv(dev); in sparx5_handle_port_mdb_del() local
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-hub.c40 USBPort port; member
230 USBHubPort *port = &s->ports[port1->index]; in usb_hub_attach() local
240 USBHubPort *port = &s->ports[port1->index]; in usb_hub_detach() local
265 USBHubPort *port = &s->ports[port1->index]; in usb_hub_wakeup() local
292 USBHubPort *port; in usb_hub_find_device() local
312 USBHubPort *port; in usb_hub_handle_reset() local
380 USBHubPort *port; in usb_hub_handle_control() local
404 USBHubPort *port; in usb_hub_handle_control() local
443 USBHubPort *port; in usb_hub_handle_control() local
531 USBHubPort *port; in usb_hub_handle_data() local
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dldmvsw.c72 struct vnet_port *port = netdev_priv(dev); in vsw_get_msglevel() local
79 struct vnet_port *port = netdev_priv(dev); in vsw_set_msglevel() local
98 struct vnet_port *port = netdev_priv(dev); in vsw_tx_port_find() local
106 struct vnet_port *port = netdev_priv(dev); in vsw_select_queue() local
122 struct vnet_port *port = netdev_priv(dev); in vsw_set_rx_mode() local
129 struct vnet_port *port = netdev_priv(dev); in ldmvsw_open() local
143 struct vnet_port *port = netdev_priv(dev); in vsw_poll_controller() local
231 struct vnet_port *port; in vsw_alloc_netdev() local
278 struct vnet_port *port; in vsw_port_probe() local
407 struct vnet_port *port = dev_get_drvdata(&vdev->dev); in vsw_port_remove() local
/openbmc/linux/drivers/thunderbolt/
H A Dclx.c38 static int tb_port_pm_secondary_set(struct tb_port *port, bool secondary) in tb_port_pm_secondary_set()
57 static int tb_port_pm_secondary_enable(struct tb_port *port) in tb_port_pm_secondary_enable()
62 static int tb_port_pm_secondary_disable(struct tb_port *port) in tb_port_pm_secondary_disable()
68 static bool tb_port_clx_supported(struct tb_port *port, unsigned int clx) in tb_port_clx_supported()
103 static int tb_port_clx_set(struct tb_port *port, unsigned int clx, bool enable) in tb_port_clx_set()
132 static int tb_port_clx_disable(struct tb_port *port, unsigned int clx) in tb_port_clx_disable()
137 static int tb_port_clx_enable(struct tb_port *port, unsigned int clx) in tb_port_clx_enable()
142 static int tb_port_clx(struct tb_port *port) in tb_port_clx()
172 bool tb_port_clx_is_enabled(struct tb_port *port, unsigned int clx) in tb_port_clx_is_enabled()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c18 int hellcreek_get_ts_info(struct dsa_switch *ds, int port, in hellcreek_get_ts_info()
42 static int hellcreek_set_hwtstamp_config(struct hellcreek *hellcreek, int port, in hellcreek_set_hwtstamp_config()
112 int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port, in hellcreek_port_hwtstamp_set()
136 int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port, in hellcreek_port_hwtstamp_get()
154 int port, struct sk_buff *skb, in hellcreek_should_tstamp()
214 struct hellcreek_port_hwtstamp *ps, int port) in hellcreek_txtstamp_work()
295 int port) in hellcreek_get_rxts()
333 int port) in hellcreek_rxtstamp_work()
365 void hellcreek_port_txtstamp(struct dsa_switch *ds, int port, in hellcreek_port_txtstamp()
408 bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port, in hellcreek_port_rxtstamp()
[all …]
/openbmc/linux/drivers/usb/typec/
H A Dclass.c1265 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store() local
1286 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show() local
1370 struct typec_port *port = to_typec_port(dev); in preferred_role_store() local
1404 struct typec_port *port = to_typec_port(dev); in preferred_role_show() local
1420 struct typec_port *port = to_typec_port(dev); in data_role_store() local
1451 struct typec_port *port = to_typec_port(dev); in data_role_show() local
1465 struct typec_port *port = to_typec_port(dev); in power_role_store() local
1503 struct typec_port *port = to_typec_port(dev); in power_role_show() local
1517 struct typec_port *port = to_typec_port(dev); in port_type_store() local
1555 struct typec_port *port = to_typec_port(dev); in port_type_show() local
[all …]
/openbmc/linux/drivers/net/dsa/xrs700x/
H A Dxrs700x.c86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings()
174 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64()
229 int port, in xrs700x_get_tag_protocol()
385 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup()
469 static void xrs700x_mac_link_up(struct dsa_switch *ds, int port, in xrs700x_mac_link_up()
498 static int xrs700x_bridge_common(struct dsa_switch *ds, int port, in xrs700x_bridge_common()
537 static int xrs700x_bridge_join(struct dsa_switch *ds, int port, in xrs700x_bridge_join()
544 static void xrs700x_bridge_leave(struct dsa_switch *ds, int port, in xrs700x_bridge_leave()
550 static int xrs700x_hsr_join(struct dsa_switch *ds, int port, in xrs700x_hsr_join()
642 static int xrs700x_hsr_leave(struct dsa_switch *ds, int port, in xrs700x_hsr_leave()
[all …]

12345678910>>...105