Home
last modified time | relevance | path

Searched refs:ppb (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/scsi/
A Dppa.c189 r = r_str(ppb); in ppa_wait()
215 i = r_str(ppb); in epp_reset()
216 w_str(ppb, i); in epp_reset()
298 epp_reset(ppb); in ppa_out()
351 epp_reset(ppb); in ppa_in()
379 w_dtr(ppb, b); in ppa_d_pulse()
380 w_ctr(ppb, 0xc); in ppa_d_pulse()
381 w_ctr(ppb, 0xe); in ppa_d_pulse()
382 w_ctr(ppb, 0xc); in ppa_d_pulse()
383 w_ctr(ppb, 0x4); in ppa_d_pulse()
[all …]
A Dimm.c179 w_ctr(ppb, 0x0c); in imm_wait()
183 r = r_str(ppb); in imm_wait()
208 w_ctr(ppb, 0x04); in imm_wait()
273 i = r_str(ppb); in epp_reset()
274 w_str(ppb, i); in epp_reset()
367 epp_reset(ppb); in imm_out()
427 epp_reset(ppb); in imm_in()
487 w_dtr(ppb, b); in imm_cpp()
550 w_ctr(ppb, 0xc); in imm_select()
563 w_ctr(ppb, 0x4); in imm_select()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_ptp.c254 static int qed_ptp_hw_adjfreq(struct qed_dev *cdev, s32 ppb) in qed_ptp_hw_adjfreq() argument
262 if (ppb < 0) { in qed_ptp_hw_adjfreq()
263 ppb = -ppb; in qed_ptp_hw_adjfreq()
267 if (ppb > 1) { in qed_ptp_hw_adjfreq()
268 s64 best_dif = ppb, best_approx_dev = 1; in qed_ptp_hw_adjfreq()
274 period = div_s64(val * 1000000000, ppb); in qed_ptp_hw_adjfreq()
284 dif = ppb * approx_dev - val * 1000000000; in qed_ptp_hw_adjfreq()
285 dif2 = dif + 16 * ppb; in qed_ptp_hw_adjfreq()
307 } else if (ppb == 1) { in qed_ptp_hw_adjfreq()
/linux/drivers/ptp/
A Dptp_dte.c47 #define DTE_PPB_ADJ(ppb) (u32)(div64_u64((((u64)abs(ppb) * BIT(28)) +\ argument
147 static int ptp_dte_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dte_adjfreq() argument
153 if (abs(ppb) > ptp_dte->caps.max_adj) { in ptp_dte_adjfreq()
158 if (ppb < 0) in ptp_dte_adjfreq()
159 nco_incr = DTE_NCO_INC_DEFAULT - DTE_PPB_ADJ(ppb); in ptp_dte_adjfreq()
161 nco_incr = DTE_NCO_INC_DEFAULT + DTE_PPB_ADJ(ppb); in ptp_dte_adjfreq()
A Dptp_clock.c131 long ppb = scaled_ppm_to_ppb(tx->freq); in ptp_clock_adjtime() local
132 if (ppb > ops->max_adj || ppb < -ops->max_adj) in ptp_clock_adjtime()
137 err = ops->adjfreq(ops, ppb); in ptp_clock_adjtime()
A Dptp_pch.c393 static int ptp_pch_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_pch_adjfreq() argument
401 if (ppb < 0) { in ptp_pch_adjfreq()
403 ppb = -ppb; in ptp_pch_adjfreq()
407 adj *= ppb; in ptp_pch_adjfreq()
/linux/include/linux/
A Dptp_clock_kernel.h211 s64 ppb = 1 + ppm; in scaled_ppm_to_ppb() local
213 ppb *= 125; in scaled_ppm_to_ppb()
214 ppb >>= 13; in scaled_ppm_to_ppb()
215 return (long)ppb; in scaled_ppm_to_ppb()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dptp.c80 s64 ppb; in ptp_adjfine() local
103 ppb = 1 + scaled_ppm; in ptp_adjfine()
104 ppb *= 125; in ptp_adjfine()
105 ppb >>= 13; in ptp_adjfine()
106 adj = comp * ppb; in ptp_adjfine()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_ptp.c204 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq() argument
218 c.u.ts.sign = (ppb < 0) ? 1 : 0; in cxgb4_ptp_adjfreq()
219 if (ppb < 0) in cxgb4_ptp_adjfreq()
220 ppb = -ppb; in cxgb4_ptp_adjfreq()
221 c.u.ts.ppb = cpu_to_be32(ppb); in cxgb4_ptp_adjfreq()
/linux/drivers/net/ethernet/xscale/
A Dptp_ixp46x.c124 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq() argument
132 if (ppb < 0) { in ptp_ixp_adjfreq()
134 ppb = -ppb; in ptp_ixp_adjfreq()
138 adj *= ppb; in ptp_ixp_adjfreq()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_ptp.c22 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq() argument
31 if (ppb < 0) { in stmmac_adjust_freq()
33 ppb = -ppb; in stmmac_adjust_freq()
38 adj *= ppb; in stmmac_adjust_freq()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ptp.c444 static int ixgbe_ptp_adjfreq_82599(struct ptp_clock_info *ptp, s32 ppb) in ixgbe_ptp_adjfreq_82599() argument
453 if (ppb < 0) { in ixgbe_ptp_adjfreq_82599()
455 ppb = -ppb; in ixgbe_ptp_adjfreq_82599()
462 freq *= ppb; in ixgbe_ptp_adjfreq_82599()
495 static int ixgbe_ptp_adjfreq_X550(struct ptp_clock_info *ptp, s32 ppb) in ixgbe_ptp_adjfreq_X550() argument
504 if (ppb < 0) { in ixgbe_ptp_adjfreq_X550()
506 ppb = -ppb; in ixgbe_ptp_adjfreq_X550()
508 rate *= ppb; in ixgbe_ptp_adjfreq_X550()
/linux/drivers/net/ethernet/renesas/
A Dravb_ptp.c91 static int ravb_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ravb_ptp_adjfreq() argument
101 if (ppb < 0) { in ravb_ptp_adjfreq()
103 ppb = -ppb; in ravb_ptp_adjfreq()
106 diff = div_u64((u64)addend * ppb, NSEC_PER_SEC); in ravb_ptp_adjfreq()
/linux/drivers/net/ethernet/freescale/
A Dfec_ptp.c281 static int fec_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in fec_ptp_adjfreq() argument
293 if (ppb == 0) in fec_ptp_adjfreq()
296 if (ppb < 0) { in fec_ptp_adjfreq()
297 ppb = -ppb; in fec_ptp_adjfreq()
306 rhs = (u64)ppb * (u64)fep->ptp_inc; in fec_ptp_adjfreq()
/linux/drivers/staging/media/tegra-vde/
A Dvde.h34 void __iomem *ppb; member
95 if (vde->ppb == base) in tegra_vde_reg_base_name()
/linux/fs/ext2/
A Dsuper.c738 unsigned int ppb = 1 << (bits-2); in ext2_max_size() local
765 upper_limit -= ppb; in ext2_max_size()
767 if (upper_limit < ppb * ppb) { in ext2_max_size()
768 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb); in ext2_max_size()
772 meta_blocks += 1 + ppb; in ext2_max_size()
773 upper_limit -= ppb * ppb; in ext2_max_size()
775 meta_blocks += 1 + DIV_ROUND_UP(upper_limit, ppb) + in ext2_max_size()
776 DIV_ROUND_UP(upper_limit, ppb*ppb); in ext2_max_size()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c158 s32 ppb; in mlxsw_sp1_ptp_adjfine() local
160 ppb = scaled_ppm_to_ppb(scaled_ppm); in mlxsw_sp1_ptp_adjfine()
162 if (ppb < 0) { in mlxsw_sp1_ptp_adjfine()
164 ppb = -ppb; in mlxsw_sp1_ptp_adjfine()
168 adj *= ppb; in mlxsw_sp1_ptp_adjfine()
177 return mlxsw_sp1_ptp_phc_adjfreq(clock, neg_adj ? -ppb : ppb); in mlxsw_sp1_ptp_adjfine()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_ptp.c25 static int hclge_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in hclge_ptp_adjfreq() argument
34 if (ppb < 0) { in hclge_ptp_adjfreq()
35 ppb = -ppb; in hclge_ptp_adjfreq()
40 adj_val = adj_base * ppb; in hclge_ptp_adjfreq()
/linux/Documentation/devicetree/bindings/media/
A Dnvidia,tegra-vde.txt18 - ppb
54 "tfe", "ppb", "vdma", "frameid";
/linux/drivers/net/phy/
A Dnxp-c45-tja11xx.c171 #define PPM_TO_SUBNS_INC(ppb) div_u64(GENMASK(31, 0) * (ppb) * \ argument
284 s32 ppb = scaled_ppm_to_ppb(scaled_ppm); in nxp_c45_ptp_adjfine() local
289 inc = ppb >= 0; in nxp_c45_ptp_adjfine()
290 ppb = abs(ppb); in nxp_c45_ptp_adjfine()
292 subns_inc_val = PPM_TO_SUBNS_INC(ppb); in nxp_c45_ptp_adjfine()
/linux/drivers/net/wireless/ath/
A Ddfs_pri_detector.c250 ps.dur = ps.pri * (pde->rs->ppb - 1) in pseq_handler_create_sequences()
430 de->window_size = rs->pri_max * rs->ppb * rs->num_pri; in pri_detector_init()
431 de->max_count = rs->ppb * 2; in pri_detector_init()
A Ddfs_pattern_detector.h78 u8 ppb; member
/linux/drivers/net/ethernet/ti/
A Dcpts.c216 static int cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cpts_ptp_adjfreq() argument
223 if (ppb < 0) { in cpts_ptp_adjfreq()
225 ppb = -ppb; in cpts_ptp_adjfreq()
229 adj *= ppb; in cpts_ptp_adjfreq()
A Dam65-cpts.c384 static int am65_cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in am65_cpts_ptp_adjfreq() argument
391 if (ppb < 0) { in am65_cpts_ptp_adjfreq()
393 ppb = -ppb; in am65_cpts_ptp_adjfreq()
405 adj_period = div_u64(cpts->refclk_freq, ppb); in am65_cpts_ptp_adjfreq()
/linux/Documentation/devicetree/bindings/clock/
A Dfixed-clock.yaml23 description: accuracy of clock in ppb (parts per billion).

Completed in 65 milliseconds

12