ppm 1753 arch/x86/kvm/x86.c static u32 adjust_tsc_khz(u32 khz, s32 ppm) ppm 1755 arch/x86/kvm/x86.c u64 v = (u64)khz * (1000000 + ppm); ppm 684 block/blk-iocost.c u32 ppm, lat, multi, period_us; ppm 690 block/blk-iocost.c ppm = ioc->params.qos[QOS_RPPM]; ppm 693 block/blk-iocost.c ppm = ioc->params.qos[QOS_WPPM]; ppm 705 block/blk-iocost.c if (ppm) ppm 706 block/blk-iocost.c multi = max_t(u32, (MILLION - ppm) / 50000, 2); ppm 27 drivers/clocksource/scx200_hrt.c static int ppm; ppm 28 drivers/clocksource/scx200_hrt.c module_param(ppm, int, 0); /* load time only */ ppm 29 drivers/clocksource/scx200_hrt.c MODULE_PARM_DESC(ppm, "+-adjust to actual XO freq (ppm)"); ppm 76 drivers/clocksource/scx200_hrt.c freq = (HRT_FREQ + ppm); ppm 80 drivers/clocksource/scx200_hrt.c pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n", mhz27 ? "27":"1", ppm); ppm 607 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) ppm 616 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; ppm 618 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le16_to_cpu(ppm->usCpuCoreNumber); ppm 620 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulPlatformTDP); ppm 622 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulSmallACPlatformTDP); ppm 624 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulPlatformTDC); ppm 626 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulSmallACPlatformTDC); ppm 628 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulApuTDP); ppm 630 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulDGpuTDP); ppm 632 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulDGpuUlvPower); ppm 634 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c le32_to_cpu(ppm->ulTjmax); ppm 2256 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct amdgpu_ppm_table *ppm = adev->pm.dpm.dyn_state.ppm_table; ppm 2294 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp); ppm 2295 drivers/gpu/drm/amd/amdgpu/si_dpm.c papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); ppm 720 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c struct phm_ppm_table *ppm = hwmgr->dyn_state.ppm_parameter_table; ppm 733 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c if (ppm) { ppm 734 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c dpm_table->PPM_PkgPwrLimit = (uint16_t)ppm->dgpu_tdp * 256 / 1000; ppm 735 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; ppm 1856 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c struct phm_ppm_table *ppm = hwmgr->dyn_state.ppm_parameter_table; ppm 1878 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c if (NULL != ppm) { ppm 1879 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c dpm_table->PPM_PkgPwrLimit = (uint16_t)ppm->dgpu_tdp * 256 / 1000; ppm 1880 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; ppm 899 drivers/gpu/drm/i915/display/intel_display.c unsigned int ppm; ppm 914 drivers/gpu/drm/i915/display/intel_display.c bestppm, &ppm)) ppm 918 drivers/gpu/drm/i915/display/intel_display.c bestppm = ppm; ppm 162 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c g84_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 164 drivers/gpu/drm/nouveau/nvkm/engine/pm/g84.c return nv40_pm_new_(g84_pm, device, index, ppm); ppm 190 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c int index, struct nvkm_pm **ppm) ppm 196 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c if (!(pm = *ppm = kzalloc(sizeof(*pm), GFP_KERNEL))) ppm 240 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c gf100_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 242 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c return gf100_pm_new_(&gf100_pm, device, index, ppm); ppm 63 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf108.c gf108_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 65 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf108.c return gf100_pm_new_(&gf108_pm, device, index, ppm); ppm 77 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf117.c gf117_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 79 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf117.c return gf100_pm_new_(&gf117_pm, device, index, ppm); ppm 181 drivers/gpu/drm/nouveau/nvkm/engine/pm/gk104.c gk104_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 183 drivers/gpu/drm/nouveau/nvkm/engine/pm/gk104.c return gf100_pm_new_(&gk104_pm, device, index, ppm); ppm 154 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt200.c gt200_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 156 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt200.c return nv40_pm_new_(gt200_pm, device, index, ppm); ppm 135 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt215.c gt215_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 137 drivers/gpu/drm/nouveau/nvkm/engine/pm/gt215.c return nv40_pm_new_(gt215_pm, device, index, ppm); ppm 83 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c int index, struct nvkm_pm **ppm) ppm 90 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c *ppm = &pm->base; ppm 120 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c nv40_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 122 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c return nv40_pm_new_(nv40_pm, device, index, ppm); ppm 172 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c nv50_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) ppm 174 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv50.c return nv40_pm_new_(nv50_pm, device, index, ppm); ppm 438 drivers/gpu/drm/radeon/ci_dpm.c struct radeon_ppm_table *ppm = rdev->pm.dpm.dyn_state.ppm_table; ppm 453 drivers/gpu/drm/radeon/ci_dpm.c if (ppm) { ppm 454 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->PPM_PkgPwrLimit = cpu_to_be16((u16)ppm->dgpu_tdp * 256 / 1000); ppm 455 drivers/gpu/drm/radeon/ci_dpm.c dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); ppm 1199 drivers/gpu/drm/radeon/r600_dpm.c ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) ppm 1208 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; ppm 1210 drivers/gpu/drm/radeon/r600_dpm.c le16_to_cpu(ppm->usCpuCoreNumber); ppm 1212 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulPlatformTDP); ppm 1214 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulSmallACPlatformTDP); ppm 1216 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulPlatformTDC); ppm 1218 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulSmallACPlatformTDC); ppm 1220 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulApuTDP); ppm 1222 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulDGpuTDP); ppm 1224 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulDGpuUlvPower); ppm 1226 drivers/gpu/drm/radeon/r600_dpm.c le32_to_cpu(ppm->ulTjmax); ppm 2166 drivers/gpu/drm/radeon/si_dpm.c struct radeon_ppm_table *ppm = rdev->pm.dpm.dyn_state.ppm_table; ppm 2204 drivers/gpu/drm/radeon/si_dpm.c papm_parm->NearTDPLimitTherm = cpu_to_be32(ppm->dgpu_tdp); ppm 2205 drivers/gpu/drm/radeon/si_dpm.c papm_parm->dGPU_T_Limit = cpu_to_be32(ppm->tj_max); ppm 1430 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *tnr_dmd, int *ppm) ppm 1444 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c if (!tnr_dmd || !ppm) ppm 1546 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *ppm = (num + (den / 2)) / den; ppm 1548 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c *ppm = (num - (den / 2)) / den; ppm 1556 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c int *ppm) ppm 1558 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c if (!tnr_dmd || !ppm) ppm 1565 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c ppm); ppm 104 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.h *tnr_dmd, int *ppm); ppm 109 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.h int *ppm); ppm 543 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c *tnr_dmd, int *ppm) ppm 554 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c if (!tnr_dmd || !ppm) ppm 648 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c *ppm = (num + (den / 2)) / den; ppm 650 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c *ppm = (num - (den / 2)) / den; ppm 657 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c *tnr_dmd, int *ppm) ppm 659 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c if (!tnr_dmd || !ppm) ppm 665 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c return cxd2880_tnrdmd_dvbt_mon_sampling_offset(tnr_dmd->diver_sub, ppm); ppm 64 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.h *tnr_dmd, int *ppm); ppm 69 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.h int *ppm); ppm 118 drivers/media/dvb-frontends/l64781.c static const u32 ppm = 8000; ppm 179 drivers/media/dvb-frontends/l64781.c ddfs_offset_fixed = 0x4000-(ppm<<16)/bw/1000000; ppm 182 drivers/media/dvb-frontends/l64781.c init_freq = (((8UL<<25) + (8UL<<19) / 25*ppm / (15625/25)) / ppm 194 drivers/media/dvb-frontends/l64781.c spi_bias /= 1000 + ppm/1000; ppm 66 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz) ppm 68 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c struct cxgbi_tag_format *tformat = &ppm->tformat; ppm 75 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c __func__, ppm->ndev->name, pgsz, i); ppm 105 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static void ppm_mark_entries(struct cxgbi_ppm *ppm, int i, int count, ppm 108 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c struct cxgbi_ppod_data *pdata = ppm->ppod_data + i; ppm 119 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static int ppm_get_cpu_entries(struct cxgbi_ppm *ppm, unsigned int count, ppm 126 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (!ppm->pool) ppm 130 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pool = per_cpu_ptr(ppm->pool, cpu); ppm 134 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i = ppm_find_unused_entries(pool->bmap, ppm->pool_index_max, ppm 143 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (pool->next >= ppm->pool_index_max) ppm 149 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c __func__, cpu, i, count, i + cpu * ppm->pool_index_max, ppm 152 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i += cpu * ppm->pool_index_max; ppm 153 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm_mark_entries(ppm, i, count, caller_data); ppm 158 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static int ppm_get_entries(struct cxgbi_ppm *ppm, unsigned int count, ppm 163 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_lock_bh(&ppm->map_lock); ppm 164 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i = ppm_find_unused_entries(ppm->ppod_bmap, ppm->bmap_index_max, ppm 165 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next, count, 0); ppm 167 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = 0; ppm 168 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_unlock_bh(&ppm->map_lock); ppm 174 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = i + count; ppm 175 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (ppm->max_index_in_edram && (ppm->next >= ppm->max_index_in_edram)) ppm 176 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = 0; ppm 177 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c else if (ppm->next >= ppm->bmap_index_max) ppm 178 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = 0; ppm 180 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_unlock_bh(&ppm->map_lock); ppm 183 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c __func__, i, count, i + ppm->pool_rsvd, ppm->next, ppm 186 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i += ppm->pool_rsvd; ppm 187 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm_mark_entries(ppm, i, count, caller_data); ppm 192 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static void ppm_unmark_entries(struct cxgbi_ppm *ppm, int i, int count) ppm 196 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (i < ppm->pool_rsvd) { ppm 200 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c cpu = i / ppm->pool_index_max; ppm 201 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i %= ppm->pool_index_max; ppm 203 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pool = per_cpu_ptr(ppm->pool, cpu); ppm 214 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_lock_bh(&ppm->map_lock); ppm 216 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c i -= ppm->pool_rsvd; ppm 217 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c bitmap_clear(ppm->ppod_bmap, i, count); ppm 219 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (i < ppm->next) ppm 220 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = i; ppm 221 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_unlock_bh(&ppm->map_lock); ppm 223 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pr_debug("%s: idx %d, next %u.\n", __func__, i, ppm->next); ppm 227 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c void cxgbi_ppm_ppod_release(struct cxgbi_ppm *ppm, u32 idx) ppm 231 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (idx >= ppm->ppmax) { ppm 232 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pr_warn("ippm: idx too big %u > %u.\n", idx, ppm->ppmax); ppm 236 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pdata = ppm->ppod_data + idx; ppm 243 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm_unmark_entries(ppm, idx, pdata->npods); ppm 247 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c int cxgbi_ppm_ppods_reserve(struct cxgbi_ppm *ppm, unsigned short nr_pages, ppm 265 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c idx = ppm_get_cpu_entries(ppm, npods, caller_data); ppm 268 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c idx = ppm_get_entries(ppm, npods, caller_data); ppm 271 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c nr_pages, npods, ppm->next, caller_data); ppm 275 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c pdata = ppm->ppod_data + idx; ppm 276 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c hwidx = ppm->base_idx + idx; ppm 293 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c void cxgbi_ppm_make_ppod_hdr(struct cxgbi_ppm *ppm, u32 tag, ppm 306 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c hdr->pgsz_tag_clr = htonl(tag & ppm->tformat.idx_clr_mask); ppm 315 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c static void ppm_free(struct cxgbi_ppm *ppm) ppm 317 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c vfree(ppm); ppm 322 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c struct cxgbi_ppm *ppm = container_of(kref, ppm 326 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->ndev->name, ppm); ppm 328 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c *ppm->ppm_pp = NULL; ppm 330 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c free_percpu(ppm->pool); ppm 331 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm_free(ppm); ppm 334 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c int cxgbi_ppm_release(struct cxgbi_ppm *ppm) ppm 336 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (ppm) { ppm 339 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c rv = kref_put(&ppm->refcnt, ppm_destroy); ppm 395 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); ppm 421 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (ppm) { ppm 423 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ndev->name, ppm_pp, ppm, ppm->ppmax, ppmax); ppm 424 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_get(&ppm->refcnt); ppm 445 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm = vzalloc(alloc_sz); ppm 446 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c if (!ppm) ppm 449 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->ppod_bmap = (unsigned long *)(&ppm->ppod_data[ppmax]); ppm 455 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c bitmap_set(ppm->ppod_bmap, ppmax, end - start); ppm 464 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->max_index_in_edram = first_ddr_idx - 1; ppm 465 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c bitmap_set(ppm->ppod_bmap, first_ddr_idx, 1); ppm 469 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c spin_lock_init(&ppm->map_lock); ppm 470 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_init(&ppm->refcnt); ppm 472 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c memcpy(&ppm->tformat, tformat, sizeof(struct cxgbi_tag_format)); ppm 474 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->ppm_pp = ppm_pp; ppm 475 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->ndev = ndev; ppm 476 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->pdev = pdev; ppm 477 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->lldev = lldev; ppm 478 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->ppmax = ppmax; ppm 479 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->next = 0; ppm 480 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->llimit = llimit; ppm 481 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->base_idx = start > llimit ? ppm 483 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->bmap_index_max = ppmax - ppmax_pool; ppm 485 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->pool = pool; ppm 486 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->pool_rsvd = ppmax_pool; ppm 487 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->pool_index_max = pool_index_max; ppm 491 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm_free(ppm); ppm 492 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm = (struct cxgbi_ppm *)(*ppm_pp); ppm 495 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ndev->name, ppm_pp, *ppm_pp, ppm->ppmax, ppmax); ppm 497 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c kref_get(&ppm->refcnt); ppm 500 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c *ppm_pp = ppm; ppm 502 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->tformat.pgsz_idx_dflt = cxgbi_ppm_find_page_index(ppm, PAGE_SIZE); ppm 505 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ndev->name, ppm_pp, ppm, ppm->base_idx, ppm->ppmax, PAGE_SIZE, ppm 506 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->tformat.pgsz_idx_dflt, ppm->pool_rsvd, ppm 507 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c ppm->pool_index_max); ppm 197 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline int cxgbi_ppm_is_ddp_tag(struct cxgbi_ppm *ppm, u32 tag) ppm 199 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h return !(tag & ppm->tformat.no_ddp_mask); ppm 202 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline int cxgbi_ppm_sw_tag_is_usable(struct cxgbi_ppm *ppm, ppm 209 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline int cxgbi_ppm_make_non_ddp_tag(struct cxgbi_ppm *ppm, ppm 213 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h struct cxgbi_tag_format *tformat = &ppm->tformat; ppm 215 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h if (!cxgbi_ppm_sw_tag_is_usable(ppm, sw_tag)) { ppm 232 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline u32 cxgbi_ppm_decode_non_ddp_tag(struct cxgbi_ppm *ppm, ppm 235 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h struct cxgbi_tag_format *tformat = &ppm->tformat; ppm 243 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline u32 cxgbi_ppm_ddp_tag_get_idx(struct cxgbi_ppm *ppm, ppm 247 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h ppm->tformat.idx_mask; ppm 249 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h return hw_idx - ppm->base_idx; ppm 259 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h cxgbi_ppm_get_tag_caller_data(struct cxgbi_ppm *ppm, ppm 262 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h u32 idx = cxgbi_ppm_ddp_tag_get_idx(ppm, ddp_tag); ppm 264 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h return ppm->ppod_data[idx].caller_data; ppm 268 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h static inline int cxgbi_ppm_ddp_tag_update_sw_bits(struct cxgbi_ppm *ppm, ppm 272 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h struct cxgbi_tag_format *tformat = &ppm->tformat; ppm 280 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h if (!cxgbi_ppm_is_ddp_tag(ppm, orig_tag)) ppm 284 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h (orig_tag & ppm->tformat.rsvd_mask); ppm 317 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz); ppm 318 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h void cxgbi_ppm_make_ppod_hdr(struct cxgbi_ppm *ppm, u32 tag, ppm 331 drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h int cxgbi_ppm_release(struct cxgbi_ppm *ppm); ppm 66 drivers/ptp/ptp_clock.c s32 scaled_ppm_to_ppb(long ppm) ppm 80 drivers/ptp/ptp_clock.c s64 ppb = 1 + ppm; ppm 1267 drivers/s390/block/dasd_eckd.c __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; ppm 1287 drivers/s390/block/dasd_eckd.c ppm = 0; ppm 1309 drivers/s390/block/dasd_eckd.c ppm |= lpm; ppm 1332 drivers/s390/block/dasd_eckd.c ppm &= ~lpm; ppm 1394 drivers/s390/block/dasd_eckd.c ppm &= ~lpm; ppm 1415 drivers/s390/block/dasd_eckd.c dasd_path_add_ppm(device, ppm); ppm 1064 drivers/s390/block/dasd_int.h __u8 ppm = 0x00; ppm 1068 drivers/s390/block/dasd_int.h ppm |= 0x80 >> chp; ppm 1069 drivers/s390/block/dasd_int.h return ppm; ppm 1087 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, ppm 1096 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; ppm 1112 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cxgb3_ofld_send(ppm->lldev, skb); ppm 1117 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c static void ddp_clear_map(struct cxgbi_device *cdev, struct cxgbi_ppm *ppm, ppm 1121 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; ppm 1140 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c cxgb3_ofld_send(ppm->lldev, skb); ppm 1913 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c struct cxgbi_ppm *ppm, ppm 1917 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; ppm 1925 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c __func__, ppm->ndev->name, idx, npods); ppm 1935 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c static int ddp_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, ppm 1942 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c struct sk_buff *skb = ddp_ppod_init_idata(cdev, ppm, idx, npods, ppm 1970 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, ppm 1987 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c err = ddp_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, ppm 1300 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp); ppm 1302 drivers/scsi/cxgbi/libcxgbi.c if (ppm->ppmax < 1024 || ppm 1303 drivers/scsi/cxgbi/libcxgbi.c ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) ppm 1342 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); ppm 1355 drivers/scsi/cxgbi/libcxgbi.c if (!ppm || xferlen < DDP_THRESHOLD || !sgcnt || ppm 1356 drivers/scsi/cxgbi/libcxgbi.c ppm->tformat.pgsz_idx_dflt >= DDP_PGIDX_MAX) { ppm 1359 drivers/scsi/cxgbi/libcxgbi.c ppm, ppm ? ppm->tformat.pgsz_idx_dflt : DDP_PGIDX_MAX, ppm 1376 drivers/scsi/cxgbi/libcxgbi.c err = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, ppm 1386 drivers/scsi/cxgbi/libcxgbi.c err = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); ppm 1402 drivers/scsi/cxgbi/libcxgbi.c cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, ppm 1410 drivers/scsi/cxgbi/libcxgbi.c err = cdev->csk_ddp_set_map(ppm, csk, ttinfo); ppm 1418 drivers/scsi/cxgbi/libcxgbi.c cxgbi_ppm_ppod_release(ppm, ttinfo->idx); ppm 1422 drivers/scsi/cxgbi/libcxgbi.c dma_unmap_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); ppm 1433 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); ppm 1440 drivers/scsi/cxgbi/libcxgbi.c cxgbi_ppm_is_ddp_tag(ppm, tag)) { ppm 1445 drivers/scsi/cxgbi/libcxgbi.c cdev->csk_ddp_clear_map(cdev, ppm, ttinfo); ppm 1446 drivers/scsi/cxgbi/libcxgbi.c cxgbi_ppm_ppod_release(ppm, ttinfo->idx); ppm 1447 drivers/scsi/cxgbi/libcxgbi.c dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, ttinfo->nents, ppm 1466 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); ppm 1488 drivers/scsi/cxgbi/libcxgbi.c err = cxgbi_ppm_make_non_ddp_tag(ppm, sw_tag, &tag); ppm 1506 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev); ppm 1510 drivers/scsi/cxgbi/libcxgbi.c if (ppm) { ppm 1511 drivers/scsi/cxgbi/libcxgbi.c if (cxgbi_ppm_is_ddp_tag(ppm, tag)) ppm 1512 drivers/scsi/cxgbi/libcxgbi.c sw_bits = cxgbi_ppm_get_tag_caller_data(ppm, tag); ppm 1514 drivers/scsi/cxgbi/libcxgbi.c sw_bits = cxgbi_ppm_decode_non_ddp_tag(ppm, tag); ppm 2092 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm = csk->cdev->cdev2ppm(csk->cdev); ppm 2095 drivers/scsi/cxgbi/libcxgbi.c if (csk->cdev->csk_ddp_set_map(ppm, csk, ttinfo) < 0) ppm 2376 drivers/scsi/cxgbi/libcxgbi.c struct cxgbi_ppm *ppm; ppm 2390 drivers/scsi/cxgbi/libcxgbi.c ppm = csk->cdev->cdev2ppm(csk->cdev); ppm 2392 drivers/scsi/cxgbi/libcxgbi.c ppm->tformat.pgsz_idx_dflt); ppm 64 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm, ppm 69 drivers/target/iscsi/cxgbit/cxgbit_ddp.c unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; ppm 98 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, ppm 110 drivers/target/iscsi/cxgbit/cxgbit_ddp.c skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); ppm 127 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk, ppm 143 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = cxgbit_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, ppm 175 drivers/target/iscsi/cxgbit/cxgbit_ddp.c struct cxgbi_ppm *ppm = cdev2ppm(cdev); ppm 183 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ppm, ppm->tformat.pgsz_idx_dflt, ppm 197 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = cxgbi_ppm_ppods_reserve(ppm, ttinfo->nr_pages, 0, &ttinfo->idx, ppm 204 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = dma_map_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); ppm 212 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbi_ppm_make_ppod_hdr(ppm, ttinfo->tag, csk->tid, sgl->offset, ppm 215 drivers/target/iscsi/cxgbit/cxgbit_ddp.c ret = cxgbit_ddp_set_map(ppm, csk, ttinfo); ppm 218 drivers/target/iscsi/cxgbit/cxgbit_ddp.c dma_unmap_sg(&ppm->pdev->dev, sgl, sgcnt, DMA_FROM_DEVICE); ppm 225 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbi_ppm_ppod_release(ppm, ttinfo->idx); ppm 273 drivers/target/iscsi/cxgbit/cxgbit_ddp.c struct cxgbi_ppm *ppm = cdev2ppm(cdev); ppm 283 drivers/target/iscsi/cxgbit/cxgbit_ddp.c cxgbi_ppm_ppod_release(ppm, ttinfo->idx); ppm 285 drivers/target/iscsi/cxgbit/cxgbit_ddp.c dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, ppm 323 drivers/target/iscsi/cxgbit/cxgbit_ddp.c struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*lldi->iscsi_ppm); ppm 325 drivers/target/iscsi/cxgbit/cxgbit_ddp.c if ((ppm->tformat.pgsz_idx_dflt < DDP_PGIDX_MAX) && ppm 326 drivers/target/iscsi/cxgbit/cxgbit_ddp.c (ppm->ppmax >= 1024)) ppm 736 drivers/target/iscsi/cxgbit/cxgbit_target.c struct cxgbi_ppm *ppm = *csk->com.cdev->lldi.iscsi_ppm; ppm 781 drivers/target/iscsi/cxgbit/cxgbit_target.c ppm->tformat.pgsz_idx_dflt)) ppm 855 drivers/target/iscsi/cxgbit/cxgbit_target.c struct cxgbi_ppm *ppm = cdev2ppm(csk->com.cdev); ppm 866 drivers/target/iscsi/cxgbit/cxgbit_target.c ccmd->ttinfo.tag = ppm->tformat.no_ddp_mask; ppm 69 drivers/usb/typec/ucsi/displayport.c if (dp->con->ucsi->ppm->data->version > 0x0100) { ppm 44 drivers/usb/typec/ucsi/ucsi.c if (ucsi->ppm && ucsi->ppm->sync) ppm 45 drivers/usb/typec/ucsi/ucsi.c return ucsi->ppm->sync(ucsi->ppm); ppm 57 drivers/usb/typec/ucsi/ucsi.c ret = ucsi->ppm->cmd(ucsi->ppm, ctrl); ppm 83 drivers/usb/typec/ucsi/ucsi.c ret = ucsi->ppm->cmd(ucsi->ppm, &ctrl); ppm 123 drivers/usb/typec/ucsi/ucsi.c memcpy(data, ucsi->ppm->data->message_in, size); ppm 125 drivers/usb/typec/ucsi/ucsi.c data_length = ucsi->ppm->data->cci.data_length; ppm 148 drivers/usb/typec/ucsi/ucsi.c memcpy(&error, ucsi->ppm->data->message_in, sizeof(error)); ppm 233 drivers/usb/typec/ucsi/ucsi.c if (con->ucsi->ppm->data->version > 0x0100) { ppm 610 drivers/usb/typec/ucsi/ucsi.c cci = &ucsi->ppm->data->cci; ppm 632 drivers/usb/typec/ucsi/ucsi.c trace_ucsi_notify(ucsi->ppm->data->raw_cci); ppm 656 drivers/usb/typec/ucsi/ucsi.c ret = ucsi->ppm->cmd(ucsi->ppm, &ctrl); ppm 668 drivers/usb/typec/ucsi/ucsi.c if (ucsi->ppm->data->cci.reset_complete) ppm 672 drivers/usb/typec/ucsi/ucsi.c if (ucsi->ppm->data->raw_cci) { ppm 677 drivers/usb/typec/ucsi/ucsi.c ret = ucsi->ppm->cmd(ucsi->ppm, &ctrl); ppm 984 drivers/usb/typec/ucsi/ucsi.c struct ucsi *ucsi_register_ppm(struct device *dev, struct ucsi_ppm *ppm) ppm 997 drivers/usb/typec/ucsi/ucsi.c ucsi->ppm = ppm; ppm 373 drivers/usb/typec/ucsi/ucsi.h struct ucsi *ucsi_register_ppm(struct device *dev, struct ucsi_ppm *ppm); ppm 387 drivers/usb/typec/ucsi/ucsi.h struct ucsi_ppm *ppm; ppm 22 drivers/usb/typec/ucsi/ucsi_acpi.c struct ucsi_ppm ppm; ppm 42 drivers/usb/typec/ucsi/ucsi_acpi.c static int ucsi_acpi_cmd(struct ucsi_ppm *ppm, struct ucsi_control *ctrl) ppm 44 drivers/usb/typec/ucsi/ucsi_acpi.c struct ucsi_acpi *ua = container_of(ppm, struct ucsi_acpi, ppm); ppm 46 drivers/usb/typec/ucsi/ucsi_acpi.c ppm->data->ctrl.raw_cmd = ctrl->raw_cmd; ppm 51 drivers/usb/typec/ucsi/ucsi_acpi.c static int ucsi_acpi_sync(struct ucsi_ppm *ppm) ppm 53 drivers/usb/typec/ucsi/ucsi_acpi.c struct ucsi_acpi *ua = container_of(ppm, struct ucsi_acpi, ppm); ppm 93 drivers/usb/typec/ucsi/ucsi_acpi.c ua->ppm.data = devm_ioremap(&pdev->dev, res->start, resource_size(res)); ppm 94 drivers/usb/typec/ucsi/ucsi_acpi.c if (!ua->ppm.data) ppm 97 drivers/usb/typec/ucsi/ucsi_acpi.c if (!ua->ppm.data->version) ppm 104 drivers/usb/typec/ucsi/ucsi_acpi.c ua->ppm.cmd = ucsi_acpi_cmd; ppm 105 drivers/usb/typec/ucsi/ucsi_acpi.c ua->ppm.sync = ucsi_acpi_sync; ppm 116 drivers/usb/typec/ucsi/ucsi_acpi.c ua->ucsi = ucsi_register_ppm(&pdev->dev, &ua->ppm); ppm 179 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ppm ppm; ppm 322 drivers/usb/typec/ucsi/ucsi_ccg.c u8 *ppm = (u8 *)uc->ppm.data; ppm 327 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_write(uc, rab, ppm + ppm 329 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->message_out)); ppm 334 drivers/usb/typec/ucsi/ucsi_ccg.c return ccg_write(uc, rab, ppm + offsetof(struct ucsi_data, ctrl), ppm 335 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->ctrl)); ppm 340 drivers/usb/typec/ucsi/ucsi_ccg.c u8 *ppm = (u8 *)uc->ppm.data; ppm 345 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, cci), ppm 346 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->cci)); ppm 351 drivers/usb/typec/ucsi/ucsi_ccg.c return ccg_read(uc, rab, ppm + offsetof(struct ucsi_data, message_in), ppm 352 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->message_in)); ppm 367 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_sync(struct ucsi_ppm *ppm) ppm 369 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(ppm, struct ucsi_ccg, ppm); ppm 380 drivers/usb/typec/ucsi/ucsi_ccg.c static int ucsi_ccg_cmd(struct ucsi_ppm *ppm, struct ucsi_control *ctrl) ppm 382 drivers/usb/typec/ucsi/ucsi_ccg.c struct ucsi_ccg *uc = container_of(ppm, struct ucsi_ccg, ppm); ppm 384 drivers/usb/typec/ucsi/ucsi_ccg.c ppm->data->ctrl.raw_cmd = ctrl->raw_cmd; ppm 1030 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); ppm 1100 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.data = devm_kzalloc(dev, sizeof(struct ucsi_data), GFP_KERNEL); ppm 1101 drivers/usb/typec/ucsi/ucsi_ccg.c if (!uc->ppm.data) ppm 1104 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.cmd = ucsi_ccg_cmd; ppm 1105 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ppm.sync = ucsi_ccg_sync; ppm 1146 drivers/usb/typec/ucsi/ucsi_ccg.c uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); ppm 1153 drivers/usb/typec/ucsi/ucsi_ccg.c status = ccg_read(uc, rab, (u8 *)(uc->ppm.data) + ppm 1155 drivers/usb/typec/ucsi/ucsi_ccg.c sizeof(uc->ppm.data->version)); ppm 221 include/linux/ptp_clock_kernel.h extern s32 scaled_ppm_to_ppb(long ppm); ppm 1346 sound/soc/ti/davinci-mcasp.c int ppm; ppm 1354 sound/soc/ti/davinci-mcasp.c ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, ppm 1356 sound/soc/ti/davinci-mcasp.c if (abs(ppm) < DAVINCI_MAX_RATE_ERROR_PPM) { ppm 1390 sound/soc/ti/davinci-mcasp.c int ppm; ppm 1401 sound/soc/ti/davinci-mcasp.c ppm = davinci_mcasp_calc_clk_div(rd->mcasp, sysclk_freq, ppm 1404 sound/soc/ti/davinci-mcasp.c if (abs(ppm) < DAVINCI_MAX_RATE_ERROR_PPM) { ppm 117 tools/testing/selftests/timers/adjtick.c long long eppm, ppm; ppm 134 tools/testing/selftests/timers/adjtick.c ppm = ((long long)tickval * MILLION)/systick - MILLION; ppm 135 tools/testing/selftests/timers/adjtick.c printf("Estimating tick (act: %ld usec, %lld ppm): ", tickval, ppm); ppm 159 tools/testing/selftests/timers/adjtick.c if (llabs(eppm - ppm) > 100) { ppm 36 tools/testing/selftests/timers/change_skew.c int change_skew_test(int ppm) ppm 42 tools/testing/selftests/timers/change_skew.c tx.freq = ppm << 16; ppm 63 tools/testing/selftests/timers/change_skew.c int ppm[5] = {0, 250, 500, -250, -500}; ppm 79 tools/testing/selftests/timers/change_skew.c printf("Using %i ppm adjustment\n", ppm[i]); ppm 80 tools/testing/selftests/timers/change_skew.c ret = change_skew_test(ppm[i]); ppm 95 tools/testing/selftests/timers/raw_skew.c long long delta1, delta2, interval, eppm, ppm; ppm 132 tools/testing/selftests/timers/raw_skew.c ppm = (tx1.freq + tx2.freq) * 1000 / 2; ppm 133 tools/testing/selftests/timers/raw_skew.c ppm = (long long)tx1.freq * 1000; ppm 134 tools/testing/selftests/timers/raw_skew.c ppm = shift_right(ppm, 16); ppm 135 tools/testing/selftests/timers/raw_skew.c printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); ppm 137 tools/testing/selftests/timers/raw_skew.c if (llabs(eppm - ppm) > 1000) { ppm 44 tools/testing/selftests/timers/skew_consistency.c int ret, ppm; ppm 54 tools/testing/selftests/timers/skew_consistency.c ppm = 500; ppm 58 tools/testing/selftests/timers/skew_consistency.c ppm = -ppm; ppm 60 tools/testing/selftests/timers/skew_consistency.c tx.freq = ppm << 16;