Home
last modified time | relevance | path

Searched refs:ptp_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_ptp.c94 static struct ptp_tm_offset ptp_offset[6]; variable
107 for (i = 0; i < ARRAY_SIZE(ptp_offset); i++) { in aq_ptp_tm_offset_set()
108 if (mbps == ptp_offset[i].mbps) { in aq_ptp_tm_offset_set()
109 egress = ptp_offset[i].egress; in aq_ptp_tm_offset_set()
110 ingress = ptp_offset[i].ingress; in aq_ptp_tm_offset_set()
1047 ptp_offset[__idx].mbps = (__mbps); \
1048 ptp_offset[__idx].egress = (__egress); \
1049 ptp_offset[__idx].ingress = (__ingress); } \
1057 for (i = 0; i < ARRAY_SIZE(ptp_offset); i++) { in aq_ptp_offset_init_from_fw()
1095 memset(ptp_offset, 0, sizeof(ptp_offset)); in aq_ptp_offset_init()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c728 int alg, u64 iova, int ptp_offset, in otx2_sqe_add_mem() argument
739 if (ptp_offset) { in otx2_sqe_add_mem()
740 mem->start_offset = ptp_offset; in otx2_sqe_add_mem()
1086 int ptp_offset = 0; in otx2_set_txtstamp() local
1093 otx2_ptp_is_sync(skb, &ptp_offset, &udp_csum_crt))) { in otx2_set_txtstamp()
1095 ((u8 *)skb->data + ptp_offset + in otx2_set_txtstamp()
1102 ptp_offset += 8; in otx2_set_txtstamp()
1135 ptp_offset, pfvf->ptp->base_ns, udp_csum_crt); in otx2_set_txtstamp()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.h159 struct hw_atl_ptp_offset ptp_offset; member