local_port 1274 drivers/infiniband/core/cma.c __be16 local_port) local_port 1280 drivers/infiniband/core/cma.c .sin_port = local_port, local_port 1296 drivers/infiniband/core/cma.c __be16 local_port) local_port 1302 drivers/infiniband/core/cma.c .sin6_port = local_port, local_port 335 drivers/infiniband/hw/cxgb3/iwch_cm.c __be32 peer_ip, __be16 local_port, local_port 342 drivers/infiniband/hw/cxgb3/iwch_cm.c peer_port, local_port, IPPROTO_TCP, local_port 459 drivers/infiniband/hw/cxgb3/iwch_cm.c req->local_port = ep->com.local_addr.sin_port; local_port 1209 drivers/infiniband/hw/cxgb3/iwch_cm.c req->local_port = ep->com.local_addr.sin_port; local_port 1365 drivers/infiniband/hw/cxgb3/iwch_cm.c req->local_port, local_port 1389 drivers/infiniband/hw/cxgb3/iwch_cm.c child_ep->com.local_addr.sin_port = req->local_port; local_port 851 drivers/infiniband/hw/cxgb4/cm.c req->local_port = la->sin_port; local_port 901 drivers/infiniband/hw/cxgb4/cm.c req6->local_port = la6->sin6_port; local_port 2522 drivers/infiniband/hw/cxgb4/cm.c __be16 local_port, peer_port; local_port 2548 drivers/infiniband/hw/cxgb4/cm.c &iptype, local_ip, peer_ip, &local_port, &peer_port); local_port 2554 drivers/infiniband/hw/cxgb4/cm.c local_ip, peer_ip, ntohs(local_port), local_port 2558 drivers/infiniband/hw/cxgb4/cm.c local_port, peer_port, tos); local_port 2562 drivers/infiniband/hw/cxgb4/cm.c local_ip, peer_ip, ntohs(local_port), local_port 2565 drivers/infiniband/hw/cxgb4/cm.c local_ip, peer_ip, local_port, peer_port, local_port 2610 drivers/infiniband/hw/cxgb4/cm.c sin->sin_port = local_port; local_port 2626 drivers/infiniband/hw/cxgb4/cm.c sin6->sin6_port = local_port; local_port 194 drivers/infiniband/hw/mlx5/cmd.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 52 drivers/infiniband/hw/qedr/qedr_iw_cm.c laddr->sin_port = htons(cm_info->local_port); local_port 71 drivers/infiniband/hw/qedr/qedr_iw_cm.c laddr6->sin6_port = htons(cm_info->local_port); local_port 584 drivers/infiniband/hw/qedr/qedr_iw_cm.c cm_info->local_port = ntohs(laddr->sin_port); local_port 603 drivers/infiniband/hw/qedr/qedr_iw_cm.c cm_info->local_port = ntohs(laddr6->sin6_port); local_port 102 drivers/media/platform/xilinx/xilinx-vipp.c if (link.local_port >= local->num_pads) { local_port 104 drivers/media/platform/xilinx/xilinx-vipp.c link.local_port, link.local_node); local_port 110 drivers/media/platform/xilinx/xilinx-vipp.c local_pad = &local->pads[link.local_port]; local_port 114 drivers/media/platform/xilinx/xilinx-vipp.c link.local_node, link.local_port); local_port 122 drivers/media/platform/xilinx/xilinx-vipp.c link.local_node, link.local_port); local_port 217 drivers/media/platform/xilinx/xilinx-vipp.c dma = xvip_graph_find_dma(xdev, link.local_port); local_port 220 drivers/media/platform/xilinx/xilinx-vipp.c link.local_port); local_port 568 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_property_read_u32(fwnode, port_prop, &link->local_port); local_port 3764 drivers/net/ethernet/broadcom/cnic.c __be16 local_port; local_port 3785 drivers/net/ethernet/broadcom/cnic.c local_port = saddr->local.v6.sin6_port; local_port 3792 drivers/net/ethernet/broadcom/cnic.c local_port = saddr->local.v4.sin_port; local_port 3805 drivers/net/ethernet/broadcom/cnic.c port_id = be16_to_cpu(local_port); local_port 3819 drivers/net/ethernet/broadcom/cnic.c local_port = cpu_to_be16(port_id); local_port 3821 drivers/net/ethernet/broadcom/cnic.c csk->src_port = local_port; local_port 4391 drivers/net/ethernet/broadcom/cnic_defs.h u16 local_port; local_port 4393 drivers/net/ethernet/broadcom/cnic_defs.h u16 local_port; local_port 196 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 208 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 218 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 231 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 262 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 274 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 285 drivers/net/ethernet/chelsio/cxgb/cpl5_cmd.h u16 local_port; local_port 481 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 493 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 503 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 540 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 578 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 619 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 630 drivers/net/ethernet/chelsio/cxgb3/t3_cpl.h __be16 local_port; local_port 1020 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c req->local_port = cpu_to_be16(f->fs.val.lport); local_port 1061 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c req->local_port = cpu_to_be16(f->fs.val.lport); local_port 1543 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c req->local_port = sport; local_port 1584 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c req->local_port = sport; local_port 313 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 361 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 505 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 521 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 534 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 549 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 563 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 578 drivers/net/ethernet/chelsio/cxgb4/t4_msg.h __be16 local_port; local_port 43 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c __be16 *local_port, __be16 *peer_port) local_port 72 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c *local_port = tcp->dest; local_port 93 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c __be32 local_ip, __be32 peer_ip, __be16 local_port, local_port 101 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c peer_port, local_port, IPPROTO_TCP, local_port 122 drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c __u8 *local_ip, __u8 *peer_ip, __be16 local_port, local_port 752 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.local_port = priv->port; local_port 940 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ptys_reg.local_port = priv->port; local_port 3008 drivers/net/ethernet/mellanox/mlx4/fw.c ptys_reg->local_port = local_port 3010 drivers/net/ethernet/mellanox/mlx4/fw.c ptys_reg->local_port); local_port 145 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(ptys_reg, in, local_port, 1); local_port 248 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pbmc_reg, in, local_port, 1); local_port 265 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pbmc_reg, in, local_port, 1); local_port 289 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); local_port 322 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); local_port 328 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pptb_reg, in, local_port, 1); local_port 458 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); local_port 485 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); local_port 520 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, in, local_port, 1); local_port 525 drivers/net/ethernet/mellanox/mlx5/core/en/port.c MLX5_SET(pplm_reg, out, local_port, 1); local_port 598 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 649 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 713 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 814 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 880 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 1332 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c MLX5_SET(ppcnt_reg, in, local_port, 1); local_port 52 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, local_port, 1); local_port 67 drivers/net/ethernet/mellanox/mlx5/core/lib/port_tun.c MLX5_SET(pcmr_reg, in, local_port, 1); local_port 135 drivers/net/ethernet/mellanox/mlx5/core/port.c int ptys_size, int proto_mask, u8 local_port) local_port 139 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ptys_reg, in, local_port, local_port); local_port 151 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(mlcr_reg, in, local_port, 1); local_port 158 drivers/net/ethernet/mellanox/mlx5/core/port.c u8 *link_width_oper, u8 local_port) local_port 163 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_query_port_ptys(dev, out, sizeof(out), MLX5_PTYS_IB, local_port); local_port 174 drivers/net/ethernet/mellanox/mlx5/core/port.c u8 *proto_oper, u8 local_port) local_port 180 drivers/net/ethernet/mellanox/mlx5/core/port.c local_port); local_port 208 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, local_port, 1); local_port 223 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(paos_reg, in, local_port, 1); local_port 239 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmtu_reg, in, local_port, port); local_port 257 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmtu_reg, in, local_port, port); local_port 284 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pmlp_reg, in, local_port, 1); local_port 375 drivers/net/ethernet/mellanox/mlx5/core/port.c int pvlc_size, u8 local_port) local_port 379 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pvlc_reg, in, local_port, local_port); local_port 385 drivers/net/ethernet/mellanox/mlx5/core/port.c u8 *vl_hw_cap, u8 local_port) local_port 390 drivers/net/ethernet/mellanox/mlx5/core/port.c err = mlx5_query_port_pvlc(dev, out, sizeof(out), local_port); local_port 412 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(ppcnt_reg, in, local_port, port_num); local_port 428 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); local_port 439 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); local_port 475 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); local_port 516 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pfcc_reg, in, local_port, 1); local_port 795 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcmr_reg, in, local_port, 1); local_port 816 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(pcmr_reg, in, local_port, 1); local_port 893 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpts_reg, in, local_port, 1); local_port 907 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpts_reg, in, local_port, 1); local_port 932 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); local_port 938 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); local_port 970 drivers/net/ethernet/mellanox/mlx5/core/port.c MLX5_SET(qpdpm_reg, in, local_port, 1); local_port 47 drivers/net/ethernet/mellanox/mlxsw/core.c u8 local_port; local_port 540 drivers/net/ethernet/mellanox/mlxsw/core.c static void mlxsw_emad_rx_listener_func(struct sk_buff *skb, u8 local_port, local_port 667 drivers/net/ethernet/mellanox/mlxsw/core.c trans->tx_info.local_port = MLXSW_PORT_CPU_PORT; local_port 818 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_port->local_port, local_port 1312 drivers/net/ethernet/mellanox/mlxsw/core.c struct sk_buff *skb, u8 local_port) local_port 1316 drivers/net/ethernet/mellanox/mlxsw/core.c local_port); local_port 1324 drivers/net/ethernet/mellanox/mlxsw/core.c rxl_a->local_port == rxl_b->local_port && local_port 1378 drivers/net/ethernet/mellanox/mlxsw/core.c static void mlxsw_core_event_listener_func(struct sk_buff *skb, u8 local_port, local_port 1424 drivers/net/ethernet/mellanox/mlxsw/core.c .local_port = MLXSW_PORT_DONT_CARE, local_port 1461 drivers/net/ethernet/mellanox/mlxsw/core.c .local_port = MLXSW_PORT_DONT_CARE, local_port 1770 drivers/net/ethernet/mellanox/mlxsw/core.c u8 local_port; local_port 1780 drivers/net/ethernet/mellanox/mlxsw/core.c local_port = mlxsw_core_lag_mapping_get(mlxsw_core, local_port 1784 drivers/net/ethernet/mellanox/mlxsw/core.c local_port = rx_info->u.sys_port; local_port 1788 drivers/net/ethernet/mellanox/mlxsw/core.c __func__, local_port, rx_info->trap_id); local_port 1791 drivers/net/ethernet/mellanox/mlxsw/core.c (local_port >= mlxsw_core->max_ports)) local_port 1797 drivers/net/ethernet/mellanox/mlxsw/core.c if ((rxl->local_port == MLXSW_PORT_DONT_CARE || local_port 1798 drivers/net/ethernet/mellanox/mlxsw/core.c rxl->local_port == local_port) && local_port 1808 drivers/net/ethernet/mellanox/mlxsw/core.c rxl->func(skb, local_port, rxl_item->priv); local_port 1824 drivers/net/ethernet/mellanox/mlxsw/core.c u16 lag_id, u8 port_index, u8 local_port) local_port 1829 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core->lag.mapping[index] = local_port; local_port 1844 drivers/net/ethernet/mellanox/mlxsw/core.c u16 lag_id, u8 local_port) local_port 1852 drivers/net/ethernet/mellanox/mlxsw/core.c if (mlxsw_core->lag.mapping[index] == local_port) local_port 1872 drivers/net/ethernet/mellanox/mlxsw/core.c static int __mlxsw_core_port_init(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1881 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 1885 drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_port->local_port = local_port; local_port 1889 drivers/net/ethernet/mellanox/mlxsw/core.c err = devlink_port_register(devlink, devlink_port, local_port); local_port 1895 drivers/net/ethernet/mellanox/mlxsw/core.c static void __mlxsw_core_port_fini(struct mlxsw_core *mlxsw_core, u8 local_port) local_port 1898 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 1905 drivers/net/ethernet/mellanox/mlxsw/core.c int mlxsw_core_port_init(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1911 drivers/net/ethernet/mellanox/mlxsw/core.c return __mlxsw_core_port_init(mlxsw_core, local_port, local_port 1918 drivers/net/ethernet/mellanox/mlxsw/core.c void mlxsw_core_port_fini(struct mlxsw_core *mlxsw_core, u8 local_port) local_port 1920 drivers/net/ethernet/mellanox/mlxsw/core.c __mlxsw_core_port_fini(mlxsw_core, local_port); local_port 1951 drivers/net/ethernet/mellanox/mlxsw/core.c void mlxsw_core_port_eth_set(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1955 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 1963 drivers/net/ethernet/mellanox/mlxsw/core.c void mlxsw_core_port_ib_set(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1967 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 1975 drivers/net/ethernet/mellanox/mlxsw/core.c void mlxsw_core_port_clear(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1979 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 1988 drivers/net/ethernet/mellanox/mlxsw/core.c u8 local_port) local_port 1991 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 2001 drivers/net/ethernet/mellanox/mlxsw/core.c u8 local_port) local_port 2004 drivers/net/ethernet/mellanox/mlxsw/core.c &mlxsw_core->ports[local_port]; local_port 43 drivers/net/ethernet/mellanox/mlxsw/core.h u8 local_port; local_port 52 drivers/net/ethernet/mellanox/mlxsw/core.h struct sk_buff *skb, u8 local_port); local_port 55 drivers/net/ethernet/mellanox/mlxsw/core.h void (*func)(struct sk_buff *skb, u8 local_port, void *priv); local_port 56 drivers/net/ethernet/mellanox/mlxsw/core.h u8 local_port; local_port 87 drivers/net/ethernet/mellanox/mlxsw/core.h .local_port = MLXSW_PORT_DONT_CARE, \ local_port 167 drivers/net/ethernet/mellanox/mlxsw/core.h u16 lag_id, u8 port_index, u8 local_port); local_port 171 drivers/net/ethernet/mellanox/mlxsw/core.h u16 lag_id, u8 local_port); local_port 174 drivers/net/ethernet/mellanox/mlxsw/core.h int mlxsw_core_port_init(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 179 drivers/net/ethernet/mellanox/mlxsw/core.h void mlxsw_core_port_fini(struct mlxsw_core *mlxsw_core, u8 local_port); local_port 185 drivers/net/ethernet/mellanox/mlxsw/core.h void mlxsw_core_port_eth_set(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 187 drivers/net/ethernet/mellanox/mlxsw/core.h void mlxsw_core_port_ib_set(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 189 drivers/net/ethernet/mellanox/mlxsw/core.h void mlxsw_core_port_clear(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 192 drivers/net/ethernet/mellanox/mlxsw/core.h u8 local_port); local_port 195 drivers/net/ethernet/mellanox/mlxsw/core.h u8 local_port); local_port 258 drivers/net/ethernet/mellanox/mlxsw/core.h int (*port_type_set)(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 260 drivers/net/ethernet/mellanox/mlxsw/core.h int (*port_split)(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 262 drivers/net/ethernet/mellanox/mlxsw/core.h int (*port_unsplit)(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 323 drivers/net/ethernet/mellanox/mlxsw/core.h struct sk_buff *skb, u8 local_port); local_port 107 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c u8 local_port; local_port 466 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c mlxsw_afa_fwd_entry_create(struct mlxsw_afa *mlxsw_afa, u8 local_port) local_port 474 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c fwd_entry->ht_key.local_port = local_port; local_port 485 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c local_port); local_port 509 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c mlxsw_afa_fwd_entry_get(struct mlxsw_afa *mlxsw_afa, u8 local_port) local_port 514 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c ht_key.local_port = local_port; local_port 521 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c return mlxsw_afa_fwd_entry_create(mlxsw_afa, local_port); local_port 558 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c mlxsw_afa_fwd_entry_ref_create(struct mlxsw_afa_block *block, u8 local_port) local_port 567 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c fwd_entry = mlxsw_afa_fwd_entry_get(block->afa, local_port); local_port 1001 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c u8 local_port, bool in_port, local_port 1013 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c fwd_entry_ref = mlxsw_afa_fwd_entry_ref_create(block, local_port); local_port 19 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h int (*kvdl_fwd_entry_add)(void *priv, u32 *p_kvdl_index, u8 local_port); local_port 55 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h u8 local_port, bool in_port, local_port 793 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c struct mlxsw_thermal *thermal, u8 local_port) local_port 800 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_reg_pmlp_pack(pmlp_pl, local_port); local_port 33 drivers/net/ethernet/mellanox/mlxsw/minimal.c u8 local_port; local_port 61 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port->local_port); local_port 114 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port_module_info_get(struct mlxsw_m *mlxsw_m, u8 local_port, local_port 120 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_reg_pmlp_pack(pmlp_pl, local_port); local_port 152 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port_create(struct mlxsw_m *mlxsw_m, u8 local_port, u8 module) local_port 158 drivers/net/ethernet/mellanox/mlxsw/minimal.c err = mlxsw_core_port_init(mlxsw_m->core, local_port, local_port 164 drivers/net/ethernet/mellanox/mlxsw/minimal.c local_port); local_port 178 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port->local_port = local_port; local_port 187 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port->local_port); local_port 192 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = mlxsw_m_port; local_port 196 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m_port->local_port); local_port 200 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_core_port_eth_set(mlxsw_m->core, mlxsw_m_port->local_port, local_port 206 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = NULL; local_port 210 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_core_port_fini(mlxsw_m->core, local_port); local_port 214 drivers/net/ethernet/mellanox/mlxsw/minimal.c static void mlxsw_m_port_remove(struct mlxsw_m *mlxsw_m, u8 local_port) local_port 216 drivers/net/ethernet/mellanox/mlxsw/minimal.c struct mlxsw_m_port *mlxsw_m_port = mlxsw_m->ports[local_port]; local_port 218 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_core_port_clear(mlxsw_m->core, local_port, mlxsw_m); local_port 220 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_m->ports[local_port] = NULL; local_port 222 drivers/net/ethernet/mellanox/mlxsw/minimal.c mlxsw_core_port_fini(mlxsw_m->core, local_port); local_port 225 drivers/net/ethernet/mellanox/mlxsw/minimal.c static int mlxsw_m_port_module_map(struct mlxsw_m *mlxsw_m, u8 local_port, local_port 232 drivers/net/ethernet/mellanox/mlxsw/minimal.c err = mlxsw_m_port_module_info_get(mlxsw_m, local_port, &module, local_port 527 drivers/net/ethernet/mellanox/mlxsw/pci.c tx_info.local_port); local_port 1551 drivers/net/ethernet/mellanox/mlxsw/pci.c u8 sdqn = tx_info->local_port % mlxsw_pci_sdq_count(mlxsw_pci); local_port 144 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sspr, local_port, 0x00, 16, 8); local_port 164 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_sspr_pack(char *payload, u8 local_port) local_port 168 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sspr_local_port_set(payload, local_port); local_port 170 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sspr_system_port_set(payload, local_port); local_port 410 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port) local_port 417 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sfd_uc_system_port_set(payload, rec_index, local_port); local_port 784 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spms, local_port, 0x00, 16, 8); local_port 803 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spms_pack(char *payload, u8 local_port) local_port 806 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spms_local_port_set(payload, local_port); local_port 828 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spvid, local_port, 0x00, 16, 8); local_port 843 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spvid_pack(char *payload, u8 local_port, u16 pvid) local_port 846 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spvid_local_port_set(payload, local_port); local_port 884 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spvm, local_port, 0x00, 16, 8); local_port 932 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spvm_pack(char *payload, u8 local_port, local_port 940 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spvm_local_port_set(payload, local_port); local_port 967 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spaft, local_port, 0x00, 16, 8); local_port 994 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spaft_pack(char *payload, u8 local_port, local_port 998 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spaft_local_port_set(payload, local_port); local_port 1320 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port) local_port 1326 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sldr_system_port_set(payload, 0, local_port); local_port 1330 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port) local_port 1336 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sldr_system_port_set(payload, 0, local_port); local_port 1370 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, slcr, local_port, 0x00, 16, 8); local_port 1488 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, slcor, local_port, 0x00, 16, 8); local_port 1504 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 lag_id, local_port 1509 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_slcor_local_port_set(payload, local_port); local_port 1514 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 lag_id, local_port 1517 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_slcor_pack(payload, local_port, lag_id, local_port 1523 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 lag_id) local_port 1525 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_slcor_pack(payload, local_port, lag_id, local_port 1530 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 lag_id) local_port 1532 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_slcor_pack(payload, local_port, lag_id, local_port 1537 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 lag_id) local_port 1539 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_slcor_pack(payload, local_port, lag_id, local_port 1556 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spmlr, local_port, 0x00, 16, 8); local_port 1584 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spmlr_pack(char *payload, u8 local_port, local_port 1588 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spmlr_local_port_set(payload, local_port); local_port 1615 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, svfa, local_port, 0x00, 16, 8); local_port 1669 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_svfa_pack(char *payload, u8 local_port, local_port 1674 drivers/net/ethernet/mellanox/mlxsw/reg.h local_port = mt == MLXSW_REG_SVFA_MT_VID_TO_FID ? 0 : local_port; local_port 1676 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_svfa_local_port_set(payload, local_port); local_port 1698 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, svpe, local_port, 0x00, 16, 8); local_port 1708 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_svpe_pack(char *payload, u8 local_port, local_port 1712 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_svpe_local_port_set(payload, local_port); local_port 1818 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, spvmlr, local_port, 0x00, 16, 8); local_port 1841 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_spvmlr_pack(char *payload, u8 local_port, local_port 1851 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_spvmlr_local_port_set(payload, local_port); local_port 1876 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, cwtp, local_port, 0, 16, 8); local_port 1910 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_cwtp_pack(char *payload, u8 local_port, local_port 1916 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtp_local_port_set(payload, local_port); local_port 1954 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, cwtpm, local_port, 0, 16, 8); local_port 2028 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_cwtpm_pack(char *payload, u8 local_port, local_port 2033 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_cwtpm_local_port_set(payload, local_port); local_port 2100 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppbt, local_port, 0x00, 16, 8); local_port 2119 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port, u16 acl_info) local_port 2124 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ppbt_local_port_set(payload, local_port); local_port 3250 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qpts, local_port, 0x00, 16, 8); local_port 3263 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qpts_pack(char *payload, u8 local_port, local_port 3268 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpts_local_port_set(payload, local_port); local_port 3428 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qtct, local_port, 0x00, 16, 8); local_port 3453 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qtct_pack(char *payload, u8 local_port, local_port 3457 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qtct_local_port_set(payload, local_port); local_port 3477 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qeec, local_port, 0x00, 16, 8); local_port 3605 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qeec_pack(char *payload, u8 local_port, local_port 3610 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qeec_local_port_set(payload, local_port); local_port 3616 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qeec_ptps_pack(char *payload, u8 local_port, local_port 3620 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qeec_local_port_set(payload, local_port); local_port 3641 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qrwe, local_port, 0x00, 16, 8); local_port 3655 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qrwe_pack(char *payload, u8 local_port, local_port 3659 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qrwe_local_port_set(payload, local_port); local_port 3682 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qpdsm, local_port, 0x00, 16, 8); local_port 3735 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qpdsm_pack(char *payload, u8 local_port) local_port 3738 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdsm_local_port_set(payload, local_port); local_port 3771 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qpdpm, local_port, 0x00, 16, 8); local_port 3790 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_qpdpm_pack(char *payload, u8 local_port) local_port 3793 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qpdpm_local_port_set(payload, local_port); local_port 3822 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, qtctm, local_port, 0x00, 16, 8); local_port 3832 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qtctm_pack(char *payload, u8 local_port, bool mc) local_port 3835 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_qtctm_local_port_set(payload, local_port); local_port 3965 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmlp, local_port, 0x00, 16, 8); local_port 3995 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pmlp_pack(char *payload, u8 local_port) local_port 3998 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pmlp_local_port_set(payload, local_port); local_port 4014 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pmtu, local_port, 0x00, 16, 8); local_port 4042 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pmtu_pack(char *payload, u8 local_port, local_port 4046 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pmtu_local_port_set(payload, local_port); local_port 4076 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ptys, local_port, 0x00, 16, 8); local_port 4240 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ptys_eth_pack(char *payload, u8 local_port, local_port 4244 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptys_local_port_set(payload, local_port); local_port 4250 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ptys_ext_eth_pack(char *payload, u8 local_port, local_port 4254 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptys_local_port_set(payload, local_port); local_port 4292 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ptys_ib_pack(char *payload, u8 local_port, local_port 4296 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ptys_local_port_set(payload, local_port); local_port 4340 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppad, local_port, 0x00, 16, 8); local_port 4350 drivers/net/ethernet/mellanox/mlxsw/reg.h u8 local_port) local_port 4354 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ppad_local_port_set(payload, local_port); local_port 4379 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, paos, local_port, 0x00, 16, 8); local_port 4424 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_paos_pack(char *payload, u8 local_port, local_port 4429 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_paos_local_port_set(payload, local_port); local_port 4450 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pfcc, local_port, 0x00, 16, 8); local_port 4567 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pfcc_pack(char *payload, u8 local_port) local_port 4570 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pfcc_local_port_set(payload, local_port); local_port 4600 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ppcnt, local_port, 0x00, 16, 8); local_port 5066 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_ppcnt_pack(char *payload, u8 local_port, local_port 5072 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ppcnt_local_port_set(payload, local_port); local_port 5092 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, plib, local_port, 0x00, 16, 8); local_port 5130 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pptb, local_port, 0x00, 16, 8); local_port 5177 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pptb_pack(char *payload, u8 local_port) local_port 5181 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pptb_local_port_set(payload, local_port); local_port 5207 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pbmc, local_port, 0x00, 16, 8); local_port 5274 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pbmc_pack(char *payload, u8 local_port, local_port 5278 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pbmc_local_port_set(payload, local_port); local_port 5323 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pspa, local_port, 0x00, 16, 8); local_port 5332 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pspa_pack(char *payload, u8 swid, u8 local_port) local_port 5336 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pspa_local_port_set(payload, local_port); local_port 5353 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pplr, local_port, 0x00, 16, 8); local_port 5366 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_pplr_pack(char *payload, u8 local_port, local_port 5370 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pplr_local_port_set(payload, local_port); local_port 8682 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mpar, local_port, 0x00, 16, 8); local_port 8708 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_mpar_pack(char *payload, u8 local_port, local_port 8713 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_mpar_local_port_set(payload, local_port); local_port 8810 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mlcr, local_port, 0x00, 16, 8); local_port 8829 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_mlcr_pack(char *payload, u8 local_port, local_port 8833 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_mlcr_local_port_set(payload, local_port); local_port 9169 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mpsc, local_port, 0x00, 16, 8); local_port 9186 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_mpsc_pack(char *payload, u8 local_port, bool e, local_port 9190 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_mpsc_local_port_set(payload, local_port); local_port 9379 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, mtpptr, local_port, 0x00, 16, 8); local_port 9867 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, tnqdr, local_port, 0x00, 16, 8); local_port 9875 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_tnqdr_pack(char *payload, u8 local_port) local_port 9878 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_tnqdr_local_port_set(payload, local_port); local_port 10124 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sbcm, local_port, 0x00, 16, 8); local_port 10178 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_sbcm_pack(char *payload, u8 local_port, u8 pg_buff, local_port 10184 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sbcm_local_port_set(payload, local_port); local_port 10210 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sbpm, local_port, 0x00, 16, 8); local_port 10264 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_sbpm_pack(char *payload, u8 local_port, u8 pool, local_port 10269 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sbpm_local_port_set(payload, local_port); local_port 10449 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, sbib, local_port, 0x00, 16, 8); local_port 10459 drivers/net/ethernet/mellanox/mlxsw/reg.h static inline void mlxsw_reg_sbib_pack(char *payload, u8 local_port, local_port 10463 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_sbib_local_port_set(payload, local_port); local_port 10622 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pude, local_port, 0x00, 16, 8); local_port 163 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port); local_port 169 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port); local_port 533 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); local_port 564 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port); local_port 590 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_mpsc_pack(mpsc_pl, mlxsw_sp_port->local_port, enable, rate); local_port 600 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_paos_pack(paos_pl, mlxsw_sp_port->local_port, local_port 612 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_ppad_pack(ppad_pl, true, mlxsw_sp_port->local_port); local_port 623 drivers/net/ethernet/mellanox/mlxsw/spectrum.c addr[ETH_ALEN - 1] += mlxsw_sp_port->local_port; local_port 635 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, 0); local_port 644 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sp_port->local_port, mtu); local_port 653 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pspa_pack(pspa_pl, swid, mlxsw_sp_port->local_port); local_port 662 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_svpe_pack(svpe_pl, mlxsw_sp_port->local_port, enable); local_port 676 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spvmlr_pack(spvmlr_pl, mlxsw_sp_port->local_port, vid, vid, local_port 689 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spvid_pack(spvid_pl, mlxsw_sp_port->local_port, vid); local_port 699 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spaft_pack(spaft_pl, mlxsw_sp_port->local_port, allow); local_port 734 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_sspr_pack(sspr_pl, mlxsw_sp_port->local_port); local_port 739 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, u8 *p_module, local_port 745 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmlp_pack(pmlp_pl, local_port); local_port 762 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmlp_pack(pmlp_pl, mlxsw_sp_port->local_port); local_port 777 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pmlp_pack(pmlp_pl, mlxsw_sp_port->local_port); local_port 809 drivers/net/ethernet/mellanox/mlxsw/spectrum.c .local_port = mlxsw_sp_port->local_port, local_port 932 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0, 0); local_port 1072 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, grp, prio); local_port 1203 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spvm_pack(spvm_pl, mlxsw_sp_port->local_port, vid_begin, local_port 1783 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pplr_pack(pplr_pl, mlxsw_sp_port->local_port, enable); local_port 1847 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 1960 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_pfcc_pack(pfcc_pl, mlxsw_sp_port->local_port); local_port 2399 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_mlcr_pack(mlcr_pl, mlxsw_sp_port->local_port, active); local_port 2752 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_port_speed_base(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 2761 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, u32 proto_admin, bool autoneg) local_port 2763 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_ptys_eth_pack(payload, local_port, proto_admin, autoneg); local_port 3167 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_port_speed_base(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 3177 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_ptys_ext_eth_pack(ptys_pl, local_port, 0, false); local_port 3200 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, u32 proto_admin, local_port 3203 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_ptys_ext_eth_pack(payload, local_port, proto_admin, autoneg); local_port 3306 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, local_port 3343 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, local_port 3363 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, local_port 3447 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = ops->port_speed_base(mlxsw_sp, mlxsw_sp_port->local_port, local_port 3454 drivers/net/ethernet/mellanox/mlxsw/spectrum.c ops->reg_ptys_eth_pack(mlxsw_sp, ptys_pl, mlxsw_sp_port->local_port, local_port 3466 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, local_port 3481 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, local_port 3495 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qeec_pack(qeec_pl, mlxsw_sp_port->local_port, hr, index, local_port 3509 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qtct_pack(qtct_pl, mlxsw_sp_port->local_port, switch_prio, local_port 3607 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_qtctm_pack(qtctm_pl, mlxsw_sp_port->local_port, enable); local_port 3611 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_port_create(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 3619 drivers/net/ethernet/mellanox/mlxsw/spectrum.c err = mlxsw_core_port_init(mlxsw_sp->core, local_port, local_port 3625 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 3638 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port = local_port; local_port 3671 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3678 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3685 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3706 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3713 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3720 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3731 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3738 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3745 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3753 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3760 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3767 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3775 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3782 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3789 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3797 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3806 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = mlxsw_sp_port; local_port 3810 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 3814 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_core_port_eth_set(mlxsw_sp->core, mlxsw_sp_port->local_port, local_port 3820 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = NULL; local_port 3852 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_core_port_fini(mlxsw_sp->core, local_port); local_port 3856 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static void mlxsw_sp_port_remove(struct mlxsw_sp *mlxsw_sp, u8 local_port) local_port 3858 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 3863 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_core_port_clear(mlxsw_sp->core, local_port, mlxsw_sp); local_port 3865 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ports[local_port] = NULL; local_port 3878 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_core_port_fini(mlxsw_sp->core, local_port); local_port 3891 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port = MLXSW_PORT_CPU_PORT; local_port 3920 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static bool mlxsw_sp_port_created(struct mlxsw_sp *mlxsw_sp, u8 local_port) local_port 3922 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp->ports[local_port] != NULL; local_port 3994 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static u8 mlxsw_sp_cluster_base_port_get(u8 local_port) local_port 3996 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 offset = (local_port - 1) % MLXSW_SP_PORTS_PER_CLUSTER_MAX; local_port 3998 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return local_port - offset; local_port 4026 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, module, width = MLXSW_PORT_MODULE_MAX_WIDTH; local_port 4035 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port = base_port + i * 2; local_port 4036 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp->port_to_module[local_port] < 0) local_port 4038 drivers/net/ethernet/mellanox/mlxsw/spectrum.c module = mlxsw_sp->port_to_module[local_port]; local_port 4040 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_create(mlxsw_sp, local_port, false, module, local_port 4046 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port_get_by_local_port(struct mlxsw_sp *mlxsw_sp, u8 local_port) local_port 4048 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mlxsw_sp->ports && mlxsw_sp->ports[local_port]) local_port 4049 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp->ports[local_port]; local_port 4053 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_port_split(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 4071 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port = mlxsw_sp_port_get_by_local_port(mlxsw_sp, local_port); local_port 4074 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 4097 drivers/net/ethernet/mellanox/mlxsw/spectrum.c base_port = local_port; local_port 4105 drivers/net/ethernet/mellanox/mlxsw/spectrum.c base_port = mlxsw_sp_cluster_base_port_get(local_port); local_port 4132 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_port_unsplit(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 4149 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port = mlxsw_sp_port_get_by_local_port(mlxsw_sp, local_port); local_port 4152 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 4171 drivers/net/ethernet/mellanox/mlxsw/spectrum.c base_port = mlxsw_sp_cluster_base_port_get(local_port); local_port 4174 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (count == 2 && local_port >= base_port + 2) local_port 4201 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port; local_port 4203 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port = mlxsw_reg_pude_local_port_get(pude_pl); local_port 4204 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 4223 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port; local_port 4227 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port = mlxsw_reg_mtpptr_local_port_get(mtpptr_pl); local_port 4238 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_ptp_got_timestamp(mlxsw_sp, ingress, local_port, local_port 4261 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, void *priv) local_port 4264 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 4269 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 4285 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static void mlxsw_sp_rx_listener_mark_func(struct sk_buff *skb, u8 local_port, local_port 4289 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp_rx_listener_no_mark_func(skb, local_port, priv); local_port 4293 drivers/net/ethernet/mellanox/mlxsw/spectrum.c u8 local_port, void *priv) local_port 4297 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mlxsw_sp_rx_listener_no_mark_func(skb, local_port, priv); local_port 4300 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static void mlxsw_sp_rx_listener_sample_func(struct sk_buff *skb, u8 local_port, local_port 4304 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port *mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 4310 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 4315 drivers/net/ethernet/mellanox/mlxsw/spectrum.c local_port); local_port 4335 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static void mlxsw_sp_rx_listener_ptp(struct sk_buff *skb, u8 local_port, local_port 4340 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ptp_ops->receive(mlxsw_sp, skb, local_port); local_port 5367 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct sk_buff *skb, u8 local_port) local_port 5372 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp->ptp_ops->transmitted(mlxsw_sp, skb, local_port); local_port 5586 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_slcor_port_add_pack(slcor_pl, mlxsw_sp_port->local_port, local_port 5597 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_slcor_port_remove_pack(slcor_pl, mlxsw_sp_port->local_port, local_port 5608 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_slcor_col_enable_pack(slcor_pl, mlxsw_sp_port->local_port, local_port 5619 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_slcor_col_disable_pack(slcor_pl, mlxsw_sp_port->local_port, local_port 5715 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 5758 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 5773 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 5784 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_port->local_port); local_port 5855 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port); local_port 242 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 local_port; local_port 302 drivers/net/ethernet/mellanox/mlxsw/spectrum.h int (*port_speed_base)(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 305 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 local_port, u32 proto_admin, bool autoneg); local_port 361 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 local_port; local_port 363 drivers/net/ethernet/mellanox/mlxsw/spectrum.h local_port = mlxsw_core_lag_mapping_get(mlxsw_sp->core, local_port 365 drivers/net/ethernet/mellanox/mlxsw/spectrum.h mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 464 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u8 local_port, void *priv); local_port 868 drivers/net/ethernet/mellanox/mlxsw/spectrum.h enum mlxsw_sp_flood_type packet_type, u8 local_port, local_port 535 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c u8 local_port; local_port 548 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c local_port = mlxsw_sp_port->local_port; local_port 554 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c local_port = 0; local_port 558 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c local_port, in_port, extack); local_port 579 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c in_port->local_port, local_port 86 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c u8 local_port) local_port 97 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c mlxsw_reg_ppbs_pack(ppbs_pl, kvdl_index, local_port); local_port 368 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c MLXSW_REG_PXBT_OP_BIND, mlxsw_sp_port->local_port, local_port 383 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c MLXSW_REG_PXBT_OP_UNBIND, mlxsw_sp_port->local_port, local_port 153 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port, u8 pg_buff, local_port 156 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_port *sb_port = &mlxsw_sp->sb->ports[local_port]; local_port 166 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port, u16 pool_index) local_port 168 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; local_port 195 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int mlxsw_sp_sb_cm_write(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 205 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbcm_pack(sbcm_pl, local_port, pg_buff, des->dir, local_port 216 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, pg_buff, local_port 225 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int mlxsw_sp_sb_pm_write(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 234 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, false, local_port 240 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pool_index); local_port 246 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int mlxsw_sp_sb_pm_occ_clear(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 253 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port == MLXSW_PORT_CPU_PORT && local_port 257 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, local_port 272 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int mlxsw_sp_sb_pm_occ_query(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port == MLXSW_PORT_CPU_PORT && local_port 284 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, pool_index); local_port 285 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbpm_pack(sbpm_pl, local_port, des->pool, des->dir, local_port 307 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, local_port 326 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_pptb_pack(pptb_pl, mlxsw_sp_port->local_port); local_port 638 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int __mlxsw_sp_sb_cms_init(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 661 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_cm_write(mlxsw_sp, local_port, i, local_port 669 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_cm_write(mlxsw_sp, local_port, i, local_port 685 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_port->local_port, local_port 692 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_sp_port->local_port, local_port 756 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c static int mlxsw_sp_sb_pms_init(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 776 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_pm_write(mlxsw_sp, local_port, i, min_buff, local_port 788 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return mlxsw_sp_sb_pms_init(mlxsw_sp, mlxsw_sp_port->local_port, local_port 1076 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1077 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, local_port 1092 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1096 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port == MLXSW_PORT_CPU_PORT) { local_port 1106 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return mlxsw_sp_sb_pm_write(mlxsw_sp, local_port, pool_index, local_port 1118 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1121 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_cm *cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, local_port 1139 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1146 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port == MLXSW_PORT_CPU_PORT) { local_port 1176 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c return mlxsw_sp_sb_cm_write(mlxsw_sp, local_port, pg_buff, local_port 1196 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port; local_port 1204 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (local_port = cb_ctx.local_port_1; local_port 1205 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { local_port 1206 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) local_port 1208 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port == MLXSW_PORT_CPU_PORT) { local_port 1214 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, i, local_port 1223 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (local_port = cb_ctx.local_port_1; local_port 1224 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { local_port 1225 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) local_port 1228 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, i, local_port 1248 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port; local_port 1257 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port = MLXSW_PORT_CPU_PORT; local_port 1259 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port_1 = local_port; local_port 1266 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { local_port 1267 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) local_port 1269 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port != MLXSW_PORT_CPU_PORT) { local_port 1272 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port, 1); local_port 1274 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbsr_egress_port_mask_set(sbsr_pl, local_port, 1); local_port 1276 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_pm_occ_query(mlxsw_sp, local_port, i, local_port 1294 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port < mlxsw_core_max_ports(mlxsw_core)) { local_port 1295 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port++; local_port 1314 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port; local_port 1323 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port = MLXSW_PORT_CPU_PORT; local_port 1331 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c for (; local_port < mlxsw_core_max_ports(mlxsw_core); local_port++) { local_port 1332 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (!mlxsw_sp->ports[local_port]) local_port 1334 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port != MLXSW_PORT_CPU_PORT) { local_port 1337 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port, 1); local_port 1339 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c mlxsw_reg_sbsr_egress_port_mask_set(sbsr_pl, local_port, 1); local_port 1341 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c err = mlxsw_sp_sb_pm_occ_clear(mlxsw_sp, local_port, i, local_port 1355 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c if (local_port < mlxsw_core_max_ports(mlxsw_core)) { local_port 1356 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c local_port++; local_port 1375 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1376 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_pm *pm = mlxsw_sp_sb_pm_get(mlxsw_sp, local_port, local_port 1392 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c u8 local_port = mlxsw_sp_port->local_port; local_port 1395 drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c struct mlxsw_sp_sb_cm *cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, local_port 73 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_pptb_pack(pptb_pl, mlxsw_sp_port->local_port); local_port 98 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_pbmc_pack(pbmc_pl, mlxsw_sp_port->local_port, 0, 0); local_port 328 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_qpts_pack(qpts_pl, mlxsw_sp_port->local_port, ts); local_port 339 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_qrwe_pack(qrwe_pl, mlxsw_sp_port->local_port, local_port 379 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_qpdpm_pack(qpdpm_pl, mlxsw_sp_port->local_port); local_port 393 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_qpdsm_pack(qpdsm_pl, mlxsw_sp_port->local_port); local_port 539 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sp_port->local_port, local_port 576 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c mlxsw_reg_pfcc_pack(pfcc_pl, mlxsw_sp_port->local_port); local_port 319 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c enum mlxsw_sp_flood_type packet_type, u8 local_port, local_port 341 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c local_port, member); local_port 451 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port, u16 vid, bool valid) local_port 456 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_reg_svfa_pack(svfa_pl, local_port, mt, valid, fid_index, vid); local_port 525 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 531 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 0) local_port 533 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c return __mlxsw_sp_fid_port_vid_map(mlxsw_sp, fid->fid_index, local_port, local_port 542 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 544 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 0) local_port 546 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c __mlxsw_sp_fid_port_vid_map(mlxsw_sp, fid->fid_index, local_port, vid, local_port 664 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, local_port 687 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, vid, local_port 709 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, vid, local_port 719 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 723 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, vid, true); local_port 727 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { local_port 736 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[local_port]--; local_port 738 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, vid, false); local_port 747 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 749 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 1) local_port 751 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[local_port]--; local_port 753 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp_port->local_port, vid, false); local_port 922 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 928 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port]++ == 0) { local_port 937 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[local_port]--; local_port 946 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c u8 local_port = mlxsw_sp_port->local_port; local_port 948 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c if (mlxsw_sp->fid_core->port_fid_mappings[local_port] == 1) local_port 950 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[local_port]--; local_port 1242 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[mlxsw_sp_port->local_port] = 0; local_port 1251 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c mlxsw_sp->fid_core->port_fid_mappings[mlxsw_sp_port->local_port] = 0; local_port 180 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c mlxsw_sp_port->local_port, local_port 892 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c mlxsw_reg_tnqdr_pack(tnqdr_pl, mlxsw_sp_port->local_port); local_port 39 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c u8 local_port; local_port 427 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct sk_buff *skb, u8 local_port, local_port 437 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 446 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_rx_listener_no_mark_func(skb, local_port, mlxsw_sp); local_port 468 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c key.local_port, key.ingress, &hwtstamps); local_port 481 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c unmatched->key.local_port, local_port 526 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c key.local_port, local_port 545 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct sk_buff *skb, u8 local_port, local_port 553 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 563 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c key.local_port = local_port; local_port 581 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_packet_finish(mlxsw_sp, skb, local_port, ingress, NULL); local_port 585 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c u8 local_port, u8 message_type, local_port 593 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 607 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c key.local_port = local_port; local_port 617 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c u8 local_port) local_port 620 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_got_packet(mlxsw_sp, skb, local_port, true); local_port 624 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c struct sk_buff *skb, u8 local_port) local_port 626 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_got_packet(mlxsw_sp, skb, local_port, false); local_port 655 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port = ptp_state->mlxsw_sp->ports[unmatched->key.local_port]; local_port 1012 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_reg_qeec_ptps_pack(qeec_pl, mlxsw_sp_port->local_port, enable); local_port 1030 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp_port->local_port, 0, local_port 41 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h u8 local_port); local_port 44 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h struct sk_buff *skb, u8 local_port); local_port 47 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h u8 local_port, u8 message_type, local_port 90 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h struct sk_buff *skb, u8 local_port) local_port 92 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h mlxsw_sp_rx_listener_no_mark_func(skb, local_port, mlxsw_sp); local_port 96 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h struct sk_buff *skb, u8 local_port) local_port 103 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h u8 local_port, u8 message_type, local_port 169 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h struct sk_buff *skb, u8 local_port) local_port 171 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h mlxsw_sp_rx_listener_no_mark_func(skb, local_port, mlxsw_sp); local_port 175 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.h struct sk_buff *skb, u8 local_port) local_port 239 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_reg_cwtp_pack(cwtp_cmd, mlxsw_sp_port->local_port, tclass_num); local_port 249 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_reg_cwtpm_pack(cwtpm_cmd, mlxsw_sp_port->local_port, tclass_num, local_port 262 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_reg_cwtpm_pack(cwtpm_cmd, mlxsw_sp_port->local_port, tclass_num, local_port 6635 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c params->system_port = mlxsw_sp_port->local_port; local_port 68 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c u8 local_port = dest_port->local_port; local_port 73 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, local_port 85 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c u8 local_port = dest_port->local_port; local_port 89 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, false, span_type); local_port 363 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c u8 local_port = dest_port->local_port; local_port 368 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, local_port 464 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c u8 local_port = dest_port->local_port; local_port 469 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, local_port 527 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c u8 local_port = dest_port->local_port; local_port 531 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpat_pack(mpat_pl, pa_id, local_port, true, local_port 722 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c if (p->local_port == port->local_port && local_port 748 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_sbib_pack(sbib_pl, port->local_port, buffsize); local_port 769 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c port->local_port == p->local_port && local_port 786 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_mpar_pack(mpar_pl, port->local_port, local_port 821 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_sbib_pack(sbib_pl, port->local_port, buffsize); local_port 841 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c inspected_port->local_port = port->local_port; local_port 854 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_sbib_pack(sbib_pl, port->local_port, 0); local_port 880 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c mlxsw_reg_sbib_pack(sbib_pl, port->local_port, 0); local_port 23 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.h u8 local_port; local_port 272 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_port->system_port = mlxsw_sp_port->local_port; local_port 505 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port->local_port, local_port 892 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 local_port = mlxsw_sp_port->local_port; local_port 902 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, local_port 907 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, local_port 912 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, local_port 926 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, false); local_port 928 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, false); local_port 930 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, false); local_port 941 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 local_port = mlxsw_sp_port->local_port; local_port 946 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, false); local_port 947 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, false); local_port 948 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, false); local_port 1266 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static int __mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 1280 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_reg_sfd_uc_pack(sfd_pl, 0, policy, mac, fid, action, local_port); local_port 1294 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static int mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u8 local_port, local_port 1298 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return __mlxsw_sp_port_fdb_uc_op(mlxsw_sp, local_port, mac, fid, adding, local_port 1446 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_reg_smid_pack(smid_pl, mid_idx, mlxsw_sp_port->local_port, add); local_port 1485 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c set_bit(mlxsw_sp_port->local_port, local_port 1608 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c clear_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); local_port 1658 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c set_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); local_port 1710 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) local_port 1889 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) { local_port 2459 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u8 local_port; local_port 2464 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_reg_sfn_mac_unpack(sfn_pl, rec_index, mac, &fid, &local_port); local_port 2465 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 2490 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_port_fdb_uc_op(mlxsw_sp, local_port, mac, fid, local_port 14 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c static void mlxsw_sp_rx_drop_listener(struct sk_buff *skb, u8 local_port, local_port 60 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c u8 local_port, local_port 67 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c local_port); local_port 85 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c static void mlxsw_sp_rx_drop_listener(struct sk_buff *skb, u8 local_port, local_port 94 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c mlxsw_sp_port = mlxsw_sp->ports[local_port]; local_port 96 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c if (mlxsw_sp_rx_listener(mlxsw_sp, skb, local_port, mlxsw_sp_port)) local_port 101 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c local_port); local_port 38 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 local_port; local_port 102 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_tx_v1_hdr_port_mid_set(txhdr, tx_info->local_port); local_port 125 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_paos_pack(paos_pl, mlxsw_sib_port->local_port, local_port 139 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, 0); local_port 148 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sib_port->local_port, mtu); local_port 158 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_plib_local_port_set(plib_pl, mlxsw_sib_port->local_port); local_port 170 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pspa_pack(pspa_pl, swid, mlxsw_sib_port->local_port); local_port 175 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 local_port, u8 *p_module, local_port 181 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_pmlp_pack(pmlp_pl, local_port); local_port 196 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_reg_ptys_ib_pack(ptys_pl, mlxsw_sib_port->local_port, speed, local_port 201 drivers/net/ethernet/mellanox/mlxsw/switchib.c static bool mlxsw_sib_port_created(struct mlxsw_sib *mlxsw_sib, u8 local_port) local_port 203 drivers/net/ethernet/mellanox/mlxsw/switchib.c return mlxsw_sib->ports[local_port] != NULL; local_port 206 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int __mlxsw_sib_port_create(struct mlxsw_sib *mlxsw_sib, u8 local_port, local_port 216 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port = local_port; local_port 222 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); local_port 230 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); local_port 242 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); local_port 252 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); local_port 259 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port->local_port); local_port 263 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_core_port_ib_set(mlxsw_sib->core, mlxsw_sib_port->local_port, local_port 265 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports[local_port] = mlxsw_sib_port; local_port 278 drivers/net/ethernet/mellanox/mlxsw/switchib.c static int mlxsw_sib_port_create(struct mlxsw_sib *mlxsw_sib, u8 local_port, local_port 283 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = mlxsw_core_port_init(mlxsw_sib->core, local_port, local_port 288 drivers/net/ethernet/mellanox/mlxsw/switchib.c local_port); local_port 291 drivers/net/ethernet/mellanox/mlxsw/switchib.c err = __mlxsw_sib_port_create(mlxsw_sib, local_port, module, width); local_port 298 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_core_port_fini(mlxsw_sib->core, local_port); local_port 302 drivers/net/ethernet/mellanox/mlxsw/switchib.c static void __mlxsw_sib_port_remove(struct mlxsw_sib *mlxsw_sib, u8 local_port) local_port 304 drivers/net/ethernet/mellanox/mlxsw/switchib.c struct mlxsw_sib_port *mlxsw_sib_port = mlxsw_sib->ports[local_port]; local_port 306 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_core_port_clear(mlxsw_sib->core, local_port, mlxsw_sib); local_port 307 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib->ports[local_port] = NULL; local_port 313 drivers/net/ethernet/mellanox/mlxsw/switchib.c static void mlxsw_sib_port_remove(struct mlxsw_sib *mlxsw_sib, u8 local_port) local_port 315 drivers/net/ethernet/mellanox/mlxsw/switchib.c __mlxsw_sib_port_remove(mlxsw_sib, local_port); local_port 316 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_core_port_fini(mlxsw_sib->core, local_port); local_port 381 drivers/net/ethernet/mellanox/mlxsw/switchib.c u8 local_port; local_port 383 drivers/net/ethernet/mellanox/mlxsw/switchib.c local_port = mlxsw_reg_pude_local_port_get(pude_pl); local_port 384 drivers/net/ethernet/mellanox/mlxsw/switchib.c mlxsw_sib_port = mlxsw_sib->ports[local_port]; local_port 387 drivers/net/ethernet/mellanox/mlxsw/switchib.c local_port); local_port 48 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 local_port; local_port 146 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_tx_hdr_port_mid_set(txhdr, tx_info->local_port); local_port 164 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_paos_pack(paos_pl, mlxsw_sx_port->local_port, local_port 178 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_paos_pack(paos_pl, mlxsw_sx_port->local_port, 0); local_port 195 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sx_port->local_port, 0); local_port 204 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_pmtu_pack(pmtu_pl, mlxsw_sx_port->local_port, mtu); local_port 228 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_plib_local_port_set(plib_pl, mlxsw_sx_port->local_port); local_port 239 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_pspa_pack(pspa_pl, swid, mlxsw_sx_port->local_port); local_port 249 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_sspr_pack(sspr_pl, mlxsw_sx_port->local_port); local_port 254 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 local_port, u8 *p_module, local_port 260 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_pmlp_pack(pmlp_pl, local_port); local_port 296 drivers/net/ethernet/mellanox/mlxsw/switchx2.c .local_port = mlxsw_sx_port->local_port, local_port 386 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 528 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ppcnt_pack(ppcnt_pl, mlxsw_sx_port->local_port, local_port 746 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); local_port 836 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, 0, false); local_port 853 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, local_port 922 drivers/net/ethernet/mellanox/mlxsw/switchx2.c dev->dev_addr[ETH_ALEN - 1] += mlxsw_sx_port->local_port; local_port 936 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_spms_pack(spms_pl, mlxsw_sx_port->local_port); local_port 949 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ptys_ib_pack(ptys_pl, mlxsw_sx_port->local_port, speed, local_port 963 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_ptys_eth_pack(ptys_pl, mlxsw_sx_port->local_port, local_port 975 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_reg_spmlr_pack(spmlr_pl, mlxsw_sx_port->local_port, mode); local_port 979 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static int __mlxsw_sx_port_eth_create(struct mlxsw_sx *mlxsw_sx, u8 local_port, local_port 993 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port = local_port; local_port 1009 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1029 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1036 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1043 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1050 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1063 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1071 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1078 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1082 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_eth_set(mlxsw_sx->core, mlxsw_sx_port->local_port, local_port 1084 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = mlxsw_sx_port; local_port 1103 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static int mlxsw_sx_port_eth_create(struct mlxsw_sx *mlxsw_sx, u8 local_port, local_port 1108 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_core_port_init(mlxsw_sx->core, local_port, local_port 1113 drivers/net/ethernet/mellanox/mlxsw/switchx2.c local_port); local_port 1116 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = __mlxsw_sx_port_eth_create(mlxsw_sx, local_port, module, width); local_port 1123 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_fini(mlxsw_sx->core, local_port); local_port 1127 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void __mlxsw_sx_port_eth_remove(struct mlxsw_sx *mlxsw_sx, u8 local_port) local_port 1129 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; local_port 1131 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_clear(mlxsw_sx->core, local_port, mlxsw_sx); local_port 1133 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = NULL; local_port 1139 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static bool mlxsw_sx_port_created(struct mlxsw_sx *mlxsw_sx, u8 local_port) local_port 1141 drivers/net/ethernet/mellanox/mlxsw/switchx2.c return mlxsw_sx->ports[local_port] != NULL; local_port 1144 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static int __mlxsw_sx_port_ib_create(struct mlxsw_sx *mlxsw_sx, u8 local_port, local_port 1154 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port = local_port; local_port 1160 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1168 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1176 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1188 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1198 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1205 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port->local_port); local_port 1209 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_ib_set(mlxsw_sx->core, mlxsw_sx_port->local_port, local_port 1211 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = mlxsw_sx_port; local_port 1225 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void __mlxsw_sx_port_ib_remove(struct mlxsw_sx *mlxsw_sx, u8 local_port) local_port 1227 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; local_port 1229 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_clear(mlxsw_sx->core, local_port, mlxsw_sx); local_port 1230 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx->ports[local_port] = NULL; local_port 1236 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void __mlxsw_sx_port_remove(struct mlxsw_sx *mlxsw_sx, u8 local_port) local_port 1239 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_type_get(mlxsw_sx->core, local_port); local_port 1242 drivers/net/ethernet/mellanox/mlxsw/switchx2.c __mlxsw_sx_port_eth_remove(mlxsw_sx, local_port); local_port 1244 drivers/net/ethernet/mellanox/mlxsw/switchx2.c __mlxsw_sx_port_ib_remove(mlxsw_sx, local_port); local_port 1247 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void mlxsw_sx_port_remove(struct mlxsw_sx *mlxsw_sx, u8 local_port) local_port 1249 drivers/net/ethernet/mellanox/mlxsw/switchx2.c __mlxsw_sx_port_remove(mlxsw_sx, local_port); local_port 1250 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_core_port_fini(mlxsw_sx->core, local_port); local_port 1330 drivers/net/ethernet/mellanox/mlxsw/switchx2.c u8 local_port; local_port 1332 drivers/net/ethernet/mellanox/mlxsw/switchx2.c local_port = mlxsw_reg_pude_local_port_get(pude_pl); local_port 1333 drivers/net/ethernet/mellanox/mlxsw/switchx2.c mlxsw_sx_port = mlxsw_sx->ports[local_port]; local_port 1336 drivers/net/ethernet/mellanox/mlxsw/switchx2.c local_port); local_port 1341 drivers/net/ethernet/mellanox/mlxsw/switchx2.c port_type = mlxsw_core_port_type_get(mlxsw_sx->core, local_port); local_port 1348 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static void mlxsw_sx_rx_listener_func(struct sk_buff *skb, u8 local_port, local_port 1352 drivers/net/ethernet/mellanox/mlxsw/switchx2.c struct mlxsw_sx_port *mlxsw_sx_port = mlxsw_sx->ports[local_port]; local_port 1357 drivers/net/ethernet/mellanox/mlxsw/switchx2.c local_port); local_port 1373 drivers/net/ethernet/mellanox/mlxsw/switchx2.c static int mlxsw_sx_port_type_set(struct mlxsw_core *mlxsw_core, u8 local_port, local_port 1380 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (!mlxsw_sx->ports || !mlxsw_sx->ports[local_port]) { local_port 1382 drivers/net/ethernet/mellanox/mlxsw/switchx2.c local_port); local_port 1389 drivers/net/ethernet/mellanox/mlxsw/switchx2.c __mlxsw_sx_port_remove(mlxsw_sx, local_port); local_port 1390 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = mlxsw_sx_port_module_info_get(mlxsw_sx, local_port, &module, local_port 1396 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = __mlxsw_sx_port_eth_create(mlxsw_sx, local_port, module, local_port 1399 drivers/net/ethernet/mellanox/mlxsw/switchx2.c err = __mlxsw_sx_port_ib_create(mlxsw_sx, local_port, module, local_port 126 drivers/net/ethernet/qlogic/qed/qed_iscsi.c u16 local_port; local_port 415 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_tcp->local_port = cpu_to_le16(p_conn->local_port); local_port 452 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_tcp2->local_port = cpu_to_le16(p_conn->local_port); local_port 1275 drivers/net/ethernet/qlogic/qed/qed_iscsi.c con->local_port = conn_info->src.port; local_port 1315 drivers/net/ethernet/qlogic/qed/qed_iscsi.c con->local_port = conn_info->local_port; local_port 609 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_tcp_ramrod->tcp.local_port, local_port 617 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_tcp_ramrod->tcp.local_port, local_port 717 drivers/net/ethernet/qlogic/qed/qed_iwarp.c tcp->local_port = cpu_to_le16(ep->cm_info.local_port); local_port 1563 drivers/net/ethernet/qlogic/qed/qed_iwarp.c cm_info->local_ip, cm_info->local_port, local_port 1569 drivers/net/ethernet/qlogic/qed/qed_iwarp.c cm_info->local_ip, cm_info->local_port, local_port 1606 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if ((ep->cm_info.local_port == cm_info->local_port) && local_port 1642 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (listener->port == cm_info->local_port) { local_port 1767 drivers/net/ethernet/qlogic/qed/qed_iwarp.c cm_info->local_port = ntohs(tcph->dest); local_port 181 drivers/net/netconsole.c nt->np.local_port = 6665; local_port 263 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->np.local_port); local_port 440 drivers/net/netconsole.c rv = kstrtou16(buf, 10, &nt->np.local_port); local_port 574 drivers/net/netconsole.c CONFIGFS_ATTR(, local_port); local_port 633 drivers/net/netconsole.c nt->np.local_port = 6665; local_port 75 drivers/scsi/bnx2fc/bnx2fc_els.c lport = tgt->rdata->local_port; local_port 187 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_lport *lport = tgt->rdata->local_port; local_port 215 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_lport *lport = tgt->rdata->local_port; local_port 243 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_lport *lport = tgt->rdata->local_port; local_port 586 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_lport *lport = tgt->rdata->local_port; local_port 628 drivers/scsi/bnx2fc/bnx2fc_els.c struct fc_lport *lport = tgt->rdata->local_port; local_port 167 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c req->local_port = csk->saddr.sin_port; local_port 181 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c &req->local_ip, ntohs(req->local_port), local_port 233 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; local_port 246 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk, &req->local_ip, ntohs(req->local_port), local_port 257 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; local_port 274 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk, &req->local_ip, ntohs(req->local_port), local_port 285 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr.sin_port; local_port 306 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c csk, &req->local_ip, ntohs(req->local_port), local_port 352 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr6.sin6_port; local_port 377 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr6.sin6_port; local_port 400 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c req->local_port = csk->saddr6.sin6_port; local_port 1707 drivers/scsi/fnic/fnic_scsi.c lport = rdata->local_port; local_port 579 drivers/scsi/libfc/fc_disc.c lport = rdata->local_port; local_port 1194 drivers/scsi/libfc/fc_fcp.c rpriv->local_port->port_id, FC_TYPE_FCP, local_port 1482 drivers/scsi/libfc/fc_fcp.c rpriv->local_port->port_id, FC_TYPE_ELS, local_port 1744 drivers/scsi/libfc/fc_fcp.c rpriv->local_port->port_id, FC_TYPE_FCP, local_port 53 drivers/scsi/libfc/fc_libfc.h FC_RPORT_ID_DBG((rdata)->local_port, (rdata)->ids.port_id, fmt, ##args) local_port 152 drivers/scsi/libfc/fc_rport.c rdata->local_port = lport; local_port 263 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 303 drivers/scsi/libfc/fc_rport.c rpriv->local_port = lport; local_port 502 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 612 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 666 drivers/scsi/libfc/fc_rport.c if (rdata->retries < rdata->local_port->max_rport_retry_count) { local_port 696 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 737 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 817 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 981 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1066 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1239 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1379 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1411 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1449 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1466 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1553 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1585 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1624 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 1960 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 2076 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 2194 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rdata->local_port; local_port 2279 drivers/scsi/libfc/fc_rport.c struct fc_lport *lport = rpriv->local_port; local_port 3547 drivers/scsi/libiscsi.c len = sprintf(buf, "%u\n", conn->local_port); local_port 543 drivers/scsi/qedi/qedi_iscsi.c conn_info->local_port = qedi_ep->src_port; local_port 3549 drivers/scsi/qla4xxx/ql4_os.c conn->local_port = le16_to_cpu(fw_ddb_entry->lcl_port); local_port 3677 drivers/scsi/qla4xxx/ql4_os.c fw_ddb_entry->lcl_port = cpu_to_le16(conn->local_port); local_port 3786 drivers/scsi/qla4xxx/ql4_os.c conn->local_port = le16_to_cpu(fw_ddb_entry->lcl_port); local_port 7975 drivers/scsi/qla4xxx/ql4_os.c rc = sprintf(buf, "%u\n", fnode_conn->local_port); local_port 8236 drivers/scsi/qla4xxx/ql4_os.c fnode_conn->local_port = local_port 1070 drivers/scsi/scsi_transport_iscsi.c iscsi_flashnode_conn_attr(fnode, local_port, ISCSI_FLASHNODE_LOCAL_PORT); local_port 3783 drivers/scsi/scsi_transport_iscsi.c iscsi_conn_attr(local_port, ISCSI_PARAM_LOCAL_PORT); local_port 92 drivers/staging/media/imx/imx-media-of.c if (link->local_port >= sd->entity.num_pads) local_port 99 drivers/staging/media/imx/imx-media-of.c if (sd->entity.pads[link->local_port].flags & MEDIA_PAD_FL_SINK) { local_port 103 drivers/staging/media/imx/imx-media-of.c sink_pad = link->local_port; local_port 106 drivers/staging/media/imx/imx-media-of.c src_pad = link->local_port; local_port 166 drivers/staging/media/imx/imx-media-of.c link.local_port = CSI_SINK_PAD; local_port 863 drivers/target/iscsi/cxgbit/cxgbit_cm.c static u8 cxgbit_get_iscsi_dcb_priority(struct net_device *ndev, u16 local_port) local_port 869 drivers/target/iscsi/cxgbit/cxgbit_cm.c .protocol = local_port local_port 898 drivers/target/iscsi/cxgbit/cxgbit_cm.c u16 local_port, struct dst_entry *dst, local_port 960 drivers/target/iscsi/cxgbit/cxgbit_cm.c local_port); local_port 1229 drivers/target/iscsi/cxgbit/cxgbit_cm.c __be16 local_port, peer_port; local_port 1257 drivers/target/iscsi/cxgbit/cxgbit_cm.c peer_ip, &local_port, &peer_port); local_port 1264 drivers/target/iscsi/cxgbit/cxgbit_cm.c local_ip, peer_ip, ntohs(local_port), local_port 1269 drivers/target/iscsi/cxgbit/cxgbit_cm.c local_port, peer_port, local_port 1275 drivers/target/iscsi/cxgbit/cxgbit_cm.c local_ip, peer_ip, ntohs(local_port), local_port 1279 drivers/target/iscsi/cxgbit/cxgbit_cm.c local_port, peer_port, local_port 1296 drivers/target/iscsi/cxgbit/cxgbit_cm.c ret = cxgbit_offload_init(csk, iptype, peer_ip, ntohs(local_port), local_port 1331 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin->sin_port = local_port; local_port 1343 drivers/target/iscsi/cxgbit/cxgbit_cm.c sin6->sin6_port = local_port; local_port 536 drivers/target/iscsi/cxgbit/cxgbit_main.c u16 local_port; local_port 548 drivers/target/iscsi/cxgbit/cxgbit_main.c local_port = ntohs(sock_in6->sin6_port); local_port 553 drivers/target/iscsi/cxgbit/cxgbit_main.c local_port = ntohs(sock_in->sin_port); local_port 556 drivers/target/iscsi/cxgbit/cxgbit_main.c if (local_port != port_num) local_port 354 drivers/target/tcm_fc/tfc_sess.c tport = ft_tport_get(rdata->local_port); local_port 429 drivers/target/tcm_fc/tfc_sess.c TFC_SESS_DBG(rdata->local_port, "port_id %x flags %x ret %x\n", local_port 456 drivers/target/tcm_fc/tfc_sess.c tport = rcu_dereference_protected(rdata->local_port->prov[FC_TYPE_FCP], local_port 923 drivers/xen/events/events_base.c return err ? : bind_evtchn_to_irq(bind_interdomain.local_port); local_port 510 drivers/xen/evtchn.c rc = evtchn_bind_to_user(u, bind_interdomain.local_port); local_port 512 drivers/xen/evtchn.c rc = bind_interdomain.local_port; local_port 1570 include/linux/mlx4/device.h u8 local_port; local_port 8131 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8156 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8196 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8211 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8225 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8263 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8314 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8323 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8345 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8374 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8385 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8417 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8491 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8501 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8545 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8555 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8614 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8623 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8632 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8643 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8655 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8691 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8712 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8898 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8906 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 8935 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 9620 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 9627 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 9636 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 9652 include/linux/mlx5/mlx5_ifc.h u8 local_port[0x8]; local_port 132 include/linux/mlx5/port.h int ptys_size, int proto_mask, u8 local_port); local_port 134 include/linux/mlx5/port.h u8 *link_width_oper, u8 local_port); local_port 136 include/linux/mlx5/port.h u8 *proto_oper, u8 local_port); local_port 150 include/linux/mlx5/port.h u8 *vl_hw_cap, u8 local_port); local_port 32 include/linux/netpoll.h u16 local_port, remote_port; local_port 1599 include/linux/ntb.h int local_port, peer_port; local_port 1604 include/linux/ntb.h local_port = ntb_logical_port_number(ntb); local_port 1607 include/linux/ntb.h if (peer_port < local_port) local_port 1608 include/linux/ntb.h return local_port - 1; local_port 1610 include/linux/ntb.h return local_port; local_port 122 include/linux/qed/qed_iscsi_if.h u16 local_port; local_port 492 include/linux/qed/qed_rdma_if.h u16 local_port; local_port 111 include/linux/qed/tcp_common.h __le16 local_port; local_port 177 include/linux/qed/tcp_common.h __le16 local_port; local_port 121 include/media/v4l2-fwnode.h unsigned int local_port; local_port 157 include/scsi/libfc.h struct fc_lport *local_port; local_port 191 include/scsi/libfc.h struct fc_lport *local_port; local_port 216 include/scsi/libiscsi.h uint16_t local_port; local_port 316 include/scsi/scsi_transport_iscsi.h uint16_t local_port; local_port 2999 include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 3188 include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 3326 include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 217 include/uapi/linux/rds.h __be16 local_port; local_port 230 include/uapi/linux/rds.h __be16 local_port; local_port 49 include/xen/interface/event_channel.h evtchn_port_t local_port; local_port 6539 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): local_port 6608 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): local_port 6852 net/core/filter.c case bpf_ctx_range_till(struct __sk_buff, family, local_port): local_port 7144 net/core/filter.c case bpf_ctx_range(struct sk_msg_md, local_port): local_port 7514 net/core/filter.c case offsetof(struct __sk_buff, local_port): local_port 8172 net/core/filter.c case offsetof(struct bpf_sock_ops, local_port): local_port 8447 net/core/filter.c case offsetof(struct sk_msg_md, local_port): local_port 393 net/core/netpoll.c udph->source = htons(np->local_port); local_port 467 net/core/netpoll.c np_info(np, "local port %d\n", np->local_port); local_port 512 net/core/netpoll.c if (kstrtou16(cur, 10, &np->local_port)) local_port 261 net/rds/tcp.c tsinfo.local_port = inet->inet_sport; local_port 305 net/rds/tcp.c tsinfo6.local_port = inet->inet_sport; local_port 37 samples/bpf/tcp_bufs_kern.c skops->local_port != 55601) { local_port 37 samples/bpf/tcp_clamp_kern.c if (bpf_ntohl(skops->remote_port) != 55601 && skops->local_port != 55601) { local_port 35 samples/bpf/tcp_cong_kern.c skops->local_port != 55601) { local_port 38 samples/bpf/tcp_iw_kern.c skops->local_port != 55601) { local_port 34 samples/bpf/tcp_rwnd_kern.c 55601 && skops->local_port != 55601) { local_port 34 samples/bpf/tcp_synrto_kern.c skops->local_port != 55601) { local_port 2999 tools/include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 3188 tools/include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 3326 tools/include/uapi/linux/bpf.h __u32 local_port; /* stored in host byte order */ local_port 63 tools/testing/selftests/bpf/progs/socket_cookie_prog.c p->cookie_value = (ctx->local_port << 8) | p->cookie_value; local_port 12 tools/testing/selftests/bpf/progs/sockmap_parse_prog.c __u32 lport = skb->local_port; local_port 40 tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c __u32 lport = skb->local_port; local_port 96 tools/testing/selftests/bpf/test_sockmap_kern.h __u32 lport = skb->local_port; local_port 134 tools/testing/selftests/bpf/test_sockmap_kern.h lport = skops->local_port; local_port 151 tools/testing/selftests/bpf/test_sockmap_kern.h lport = skops->local_port; local_port 116 tools/testing/selftests/bpf/verifier/cgroup_skb.c offsetof(struct __sk_buff, local_port)), local_port 45 tools/testing/selftests/bpf/verifier/ctx_sk_msg.c offsetof(struct sk_msg_md, local_port)), local_port 171 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, local_port)), local_port 253 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, local_port)),