Home
last modified time | relevance | path

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

12

/linux/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/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/tools/testing/selftests/timers/
A Dskew_consistency.c42 int ret, ppm; in main() local
52 ppm = 500; in main()
56 ppm = -ppm; in main()
58 tx.freq = ppm << 16; in main()
A Dchange_skew.c33 int change_skew_test(int ppm) in change_skew_test() argument
39 tx.freq = ppm << 16; in change_skew_test()
60 int ppm[5] = {0, 250, 500, -250, -500}; in main() local
76 printf("Using %i ppm adjustment\n", ppm[i]); in main()
77 ret = change_skew_test(ppm[i]); in main()
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()
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/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/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/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);
A Dcxd2880_tnrdmd_dvbt2_mon.c1430 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt2_mon_sampling_offset() argument
1444 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt2_mon_sampling_offset()
1546 *ppm = (num + (den / 2)) / den; in cxd2880_tnrdmd_dvbt2_mon_sampling_offset()
1548 *ppm = (num - (den / 2)) / den; in cxd2880_tnrdmd_dvbt2_mon_sampling_offset()
1556 int *ppm) in cxd2880_tnrdmd_dvbt2_mon_sampling_offset_sub() argument
1558 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt2_mon_sampling_offset_sub()
1565 ppm); in cxd2880_tnrdmd_dvbt2_mon_sampling_offset_sub()
/linux/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/drivers/gpu/drm/amd/pm/legacy-dpm/
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 …]
/linux/drivers/media/dvb-frontends/
A Dl64781.c118 static const u32 ppm = 8000; in apply_frontend_param() local
179 ddfs_offset_fixed = 0x4000-(ppm<<16)/bw/1000000; in apply_frontend_param()
182 init_freq = (((8UL<<25) + (8UL<<19) / 25*ppm / (15625/25)) / in apply_frontend_param()
194 spi_bias /= 1000 + ppm/1000; in apply_frontend_param()
/linux/include/linux/
A Dptp_clock_kernel.h235 static inline long scaled_ppm_to_ppb(long ppm) in scaled_ppm_to_ppb() argument
249 s64 ppb = 1 + ppm; in scaled_ppm_to_ppb()
/linux/Documentation/userspace-api/media/v4l/
A Dv4l2grab-example.rst9 This program demonstrates how to grab V4L2 images in ppm format by using
/linux/drivers/gpu/drm/radeon/
A Dr600_dpm.c1197 ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) in r600_parse_extended_power_table() local
1206 rdev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in r600_parse_extended_power_table()
1208 le16_to_cpu(ppm->usCpuCoreNumber); in r600_parse_extended_power_table()
1210 le32_to_cpu(ppm->ulPlatformTDP); in r600_parse_extended_power_table()
1212 le32_to_cpu(ppm->ulSmallACPlatformTDP); in r600_parse_extended_power_table()
1214 le32_to_cpu(ppm->ulPlatformTDC); in r600_parse_extended_power_table()
1216 le32_to_cpu(ppm->ulSmallACPlatformTDC); in r600_parse_extended_power_table()
1218 le32_to_cpu(ppm->ulApuTDP); in r600_parse_extended_power_table()
1220 le32_to_cpu(ppm->ulDGpuTDP); in r600_parse_extended_power_table()
1222 le32_to_cpu(ppm->ulDGpuUlvPower); in r600_parse_extended_power_table()
[all …]
/linux/drivers/video/logo/
A DMakefile30 $(obj)/%.c: $(src)/%.ppm $(obj)/pnmtologo FORCE
/linux/Documentation/devicetree/bindings/rtc/
A Dadi,max31335.yaml13 Analog Devices MAX31335 I2C RTC ±2ppm Automotive Real-Time Clock with
/linux/drivers/mmc/host/
A Dsdhci-pci-gli.c462 static void gl9750_set_ssc(struct sdhci_host *host, u8 enable, u8 step, u16 ppm) in gl9750_set_ssc() argument
475 ssc |= FIELD_PREP(SDHCI_GLI_9750_PLLSSC_PPM, ppm); in gl9750_set_ssc()
659 static void gl9755_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) in gl9755_set_ssc() argument
672 ssc |= FIELD_PREP(PCI_GLI_9755_PLLSSC_PPM, ppm); in gl9755_set_ssc()
831 static void gl9767_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) in gl9767_set_ssc() argument
845 ssc |= FIELD_PREP(PCIE_GLI_9767_SD_PLL_CTL2_PLLSSC_PPM, ppm); in gl9767_set_ssc()
/linux/drivers/scsi/cxgbi/cxgb3i/
A Dcxgb3i.c1096 static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, in ddp_set_map() argument
1105 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in ddp_set_map()
1121 cxgb3_ofld_send(ppm->lldev, skb); in ddp_set_map()
1126 static void ddp_clear_map(struct cxgbi_device *cdev, struct cxgbi_ppm *ppm, in ddp_clear_map() argument
1130 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in ddp_clear_map()
1149 cxgb3_ofld_send(ppm->lldev, skb); in ddp_clear_map()
/linux/Documentation/devicetree/bindings/phy/
A Drenesas,usb3-phy.yaml54 exist means disabling the ssc. The actual value will be -<value> ppm.

Completed in 65 milliseconds

12