Home
last modified time | relevance | path

Searched refs:ppm (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.3-rc2/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_ppm.c174 if (ppm->max_index_in_edram && (ppm->next >= ppm->max_index_in_edram)) in ppm_get_entries()
176 else if (ppm->next >= ppm->bmap_index_max) in ppm_get_entries()
182 __func__, i, count, i + ppm->pool_rsvd, ppm->next, in ppm_get_entries()
316 vfree(ppm); in ppm_free()
325 ppm->ndev->name, ppm); in ppm_destroy()
335 if (ppm) { in cxgbi_ppm_release()
420 if (ppm) { in cxgbi_ppm_init()
422 ndev->name, ppm_pp, ppm, ppm->ppmax, ppmax); in cxgbi_ppm_init()
445 if (!ppm) in cxgbi_ppm_init()
504 ndev->name, ppm_pp, ppm, ppm->base_idx, ppm->ppmax, PAGE_SIZE, in cxgbi_ppm_init()
[all …]
A Dlibcxgb_ppm.h199 return !(tag & ppm->tformat.no_ddp_mask); in cxgbi_ppm_is_ddp_tag()
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()
235 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_decode_non_ddp_tag()
247 ppm->tformat.idx_mask; in cxgbi_ppm_ddp_tag_get_idx()
249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
264 return ppm->ppod_data[idx].caller_data; in cxgbi_ppm_get_tag_caller_data()
272 struct cxgbi_tag_format *tformat = &ppm->tformat; in cxgbi_ppm_ddp_tag_update_sw_bits()
280 if (!cxgbi_ppm_is_ddp_tag(ppm, orig_tag)) in cxgbi_ppm_ddp_tag_update_sw_bits()
284 (orig_tag & ppm->tformat.rsvd_mask); in cxgbi_ppm_ddp_tag_update_sw_bits()
[all …]
/linux-6.3-rc2/drivers/target/iscsi/cxgbit/
A Dcxgbit_ddp.c69 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in cxgbit_ppod_init_idata()
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()
215 ret = cxgbit_ddp_set_map(ppm, csk, ttinfo); in cxgbit_ddp_reserve()
225 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in cxgbit_ddp_reserve()
273 struct cxgbi_ppm *ppm = cdev2ppm(cdev); in cxgbit_unmap_cmd() local
285 dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, in cxgbit_unmap_cmd()
290 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in cxgbit_unmap_cmd()
323 if ((ppm->tformat.pgsz_idx_dflt < DDP_PGIDX_MAX) && in cxgbit_ddp_init()
[all …]
/linux-6.3-rc2/tools/testing/selftests/timers/
A Draw_skew.c95 long long delta1, delta2, interval, eppm, ppm; in main() local
132 ppm = (tx1.freq + tx2.freq) * 1000 / 2; in main()
133 ppm = (long long)tx1.freq * 1000; in main()
134 ppm = shift_right(ppm, 16); in main()
135 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main()
137 if (llabs(eppm - ppm) > 1000) { in main()
A Dskew_consistency.c44 int ret, ppm; in main() local
54 ppm = 500; in main()
58 ppm = -ppm; in main()
60 tx.freq = ppm << 16; in main()
A Dchange_skew.c36 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()
A Dadjtick.c117 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.3-rc2/drivers/clocksource/
A Dscx200_hrt.c27 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.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/pm/
A Dnv40.c83 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()
A Dgf100.c190 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()
A Dgf108.c63 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()
A Dgf117.c77 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()
A Dgt215.c135 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()
A Dg84.c162 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()
A Dgk104.c181 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()
A Dgt200.c154 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()
A Dnv50.c172 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()
/linux-6.3-rc2/Documentation/devicetree/bindings/iio/afe/
A Dtemperature-transducer.yaml78 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 */
A Dtemperature-sense-rtd.yaml62 alpha-ppm-per-celsius:
87 - alpha-ppm-per-celsius
98 alpha-ppm-per-celsius = <3908>;
/linux-6.3-rc2/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_tnrdmd_dvbt_mon.h64 *tnr_dmd, int *ppm);
69 int *ppm);
A Dcxd2880_tnrdmd_dvbt_mon.c543 *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()
A Dcxd2880_tnrdmd_dvbt2_mon.h104 *tnr_dmd, int *ppm);
109 int *ppm);
/linux-6.3-rc2/drivers/scsi/cxgbi/
A Dlibcxgbi.c1226 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup()
1266 struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); in cxgbi_ddp_reserve() local
1283 ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, in cxgbi_ddp_reserve()
1342 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in cxgbi_ddp_reserve()
1364 cxgbi_ppm_is_ddp_tag(ppm, tag)) { in task_release_itt()
1370 cxgbi_ppm_ppod_release(ppm, ttinfo->idx); in task_release_itt()
1434 if (ppm) { in cxgbi_parse_pdu_itt()
1435 if (cxgbi_ppm_is_ddp_tag(ppm, tag)) in cxgbi_parse_pdu_itt()
2675 struct cxgbi_ppm *ppm; in cxgbi_bind_conn() local
2689 ppm = csk->cdev->cdev2ppm(csk->cdev); in cxgbi_bind_conn()
[all …]
/linux-6.3-rc2/sound/soc/rockchip/
A Drockchip_i2s_tdm.c571 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
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()
1040 i2s_tdm->mclk_root0_freq, ppm); in rockchip_i2s_tdm_clk_compensation_put()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/
A Dlegacy_dpm.c546 ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) in amdgpu_parse_extended_power_table() local
555 adev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in amdgpu_parse_extended_power_table()
557 le16_to_cpu(ppm->usCpuCoreNumber); in amdgpu_parse_extended_power_table()
559 le32_to_cpu(ppm->ulPlatformTDP); in amdgpu_parse_extended_power_table()
561 le32_to_cpu(ppm->ulSmallACPlatformTDP); in amdgpu_parse_extended_power_table()
563 le32_to_cpu(ppm->ulPlatformTDC); in amdgpu_parse_extended_power_table()
565 le32_to_cpu(ppm->ulSmallACPlatformTDC); in amdgpu_parse_extended_power_table()
567 le32_to_cpu(ppm->ulApuTDP); in amdgpu_parse_extended_power_table()
569 le32_to_cpu(ppm->ulDGpuTDP); in amdgpu_parse_extended_power_table()
571 le32_to_cpu(ppm->ulDGpuUlvPower); in amdgpu_parse_extended_power_table()
[all …]

Completed in 63 milliseconds

123