Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/
H 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 …]
H 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 …]
/openbmc/linux/drivers/target/iscsi/cxgbit/
H 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 …]
/openbmc/linux/tools/testing/selftests/timers/
H 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()
H 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()
H A Draw_skew.c95 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()
H 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()
/openbmc/linux/drivers/clocksource/
H 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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/linux/
H A Dlinux.inc20 # To use this, add file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 or similar
42 # logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
44 if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
45 install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
/openbmc/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_tnrdmd_dvbt_mon.h64 *tnr_dmd, int *ppm);
69 int *ppm);
H 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()
H A Dcxd2880_tnrdmd_dvbt2_mon.h104 *tnr_dmd, int *ppm);
109 int *ppm);
/openbmc/linux/Documentation/devicetree/bindings/iio/afe/
H 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 */
H A Dtemperature-sense-rtd.yaml62 alpha-ppm-per-celsius:
87 - alpha-ppm-per-celsius
98 alpha-ppm-per-celsius = <3908>;
/openbmc/linux/drivers/scsi/cxgbi/
H 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 …]
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dlegacy_dpm.c528 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 …]

123