Searched refs:ptp_offset (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 94 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.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 701 int alg, u64 iova, int ptp_offset, in otx2_sqe_add_mem() argument 712 if (ptp_offset) { in otx2_sqe_add_mem() 713 mem->start_offset = ptp_offset; in otx2_sqe_add_mem() 1047 int ptp_offset = 0, udp_csum = 0; in otx2_set_txtstamp() local 1054 if (otx2_ptp_is_sync(skb, &ptp_offset, &udp_csum)) { in otx2_set_txtstamp() 1056 ((u8 *)skb->data + ptp_offset + in otx2_set_txtstamp() 1063 ptp_offset += 8; in otx2_set_txtstamp() 1070 ptp_offset, pfvf->ptp->base_ns, udp_csum); in otx2_set_txtstamp()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils.h | 159 struct hw_atl_ptp_offset ptp_offset; member
|