/drivers/scsi/ |
D | ppa.c | 181 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 …]
|
D | imm.c | 173 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/ |
D | stmmac_ptp.c | 35 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/ |
D | fec_ptp.c | 145 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()
|
D | gianfar_ptp.c | 284 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/ |
D | ptp_ixp46x.c | 136 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()
|
D | ptp_clock.c | 92 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()
|
D | ptp_pch.c | 412 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/ |
D | igb_ptp.c | 198 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/ |
D | cpts.c | 132 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/ |
D | crystalhd_fw_if.h | 176 struct ppb { struct 230 struct ppb ppb; argument
|
D | crystalhd_hw.c | 1032 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/ |
D | ixgbe_ptp.c | 211 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/ |
D | dfs_pri_detector.c | 243 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()
|
D | dfs_pattern_detector.h | 57 u8 ppb; member
|
/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 890 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/ |
D | dp83640.c | 326 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/ |
D | drbd_bitmap.c | 1058 char ppb[10]; in bm_rw() local 1166 ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); in bm_rw()
|
D | drbd_nl.c | 824 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/ |
D | tg3.c | 6060 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()
|