/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | path.c | 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 191 path->hops[i].in_port = p; in tb_path_discover() 232 struct tb_port *in_port, *out_port, *first_port, *last_port; in tb_path_alloc() local 244 tb_for_each_port_on_path(src, dst, in_port) { in tb_path_alloc() 246 first_port = in_port; in tb_path_alloc() 247 last_port = in_port; in tb_path_alloc() 270 in_port = tb_next_port_on_path(src, dst, out_port); in tb_path_alloc() 271 if (!in_port) in tb_path_alloc() 275 if (!in_port->bonded && in_port in tb_path_alloc() [all...] |
H A D | test.c | 737 u8 in_port; member 756 .in_port = 9, in tb_test_path_not_bonded_lane0() 763 .in_port = 1, in tb_test_path_not_bonded_lane0() 784 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane0() local 786 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0() 789 KUNIT_EXPECT_EQ(test, tb_route(in_port->sw), test_data[i].route); in tb_test_path_not_bonded_lane0() 790 KUNIT_EXPECT_EQ(test, in_port->port, test_data[i].in_port); in tb_test_path_not_bonded_lane0() 791 KUNIT_EXPECT_EQ(test, (enum tb_port_type)in_port in tb_test_path_not_bonded_lane0() 846 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1() local 926 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1_chain() local 1006 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1_chain_reverse() local 1098 const struct tb_port *in_port, *out_port; tb_test_path_mixed_chain() local 1190 const struct tb_port *in_port, *out_port; tb_test_path_mixed_chain_reverse() local [all...] |
H A D | tunnel.c | 129 tb_initial_credits(path->hops[1].in_port->sw); in tb_pci_init_path() 622 u32 nfc_credits = path->hops[0].in_port->config.nfc_credits; in tb_dp_init_video_path() 1021 tb_initial_credits(path->hops[1].in_port->sw); in tb_usb3_init_path()
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | path.c | 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 198 path->hops[i].in_port = p; in tb_path_discover() 242 struct tb_port *in_port, *out_port, *first_port, *last_port; in tb_path_alloc() local 254 tb_for_each_port_on_path(src, dst, in_port) { in tb_path_alloc() 256 first_port = in_port; in tb_path_alloc() 257 last_port = in_port; in tb_path_alloc() 282 in_port = tb_next_port_on_path(src, dst, out_port); in tb_path_alloc() 283 if (!in_port) in tb_path_alloc() 287 if (!in_port->bonded && in_port in tb_path_alloc() [all...] |
H A D | test.c | 864 u8 in_port; member 883 .in_port = 9, in tb_test_path_not_bonded_lane0() 890 .in_port = 1, in tb_test_path_not_bonded_lane0() 911 const struct tb_port *in_port, *out_port; in tb_test_path_not_bonded_lane0() local 913 in_port = path->hops[i].in_port; in tb_test_path_not_bonded_lane0() 916 KUNIT_EXPECT_EQ(test, tb_route(in_port->sw), test_data[i].route); 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() 918 KUNIT_EXPECT_EQ(test, (enum tb_port_type)in_port in tb_test_path_not_bonded_lane0() 973 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1() local 1053 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1_chain() local 1133 const struct tb_port *in_port, *out_port; tb_test_path_not_bonded_lane1_chain_reverse() local 1225 const struct tb_port *in_port, *out_port; tb_test_path_mixed_chain() local 1317 const struct tb_port *in_port, *out_port; tb_test_path_mixed_chain_reverse() local [all...] |
H A D | tunnel.c | 204 struct tb_port *port = hop->in_port; in tb_pci_init_credits() 1166 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits() 1192 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits() 1460 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits() 1510 tmp = min(tb_usable_credits(hop->in_port), credits); in tb_dma_init_rx_path() 1512 hop->in_port->dma_credits += tmp; in tb_dma_init_rx_path() 1551 struct tb_port *port = hop->in_port; in tb_dma_release_credits() 1686 if (tb_port_is_nhi(path->hops[0].in_port)) in tb_tunnel_match_dma() 1850 struct tb_port *port = hop->in_port; in tb_usb3_init_credits()
|
/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | ps2mult.c | 40 struct ps2mult_port *in_port; member 186 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect() 236 struct ps2mult_port *in_port; in ps2mult_interrupt() local 245 in_port = psm->in_port; in ps2mult_interrupt() 246 if (in_port->registered) in ps2mult_interrupt() 247 serio_interrupt(in_port->serio, data, dfl); in ps2mult_interrupt() 259 psm->in_port = psm->out_port; in ps2mult_interrupt() 272 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt() 277 psm->in_port in ps2mult_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | ps2mult.c | 40 struct ps2mult_port *in_port; member 186 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect() 236 struct ps2mult_port *in_port; in ps2mult_interrupt() local 245 in_port = psm->in_port; in ps2mult_interrupt() 246 if (in_port->registered) in ps2mult_interrupt() 247 serio_interrupt(in_port->serio, data, dfl); in ps2mult_interrupt() 259 psm->in_port = psm->out_port; in ps2mult_interrupt() 272 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt() 277 psm->in_port in ps2mult_interrupt() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 410 bool in_port; in mlxsw_sp_acl_rulei_act_fwd() local 423 in_port = false; in mlxsw_sp_acl_rulei_act_fwd() 429 in_port = true; in mlxsw_sp_acl_rulei_act_fwd() 432 local_port, in_port, extack); in mlxsw_sp_acl_rulei_act_fwd() 442 struct mlxsw_sp_port *in_port; in mlxsw_sp_acl_rulei_act_mirror() local 450 in_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_mirror() 453 in_port->local_port, in mlxsw_sp_acl_rulei_act_mirror()
|
H A D | core_acl_flex_actions.h | 64 u8 local_port, bool in_port,
|
H A D | core_acl_flex_actions.c | 1647 * Reserved when in_port is set. 1654 MLXSW_ITEM32(afa, forward, in_port, 0x0C, 0, 1); 1658 u32 pbs_ptr, bool in_port) in mlxsw_afa_forward_pack() 1662 mlxsw_afa_forward_in_port_set(payload, in_port); in mlxsw_afa_forward_pack() 1666 u8 local_port, bool in_port, in mlxsw_afa_block_append_fwd() 1674 if (in_port) { in mlxsw_afa_block_append_fwd() 1693 kvdl_index, in_port); in mlxsw_afa_block_append_fwd() 1657 mlxsw_afa_forward_pack(char *payload, enum mlxsw_afa_forward_type type, u32 pbs_ptr, bool in_port) mlxsw_afa_forward_pack() argument 1665 mlxsw_afa_block_append_fwd(struct mlxsw_afa_block *block, u8 local_port, bool in_port, struct netlink_ext_ack *extack) mlxsw_afa_block_append_fwd() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl.c | 422 bool in_port; in mlxsw_sp_acl_rulei_act_fwd() local 435 in_port = false; in mlxsw_sp_acl_rulei_act_fwd() 441 in_port = true; in mlxsw_sp_acl_rulei_act_fwd() 444 local_port, in_port, extack); in mlxsw_sp_acl_rulei_act_fwd() 454 struct mlxsw_sp_port *in_port; in mlxsw_sp_acl_rulei_act_mirror() local 462 in_port = binding->mlxsw_sp_port; in mlxsw_sp_acl_rulei_act_mirror() 465 in_port->local_port, in mlxsw_sp_acl_rulei_act_mirror()
|
H A D | core_acl_flex_actions.h | 70 u16 local_port, bool in_port,
|
H A D | core_acl_flex_actions.c | 1648 * Reserved when in_port is set. 1655 MLXSW_ITEM32(afa, forward, in_port, 0x0C, 0, 1); 1659 u32 pbs_ptr, bool in_port) in mlxsw_afa_forward_pack() 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() 1675 if (in_port) { in mlxsw_afa_block_append_fwd() 1694 kvdl_index, in_port); in mlxsw_afa_block_append_fwd() 1658 mlxsw_afa_forward_pack(char *payload, enum mlxsw_afa_forward_type type, u32 pbs_ptr, bool in_port) mlxsw_afa_forward_pack() argument 1666 mlxsw_afa_block_append_fwd(struct mlxsw_afa_block *block, u16 local_port, bool in_port, struct netlink_ext_ack *extack) mlxsw_afa_block_append_fwd() argument
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-gpio-mm.c | 151 const unsigned int in_port = (port > 2) ? port + 1 : port; in gpiomm_gpio_get() local 163 port_state = inb(gpiommgpio->base + in_port); in gpiomm_gpio_get()
|
H A D | gpio-104-dio-48e.c | 162 const unsigned in_port = (port > 2) ? port + 1 : port; in dio48e_gpio_get() local 174 port_state = inb(dio48egpio->base + in_port); in dio48e_gpio_get()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 60 frame->in_port = cpu_to_be32(~0); in nfp_flower_compile_port() 65 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port() 71 frame->in_port = cpu_to_be32(cmsg_port); in nfp_flower_compile_port()
|
H A D | cmsg.h | 301 __be32 in_port; member
|
/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow_netlink.c | 1172 u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); in metadata_from_nlattrs() local 1175 in_port = 0xffffffff; /* Always exact match in_port. */ in metadata_from_nlattrs() 1176 } else if (in_port >= DP_MAX_PORTS) { in metadata_from_nlattrs() 1178 in_port, DP_MAX_PORTS); in metadata_from_nlattrs() 1182 SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); in metadata_from_nlattrs() 1185 SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); in metadata_from_nlattrs() 1911 * @key: Receives extracted in_port, priority, tun_key, skb_mark and conntrack 1944 key->phy.in_port in ovs_nla_get_flow_metadata() [all...] |
H A D | flow.h | 69 u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ member
|
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | flow_netlink.c | 1184 u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); in metadata_from_nlattrs() local 1187 in_port = 0xffffffff; /* Always exact match in_port. */ in metadata_from_nlattrs() 1188 } else if (in_port >= DP_MAX_PORTS) { in metadata_from_nlattrs() 1190 in_port, DP_MAX_PORTS); in metadata_from_nlattrs() 1194 SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); in metadata_from_nlattrs() 1197 SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); in metadata_from_nlattrs() 1934 * @key: Receives extracted in_port, priority, tun_key, skb_mark and conntrack 1967 key->phy.in_port in ovs_nla_get_flow_metadata() [all...] |
H A D | flow.h | 82 u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 77 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 D | cmsg.h | 306 __be32 in_port; member
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 414 uint32_t max_ip_port = 0, max_op_port = 0, in_port = 0, out_port = 0; in audioreach_parse_common_tokens() local 458 in_port = le32_to_cpu(mod_elem->value); in audioreach_parse_common_tokens() 551 mod->in_port = in_port; in audioreach_parse_common_tokens()
|