Home
last modified time | relevance | path

Searched full:pds (Results 1 – 25 of 80) sorted by relevance

1234

/linux/drivers/soc/qcom/
H A Dpdr_interface.c69 struct pdr_service *pds; member
114 struct pdr_service *pds, in pdr_register_listener() argument
129 strscpy(req.service_path, pds->service_path, sizeof(req.service_path)); in pdr_register_listener()
131 ret = qmi_send_request(&pdr->notifier_hdl, &pds->addr, in pdr_register_listener()
144 pds->service_path, ret); in pdr_register_listener()
150 pds->service_path, resp.resp.error); in pdr_register_listener()
154 pds->state = resp.curr_state; in pdr_register_listener()
163 struct pdr_service *pds; in pdr_notifier_work() local
167 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_notifier_work()
168 if (pds->service_connected) { in pdr_notifier_work()
[all …]
H A Dapr.c488 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/base/power/
H A Dcommon.c198 struct dev_pm_domain_list *pds; in dev_pm_domain_attach_list() local
225 pds = kzalloc(sizeof(*pds), GFP_KERNEL); in dev_pm_domain_attach_list()
226 if (!pds) in dev_pm_domain_attach_list()
229 size = sizeof(*pds->pd_devs) + sizeof(*pds->pd_links) + in dev_pm_domain_attach_list()
230 sizeof(*pds->opp_tokens); in dev_pm_domain_attach_list()
231 pds->pd_devs = kcalloc(num_pds, size, GFP_KERNEL); in dev_pm_domain_attach_list()
232 if (!pds->pd_devs) { in dev_pm_domain_attach_list()
236 pds->pd_links = (void *)(pds->pd_devs + num_pds); in dev_pm_domain_attach_list()
237 pds->opp_tokens = (void *)(pds->pd_links + num_pds); in dev_pm_domain_attach_list()
263 pds->opp_tokens[i] = ret; in dev_pm_domain_attach_list()
[all …]
/linux/drivers/bus/
H A Dqcom-ssc-block-bus.c32 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/Documentation/networking/device_drivers/ethernet/amd/
H A Dpds_vfio_pci.rst14 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 Dmain.c180 /* The device needs data about the antenna configuration. This information in provided by PDS
182 * integrators, the full process to create PDS files is described here:
183 * https://github.com/SiliconLabs/wfx-firmware/blob/master/PDS/README.md
185 * The PDS file is an array of Time-Length-Value structs.
192 dev_err(wdev->dev, "PDS: malformed file (legacy format?)\n"); in wfx_send_pds()
199 dev_err(wdev->dev, "PDS:%d: corrupted file\n", chunk_num); in wfx_send_pds()
203 dev_info(wdev->dev, "PDS:%d: skip unknown data\n", chunk_num); in wfx_send_pds()
207 dev_warn(wdev->dev, "PDS:%d: unexpectedly large chunk\n", chunk_num); in wfx_send_pds()
209 dev_warn(wdev->dev, "PDS:%d: unexpected content\n", chunk_num); in wfx_send_pds()
213 dev_err(wdev->dev, "PDS:%d: invalid data (unsupported options?)\n", chunk_num); in wfx_send_pds()
[all …]
H A Dbus_sdio.c27 .file_pds = "wfx/wf200.pds",
32 .file_pds = "wfx/brd4001a.pds",
37 .file_pds = "wfx/brd8022a.pds",
42 .file_pds = "wfx/brd8023a.pds",
H A Dbus_spi.c29 .file_pds = "wfx/wf200.pds",
35 .file_pds = "wfx/brd4001a.pds",
41 .file_pds = "wfx/brd8022a.pds",
47 .file_pds = "wfx/brd8023a.pds",
/linux/sound/soc/codecs/
H A Dlpass-macro-common.c61 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 Dlpass-macro-common.h41 void lpass_macro_pds_exit(struct lpass_macro *pds);
45 static inline void lpass_macro_pds_exit_action(void *pds) in lpass_macro_pds_exit_action()
47 lpass_macro_pds_exit(pds); in lpass_macro_pds_exit_action()
44 lpass_macro_pds_exit_action(void * pds) lpass_macro_pds_exit_action() argument
/linux/drivers/pci/
H A 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()
/linux/drivers/pmdomain/sunxi/
H A Dsun50i-h6-prcm-ppu.c122 struct sun50i_h6_ppu_pd *pds; in sun50i_h6_ppu_probe() local
131 pds = devm_kcalloc(dev, data->nr_domains, sizeof(*pds), GFP_KERNEL); in sun50i_h6_ppu_probe()
132 if (!pds) in sun50i_h6_ppu_probe()
152 struct sun50i_h6_ppu_pd *pd = &pds[i]; in sun50i_h6_ppu_probe()
181 pm_genpd_remove(&pds[i].genpd); in sun50i_h6_ppu_probe()
H A Dsun20i-ppu.c107 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()
H A Dsun55i-pck600.c66 struct sunxi_pck600_pd pds[]; member
136 pck = devm_kzalloc(dev, struct_size(pck, pds, desc->num_domains), GFP_KERNEL); in sunxi_pck600_probe()
163 struct sunxi_pck600_pd *pd = &pck->pds[i]; in sunxi_pck600_probe()
/linux/drivers/vfio/pci/pds/
H A DKconfig5 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 Dpci_drv.c11 #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 DMakefile4 obj-$(CONFIG_PDS_VFIO_PCI) += pds-vfio-pci.o
6 pds-vfio-pci-y := \
H A Dlm.h12 #include <linux/pds/pds_common.h>
13 #include <linux/pds/pds_adminq.h>
/linux/drivers/remoteproc/
H A Dqcom_wcnss.c87 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()
405 wcnss->pds[0] = dev; in wcnss_init_pds()
415 wcnss->pds[i] = dev_pm_domain_attach_by_name(wcnss->dev, pd_names[i]); in wcnss_init_pds()
416 if (IS_ERR_OR_NULL(wcnss->pds[i])) { in wcnss_init_pds()
417 ret = PTR_ERR(wcnss->pds[i]) ? : -ENODATA; in wcnss_init_pds()
[all …]
/linux/drivers/vdpa/pds/
H A Daux_drv.c9 #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 Dcmds.c7 #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 Ddebugfs.c7 #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>
/linux/arch/m68k/include/asm/
H A Dmacintosh.h81 #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 Dcore.h10 #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>
/linux/include/uapi/linux/
H A Dnubus.h57 * SONIC LC-PDS Ethernet (Dayna, but like Apple 16-bit, sort of): <4,1,1,271>
58 * Apple SONIC LC-PDS Ethernet ("Apple Ethernet LC Twisted-Pair Card"): <4,1,0,281>
65 * API Engineering EtherRun_LCa PDS enet card: <4,1,282,256>

1234