Home
last modified time | relevance | path

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

/drivers/scsi/
Dppa.c181 unsigned short ppb = dev->base; in ppa_wait() local
186 for (r = r_str(ppb); ((r & 0xc0) != 0xc0) && (k); k--) { in ppa_wait()
188 r = r_str(ppb); in ppa_wait()
210 static inline void epp_reset(unsigned short ppb) in epp_reset() argument
214 i = r_str(ppb); in epp_reset()
215 w_str(ppb, i); in epp_reset()
216 w_str(ppb, i & 0xfe); in epp_reset()
279 unsigned short ppb = dev->base; in ppa_out() local
291 r = ppa_byte_out(ppb, buffer, len); in ppa_out()
297 epp_reset(ppb); in ppa_out()
[all …]
Dimm.c173 unsigned short ppb = dev->base; in imm_wait() local
176 w_ctr(ppb, 0x0c); in imm_wait()
180 r = r_str(ppb); in imm_wait()
205 w_ctr(ppb, 0x04); in imm_wait()
266 static inline void epp_reset(unsigned short ppb) in epp_reset() argument
270 i = r_str(ppb); in epp_reset()
271 w_str(ppb, i); in epp_reset()
272 w_str(ppb, i & 0xfe); in epp_reset()
347 unsigned short ppb = dev->base; in imm_out() local
364 epp_reset(ppb); in imm_out()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c35 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq() argument
44 if (ppb < 0) { in stmmac_adjust_freq()
46 ppb = -ppb; in stmmac_adjust_freq()
51 adj *= ppb; in stmmac_adjust_freq()
/drivers/net/ethernet/freescale/
Dfec_ptp.c145 static int fec_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in fec_ptp_adjfreq() argument
155 if (ppb < 0) { in fec_ptp_adjfreq()
156 ppb = -ppb; in fec_ptp_adjfreq()
161 diff *= ppb; in fec_ptp_adjfreq()
Dgianfar_ptp.c284 static int ptp_gianfar_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_gianfar_adjfreq() argument
291 if (ppb < 0) { in ptp_gianfar_adjfreq()
293 ppb = -ppb; in ptp_gianfar_adjfreq()
297 adj *= ppb; in ptp_gianfar_adjfreq()
/drivers/ptp/
Dptp_ixp46x.c136 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq() argument
144 if (ppb < 0) { in ptp_ixp_adjfreq()
146 ppb = -ppb; in ptp_ixp_adjfreq()
150 adj *= ppb; in ptp_ixp_adjfreq()
Dptp_clock.c92 s64 ppb = 1 + ppm; in scaled_ppm_to_ppb() local
93 ppb *= 125; in scaled_ppm_to_ppb()
94 ppb >>= 13; in scaled_ppm_to_ppb()
95 return (s32) ppb; in scaled_ppm_to_ppb()
Dptp_pch.c412 static int ptp_pch_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_pch_adjfreq() argument
420 if (ppb < 0) { in ptp_pch_adjfreq()
422 ppb = -ppb; in ptp_pch_adjfreq()
426 adj *= ppb; in ptp_pch_adjfreq()
/drivers/net/ethernet/intel/igb/
Digb_ptp.c198 static int igb_ptp_adjfreq_82576(struct ptp_clock_info *ptp, s32 ppb) in igb_ptp_adjfreq_82576() argument
207 if (ppb < 0) { in igb_ptp_adjfreq_82576()
209 ppb = -ppb; in igb_ptp_adjfreq_82576()
211 rate = ppb; in igb_ptp_adjfreq_82576()
227 static int igb_ptp_adjfreq_82580(struct ptp_clock_info *ptp, s32 ppb) in igb_ptp_adjfreq_82580() argument
236 if (ppb < 0) { in igb_ptp_adjfreq_82580()
238 ppb = -ppb; in igb_ptp_adjfreq_82580()
240 rate = ppb; in igb_ptp_adjfreq_82580()
/drivers/net/ethernet/ti/
Dcpts.c132 static int cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cpts_ptp_adjfreq() argument
140 if (ppb < 0) { in cpts_ptp_adjfreq()
142 ppb = -ppb; in cpts_ptp_adjfreq()
146 adj *= ppb; in cpts_ptp_adjfreq()
/drivers/staging/crystalhd/
Dcrystalhd_fw_if.h176 struct ppb { struct
230 struct ppb ppb; argument
Dcrystalhd_hw.c1032 dst_pib->picture_number = src_pib->ppb.picture_number; in cpy_pib_to_app()
1033 dst_pib->width = src_pib->ppb.width; in cpy_pib_to_app()
1034 dst_pib->height = src_pib->ppb.height; in cpy_pib_to_app()
1035 dst_pib->chroma_format = src_pib->ppb.chroma_format; in cpy_pib_to_app()
1036 dst_pib->pulldown = src_pib->ppb.pulldown; in cpy_pib_to_app()
1037 dst_pib->flags = src_pib->ppb.flags; in cpy_pib_to_app()
1039 dst_pib->aspect_ratio = src_pib->ppb.aspect_ratio; in cpy_pib_to_app()
1040 dst_pib->colour_primaries = src_pib->ppb.colour_primaries; in cpy_pib_to_app()
1041 dst_pib->picture_meta_payload = src_pib->ppb.picture_meta_payload; in cpy_pib_to_app()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c211 static int ixgbe_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ixgbe_ptp_adjfreq() argument
220 if (ppb < 0) { in ixgbe_ptp_adjfreq()
222 ppb = -ppb; in ixgbe_ptp_adjfreq()
229 freq *= ppb; in ixgbe_ptp_adjfreq()
/drivers/net/wireless/ath/ath9k/
Ddfs_pri_detector.c243 ps.dur = ps.pri * (pde->rs->ppb - 1) in pseq_handler_create_sequences()
419 de->window_size = rs->pri_max * rs->ppb * rs->num_pri; in pri_detector_init()
420 de->max_count = rs->ppb * 2; in pri_detector_init()
Ddfs_pattern_detector.h57 u8 ppb; member
/drivers/net/ethernet/adi/
Dbfin_mac.c890 u64 addend, ppb; in bfin_mac_hwtstamp_init() local
901 ppb = 1000000000ULL * input_clk; in bfin_mac_hwtstamp_init()
902 do_div(ppb, phc_clk); in bfin_mac_hwtstamp_init()
903 lp->max_ppb = ppb - 1000000000ULL - 1ULL; in bfin_mac_hwtstamp_init()
939 static int bfin_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in bfin_ptp_adjfreq() argument
947 if (ppb < 0) { in bfin_ptp_adjfreq()
949 ppb = -ppb; in bfin_ptp_adjfreq()
953 adj *= ppb; in bfin_ptp_adjfreq()
/drivers/net/phy/
Ddp83640.c326 static int ptp_dp83640_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dp83640_adjfreq() argument
335 if (ppb < 0) { in ptp_dp83640_adjfreq()
337 ppb = -ppb; in ptp_dp83640_adjfreq()
339 rate = ppb; in ptp_dp83640_adjfreq()
/drivers/block/drbd/
Ddrbd_bitmap.c1058 char ppb[10]; in bm_rw() local
1166 ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); in bm_rw()
Ddrbd_nl.c824 char ppb[10]; in drbd_determine_dev_size() local
875 dev_info(DEV, "size = %s (%llu KB)\n", ppsize(ppb, size>>1), in drbd_determine_dev_size()
/drivers/net/ethernet/broadcom/
Dtg3.c6060 static int tg3_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in tg3_ptp_adjfreq() argument
6066 if (ppb < 0) { in tg3_ptp_adjfreq()
6068 ppb = -ppb; in tg3_ptp_adjfreq()
6079 correction = div_u64((u64)ppb * (1 << 24), 1000000000ULL) & in tg3_ptp_adjfreq()