Home
last modified time | relevance | path

Searched refs:conduit (Results 1 – 25 of 34) sorted by relevance

12

/linux/tools/testing/selftests/kvm/aarch64/
H A Dsmccc_filter.c25 #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 Dnetlink.c25 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 Ddsa.c370 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 Dtag_8021q.c344 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 Duser.c199 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 Dport.c1050 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 Ddsa.h29 struct net_device *conduit,
32 struct net_device *conduit,
H A Dtag_8021q.h19 struct net_device *dsa_tag_8021q_find_user(struct net_device *conduit,
H A Dtag.h185 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 Duser.h51 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit,
H A DMakefile11 conduit.o \
H A Dswitch.h110 const struct net_device *conduit; member
H A Dtag_sja1105.c532 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 Dsmccc.c22 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 Dconfiguration.rst34 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 Ddsa.rst28 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 Db53.rst71 # 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 Dlan9303.rst7 host conduit network interface (e.g. fixed link).
/linux/drivers/acpi/arm64/
H A Dffh.c24 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 Dsdei.c168 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 Dpsci.c270 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 Dsdei.h49 unsigned long sdei_arch_get_entry_point(int conduit);
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c46 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 Dfelix.h81 struct net_device *conduit,
/linux/include/linux/
H A Darm_sdei.h16 #define sdei_arch_get_entry_point(conduit) (0) argument

12