Home
last modified time | relevance | path

Searched refs:in_port (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/drivers/thunderbolt/
Dpath.c68 res = tb_port_add_nfc_credits(path->hops[i].in_port, in __tb_path_deallocate_nfc()
71 tb_port_warn(path->hops[i].in_port, in __tb_path_deallocate_nfc()
82 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in __tb_path_deactivate_hops()
85 tb_port_warn(path->hops[i].in_port, in __tb_path_deactivate_hops()
99 tb_route(path->hops[0].in_port->sw), in tb_path_deactivate()
100 path->hops[0].in_port->port, in tb_path_deactivate()
127 tb_route(path->hops[0].in_port->sw), in tb_path_activate()
128 path->hops[0].in_port->port, in tb_path_activate()
136 res = tb_port_clear_counter(path->hops[i].in_port, in tb_path_activate()
144 res = tb_port_add_nfc_credits(path->hops[i].in_port, in tb_path_activate()
[all …]
Dtunnel_pci.c78 tunnel->path_to_up->hops[0].in_port = down; in tb_pci_alloc()
84 tunnel->path_to_up->hops[1].in_port = tb_upstream_port(up->sw); in tb_pci_alloc()
90 tunnel->path_to_down->hops[0].in_port = up; in tb_pci_alloc()
96 tunnel->path_to_down->hops[1].in_port = in tb_pci_alloc()
Dtb.h153 struct tb_port *in_port; member
/Linux-v4.19/drivers/input/serio/
Dps2mult.c43 struct ps2mult_port *in_port; member
189 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect()
239 struct ps2mult_port *in_port; in ps2mult_interrupt() local
248 in_port = psm->in_port; in ps2mult_interrupt()
249 if (in_port->registered) in ps2mult_interrupt()
250 serio_interrupt(in_port->serio, data, dfl); in ps2mult_interrupt()
262 psm->in_port = psm->out_port; in ps2mult_interrupt()
275 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
280 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
284 in_port = psm->in_port; in ps2mult_interrupt()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_flex_actions.c139 struct mlxsw_sp_port *in_port; in mlxsw_sp_act_mirror_add() local
144 in_port = mlxsw_sp->ports[local_in_port]; in mlxsw_sp_act_mirror_add()
146 return mlxsw_sp_span_mirror_add(in_port, out_dev, type, in mlxsw_sp_act_mirror_add()
154 struct mlxsw_sp_port *in_port; in mlxsw_sp_act_mirror_del() local
158 in_port = mlxsw_sp->ports[local_in_port]; in mlxsw_sp_act_mirror_del()
160 mlxsw_sp_span_mirror_del(in_port, span_id, type, false); in mlxsw_sp_act_mirror_del()
Dspectrum_acl.c526 bool in_port; in mlxsw_sp_acl_rulei_act_fwd() local
539 in_port = false; in mlxsw_sp_acl_rulei_act_fwd()
545 in_port = true; in mlxsw_sp_acl_rulei_act_fwd()
548 local_port, in_port, extack); in mlxsw_sp_acl_rulei_act_fwd()
558 struct mlxsw_sp_port *in_port; in mlxsw_sp_acl_rulei_act_mirror() local
566 in_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_mirror()
569 in_port->local_port, in mlxsw_sp_acl_rulei_act_mirror()
Dcore_acl_flex_actions.c989 MLXSW_ITEM32(afa, forward, in_port, 0x0C, 0, 1);
993 u32 pbs_ptr, bool in_port) in mlxsw_afa_forward_pack() argument
997 mlxsw_afa_forward_in_port_set(payload, in_port); in mlxsw_afa_forward_pack()
1001 u8 local_port, bool in_port, in mlxsw_afa_block_append_fwd() argument
1009 if (in_port) { in mlxsw_afa_block_append_fwd()
1028 kvdl_index, in_port); in mlxsw_afa_block_append_fwd()
Dcore_acl_flex_actions.h55 u8 local_port, bool in_port,
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c81 frame->in_port = cpu_to_be32(~0); in nfp_flower_compile_port()
86 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port()
88 frame->in_port = cpu_to_be32(cmsg_port); in nfp_flower_compile_port()
Dcmsg.h270 __be32 in_port; member
/Linux-v4.19/drivers/gpio/
Dgpio-gpio-mm.c156 const unsigned int in_port = (port > 2) ? port + 1 : port; in gpiomm_gpio_get() local
168 port_state = inb(gpiommgpio->base + in_port); in gpiomm_gpio_get()
Dgpio-104-dio-48e.c167 const unsigned in_port = (port > 2) ? port + 1 : port; in dio48e_gpio_get() local
179 port_state = inb(dio48egpio->base + in_port); in dio48e_gpio_get()
/Linux-v4.19/net/openvswitch/
Dflow_netlink.c1157 u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); in metadata_from_nlattrs() local
1160 in_port = 0xffffffff; /* Always exact match in_port. */ in metadata_from_nlattrs()
1161 } else if (in_port >= DP_MAX_PORTS) { in metadata_from_nlattrs()
1163 in_port, DP_MAX_PORTS); in metadata_from_nlattrs()
1167 SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); in metadata_from_nlattrs()
1170 SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); in metadata_from_nlattrs()
1914 key->phy.in_port = DP_MAX_PORTS; in ovs_nla_get_flow_metadata()
1987 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
1988 if (is_mask && (output->phy.in_port == 0xffff)) in __ovs_nla_put_key()
1996 (upper_u16 << 16) | output->phy.in_port)) in __ovs_nla_put_key()
Dflow.h82 u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ member
Dflow.c859 key->phy.in_port = OVS_CB(skb)->input_vport->port_no; in ovs_flow_key_extract()
Ddatapath.c590 input_vport = ovs_vport_rcu(dp, flow->key.phy.in_port); in ovs_packet_cmd_execute()
/Linux-v4.19/Documentation/networking/
Dopenvswitch.txt85 in_port(1), eth(src=e0:91:f5:21:d0:b2, dst=00:02:e3:0f:80:a4),
91 in_port(1), eth(...), eth_type(0x0800), ipv4(...), tcp(...)
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2086 u64 in_param, u64 *out_param, int in_port) in mac_alloc_res() argument
2096 port = !in_port ? get_param_l(out_param) : in_port; in mac_alloc_res()
2195 u64 in_param, u64 *out_param, int in_port) in vlan_alloc_res() argument
2204 port = !in_port ? get_param_l(out_param) : in_port; in vlan_alloc_res()
2215 if (!in_port && port > 0 && port <= dev->caps.num_ports) { in vlan_alloc_res()
2502 u64 in_param, u64 *out_param, int in_port) in mac_free_res() argument
2509 port = !in_port ? get_param_l(out_param) : in_port; in mac_free_res()