Home
last modified time | relevance | path

Searched refs:ts_id (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/rtc/
Drtc-pcf2127.c612 int ts_id) in pcf2127_rtc_ts_read() argument
619 ret = regmap_bulk_read(pcf2127->regmap, pcf2127->cfg->ts[ts_id].reg_base, in pcf2127_rtc_ts_read()
650 static void pcf2127_rtc_ts_snapshot(struct device *dev, int ts_id) in pcf2127_rtc_ts_snapshot() argument
655 if (ts_id >= pcf2127->cfg->ts_count) in pcf2127_rtc_ts_snapshot()
659 if (pcf2127->ts_valid[ts_id]) in pcf2127_rtc_ts_snapshot()
662 ret = pcf2127_rtc_ts_read(dev, &pcf2127->ts[ts_id], ts_id); in pcf2127_rtc_ts_snapshot()
664 pcf2127->ts_valid[ts_id] = true; in pcf2127_rtc_ts_snapshot()
750 const char *buf, size_t count, int ts_id) in timestamp_store() argument
755 if (ts_id >= pcf2127->cfg->ts_count) in timestamp_store()
759 pcf2127->ts_valid[ts_id] = false; in timestamp_store()
[all …]
/linux-6.6.21/include/linux/dsa/
Dsja1105.h52 void (*meta_tstamp_handler)(struct dsa_switch *ds, int port, u8 ts_id,
60 u8 ts_id; member
Docelot.h18 u8 ts_id; member
268 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3; in ocelot_ptp_rew_op()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c246 SPARX5_SKB_CB(skb)->ts_id = port->ts_id; in sparx5_ptp_txtstamp_request()
250 port->ts_id++; in sparx5_ptp_txtstamp_request()
251 if (port->ts_id == SPARX5_MAX_PTP_ID) in sparx5_ptp_txtstamp_request()
252 port->ts_id = 0; in sparx5_ptp_txtstamp_request()
266 port->ts_id--; in sparx5_ptp_txtstamp_release()
357 if (SPARX5_SKB_CB(skb)->ts_id != id) in sparx5_ptp_irq_handler()
Dsparx5_main.h192 u16 ts_id; member
217 u16 ts_id; member
Dsparx5_packet.c243 sparx5_set_port_ifh_timestamp(ifh, SPARX5_SKB_CB(skb)->ts_id); in sparx5_port_xmit_impl()
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_ptp.c413 void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id, in sja1110_process_meta_tstamp() argument
428 if (SJA1105_SKB_CB(skb)->ts_id != ts_id) in sja1110_process_meta_tstamp()
455 u8 ts_id; in sja1110_txtstamp() local
461 ts_id = priv->ts_id; in sja1110_txtstamp()
463 priv->ts_id++; in sja1110_txtstamp()
465 SJA1105_SKB_CB(clone)->ts_id = ts_id; in sja1110_txtstamp()
Dsja1105_ptp.h134 void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id,
Dsja1105.h273 u8 ts_id; member
/linux-6.6.21/net/dsa/
Dtag_sja1105.c337 u8 ts_id = SJA1105_SKB_CB(clone)->ts_id; in sja1110_xmit() local
340 *tx_trailer |= cpu_to_be32(SJA1110_TX_TRAILER_TSTAMP_ID(ts_id)); in sja1110_xmit()
594 u8 ts_id, source_port, dir; in sja1110_rcv_meta() local
597 ts_id = buf[0]; in sja1110_rcv_meta()
602 tagger_data->meta_tstamp_handler(ds, source_port, ts_id, dir, in sja1110_rcv_meta()
/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_ptp.c396 LAN966X_SKB_CB(skb)->ts_id = port->ts_id; in lan966x_ptp_txtstamp_request()
400 port->ts_id++; in lan966x_ptp_txtstamp_request()
401 if (port->ts_id == LAN966X_MAX_PTP_ID) in lan966x_ptp_txtstamp_request()
402 port->ts_id = 0; in lan966x_ptp_txtstamp_request()
416 port->ts_id--; in lan966x_ptp_txtstamp_release()
505 if (LAN966X_SKB_CB(skb)->ts_id != id) in lan966x_ptp_irq_handler()
Dlan966x_main.h309 u16 ts_id; member
461 u16 ts_id; member
Dlan966x_main.c383 lan966x_ifh_set_timestamp(ifh, LAN966X_SKB_CB(skb)->ts_id); in lan966x_port_xmit()
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_ptp.c626 OCELOT_SKB_CB(clone)->ts_id = ocelot_port->ts_id; in ocelot_port_add_txtstamp_skb()
628 ocelot_port->ts_id++; in ocelot_port_add_txtstamp_skb()
629 if (ocelot_port->ts_id == OCELOT_MAX_PTP_ID) in ocelot_port_add_txtstamp_skb()
630 ocelot_port->ts_id = 0; in ocelot_port_add_txtstamp_skb()
781 if (OCELOT_SKB_CB(skb)->ts_id != id) in ocelot_get_txtstamp()
/linux-6.6.21/drivers/hte/
Dhte.c241 u32 ts_id; in hte_ts_dis_en_common() local
256 ts_id = desc->attr.line_id; in hte_ts_dis_en_common()
261 dev_dbg(gdev->sdev, "id:%d is not registered", ts_id); in hte_ts_dis_en_common()
278 ts_id); in hte_ts_dis_en_common()
294 ts_id); in hte_ts_dis_en_common()
/linux-6.6.21/drivers/soc/mediatek/
Dmtk-svs.c1816 int o_slope, o_slope_sign, ts_id; in svs_mt8183_efuse_parsing() local
1914 ts_id = (svsp->tefuse[1] >> 9) & BIT(0); in svs_mt8183_efuse_parsing()
1915 if (!ts_id) { in svs_mt8183_efuse_parsing()
/linux-6.6.21/include/soc/mscc/
Docelot.h789 u8 ts_id; member
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dwmi.c1511 u8 ts_id; in ath6kl_wmi_cac_event_rx() local
1556 ts_id = ((tsinfo >> IEEE80211_WMM_IE_TSPEC_TID_SHIFT) & in ath6kl_wmi_cac_event_rx()
1560 wmi->stream_exist_for_ac[reply->ac] &= ~(1 << ts_id); in ath6kl_wmi_cac_event_rx()