Home
last modified time | relevance | path

Searched refs:pds (Results 1 – 11 of 11) sorted by relevance

/drivers/soc/qcom/
Dpdr_interface.c68 struct pdr_service *pds; member
77 struct pdr_service *pds; in pdr_locator_new_server() local
90 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_locator_new_server()
91 if (pds->need_locator_lookup) in pdr_locator_new_server()
119 struct pdr_service *pds, in pdr_register_listener() argument
134 strcpy(req.service_path, pds->service_path); in pdr_register_listener()
136 ret = qmi_send_request(&pdr->notifier_hdl, &pds->addr, in pdr_register_listener()
149 pds->service_path, ret); in pdr_register_listener()
155 pds->service_path, resp.resp.error); in pdr_register_listener()
159 pds->state = resp.curr_state; in pdr_register_listener()
[all …]
Dapr.c345 struct pdr_service *pds; in of_apr_add_pd_lookups() local
362 pds = pdr_add_lookup(apr->pdr, service_name, service_path); in of_apr_add_pd_lookups()
363 if (IS_ERR(pds) && PTR_ERR(pds) != -EALREADY) { in of_apr_add_pd_lookups()
364 dev_err(dev, "pdr add lookup failed: %ld\n", PTR_ERR(pds)); in of_apr_add_pd_lookups()
366 return PTR_ERR(pds); in of_apr_add_pd_lookups()
/drivers/pci/
Drom.c92 void __iomem *pds; in pci_get_rom_size() local
100 pds = image + readw(image + 24); in pci_get_rom_size()
101 if (readl(pds) != 0x52494350) { in pci_get_rom_size()
103 readl(pds)); in pci_get_rom_size()
106 last_image = readb(pds + 21) & 0x80; in pci_get_rom_size()
107 length = readw(pds + 16); in pci_get_rom_size()
/drivers/remoteproc/
Dqcom_wcnss.c88 struct device *pds[WCNSS_MAX_PDS]; member
231 dev_pm_genpd_set_performance_state(wcnss->pds[i], INT_MAX); in wcnss_start()
232 ret = pm_runtime_get_sync(wcnss->pds[i]); in wcnss_start()
234 pm_runtime_put_noidle(wcnss->pds[i]); in wcnss_start()
275 pm_runtime_put(wcnss->pds[i]); in wcnss_start()
276 dev_pm_genpd_set_performance_state(wcnss->pds[i], 0); in wcnss_start()
396 wcnss->pds[i] = dev_pm_domain_attach_by_name(wcnss->dev, pd_names[i]); in wcnss_init_pds()
397 if (IS_ERR_OR_NULL(wcnss->pds[i])) { in wcnss_init_pds()
398 ret = PTR_ERR(wcnss->pds[i]) ? : -ENODATA; in wcnss_init_pds()
400 dev_pm_domain_detach(wcnss->pds[i], false); in wcnss_init_pds()
[all …]
Dqcom_q6v5_pas.c96 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument
103 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in adsp_pds_enable()
104 ret = pm_runtime_get_sync(pds[i]); in adsp_pds_enable()
106 pm_runtime_put_noidle(pds[i]); in adsp_pds_enable()
107 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable()
116 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable()
117 pm_runtime_put(pds[i]); in adsp_pds_enable()
123 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument
129 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_disable()
130 pm_runtime_put(pds[i]); in adsp_pds_disable()
[all …]
Dqcom_q6v5_mss.c349 static int q6v5_pds_enable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_enable() argument
356 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in q6v5_pds_enable()
357 ret = pm_runtime_get_sync(pds[i]); in q6v5_pds_enable()
359 pm_runtime_put_noidle(pds[i]); in q6v5_pds_enable()
360 dev_pm_genpd_set_performance_state(pds[i], 0); in q6v5_pds_enable()
369 dev_pm_genpd_set_performance_state(pds[i], 0); in q6v5_pds_enable()
370 pm_runtime_put(pds[i]); in q6v5_pds_enable()
376 static void q6v5_pds_disable(struct q6v5 *qproc, struct device **pds, in q6v5_pds_disable() argument
382 dev_pm_genpd_set_performance_state(pds[i], 0); in q6v5_pds_disable()
383 pm_runtime_put(pds[i]); in q6v5_pds_disable()
[all …]
/drivers/staging/wfx/
Dmain.c218 const struct firmware *pds; in wfx_send_pdata_pds() local
221 ret = request_firmware(&pds, wdev->pdata.file_pds, wdev->dev); in wfx_send_pdata_pds()
227 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds()
232 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds()
235 release_firmware(pds); in wfx_send_pdata_pds()
/drivers/iommu/intel/
Dcap_audit.c59 CHECK_FEATURE_MISMATCH(a, b, ecap, pds, ECAP_PDS_MASK); in check_dmar_capabilities()
106 CHECK_FEATURE_MISMATCH_HOTPLUG(iommu, ecap, pds, ECAP_PDS_MASK); in cap_audit_hotplug()
Diommu.c2043 int pds, max_pde; in context_get_sm_pds() local
2046 pds = find_first_bit((unsigned long *)&max_pde, MAX_NR_PASID_BITS); in context_get_sm_pds()
2047 if (pds < 7) in context_get_sm_pds()
2050 return pds - 7; in context_get_sm_pds()
2083 #define context_pdts(pds) (((pds) & 0x7) << 9) argument
2146 unsigned long pds; in domain_context_mapping_one() local
2151 pds = context_get_sm_pds(table); in domain_context_mapping_one()
2153 context_pdts(pds); in domain_context_mapping_one()
/drivers/slimbus/
Dqcom-ngd-ctrl.c1516 struct pdr_service *pds; in qcom_slim_ngd_ctrl_probe() local
1574 pds = pdr_add_lookup(ctrl->pdr, "avs/audio", "msm/adsp/audio_pd"); in qcom_slim_ngd_ctrl_probe()
1575 if (IS_ERR(pds) && PTR_ERR(pds) != -EALREADY) { in qcom_slim_ngd_ctrl_probe()
1576 ret = PTR_ERR(pds); in qcom_slim_ngd_ctrl_probe()
/drivers/scsi/pm8001/
Dpm8001_hwi.c3067 u8 pds = le32_to_cpu(pPayload->pds_nds) & PDS_BITS; in pm8001_mpi_set_dev_state_resp() local
3070 device_id, pds, nds, status); in pm8001_mpi_set_dev_state_resp()