Searched refs:tag_protocol (Results 1 – 7 of 7) sorted by relevance
104 const struct dsa_device_ops *dsa_tag_driver_get(int tag_protocol) in dsa_tag_driver_get() argument110 request_module("%s%d", DSA_TAG_DRIVER_ALIAS, tag_protocol); in dsa_tag_driver_get()115 if (ops->proto == tag_protocol) { in dsa_tag_driver_get()
1396 enum dsa_tag_protocol tag_protocol = DSA_TAG_PROTO_NONE; in dsa_get_tag_protocol() local1409 tag_protocol = mds->ops->get_tag_protocol(mds, mdp_upstream, in dsa_get_tag_protocol()1416 return ds->ops->get_tag_protocol(ds, dp->index, tag_protocol); in dsa_get_tag_protocol()
171 const struct dsa_device_ops *dsa_tag_driver_get(int tag_protocol);
624 bool tag_en = !(dev->tag_protocol == DSA_TAG_PROTO_NONE); in b53_brcm_hdr_setup()735 return dev->tag_protocol == DSA_TAG_PROTO_NONE && dsa_is_cpu_port(ds, port); in b53_vlan_port_needs_forced_tagged()1108 ds->untag_bridge_pvid = dev->tag_protocol == DSA_TAG_PROTO_NONE; in b53_setup()2032 enum dsa_tag_protocol tag_protocol) in b53_can_enable_brcm_tags() argument2042 switch (tag_protocol) { in b53_can_enable_brcm_tags()2063 dev->tag_protocol = DSA_TAG_PROTO_NONE; in b53_get_tag_protocol()2069 dev->tag_protocol = DSA_TAG_PROTO_BRCM_LEGACY; in b53_get_tag_protocol()2077 dev->tag_protocol = DSA_TAG_PROTO_BRCM_PREPEND; in b53_get_tag_protocol()2081 dev->tag_protocol = DSA_TAG_PROTO_BRCM; in b53_get_tag_protocol()2083 return dev->tag_protocol; in b53_get_tag_protocol()
125 enum dsa_tag_protocol tag_protocol; member
314 enum dsa_tag_protocol tag_protocol; member
3097 if (chip->tag_protocol == DSA_TAG_PROTO_DSA) in mv88e6xxx_setup_port_mode()3100 if (chip->tag_protocol == DSA_TAG_PROTO_EDSA) in mv88e6xxx_setup_port_mode()6364 return chip->tag_protocol; in mv88e6xxx_get_tag_protocol()6393 old_protocol = chip->tag_protocol; in mv88e6xxx_change_tag_protocol()6394 chip->tag_protocol = proto; in mv88e6xxx_change_tag_protocol()6409 chip->tag_protocol = old_protocol; in mv88e6xxx_change_tag_protocol()7071 chip->tag_protocol = DSA_TAG_PROTO_EDSA; in mv88e6xxx_probe()7073 chip->tag_protocol = DSA_TAG_PROTO_DSA; in mv88e6xxx_probe()