/linux/drivers/soc/qcom/ |
H A D | pdr_interface.c | 69 struct pdr_service *pds; member 78 struct pdr_service *pds; in pdr_locator_new_server() local 91 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_locator_new_server() 92 if (pds->need_locator_lookup) in pdr_locator_new_server() 120 struct pdr_service *pds, in pdr_register_listener() argument 135 strscpy(req.service_path, pds->service_path, sizeof(req.service_path)); in pdr_register_listener() 137 ret = qmi_send_request(&pdr->notifier_hdl, &pds->addr, in pdr_register_listener() 150 pds->service_path, ret); in pdr_register_listener() 156 pds->service_path, resp.resp.error); in pdr_register_listener() 160 pds->state = resp.curr_state; in pdr_register_listener() [all …]
|
H A D | apr.c | 488 struct pdr_service *pds; in of_apr_add_pd_lookups() local 504 pds = pdr_add_lookup(apr->pdr, service_name, service_path); in of_apr_add_pd_lookups() 505 if (IS_ERR(pds) && PTR_ERR(pds) != -EALREADY) { in of_apr_add_pd_lookups() 506 dev_err(dev, "pdr add lookup failed: %ld\n", PTR_ERR(pds)); in of_apr_add_pd_lookups() 507 return PTR_ERR(pds); in of_apr_add_pd_lookups()
|
/linux/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[i], INT_MAX); in qcom_ssc_block_bus_pds_enable() [all …]
|
/linux/drivers/base/power/ |
H A D | common.c | 194 struct dev_pm_domain_list *pds; in dev_pm_domain_attach_list() local 221 pds = kzalloc(sizeof(*pds), GFP_KERNEL); in dev_pm_domain_attach_list() 222 if (!pds) in dev_pm_domain_attach_list() 225 size = sizeof(*pds->pd_devs) + sizeof(*pds->pd_links); in dev_pm_domain_attach_list() 226 pds->pd_devs = kcalloc(num_pds, size, GFP_KERNEL); in dev_pm_domain_attach_list() 227 if (!pds->pd_devs) { in dev_pm_domain_attach_list() 231 pds->pd_links = (void *)(pds->pd_devs + num_pds); in dev_pm_domain_attach_list() 256 pds->pd_links[i] = link; in dev_pm_domain_attach_list() 259 pds->pd_devs[i] = pd_dev; in dev_pm_domain_attach_list() 262 pds->num_pds = num_pds; in dev_pm_domain_attach_list() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/amd/ |
H A D | pds_vfio_pci.rst | 14 The ``pds-vfio-pci`` module is a PCI driver that supports Live Migration 20 The pds-vfio-pci device is enabled via multiple configuration steps and 26 example assumes the pds_core and pds-vfio-pci modules are already 44 # Allow the VF to be bound to the pds-vfio-pci driver 45 echo "pds-vfio-pci" > /sys/class/pci_bus/$PF_BUS/device/$VF_BDF/driver_override 47 # Bind the VF to the pds-vfio-pci driver 48 echo "$VF_BDF" > /sys/bus/pci/drivers/pds-vfio-pci/bind 66 -> VFIO support for PDS PCI devices
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | main.c | 169 /* The device needs data about the antenna configuration. This information in provided by PDS 171 * integrators, the full process to create PDS files is described here: 172 * https://github.com/SiliconLabs/wfx-firmware/blob/master/PDS/README.md 174 * The PDS file is an array of Time-Length-Value structs. 181 dev_err(wdev->dev, "PDS: malformed file (legacy format?)\n"); in wfx_send_pds() 188 dev_err(wdev->dev, "PDS:%d: corrupted file\n", chunk_num); in wfx_send_pds() 192 dev_info(wdev->dev, "PDS:%d: skip unknown data\n", chunk_num); in wfx_send_pds() 196 dev_warn(wdev->dev, "PDS:%d: unexpectedly large chunk\n", chunk_num); in wfx_send_pds() 198 dev_warn(wdev->dev, "PDS:%d: unexpected content\n", chunk_num); in wfx_send_pds() 202 dev_err(wdev->dev, "PDS:%d: invalid data (unsupported options?)\n", chunk_num); in wfx_send_pds() [all …]
|
H A D | bus_sdio.c | 26 .file_pds = "wfx/wf200.pds", 31 .file_pds = "wfx/brd4001a.pds", 36 .file_pds = "wfx/brd8022a.pds", 41 .file_pds = "wfx/brd8023a.pds",
|
H A D | bus_spi.c | 28 .file_pds = "wfx/wf200.pds", 34 .file_pds = "wfx/brd4001a.pds", 40 .file_pds = "wfx/brd8022a.pds", 46 .file_pds = "wfx/brd8023a.pds",
|
/linux/sound/soc/codecs/ |
H A D | lpass-macro-common.c | 61 void lpass_macro_pds_exit(struct lpass_macro *pds) in lpass_macro_pds_exit() argument 63 if (pds) { in lpass_macro_pds_exit() 64 pm_runtime_put(pds->macro_pd); in lpass_macro_pds_exit() 65 dev_pm_domain_detach(pds->macro_pd, false); in lpass_macro_pds_exit() 66 pm_runtime_put(pds->dcodec_pd); in lpass_macro_pds_exit() 67 dev_pm_domain_detach(pds->dcodec_pd, false); in lpass_macro_pds_exit()
|
H A D | lpass-macro-common.h | 40 void lpass_macro_pds_exit(struct lpass_macro *pds); 44 static inline void lpass_macro_pds_exit_action(void *pds) in lpass_macro_pds_exit_action() argument 46 lpass_macro_pds_exit(pds); in lpass_macro_pds_exit_action()
|
/linux/drivers/remoteproc/ |
H A D | qcom_q6v5_adsp.c | 151 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_detach() local 153 dev_pm_domain_detach_list(pds); in qcom_rproc_pds_detach() 155 if (dev->pm_domain || pds) in qcom_rproc_pds_detach() 162 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_enable() local 165 if (!dev->pm_domain && !pds) in qcom_rproc_pds_enable() 171 while (pds && i < pds->num_pds) { in qcom_rproc_pds_enable() 172 dev_pm_genpd_set_performance_state(pds->pd_devs[i], INT_MAX); in qcom_rproc_pds_enable() 178 while (pds && i > 0) { in qcom_rproc_pds_enable() 180 dev_pm_genpd_set_performance_state(pds->pd_devs[i], 0); in qcom_rproc_pds_enable() 193 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_disable() local [all …]
|
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[i], false); in wcnss_init_pds() [all …]
|
H A D | qcom_q6v5_pas.c | 150 static int adsp_pds_enable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_enable() argument 157 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in adsp_pds_enable() 158 ret = pm_runtime_get_sync(pds[i]); in adsp_pds_enable() 160 pm_runtime_put_noidle(pds[i]); in adsp_pds_enable() 161 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 170 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_enable() 171 pm_runtime_put(pds[i]); in adsp_pds_enable() 177 static void adsp_pds_disable(struct qcom_adsp *adsp, struct device **pds, in adsp_pds_disable() argument 183 dev_pm_genpd_set_performance_state(pds[i], 0); in adsp_pds_disable() 184 pm_runtime_put(pds[i]); in adsp_pds_disable() [all …]
|
/linux/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()
|
/linux/drivers/vfio/pci/pds/ |
H A D | Kconfig | 5 tristate "VFIO support for PDS PCI devices" 10 This provides generic PCI support for PDS devices using the VFIO 18 will be called pds-vfio-pci.
|
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> 91 "failed to register pds event handler: %pe\n", in pds_vfio_pci_register_event_handler() 95 dev_dbg(dev, "pds event handler registered\n"); in pds_vfio_pci_register_event_handler()
|
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>
|
/linux/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()
|
/linux/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>
|
H A D | vdpa_dev.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> 54 dev_err(dev, "failed to register pds event handler: %ps\n", in pds_vdpa_register_event_handler() 58 dev_dbg(dev, "pds event handler registered\n"); in pds_vdpa_register_event_handler() 740 dev_err(dev, "Failed to register for PDS events: %pe\n", ERR_PTR(err)); in pds_vdpa_dev_add()
|
/linux/arch/m68k/include/asm/ |
H A D | macintosh.h | 81 #define MAC_EXP_PDS 1 /* Accepts only a PDS card */ 83 #define MAC_EXP_PDS_NUBUS 3 /* Accepts PDS card and/or NuBus card(s) */ 84 #define MAC_EXP_PDS_COMM 4 /* Accepts PDS card or Comm Slot card */
|
/linux/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>
|