Home
last modified time | relevance | path

Searched refs:ptp_adj_freq (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c1275 hw_atl_b0_mac_adj_param_calc(struct hw_fw_request_ptp_adj_freq *ptp_adj_freq, in hw_atl_b0_mac_adj_param_calc() argument
1279 s64 fns_in_sec_phy = phyfreq * (ptp_adj_freq->fns_phy + in hw_atl_b0_mac_adj_param_calc()
1280 AQ_FRAC_PER_NS * ptp_adj_freq->ns_phy); in hw_atl_b0_mac_adj_param_calc()
1281 s64 fns_in_sec_mac = macfreq * (ptp_adj_freq->fns_mac + in hw_atl_b0_mac_adj_param_calc()
1282 AQ_FRAC_PER_NS * ptp_adj_freq->ns_mac); in hw_atl_b0_mac_adj_param_calc()
1291 adj_fns_val = (ptp_adj_freq->fns_mac + AQ_FRAC_PER_NS * in hw_atl_b0_mac_adj_param_calc()
1292 ptp_adj_freq->ns_mac) + diff_in_mcp_overflow; in hw_atl_b0_mac_adj_param_calc()
1294 ptp_adj_freq->mac_ns_adj = div64_s64(adj_fns_val, AQ_FRAC_PER_NS); in hw_atl_b0_mac_adj_param_calc()
1295 ptp_adj_freq->mac_fns_adj = adj_fns_val - ptp_adj_freq->mac_ns_adj * in hw_atl_b0_mac_adj_param_calc()
1330 &fwreq.ptp_adj_freq.ns_mac, in hw_atl_b0_adj_clock_freq()
[all …]
Dhw_atl_utils.h276 struct hw_fw_request_ptp_adj_freq ptp_adj_freq; member