| /drivers/net/ethernet/chelsio/libcxgb/ |
| A D | libcxgb_ppm.c | 174 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 D | libcxgb_ppm.h | 199 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 …]
|
| /drivers/target/iscsi/cxgbit/ |
| A D | cxgbit_ddp.c | 69 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 …]
|
| A D | cxgbit_target.c | 719 struct cxgbi_ppm *ppm = *csk->com.cdev->lldi.iscsi_ppm; in cxgbit_set_params() local 764 ppm->tformat.pgsz_idx_dflt)) in cxgbit_set_params() 838 struct cxgbi_ppm *ppm = cdev2ppm(csk->com.cdev); in cxgbit_allocate_cmd() local 849 ccmd->ttinfo.tag = ppm->tformat.no_ddp_mask; in cxgbit_allocate_cmd() 1070 struct cxgbi_ppm *ppm = cdev2ppm(cdev); in cxgbit_handle_iscsi_dataout() local 1072 dma_unmap_sg(&ppm->pdev->dev, ttinfo->sgl, ttinfo->nents, in cxgbit_handle_iscsi_dataout()
|
| /drivers/clocksource/ |
| A 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()
|
| /drivers/iio/chemical/ |
| A D | mhz19b.c | 185 u16 ppm; in calibration_forced_value_store() local 188 ret = kstrtou16(buf, 0, &ppm); in calibration_forced_value_store() 192 if (ppm) { in calibration_forced_value_store() 193 if (!in_range(ppm, MHZ19B_SPAN_POINT_PPM_MIN, in calibration_forced_value_store() 206 ret = mhz19b_serdev_cmd(indio_dev, cmd, ppm); in calibration_forced_value_store()
|
| /drivers/media/dvb-frontends/cxd2880/ |
| A 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()
|
| A D | cxd2880_tnrdmd_dvbt_mon.h | 64 *tnr_dmd, int *ppm); 69 int *ppm);
|
| A D | cxd2880_tnrdmd_dvbt2_mon.h | 104 *tnr_dmd, int *ppm); 109 int *ppm);
|
| A D | cxd2880_tnrdmd_dvbt2_mon.c | 1430 *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()
|
| /drivers/scsi/cxgbi/ |
| A D | libcxgbi.c | 1226 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 …]
|
| /drivers/gpu/drm/amd/pm/legacy-dpm/ |
| A D | legacy_dpm.c | 502 ATOM_PPLIB_PPM_Table *ppm = (ATOM_PPLIB_PPM_Table *) in amdgpu_parse_extended_power_table() local 509 adev->pm.dpm.dyn_state.ppm_table->ppm_design = ppm->ucPpmDesign; in amdgpu_parse_extended_power_table() 511 le16_to_cpu(ppm->usCpuCoreNumber); in amdgpu_parse_extended_power_table() 513 le32_to_cpu(ppm->ulPlatformTDP); in amdgpu_parse_extended_power_table() 515 le32_to_cpu(ppm->ulSmallACPlatformTDP); in amdgpu_parse_extended_power_table() 517 le32_to_cpu(ppm->ulPlatformTDC); in amdgpu_parse_extended_power_table() 519 le32_to_cpu(ppm->ulSmallACPlatformTDC); in amdgpu_parse_extended_power_table() 521 le32_to_cpu(ppm->ulApuTDP); in amdgpu_parse_extended_power_table() 523 le32_to_cpu(ppm->ulDGpuTDP); in amdgpu_parse_extended_power_table() 525 le32_to_cpu(ppm->ulDGpuUlvPower); in amdgpu_parse_extended_power_table() [all …]
|
| /drivers/media/dvb-frontends/ |
| A D | l64781.c | 118 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()
|
| /drivers/gpu/drm/radeon/ |
| A D | r600_dpm.c | 1197 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 …]
|
| A D | ci_dpm.c | 408 struct radeon_ppm_table *ppm = rdev->pm.dpm.dyn_state.ppm_table; in ci_populate_bapm_parameters_in_dpm_table() local 423 if (ppm) { in ci_populate_bapm_parameters_in_dpm_table() 424 dpm_table->PPM_PkgPwrLimit = cpu_to_be16((u16)ppm->dgpu_tdp * 256 / 1000); in ci_populate_bapm_parameters_in_dpm_table() 425 dpm_table->PPM_TemperatureLimit = cpu_to_be16((u16)ppm->tj_max * 256); in ci_populate_bapm_parameters_in_dpm_table()
|
| /drivers/video/logo/ |
| A D | Makefile | 30 $(obj)/%.c: $(src)/%.ppm $(obj)/pnmtologo FORCE
|
| /drivers/scsi/cxgbi/cxgb3i/ |
| A D | cxgb3i.c | 1096 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()
|
| /drivers/mmc/host/ |
| A D | sdhci-pci-gli.c | 534 static void gl9750_set_ssc(struct sdhci_host *host, u8 enable, u8 step, u16 ppm) in gl9750_set_ssc() argument 547 ssc |= FIELD_PREP(SDHCI_GLI_9750_PLLSSC_PPM, ppm); in gl9750_set_ssc() 731 static void gl9755_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) in gl9755_set_ssc() argument 744 ssc |= FIELD_PREP(PCI_GLI_9755_PLLSSC_PPM, ppm); in gl9755_set_ssc() 1100 static void gl9767_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) in gl9767_set_ssc() argument 1114 ssc |= FIELD_PREP(PCIE_GLI_9767_SD_PLL_CTL2_PLLSSC_PPM, ppm); in gl9767_set_ssc()
|
| /drivers/s390/block/ |
| A D | dasd_int.h | 1194 __u8 ppm = 0x00; in dasd_path_get_ppm() local 1198 ppm |= 0x80 >> chp; in dasd_path_get_ppm() 1199 return ppm; in dasd_path_get_ppm()
|
| A D | dasd_eckd.c | 1281 __u8 lpm, opm, npm, ppm, epm, hpfpm, cablepm; in dasd_eckd_path_available_action() local 1290 ppm = 0; in dasd_eckd_path_available_action() 1312 ppm |= lpm; in dasd_eckd_path_available_action() 1335 ppm &= ~lpm; in dasd_eckd_path_available_action() 1385 ppm &= ~lpm; in dasd_eckd_path_available_action() 1422 dasd_path_add_ppm(device, ppm); in dasd_eckd_path_available_action()
|
| /drivers/scsi/cxgbi/cxgb4i/ |
| A D | cxgb4i.c | 1994 struct cxgbi_ppm *ppm, in ddp_ppod_init_idata() argument 1998 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ppm->llimit; in ddp_ppod_init_idata() 2006 __func__, ppm->ndev->name, idx, npods); in ddp_ppod_init_idata() 2016 static int ddp_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, in ddp_ppod_write_idata() argument 2023 struct sk_buff *skb = ddp_ppod_init_idata(cdev, ppm, idx, npods, in ddp_ppod_write_idata() 2051 static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk, in ddp_set_map() argument 2068 err = ddp_ppod_write_idata(ppm, csk, ttinfo, pidx, cnt, in ddp_set_map()
|
| /drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| A D | iceland_smumgr.c | 1856 struct phm_ppm_table *ppm = hwmgr->dyn_state.ppm_parameter_table; in iceland_populate_bapm_parameters_in_dpm_table() local 1878 if (NULL != ppm) { in iceland_populate_bapm_parameters_in_dpm_table() 1879 dpm_table->PPM_PkgPwrLimit = (uint16_t)ppm->dgpu_tdp * 256 / 1000; in iceland_populate_bapm_parameters_in_dpm_table() 1880 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in iceland_populate_bapm_parameters_in_dpm_table()
|
| A D | ci_smumgr.c | 722 struct phm_ppm_table *ppm = hwmgr->dyn_state.ppm_parameter_table; in ci_populate_bapm_parameters_in_dpm_table() local 735 if (ppm) { in ci_populate_bapm_parameters_in_dpm_table() 736 dpm_table->PPM_PkgPwrLimit = (uint16_t)ppm->dgpu_tdp * 256 / 1000; in ci_populate_bapm_parameters_in_dpm_table() 737 dpm_table->PPM_TemperatureLimit = (uint16_t)ppm->tj_max * 256; in ci_populate_bapm_parameters_in_dpm_table()
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | README | 105 p1 is Sleep clock error in ppm (0-65535)
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_dpll.c | 885 unsigned int ppm; in vlv_find_best_dpll() local 900 bestppm, &ppm)) in vlv_find_best_dpll() 904 bestppm = ppm; in vlv_find_best_dpll()
|