in_port 159 drivers/gpio/gpio-104-dio-48e.c const unsigned in_port = (port > 2) ? port + 1 : port; in_port 171 drivers/gpio/gpio-104-dio-48e.c port_state = inb(dio48egpio->base + in_port); in_port 148 drivers/gpio/gpio-gpio-mm.c const unsigned int in_port = (port > 2) ? port + 1 : port; in_port 160 drivers/gpio/gpio-gpio-mm.c port_state = inb(gpiommgpio->base + in_port); in_port 40 drivers/input/serio/ps2mult.c struct ps2mult_port *in_port; in_port 186 drivers/input/serio/ps2mult.c psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in_port 236 drivers/input/serio/ps2mult.c struct ps2mult_port *in_port; in_port 245 drivers/input/serio/ps2mult.c in_port = psm->in_port; in_port 246 drivers/input/serio/ps2mult.c if (in_port->registered) in_port 247 drivers/input/serio/ps2mult.c serio_interrupt(in_port->serio, data, dfl); in_port 259 drivers/input/serio/ps2mult.c psm->in_port = psm->out_port; in_port 272 drivers/input/serio/ps2mult.c psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in_port 277 drivers/input/serio/ps2mult.c psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in_port 281 drivers/input/serio/ps2mult.c in_port = psm->in_port; in_port 282 drivers/input/serio/ps2mult.c if (in_port->registered) in_port 283 drivers/input/serio/ps2mult.c serio_interrupt(in_port->serio, data, dfl); in_port 2096 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u64 in_param, u64 *out_param, int in_port) in_port 2106 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = !in_port ? get_param_l(out_param) : in_port; in_port 2205 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u64 in_param, u64 *out_param, int in_port) in_port 2214 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = !in_port ? get_param_l(out_param) : in_port; in_port 2225 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (!in_port && port > 0 && port <= dev->caps.num_ports) { in_port 2512 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c u64 in_param, u64 *out_param, int in_port) in_port 2519 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c port = !in_port ? get_param_l(out_param) : in_port; in_port 989 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c MLXSW_ITEM32(afa, forward, in_port, 0x0C, 0, 1); in_port 993 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c u32 pbs_ptr, bool in_port) in_port 997 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c mlxsw_afa_forward_in_port_set(payload, in_port); in_port 1001 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c u8 local_port, bool in_port, in_port 1009 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c if (in_port) { in_port 1028 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c kvdl_index, in_port); in_port 55 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h u8 local_port, bool in_port, in_port 536 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c bool in_port; in_port 549 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c in_port = false; in_port 555 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c in_port = true; in_port 558 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c local_port, in_port, extack); in_port 568 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c struct mlxsw_sp_port *in_port; in_port 576 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c in_port = binding->mlxsw_sp_port; in_port 579 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c in_port->local_port, in_port 139 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c struct mlxsw_sp_port *in_port; in_port 144 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c in_port = mlxsw_sp->ports[local_in_port]; in_port 146 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c return mlxsw_sp_span_mirror_add(in_port, out_dev, type, in_port 154 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c struct mlxsw_sp_port *in_port; in_port 158 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c in_port = mlxsw_sp->ports[local_in_port]; in_port 160 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_actions.c mlxsw_sp_span_mirror_del(in_port, span_id, type, false); in_port 295 drivers/net/ethernet/netronome/nfp/flower/cmsg.h __be32 in_port; in_port 61 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(~0); in_port 66 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in_port 72 drivers/net/ethernet/netronome/nfp/flower/match.c frame->in_port = cpu_to_be32(cmsg_port); in_port 18 drivers/thunderbolt/path.c const struct tb_port *port = hop->in_port; in_port 191 drivers/thunderbolt/path.c path->hops[i].in_port = p; in_port 231 drivers/thunderbolt/path.c struct tb_port *in_port, *out_port; in_port 258 drivers/thunderbolt/path.c in_port = tb_next_port_on_path(src, dst, out_port); in_port 259 drivers/thunderbolt/path.c if (!in_port) in_port 262 drivers/thunderbolt/path.c if (in_port->dual_link_port && in_port->link_nr != link_nr) in_port 263 drivers/thunderbolt/path.c in_port = in_port->dual_link_port; in_port 265 drivers/thunderbolt/path.c ret = tb_port_alloc_in_hopid(in_port, in_hopid, in_hopid); in_port 270 drivers/thunderbolt/path.c out_port = tb_next_port_on_path(src, dst, in_port); in_port 288 drivers/thunderbolt/path.c path->hops[i].in_port = in_port; in_port 320 drivers/thunderbolt/path.c if (hop->in_port) in_port 321 drivers/thunderbolt/path.c tb_port_release_in_hopid(hop->in_port, in_port 336 drivers/thunderbolt/path.c res = tb_port_add_nfc_credits(path->hops[i].in_port, in_port 339 drivers/thunderbolt/path.c tb_port_warn(path->hops[i].in_port, in_port 400 drivers/thunderbolt/path.c res = __tb_path_deactivate_hop(path->hops[i].in_port, in_port 404 drivers/thunderbolt/path.c tb_port_warn(path->hops[i].in_port, in_port 418 drivers/thunderbolt/path.c path->name, tb_route(path->hops[0].in_port->sw), in_port 419 drivers/thunderbolt/path.c path->hops[0].in_port->port, in_port 446 drivers/thunderbolt/path.c path->name, tb_route(path->hops[0].in_port->sw), in_port 447 drivers/thunderbolt/path.c path->hops[0].in_port->port, in_port 455 drivers/thunderbolt/path.c res = tb_port_clear_counter(path->hops[i].in_port, in_port 463 drivers/thunderbolt/path.c res = tb_port_add_nfc_credits(path->hops[i].in_port, in_port 476 drivers/thunderbolt/path.c __tb_path_deactivate_hop(path->hops[i].in_port, in_port 504 drivers/thunderbolt/path.c tb_port_dbg(path->hops[i].in_port, "Writing hop %d\n", i); in_port 506 drivers/thunderbolt/path.c res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in_port 531 drivers/thunderbolt/path.c if (path->hops[i].in_port->sw->is_unplugged) in_port 176 drivers/thunderbolt/tb.h struct tb_port *in_port; in_port 317 drivers/thunderbolt/tunnel.c u32 nfc_credits = path->hops[0].in_port->config.nfc_credits; in_port 596 net/openvswitch/datapath.c input_vport = ovs_vport_rcu(dp, flow->key.phy.in_port); in_port 873 net/openvswitch/flow.c key->phy.in_port = OVS_CB(skb)->input_vport->port_no; in_port 68 net/openvswitch/flow.h u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ in_port 1169 net/openvswitch/flow_netlink.c u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); in_port 1172 net/openvswitch/flow_netlink.c in_port = 0xffffffff; /* Always exact match in_port. */ in_port 1173 net/openvswitch/flow_netlink.c } else if (in_port >= DP_MAX_PORTS) { in_port 1175 net/openvswitch/flow_netlink.c in_port, DP_MAX_PORTS); in_port 1179 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); in_port 1182 net/openvswitch/flow_netlink.c SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); in_port 1926 net/openvswitch/flow_netlink.c key->phy.in_port = DP_MAX_PORTS; in_port 1999 net/openvswitch/flow_netlink.c if (swkey->phy.in_port == DP_MAX_PORTS) { in_port 2000 net/openvswitch/flow_netlink.c if (is_mask && (output->phy.in_port == 0xffff)) in_port 2008 net/openvswitch/flow_netlink.c (upper_u16 << 16) | output->phy.in_port))