Searched refs:tagger_data (Results 1 – 14 of 14) sorted by relevance
38 struct qca_tagger_data *tagger_data; in qca_tag_rcv() local48 tagger_data = ds->tagger_data; in qca_tag_rcv()66 if (likely(tagger_data->rw_reg_ack_handler)) in qca_tag_rcv()67 tagger_data->rw_reg_ack_handler(ds, skb); in qca_tag_rcv()73 if (likely(tagger_data->mib_autocast_handler)) in qca_tag_rcv()74 tagger_data->mib_autocast_handler(ds, skb); in qca_tag_rcv()94 struct qca_tagger_data *tagger_data; in qca_tag_connect() local96 tagger_data = kzalloc(sizeof(*tagger_data), GFP_KERNEL); in qca_tag_connect()97 if (!tagger_data) in qca_tag_connect()100 ds->tagger_data = tagger_data; in qca_tag_connect()[all …]
36 return ds->tagger_data; in ksz_tagger_private()51 struct ksz_tagger_private *priv = ds->tagger_data; in ksz_disconnect()55 ds->tagger_data = NULL; in ksz_disconnect()60 struct ksz_tagger_data *tagger_data; in ksz_connect() local79 tagger_data = &priv->data; in ksz_connect()80 tagger_data->hwtstamp_set_state = ksz_hwtstamp_set_state; in ksz_connect()81 ds->tagger_data = priv; in ksz_connect()238 struct ksz_tagger_data *tagger_data = ksz_tagger_data(dp->ds); in ksz_defer_xmit() local248 xmit_work_fn = tagger_data->xmit_work_fn; in ksz_defer_xmit()
27 struct ocelot_8021q_tagger_private *priv = dp->ds->tagger_data; in ocelot_defer_xmit()97 struct ocelot_8021q_tagger_private *priv = ds->tagger_data; in ocelot_disconnect()101 ds->tagger_data = NULL; in ocelot_disconnect()120 ds->tagger_data = priv; in ocelot_connect()
74 return ds->tagger_data; in sja1105_tagger_private()143 struct sja1105_tagger_data *tagger_data = sja1105_tagger_data(dp->ds); in sja1105_defer_xmit() local149 xmit_work_fn = tagger_data->xmit_work_fn; in sja1105_defer_xmit()575 struct sja1105_tagger_data *tagger_data; in sja1110_rcv_meta() local589 tagger_data = sja1105_tagger_data(ds); in sja1110_rcv_meta()590 if (!tagger_data->meta_tstamp_handler) in sja1110_rcv_meta()602 tagger_data->meta_tstamp_handler(ds, source_port, ts_id, dir, in sja1110_rcv_meta()739 struct sja1105_tagger_private *priv = ds->tagger_data; in sja1105_disconnect()743 ds->tagger_data = NULL; in sja1105_disconnect()767 ds->tagger_data = priv; in sja1105_connect()
953 if (tag_ops->disconnect && ds->tagger_data) in dsa_switch_disconnect_tag_proto()
50 return ds->tagger_data; in ksz_tagger_data()
72 return ds->tagger_data; in sja1105_tagger_data()
181 return ds->tagger_data; in ocelot_8021q_tagger_data()
1764 struct qca_tagger_data *tagger_data; in qca8k_connect_tag_protocol() local1768 tagger_data = ds->tagger_data; in qca8k_connect_tag_protocol()1770 tagger_data->rw_reg_ack_handler = qca8k_rw_reg_ack_handler; in qca8k_connect_tag_protocol()1771 tagger_data->mib_autocast_handler = qca8k_mib_autocast_handler; in qca8k_connect_tag_protocol()
264 struct ksz_tagger_data *tagger_data = ksz_tagger_data(dev->ds); in ksz_ptp_enable_mode() local287 tagger_data->hwtstamp_set_state(dev->ds, tag_en); in ksz_ptp_enable_mode()
2625 struct ksz_tagger_data *tagger_data; in ksz_connect_tag_protocol() local2633 tagger_data = ksz_tagger_data(ds); in ksz_connect_tag_protocol()2634 tagger_data->xmit_work_fn = ksz_port_deferred_xmit; in ksz_connect_tag_protocol()
1531 struct ocelot_8021q_tagger_data *tagger_data; in felix_connect_tag_protocol() local1535 tagger_data = ocelot_8021q_tagger_data(ds); in felix_connect_tag_protocol()1536 tagger_data->xmit_work_fn = felix_port_deferred_xmit; in felix_connect_tag_protocol()
2758 struct sja1105_tagger_data *tagger_data; in sja1105_connect_tag_protocol() local2763 tagger_data = sja1105_tagger_data(ds); in sja1105_connect_tag_protocol()2764 tagger_data->xmit_work_fn = sja1105_port_deferred_xmit; in sja1105_connect_tag_protocol()2765 tagger_data->meta_tstamp_handler = sja1110_process_meta_tstamp; in sja1105_connect_tag_protocol()
442 void *tagger_data; member