Home
last modified time | relevance | path

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

/linux-6.15/drivers/thunderbolt/
H A Dpath.c18 const struct tb_port *port = hop->in_port; in tb_dump_hop()
198 path->hops[i].in_port = p; in tb_path_discover()
256 first_port = in_port; in tb_path_alloc()
257 last_port = in_port; in tb_path_alloc()
283 if (!in_port) in tb_path_alloc()
287 if (!in_port->bonded && in_port->dual_link_port && in tb_path_alloc()
288 in_port->link_nr != link_nr) in tb_path_alloc()
289 in_port = in_port->dual_link_port; in tb_path_alloc()
333 path->hops[i].in_port = in_port; in tb_path_alloc()
366 if (hop->in_port) in tb_path_free()
[all …]
H A Dtest.c864 u8 in_port; member
913 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0()
917 KUNIT_EXPECT_EQ(test, in_port->port, test_data[i].in_port); in tb_test_path_not_bonded_lane0()
975 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1()
979 KUNIT_EXPECT_EQ(test, in_port->port, test_data[i].in_port); in tb_test_path_not_bonded_lane1()
1055 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain()
1059 KUNIT_EXPECT_EQ(test, in_port->port, test_data[i].in_port); in tb_test_path_not_bonded_lane1_chain()
1135 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane1_chain_reverse()
1139 KUNIT_EXPECT_EQ(test, in_port->port, test_data[i].in_port); in tb_test_path_not_bonded_lane1_chain_reverse()
1227 in_port = path->hops[i].in_port; in tb_test_path_mixed_chain()
[all …]
H A Dtunnel.c161 struct tb_port *in_port = hop->in_port; in tb_init_pm_support() local
164 usb4_switch_version(in_port->sw) >= 2) in tb_init_pm_support()
289 struct tb_port *port = hop->in_port; in tb_pci_init_credits()
1345 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits()
1374 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits()
1658 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits()
1708 tmp = min(tb_usable_credits(hop->in_port), credits); in tb_dma_init_rx_path()
1710 hop->in_port->dma_credits += tmp; in tb_dma_init_rx_path()
1749 struct tb_port *port = hop->in_port; in tb_dma_release_credits()
1884 if (tb_port_is_nhi(path->hops[0].in_port)) in tb_tunnel_match_dma()
[all …]
H A Dtb.h382 struct tb_port *in_port; member
/linux-6.15/drivers/input/serio/
H A Dps2mult.c40 struct ps2mult_port *in_port; member
227 struct ps2mult_port *in_port; in ps2mult_interrupt() local
235 in_port = psm->in_port; in ps2mult_interrupt()
236 if (in_port->registered) in ps2mult_interrupt()
237 serio_interrupt(in_port->serio, data, dfl); in ps2mult_interrupt()
249 psm->in_port = psm->out_port; in ps2mult_interrupt()
262 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
267 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
271 in_port = psm->in_port; in ps2mult_interrupt()
272 if (in_port->registered) in ps2mult_interrupt()
[all …]
/linux-6.15/drivers/gpio/
H A Dgpio-npcm-sgpio.c67 u8 in_port; member
182 u8 in_port, out_port, set_port, reg; in npcm_sgpio_init_port() local
184 in_port = GPIO_BANK(gpio->nin_sgpio); in npcm_sgpio_init_port()
186 in_port += 1; in npcm_sgpio_init_port()
192 gpio->in_port = in_port; in npcm_sgpio_init_port()
195 (in_port & NPCM_IOXCFG2_PORT); in npcm_sgpio_init_port()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl.c423 bool in_port; in mlxsw_sp_acl_rulei_act_fwd() local
436 in_port = false; in mlxsw_sp_acl_rulei_act_fwd()
442 in_port = true; in mlxsw_sp_acl_rulei_act_fwd()
445 local_port, in_port, extack); in mlxsw_sp_acl_rulei_act_fwd()
455 struct mlxsw_sp_port *in_port; in mlxsw_sp_acl_rulei_act_mirror() local
463 in_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_mirror()
466 in_port->local_port, in mlxsw_sp_acl_rulei_act_mirror()
H A Dcore_acl_flex_actions.h70 u16 local_port, bool in_port,
H A Dcore_acl_flex_actions.c1655 MLXSW_ITEM32(afa, forward, in_port, 0x0C, 0, 1);
1659 u32 pbs_ptr, bool in_port) in mlxsw_afa_forward_pack() argument
1663 mlxsw_afa_forward_in_port_set(payload, in_port); in mlxsw_afa_forward_pack()
1667 u16 local_port, bool in_port, in mlxsw_afa_block_append_fwd() argument
1675 if (in_port) { in mlxsw_afa_block_append_fwd()
1694 kvdl_index, in_port); in mlxsw_afa_block_append_fwd()
/linux-6.15/drivers/net/ethernet/netronome/nfp/flower/
H A Dmatch.c77 frame->in_port = cpu_to_be32(~0); in nfp_flower_compile_port()
82 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()
H A Dcmsg.h306 __be32 in_port; member
/linux-6.15/net/openvswitch/
H A Dflow.h82 u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ member
H A Dflow_netlink.c1197 u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); in metadata_from_nlattrs() local
1200 in_port = 0xffffffff; /* Always exact match in_port. */ in metadata_from_nlattrs()
1201 } else if (in_port >= DP_MAX_PORTS) { in metadata_from_nlattrs()
1203 in_port, DP_MAX_PORTS); in metadata_from_nlattrs()
1207 SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); in metadata_from_nlattrs()
1210 SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); in metadata_from_nlattrs()
1980 key->phy.in_port = DP_MAX_PORTS; in ovs_nla_get_flow_metadata()
2053 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2054 if (is_mask && (output->phy.in_port == 0xffff)) in __ovs_nla_put_key()
2062 (upper_u16 << 16) | output->phy.in_port)) in __ovs_nla_put_key()
H A Dflow.c1034 key->phy.in_port = OVS_CB(skb)->input_vport->port_no; in ovs_flow_key_extract()
H A Ddatapath.c662 input_vport = ovs_vport_rcu(dp, flow->key.phy.in_port); in ovs_packet_cmd_execute()
/linux-6.15/sound/soc/qcom/qdsp6/
H A Dtopology.c415 uint32_t max_ip_port = 0, max_op_port = 0, in_port = 0, out_port = 0; in audioreach_parse_common_tokens() local
459 in_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens()
553 mod->in_port = in_port; in audioreach_parse_common_tokens()
H A Daudioreach.h710 uint32_t in_port; member
/linux-6.15/Documentation/networking/
H A Dopenvswitch.rst88 in_port(1), eth(src=e0:91:f5:21:d0:b2, dst=00:02:e3:0f:80:a4),
94 in_port(1), eth(...), eth_type(0x0800), ipv4(...), tcp(...)
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c2096 u64 in_param, u64 *out_param, int in_port) in mac_alloc_res() argument
2106 port = !in_port ? get_param_l(out_param) : in_port; in mac_alloc_res()
2205 u64 in_param, u64 *out_param, int in_port) in vlan_alloc_res() argument
2214 port = !in_port ? get_param_l(out_param) : in_port; in vlan_alloc_res()
2225 if (!in_port && port > 0 && port <= dev->caps.num_ports) { in vlan_alloc_res()
2512 u64 in_param, u64 *out_param, int in_port) in mac_free_res() argument
2519 port = !in_port ? get_param_l(out_param) : in_port; in mac_free_res()