Home
last modified time | relevance | path

Searched refs:tag_protocol (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/dsa/
Dtag.c202 const struct dsa_device_ops *dsa_tag_driver_get_by_id(int tag_protocol) in dsa_tag_driver_get_by_id() argument
208 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()
Dtag.h22 const struct dsa_device_ops *dsa_tag_driver_get_by_id(int tag_protocol);
Ddsa.c1134 enum dsa_tag_protocol tag_protocol = DSA_TAG_PROTO_NONE; in dsa_get_tag_protocol() local
1147 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()
/linux-6.6.21/drivers/net/dsa/b53/
Db53_common.c624 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() argument
2086 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()
Db53_priv.h127 enum dsa_tag_protocol tag_protocol; member
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dchip.h325 enum dsa_tag_protocol tag_protocol; member
Dchip.c3072 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()