/linux-6.6.21/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.c | 65 int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz) in cxgbi_ppm_find_page_index() argument 67 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_find_page_index() 74 __func__, ppm->ndev->name, pgsz, i); in cxgbi_ppm_find_page_index() 104 static void ppm_mark_entries(struct cxgbi_ppm *ppm, int i, int count, in ppm_mark_entries() argument 107 struct cxgbi_ppod_data *pdata = ppm->ppod_data + i; in ppm_mark_entries() 118 static int ppm_get_cpu_entries(struct cxgbi_ppm *ppm, unsigned int count, in ppm_get_cpu_entries() argument 125 if (!ppm->pool) in ppm_get_cpu_entries() 129 pool = per_cpu_ptr(ppm->pool, cpu); in ppm_get_cpu_entries() 133 i = ppm_find_unused_entries(pool->bmap, ppm->pool_index_max, in ppm_get_cpu_entries() 142 if (pool->next >= ppm->pool_index_max) in ppm_get_cpu_entries() [all …]
|
D | libcxgb_ppm.h | 197 static inline int cxgbi_ppm_is_ddp_tag(struct cxgbi_ppm *ppm, u32 tag) in cxgbi_ppm_is_ddp_tag() argument 199 return !(tag & ppm->tformat.no_ddp_mask); in cxgbi_ppm_is_ddp_tag() 202 static inline int cxgbi_ppm_sw_tag_is_usable(struct cxgbi_ppm *ppm, in cxgbi_ppm_sw_tag_is_usable() argument 209 static inline int cxgbi_ppm_make_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_make_non_ddp_tag() argument 213 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_make_non_ddp_tag() 215 if (!cxgbi_ppm_sw_tag_is_usable(ppm, sw_tag)) { in cxgbi_ppm_make_non_ddp_tag() 232 static inline u32 cxgbi_ppm_decode_non_ddp_tag(struct cxgbi_ppm *ppm, in cxgbi_ppm_decode_non_ddp_tag() argument 235 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_decode_non_ddp_tag() 243 static inline u32 cxgbi_ppm_ddp_tag_get_idx(struct cxgbi_ppm *ppm, in cxgbi_ppm_ddp_tag_get_idx() argument 247 ppm->tformat.idx_mask; in cxgbi_ppm_ddp_tag_get_idx() [all …]
|
/linux-6.6.21/drivers/target/iscsi/cxgbit/ |
D | cxgbit_ddp.c | 64 cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm, in cxgbit_ppod_init_idata() argument 69 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in cxgbit_ppod_init_idata() 98 cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ppod_write_idata() argument 110 skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); in cxgbit_ppod_write_idata() 127 cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, in cxgbit_ddp_set_map() argument 143 ret = cxgbit_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, in cxgbit_ddp_set_map() 175 struct cxgbi_ppm *ppm = cdev2ppm(cdev); in cxgbit_ddp_reserve() local 183 ppm, ppm->tformat.pgsz_idx_dflt, in cxgbit_ddp_reserve() 197 ret = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbit_ddp_reserve() 204 ret = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbit_ddp_reserve() [all …]
|
/linux-6.6.21/tools/testing/selftests/timers/ |
D | skew_consistency.c | 44 int ret, ppm; in main() local 54 ppm = 500; in main() 58 ppm = -ppm; in main() 60 tx.freq = ppm << 16; in main()
|
D | change_skew.c | 36 int change_skew_test(int ppm) in change_skew_test() argument 42 tx.freq = ppm << 16; in change_skew_test() 63 int ppm[5] = {0, 250, 500, -250, -500}; in main() local 79 printf("Using %i ppm adjustment\n", ppm[i]); in main() 80 ret = change_skew_test(ppm[i]); in main()
|
D | raw_skew.c | 95 long long delta1, delta2, interval, eppm, ppm; in main() local 132 ppm = (long long)(tx1.freq + tx2.freq) * 1000 / 2; in main() 133 ppm = shift_right(ppm, 16); in main() 134 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main() 136 if (llabs(eppm - ppm) > 1000) { in main()
|
D | adjtick.c | 117 long long eppm, ppm; in check_tick_adj() local 134 ppm = ((long long)tickval * MILLION)/systick - MILLION; in check_tick_adj() 135 printf("Estimating tick (act: %ld usec, %lld ppm): ", tickval, ppm); in check_tick_adj() 159 if (llabs(eppm - ppm) > 100) { in check_tick_adj()
|
/linux-6.6.21/drivers/clocksource/ |
D | scx200_hrt.c | 27 static int ppm; variable 28 module_param(ppm, int, 0); /* load time only */ 29 MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)"); 76 freq = (HRT_FREQ + ppm); in init_hrt_clocksource() 80 pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", mhz27 ? "27":"1", ppm); in init_hrt_clocksource()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | nv40.c | 83 enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in nv40_pm_new_() argument 90 *ppm = &pm->base; in nv40_pm_new_() 120 nv40_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in nv40_pm_new() argument 122 return nv40_pm_new_(nv40_pm, device, type, inst, ppm); in nv40_pm_new()
|
D | gf100.c | 190 enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gf100_pm_new_() argument 196 if (!(pm = *ppm = kzalloc(sizeof(*pm), GFP_KERNEL))) in gf100_pm_new_() 240 gf100_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gf100_pm_new() argument 242 return gf100_pm_new_(&gf100_pm, device, type, inst, ppm); in gf100_pm_new()
|
D | gf108.c | 63 gf108_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gf108_pm_new() argument 65 return gf100_pm_new_(&gf108_pm, device, type, inst, ppm); in gf108_pm_new()
|
D | gf117.c | 77 gf117_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gf117_pm_new() argument 79 return gf100_pm_new_(&gf117_pm, device, type, inst, ppm); in gf117_pm_new()
|
D | gt215.c | 135 gt215_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gt215_pm_new() argument 137 return nv40_pm_new_(gt215_pm, device, type, inst, ppm); in gt215_pm_new()
|
D | gt200.c | 154 gt200_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gt200_pm_new() argument 156 return nv40_pm_new_(gt200_pm, device, type, inst, ppm); in gt200_pm_new()
|
D | nv50.c | 172 nv50_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in nv50_pm_new() argument 174 return nv40_pm_new_(nv50_pm, device, type, inst, ppm); in nv50_pm_new()
|
D | g84.c | 162 g84_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in g84_pm_new() argument 164 return nv40_pm_new_(g84_pm, device, type, inst, ppm); in g84_pm_new()
|
D | gk104.c | 181 gk104_pm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_pm **ppm) in gk104_pm_new() argument 183 return gf100_pm_new_(&gk104_pm, device, type, inst, ppm); in gk104_pm_new()
|
/linux-6.6.21/Documentation/devicetree/bindings/iio/afe/ |
D | temperature-transducer.yaml | 78 alpha-ppm-per-celsius: 92 - alpha-ppm-per-celsius 103 alpha-ppm-per-celsius = <1>; /* 1 uA/K */ 112 alpha-ppm-per-celsius = <4000>; /* 4 mV/K */
|
D | temperature-sense-rtd.yaml | 62 alpha-ppm-per-celsius: 87 - alpha-ppm-per-celsius 98 alpha-ppm-per-celsius = <3908>;
|
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd_dvbt_mon.h | 64 *tnr_dmd, int *ppm); 69 int *ppm);
|
D | cxd2880_tnrdmd_dvbt_mon.c | 543 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset() argument 554 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 648 *ppm = (num + (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 650 *ppm = (num - (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset() 657 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub() argument 659 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub() 665 return cxd2880_tnrdmd_dvbt_mon_sampling_offset(tnr_dmd->diver_sub, ppm); in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub()
|
D | cxd2880_tnrdmd_dvbt2_mon.h | 104 *tnr_dmd, int *ppm); 109 int *ppm);
|
/linux-6.6.21/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1224 struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); in cxgbi_ddp_ppm_setup() local 1226 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup() 1227 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) in cxgbi_ddp_ppm_setup() 1266 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_ddp_reserve() local 1279 if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || in cxgbi_ddp_reserve() 1280 ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { in cxgbi_ddp_reserve() 1283 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve() 1300 err = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, in cxgbi_ddp_reserve() 1310 err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); in cxgbi_ddp_reserve() 1326 cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, in cxgbi_ddp_reserve() [all …]
|
/linux-6.6.21/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.c | 571 int ppm) in rockchip_i2s_tdm_clk_set_rate() argument 576 if (ppm == i2s_tdm->clk_ppm) in rockchip_i2s_tdm_clk_set_rate() 579 if (ppm < 0) in rockchip_i2s_tdm_clk_set_rate() 584 delta *= (int)div64_u64((u64)rate * (u64)abs(ppm) + 500000, in rockchip_i2s_tdm_clk_set_rate() 596 i2s_tdm->clk_ppm = ppm; in rockchip_i2s_tdm_clk_set_rate() 611 u64 ppm; in rockchip_i2s_tdm_calibrate_mclk() local 659 ppm = div64_u64((uint64_t)delta * 1000000, (uint64_t)mclk_root_freq); in rockchip_i2s_tdm_calibrate_mclk() 661 if (ppm) { in rockchip_i2s_tdm_calibrate_mclk() 1028 int ret = 0, ppm = 0; in rockchip_i2s_tdm_clk_compensation_put() local 1036 ppm = ucontrol->value.integer.value[0]; in rockchip_i2s_tdm_clk_compensation_put() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | legacy_dpm.c | 528 ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) in amdgpu_parse_extended_power_table() local 535 adev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in amdgpu_parse_extended_power_table() 537 le16_to_cpu(ppm->usCpuCoreNumber); in amdgpu_parse_extended_power_table() 539 le32_to_cpu(ppm->ulPlatformTDP); in amdgpu_parse_extended_power_table() 541 le32_to_cpu(ppm->ulSmallACPlatformTDP); in amdgpu_parse_extended_power_table() 543 le32_to_cpu(ppm->ulPlatformTDC); in amdgpu_parse_extended_power_table() 545 le32_to_cpu(ppm->ulSmallACPlatformTDC); in amdgpu_parse_extended_power_table() 547 le32_to_cpu(ppm->ulApuTDP); in amdgpu_parse_extended_power_table() 549 le32_to_cpu(ppm->ulDGpuTDP); in amdgpu_parse_extended_power_table() 551 le32_to_cpu(ppm->ulDGpuUlvPower); in amdgpu_parse_extended_power_table() [all …]
|