Searched refs:ptp_adj_freq (Results 1 – 2 of 2) sorted by relevance
1268 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() argument1272 s64 fns_in_sec_phy = phyfreq * (ptp_adj_freq->fns_phy + in hw_atl_b0_mac_adj_param_calc()1273 AQ_FRAC_PER_NS * ptp_adj_freq->ns_phy); in hw_atl_b0_mac_adj_param_calc()1274 s64 fns_in_sec_mac = macfreq * (ptp_adj_freq->fns_mac + in hw_atl_b0_mac_adj_param_calc()1275 AQ_FRAC_PER_NS * ptp_adj_freq->ns_mac); in hw_atl_b0_mac_adj_param_calc()1284 adj_fns_val = (ptp_adj_freq->fns_mac + AQ_FRAC_PER_NS * in hw_atl_b0_mac_adj_param_calc()1285 ptp_adj_freq->ns_mac) + diff_in_mcp_overflow; in hw_atl_b0_mac_adj_param_calc()1287 ptp_adj_freq->mac_ns_adj = div64_s64(adj_fns_val, AQ_FRAC_PER_NS); in hw_atl_b0_mac_adj_param_calc()1288 ptp_adj_freq->mac_fns_adj = adj_fns_val - ptp_adj_freq->mac_ns_adj * in hw_atl_b0_mac_adj_param_calc()1323 &fwreq.ptp_adj_freq.ns_mac, in hw_atl_b0_adj_clock_freq()[all …]
276 struct hw_fw_request_ptp_adj_freq ptp_adj_freq; member