/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | smccc_filter.c | 25 #define for_each_conduit(conduit) \ argument 26 for (conduit = HVC_INSN; conduit <= SMC_INSN; conduit++) 28 static void guest_main(uint32_t func_id, enum smccc_conduit conduit) in guest_main() argument 32 if (conduit == SMC_INSN) in guest_main() 190 enum smccc_conduit conduit; in test_filter_denied() local 194 for_each_conduit(conduit) { in test_filter_denied() 198 vcpu_args_set(vcpu, 2, PSCI_0_2_FN_PSCI_VERSION, conduit); in test_filter_denied() 208 enum smccc_conduit conduit) in expect_call_fwd_to_user() argument 217 if (conduit == SMC_INSN) in expect_call_fwd_to_user() 228 enum smccc_conduit conduit; in test_filter_fwd_to_user() local [all …]
|
/linux/net/dsa/ |
H A D | netlink.c | 25 struct net_device *conduit; in dsa_changelink() local 27 conduit = __dev_get_by_index(dev_net(dev), ifindex); in dsa_changelink() 28 if (!conduit) in dsa_changelink() 31 err = dsa_user_change_conduit(dev, conduit, extack); in dsa_changelink() 47 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_fill_info() local 49 if (nla_put_u32(skb, IFLA_DSA_CONDUIT, conduit->ifindex)) in dsa_fill_info()
|
H A D | dsa.c | 370 struct net_device *conduit; in dsa_tree_find_first_conduit() local 375 conduit = of_find_net_device_by_node(ethernet); in dsa_tree_find_first_conduit() 378 return conduit; in dsa_tree_find_first_conduit() 799 struct net_device *conduit = cpu_dp->conduit; in dsa_tree_setup_conduit() local 800 bool admin_up = (conduit->flags & IFF_UP) && in dsa_tree_setup_conduit() 801 !qdisc_tx_is_noop(conduit); in dsa_tree_setup_conduit() 803 err = dsa_conduit_setup(conduit, cpu_dp); in dsa_tree_setup_conduit() 808 dsa_tree_conduit_admin_state_change(dst, conduit, admin_up); in dsa_tree_setup_conduit() 809 dsa_tree_conduit_oper_state_change(dst, conduit, in dsa_tree_setup_conduit() 810 netif_oper_up(conduit)); in dsa_tree_setup_conduit() [all …]
|
H A D | tag_8021q.c | 344 struct net_device *conduit; in dsa_tag_8021q_port_setup() local 353 conduit = dsa_port_to_conduit(dp); in dsa_tag_8021q_port_setup() 364 vlan_vid_add(conduit, ctx->proto, vid); in dsa_tag_8021q_port_setup() 374 struct net_device *conduit; in dsa_tag_8021q_port_teardown() local 382 conduit = dsa_port_to_conduit(dp); in dsa_tag_8021q_port_teardown() 386 vlan_vid_del(conduit, ctx->proto, vid); in dsa_tag_8021q_port_teardown() 475 dsa_tag_8021q_find_port_by_vbid(struct net_device *conduit, int vbid) in dsa_tag_8021q_find_port_by_vbid() argument 477 struct dsa_port *cpu_dp = conduit->dsa_ptr; in dsa_tag_8021q_find_port_by_vbid() 502 struct net_device *dsa_tag_8021q_find_user(struct net_device *conduit, in dsa_tag_8021q_find_user() argument 508 return dsa_conduit_find_user(conduit, switch_id, source_port); in dsa_tag_8021q_find_user() [all …]
|
H A D | user.c | 199 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_user_sync_uc() local 207 dev_uc_add(conduit, addr); in dsa_user_sync_uc() 219 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_user_unsync_uc() local 227 dev_uc_del(conduit, addr); in dsa_user_unsync_uc() 239 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_user_sync_mc() local 247 dev_mc_add(conduit, addr); in dsa_user_sync_mc() 259 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_user_unsync_mc() local 267 dev_mc_del(conduit, addr); in dsa_user_unsync_mc() 360 struct net_device *conduit = dsa_user_to_conduit(dev); in dsa_user_host_uc_install() local 371 if (!ether_addr_equal(addr, conduit->dev_addr)) { in dsa_user_host_uc_install() [all …]
|
H A D | port.c | 1050 struct net_device *conduit = dsa_port_to_conduit(dp); in dsa_port_bridge_host_fdb_add() local 1064 if (conduit->priv_flags & IFF_UNICAST_FLT) { in dsa_port_bridge_host_fdb_add() 1065 err = dev_uc_add(conduit, addr); in dsa_port_bridge_host_fdb_add() 1101 struct net_device *conduit = dsa_port_to_conduit(dp); in dsa_port_bridge_host_fdb_del() local 1111 if (conduit->priv_flags & IFF_UNICAST_FLT) { in dsa_port_bridge_host_fdb_del() 1112 err = dev_uc_del(conduit, addr); in dsa_port_bridge_host_fdb_del() 1232 struct net_device *conduit = dsa_port_to_conduit(dp); in dsa_port_bridge_host_mdb_add() local 1242 err = dev_mc_add(conduit, mdb->addr); in dsa_port_bridge_host_mdb_add() 1276 struct net_device *conduit = dsa_port_to_conduit(dp); in dsa_port_bridge_host_mdb_del() local 1286 err = dev_mc_del(conduit, mdb->addr); in dsa_port_bridge_host_mdb_del() [all …]
|
H A D | dsa.h | 29 struct net_device *conduit, 32 struct net_device *conduit,
|
H A D | tag_8021q.h | 19 struct net_device *dsa_tag_8021q_find_user(struct net_device *conduit,
|
H A D | tag.h | 185 dsa_find_designated_bridge_port_by_vid(struct net_device *conduit, u16 vid) in dsa_find_designated_bridge_port_by_vid() argument 187 struct dsa_port *cpu_dp = conduit->dsa_ptr; in dsa_find_designated_bridge_port_by_vid()
|
H A D | user.h | 51 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit,
|
H A D | Makefile | 11 conduit.o \
|
H A D | switch.h | 110 const struct net_device *conduit; member
|
H A D | tag_sja1105.c | 532 struct net_device *conduit = skb->dev; in sja1110_rcv_meta() local 537 cpu_dp = conduit->dsa_ptr; in sja1110_rcv_meta() 541 conduit->name, switch_id); in sja1110_rcv_meta()
|
/linux/drivers/firmware/arm_ffa/ |
H A D | smccc.c | 22 enum arm_smccc_conduit conduit; in ffa_transport_init() local 27 conduit = arm_smccc_1_1_get_conduit(); in ffa_transport_init() 28 if (conduit == SMCCC_CONDUIT_NONE) { in ffa_transport_init() 33 if (conduit == SMCCC_CONDUIT_SMC) in ffa_transport_init()
|
/linux/Documentation/networking/dsa/ |
H A D | configuration.rst | 34 The corresponding linux Ethernet interface is called the conduit interface. 37 The user interfaces depend on the conduit interface being up in order for them 38 to send or receive traffic. Prior to kernel v5.12, the state of the conduit 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 50 the conduit interface 53 another conduit interface 99 # For kernels earlier than v5.12, the conduit interface needs to be 111 # For kernels earlier than v5.12, the conduit interface needs to be 137 # For kernels earlier than v5.12, the conduit interface needs to be [all …]
|
H A D | dsa.rst | 28 be later referred to as "conduit" and "cpu" in DSA terminology and code. 59 would get two interfaces for the same conduit: conduit netdev, and "cpu" netdev 66 "master" (rather than "conduit") and "slave" (rather than "user"). These terms 87 shifting to the right (from the perspective of the DSA conduit's frame 90 the MAC DA and MAC SA in place from the DSA conduit's perspective, but 94 that the DSA conduit's frame parser has. 102 framework will automatically adjust the MTU of the conduit interface to 147 tree. The DSA links are viewed as simply a pair of a DSA conduit (the out-facing 152 ``dsa/tagging`` sysfs attribute of the DSA conduit:: 158 protocol name to the same sysfs device attribute as above (the DSA conduit and [all …]
|
H A D | b53.rst | 71 # The conduit interface needs to be brought up before the user ports. 116 # The conduit interface needs to be brought up before the user ports. 152 # The conduit interface needs to be brought up before the user ports.
|
H A D | lan9303.rst | 7 host conduit network interface (e.g. fixed link).
|
/linux/drivers/acpi/arm64/ |
H A D | ffh.c | 24 enum arm_smccc_conduit conduit; in acpi_ffh_address_space_arch_setup() local 30 conduit = arm_smccc_1_1_get_conduit(); in acpi_ffh_address_space_arch_setup() 31 if (conduit == SMCCC_CONDUIT_NONE) { in acpi_ffh_address_space_arch_setup() 40 if (conduit == SMCCC_CONDUIT_SMC) { in acpi_ffh_address_space_arch_setup()
|
/linux/arch/arm64/kernel/ |
H A D | sdei.c | 168 unsigned long sdei_arch_get_entry_point(int conduit) in sdei_arch_get_entry_point() argument 187 sdei_exit_mode = (conduit == SMCCC_CONDUIT_HVC) ? SDEI_EXIT_HVC : SDEI_EXIT_SMC; in sdei_arch_get_entry_point()
|
/linux/drivers/firmware/psci/ |
H A D | psci.c | 270 static void set_conduit(enum arm_smccc_conduit conduit) in set_conduit() argument 272 switch (conduit) { in set_conduit() 280 WARN(1, "Unexpected PSCI conduit %d\n", conduit); in set_conduit() 283 psci_conduit = conduit; in set_conduit()
|
/linux/arch/arm64/include/asm/ |
H A D | sdei.h | 49 unsigned long sdei_arch_get_entry_point(int conduit);
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 46 struct net_device *conduit) in felix_cpu_port_for_conduit() argument 52 if (netif_is_lag_master(conduit)) { in felix_cpu_port_for_conduit() 54 lag = ocelot_bond_get_id(ocelot, conduit); in felix_cpu_port_for_conduit() 60 cpu_dp = conduit->dsa_ptr; in felix_cpu_port_for_conduit() 521 struct net_device *conduit, in felix_tag_npi_change_conduit() argument 527 if (netif_is_lag_master(conduit)) { in felix_tag_npi_change_conduit() 541 dsa_port_to_conduit(other_dp) != conduit) { in felix_tag_npi_change_conduit() 549 felix_npi_port_init(ocelot, felix_cpu_port_for_conduit(ds, conduit)); in felix_tag_npi_change_conduit() 655 struct net_device *conduit, in felix_tag_8021q_change_conduit() argument 658 int cpu = felix_cpu_port_for_conduit(ds, conduit); in felix_tag_8021q_change_conduit() [all …]
|
H A D | felix.h | 81 struct net_device *conduit,
|
/linux/include/linux/ |
H A D | arm_sdei.h | 16 #define sdei_arch_get_entry_point(conduit) (0) argument
|