Searched refs:tag_protocol (Results 1 – 7 of 7) sorted by relevance
202 const struct dsa_device_ops *dsa_tag_driver_get_by_id(int tag_protocol) in dsa_tag_driver_get_by_id() argument208 request_module("%sid-%d", DSA_TAG_DRIVER_ALIAS, tag_protocol); in dsa_tag_driver_get_by_id()213 if (ops->proto == tag_protocol) { in dsa_tag_driver_get_by_id()
22 const struct dsa_device_ops *dsa_tag_driver_get_by_id(int tag_protocol);
1134 enum dsa_tag_protocol tag_protocol = DSA_TAG_PROTO_NONE; in dsa_get_tag_protocol() local1147 tag_protocol = mds->ops->get_tag_protocol(mds, mdp_upstream, in dsa_get_tag_protocol()1154 return ds->ops->get_tag_protocol(ds, dp->index, tag_protocol); in dsa_get_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()2076 enum dsa_tag_protocol tag_protocol) in b53_can_enable_brcm_tags() argument2086 switch (tag_protocol) { in b53_can_enable_brcm_tags()2107 dev->tag_protocol = DSA_TAG_PROTO_NONE; in b53_get_tag_protocol()2113 dev->tag_protocol = DSA_TAG_PROTO_BRCM_LEGACY; in b53_get_tag_protocol()2121 dev->tag_protocol = DSA_TAG_PROTO_BRCM_PREPEND; in b53_get_tag_protocol()2125 dev->tag_protocol = DSA_TAG_PROTO_BRCM; in b53_get_tag_protocol()2127 return dev->tag_protocol; in b53_get_tag_protocol()
127 enum dsa_tag_protocol tag_protocol; member
325 enum dsa_tag_protocol tag_protocol; member
3072 if (chip->tag_protocol == DSA_TAG_PROTO_DSA) in mv88e6xxx_setup_port_mode()3075 if (chip->tag_protocol == DSA_TAG_PROTO_EDSA) in mv88e6xxx_setup_port_mode()6285 return chip->tag_protocol; in mv88e6xxx_get_tag_protocol()6314 old_protocol = chip->tag_protocol; in mv88e6xxx_change_tag_protocol()6315 chip->tag_protocol = proto; in mv88e6xxx_change_tag_protocol()6330 chip->tag_protocol = old_protocol; in mv88e6xxx_change_tag_protocol()6997 chip->tag_protocol = DSA_TAG_PROTO_EDSA; in mv88e6xxx_probe()6999 chip->tag_protocol = DSA_TAG_PROTO_DSA; in mv88e6xxx_probe()