/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | pdr_interface.c | 68 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() 134 strscpy(req.service_path, pds->service_path, sizeof(req.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 in pdr_register_listener() 118 pdr_register_listener(struct pdr_handle *pdr, struct pdr_service *pds, bool enable) pdr_register_listener() argument 168 struct pdr_service *pds; pdr_notifier_work() local 201 struct pdr_service *pds; pdr_notifier_new_server() local 225 struct pdr_service *pds; pdr_notifier_del_server() local 246 pdr_send_indack_msg(struct pdr_handle *pdr, struct pdr_service *pds, u16 tid) pdr_send_indack_msg() argument 278 struct pdr_service *pds; pdr_indack_work() local 307 struct pdr_service *pds = NULL, *iter; pdr_indication_cb() local 395 pdr_locate_service(struct pdr_handle *pdr, struct pdr_service *pds) pdr_locate_service() argument 446 pdr_notify_lookup_failure(struct pdr_handle *pdr, struct pdr_service *pds, int err) pdr_notify_lookup_failure() argument 468 struct pdr_service *pds, *tmp; pdr_locator_work() local 518 struct pdr_service *pds, *tmp; pdr_add_lookup() local 568 pdr_restart_pd(struct pdr_handle *pdr, struct pdr_service *pds) pdr_restart_pd() argument 728 struct pdr_service *pds, *tmp; pdr_handle_release() local [all...] |
H A D | apr.c | 489 struct pdr_service *pds; in of_apr_add_pd_lookups() local 506 pds = pdr_add_lookup(apr->pdr, service_name, service_path); in of_apr_add_pd_lookups() 507 if (IS_ERR(pds) && PTR_ERR(pds) != -EALREADY) { in of_apr_add_pd_lookups() 508 dev_err(dev, "pdr add lookup failed: %ld\n", PTR_ERR(pds)); in of_apr_add_pd_lookups() 510 return PTR_ERR(pds); in of_apr_add_pd_lookups()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | pdr_interface.c | 68 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() 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 in pdr_register_listener() 118 pdr_register_listener(struct pdr_handle *pdr, struct pdr_service *pds, bool enable) pdr_register_listener() argument 168 struct pdr_service *pds; pdr_notifier_work() local 201 struct pdr_service *pds; pdr_notifier_new_server() local 225 struct pdr_service *pds; pdr_notifier_del_server() local 246 pdr_send_indack_msg(struct pdr_handle *pdr, struct pdr_service *pds, u16 tid) pdr_send_indack_msg() argument 278 struct pdr_service *pds; pdr_indack_work() local 307 struct pdr_service *pds; pdr_indication_cb() local 396 pdr_locate_service(struct pdr_handle *pdr, struct pdr_service *pds) pdr_locate_service() argument 447 pdr_notify_lookup_failure(struct pdr_handle *pdr, struct pdr_service *pds, int err) pdr_notify_lookup_failure() argument 469 struct pdr_service *pds, *tmp; pdr_locator_work() local 519 struct pdr_service *pds, *tmp; pdr_add_lookup() local 569 pdr_restart_pd(struct pdr_handle *pdr, struct pdr_service *pds) pdr_restart_pd() argument 729 struct pdr_service *pds, *tmp; pdr_handle_release() local [all...] |
H A D | apr.c | 347 struct pdr_service *pds; in of_apr_add_pd_lookups() local 364 pds = pdr_add_lookup(apr->pdr, service_name, service_path); in of_apr_add_pd_lookups() 365 if (IS_ERR(pds) && PTR_ERR(pds) != -EALREADY) { in of_apr_add_pd_lookups() 366 dev_err(dev, "pdr add lookup failed: %ld\n", PTR_ERR(pds)); in of_apr_add_pd_lookups() 368 return PTR_ERR(pds); in of_apr_add_pd_lookups()
|
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | qcom-ssc-block-bus.c | 32 struct device *pds[ARRAY_SIZE(qcom_ssc_block_pd_names)]; member 189 static int qcom_ssc_block_bus_pds_attach(struct device *dev, struct device **pds, in qcom_ssc_block_bus_pds_attach() argument 196 pds[i] = dev_pm_domain_attach_by_name(dev, pd_names[i]); in qcom_ssc_block_bus_pds_attach() 197 if (IS_ERR_OR_NULL(pds[i])) { in qcom_ssc_block_bus_pds_attach() 198 ret = PTR_ERR(pds[i]) ? : -ENODATA; in qcom_ssc_block_bus_pds_attach() 207 dev_pm_domain_detach(pds[i], false); in qcom_ssc_block_bus_pds_attach() 212 static void qcom_ssc_block_bus_pds_detach(struct device *dev, struct device **pds, size_t num_pds) in qcom_ssc_block_bus_pds_detach() argument 217 dev_pm_domain_detach(pds[i], false); in qcom_ssc_block_bus_pds_detach() 220 static int qcom_ssc_block_bus_pds_enable(struct device **pds, size_t num_pds) in qcom_ssc_block_bus_pds_enable() argument 226 dev_pm_genpd_set_performance_state(pds[ in qcom_ssc_block_bus_pds_enable() 243 qcom_ssc_block_bus_pds_disable(struct device **pds, size_t num_pds) qcom_ssc_block_bus_pds_disable() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | lpass-macro-common.c | 58 void lpass_macro_pds_exit(struct lpass_macro *pds) in lpass_macro_pds_exit() argument 60 if (pds) { in lpass_macro_pds_exit() 61 pm_runtime_put(pds->macro_pd); in lpass_macro_pds_exit() 62 dev_pm_domain_detach(pds->macro_pd, false); in lpass_macro_pds_exit() 63 pm_runtime_put(pds->dcodec_pd); in lpass_macro_pds_exit() 64 dev_pm_domain_detach(pds->dcodec_pd, false); in lpass_macro_pds_exit()
|
H A D | lpass-macro-common.h | 18 void lpass_macro_pds_exit(struct lpass_macro *pds);
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | rom.c | 92 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()
|
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | rom.c | 92 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()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | gdth_proc.c | 166 gdth_dskstat_str *pds; in gdth_show_info() local 245 pds = (gdth_dskstat_str *)(buf + GDTH_SCRATCH/4); in gdth_show_info() 252 pds->bid = ha->raw[i].local_no; in gdth_show_info() 253 pds->first = 0; in gdth_show_info() 254 pds->entries = ha->raw[i].pdev_cnt; in gdth_show_info() 256 sizeof(pds->list[0]); in gdth_show_info() 257 if (pds->entries > cnt) in gdth_show_info() 258 pds->entries = cnt; in gdth_show_info() 261 pds->count = 0; in gdth_show_info() 301 for (k = 0; k < pds in gdth_show_info() [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/pds/ |
H A D | aux_drv.c | 9 #include <linux/pds/pds_common.h> 10 #include <linux/pds/pds_core_if.h> 11 #include <linux/pds/pds_adminq.h> 12 #include <linux/pds/pds_auxbus.h>
|
H A D | cmds.c | 7 #include <linux/pds/pds_common.h> 8 #include <linux/pds/pds_core_if.h> 9 #include <linux/pds/pds_adminq.h> 10 #include <linux/pds/pds_auxbus.h>
|
H A D | debugfs.c | 7 #include <linux/pds/pds_common.h> 8 #include <linux/pds/pds_core_if.h> 9 #include <linux/pds/pds_adminq.h> 10 #include <linux/pds/pds_auxbus.h>
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | qcom_q6v5_pas.c | 84 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument 91 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in adsp_pds_enable() 92 ret = pm_runtime_get_sync(pds[i]); in adsp_pds_enable() 94 pm_runtime_put_noidle(pds[i]); in adsp_pds_enable() 95 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 104 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 105 pm_runtime_put(pds[i]); in adsp_pds_enable() 111 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument 117 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_disable() 118 pm_runtime_put(pds[ in adsp_pds_disable() 339 adsp_pds_detach(struct qcom_adsp *adsp, struct device **pds, size_t pd_count) adsp_pds_detach() argument [all...] |
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/ |
H A D | Makefile | 4 obj-$(CONFIG_PDS_VFIO_PCI) += pds-vfio-pci.o 6 pds-vfio-pci-y := \
|
H A D | lm.h | 12 #include <linux/pds/pds_common.h> 13 #include <linux/pds/pds_adminq.h>
|
H A D | pci_drv.c | 11 #include <linux/pds/pds_common.h> 12 #include <linux/pds/pds_core_if.h> 13 #include <linux/pds/pds_adminq.h> 110 "failed to register pds event handler: %pe\n", in pds_vfio_pci_register_event_handler() 114 dev_dbg(dev, "pds event handler registered\n"); in pds_vfio_pci_register_event_handler()
|
/kernel/linux/linux-6.6/drivers/pmdomain/sunxi/ |
H A D | sun20i-ppu.c | 107 struct sun20i_ppu_pd *pds; in sun20i_ppu_probe() local 117 pds = devm_kcalloc(dev, desc->num_domains, sizeof(*pds), GFP_KERNEL); in sun20i_ppu_probe() 118 if (!pds) in sun20i_ppu_probe() 150 struct sun20i_ppu_pd *pd = &pds[i]; in sun20i_ppu_probe()
|
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | qcom_wcnss.c | 87 struct device *pds[WCNSS_MAX_PDS]; member 241 dev_pm_genpd_set_performance_state(wcnss->pds[i], INT_MAX); in wcnss_start() 242 ret = pm_runtime_get_sync(wcnss->pds[i]); in wcnss_start() 244 pm_runtime_put_noidle(wcnss->pds[i]); in wcnss_start() 285 pm_runtime_put(wcnss->pds[i]); in wcnss_start() 286 dev_pm_genpd_set_performance_state(wcnss->pds[i], 0); in wcnss_start() 406 wcnss->pds[i] = dev_pm_domain_attach_by_name(wcnss->dev, pd_names[i]); in wcnss_init_pds() 407 if (IS_ERR_OR_NULL(wcnss->pds[i])) { in wcnss_init_pds() 408 ret = PTR_ERR(wcnss->pds[i]) ? : -ENODATA; in wcnss_init_pds() 410 dev_pm_domain_detach(wcnss->pds[ in wcnss_init_pds() [all...] |
H A D | qcom_q6v5_pas.c | 137 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument 144 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in adsp_pds_enable() 145 ret = pm_runtime_get_sync(pds[i]); in adsp_pds_enable() 147 pm_runtime_put_noidle(pds[i]); in adsp_pds_enable() 148 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 157 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 158 pm_runtime_put(pds[i]); in adsp_pds_enable() 164 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument 170 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_disable() 171 pm_runtime_put(pds[ in adsp_pds_disable() 520 adsp_pds_detach(struct qcom_adsp *adsp, struct device **pds, size_t pd_count) adsp_pds_detach() argument [all...] |
H A D | qcom_q6v5_adsp.c | 164 static void qcom_rproc_pds_detach(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_detach() argument 177 dev_pm_domain_detach(pds[i], false); in qcom_rproc_pds_detach() 180 static int qcom_rproc_pds_enable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_enable() argument 187 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in qcom_rproc_pds_enable() 188 ret = pm_runtime_resume_and_get(pds[i]); in qcom_rproc_pds_enable() 190 dev_pm_genpd_set_performance_state(pds[i], 0); in qcom_rproc_pds_enable() 199 dev_pm_genpd_set_performance_state(pds[i], 0); in qcom_rproc_pds_enable() 200 pm_runtime_put(pds[i]); in qcom_rproc_pds_enable() 206 static void qcom_rproc_pds_disable(struct qcom_adsp *adsp, struct device **pds, in qcom_rproc_pds_disable() argument 212 dev_pm_genpd_set_performance_state(pds[ in qcom_rproc_pds_disable() [all...] |
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A D | main.c | 218 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
H A D | main.c | 222 const struct firmware *pds; in wfx_send_pdata_pds() local 225 ret = request_firmware(&pds, wdev->pdata.file_pds, wdev->dev); in wfx_send_pdata_pds() 231 tmp_buf = kmemdup(pds->data, pds->size, GFP_KERNEL); in wfx_send_pdata_pds() 236 ret = wfx_send_pds(wdev, tmp_buf, pds->size); in wfx_send_pdata_pds() 239 release_firmware(pds); in wfx_send_pdata_pds()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/pds_core/ |
H A D | core.h | 10 #include <linux/pds/pds_common.h> 11 #include <linux/pds/pds_core_if.h> 12 #include <linux/pds/pds_adminq.h> 13 #include <linux/pds/pds_intr.h>
|
/kernel/linux/linux-5.10/include/linux/soc/qcom/ |
H A D | pdr.h | 26 int pdr_restart_pd(struct pdr_handle *pdr, struct pdr_service *pds);
|