/openbmc/linux/drivers/pci/controller/ |
H A D | pci-xgene.c | 72 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 D | roce_gid_mgmt.c | 99 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 D | smipcie-main.c | 351 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 D | enetc_ierb.c | 29 #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 D | atmel_pio4.c | 19 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 D | ark3116.c | 124 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 D | metro-usb.c | 78 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 D | belkin_sa.c | 113 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 D | kobil_sct.c | 114 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 D | mos7840.c | 735 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 D | zfcp_erp.c | 109 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 D | ocelot_mrp.c | 91 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 D | ocelot_stats.c | 323 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 D | ocelot_net.c | 202 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 D | ocelot_mm.c | 52 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 D | ixp4xx_eth.c | 184 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 D | xusb.c | 477 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 D | pmac_zilog.c | 211 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 D | sparx5_switchdev.c | 55 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/linux/drivers/net/ethernet/sun/ |
H A D | ldmvsw.c | 72 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 D | clx.c | 38 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 D | hellcreek_hwtstamp.c | 18 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 D | class.c | 1268 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store() local 1289 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show() local 1373 struct typec_port *port = to_typec_port(dev); in preferred_role_store() local 1407 struct typec_port *port = to_typec_port(dev); in preferred_role_show() local 1423 struct typec_port *port = to_typec_port(dev); in data_role_store() local 1454 struct typec_port *port = to_typec_port(dev); in data_role_show() local 1468 struct typec_port *port = to_typec_port(dev); in power_role_store() local 1506 struct typec_port *port = to_typec_port(dev); in power_role_show() local 1520 struct typec_port *port = to_typec_port(dev); in port_type_store() local 1558 struct typec_port *port = to_typec_port(dev); in port_type_show() local [all …]
|
/openbmc/linux/drivers/net/dsa/xrs700x/ |
H A D | xrs700x.c | 86 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 …]
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | init.c | 116 static int fm_port_to_index(enum fm_port port) in fm_port_to_index() 152 void fm_disable_port(enum fm_port port) in fm_disable_port() 165 void fm_enable_port(enum fm_port port) in fm_enable_port() 176 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio() 186 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address() 202 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address() 216 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if() 231 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port()
|