Home
last modified time | relevance | path

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

123

/linux/drivers/base/power/
H A Dcommon.c198 struct dev_pm_domain_list *pds; in dev_pm_domain_attach_list() local
225 pds = kzalloc_obj(*pds); 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/pci/
H A Drom.c141 static bool pci_rom_data_struct_valid(struct pci_dev *pdev, void __iomem *pds, in pci_rom_data_struct_valid() argument
154 if (!IS_ALIGNED((unsigned long)pds, 4)) in pci_rom_data_struct_valid()
157 if (check_add_overflow((unsigned long)pds, PCI_ROM_DATA_STRUCT_LEN + 1, in pci_rom_data_struct_valid()
161 if (pds < rom || end > rom_end) in pci_rom_data_struct_valid()
164 signature = readl(pds); in pci_rom_data_struct_valid()
171 data_len = readw(pds + PCI_ROM_DATA_STRUCT_LEN); in pci_rom_data_struct_valid()
175 if (check_add_overflow((unsigned long)pds, data_len - 1, &end)) in pci_rom_data_struct_valid()
204 void __iomem *pds; in pci_get_rom_size() local
209 pds = image + readw(image + PCI_ROM_POINTER_TO_DATA_STRUCT); in pci_get_rom_size()
210 if (!pci_rom_data_struct_valid(pdev, pds, rom, size)) in pci_get_rom_size()
[all …]
/linux/sound/soc/codecs/
H A Dlpass-macro-common.c62 void lpass_macro_pds_exit(struct lpass_macro *pds) in lpass_macro_pds_exit()
64 if (pds) { in lpass_macro_pds_exit()
65 pm_runtime_put(pds->macro_pd); in lpass_macro_pds_exit()
66 dev_pm_domain_detach(pds->macro_pd, false); in lpass_macro_pds_exit()
67 pm_runtime_put(pds->dcodec_pd); in lpass_macro_pds_exit()
68 dev_pm_domain_detach(pds->dcodec_pd, false); in lpass_macro_pds_exit()
61 lpass_macro_pds_exit(struct lpass_macro * pds) lpass_macro_pds_exit() argument
/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()
/linux/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c152 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_detach() local
154 dev_pm_domain_detach_list(pds); in qcom_rproc_pds_detach()
156 if (dev->pm_domain || pds) in qcom_rproc_pds_detach()
163 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_enable() local
166 if (!dev->pm_domain && !pds) in qcom_rproc_pds_enable()
172 while (pds && i < pds->num_pds) { in qcom_rproc_pds_enable()
173 dev_pm_genpd_set_performance_state(pds->pd_devs[i], INT_MAX); in qcom_rproc_pds_enable()
179 while (pds && i > 0) { in qcom_rproc_pds_enable()
181 dev_pm_genpd_set_performance_state(pds->pd_devs[i], 0); in qcom_rproc_pds_enable()
194 struct dev_pm_domain_list *pds = adsp->pd_list; in qcom_rproc_pds_disable() local
[all …]
H A Dqcom_q6v5_pas.c163 static int qcom_pas_pds_enable(struct qcom_pas *pas, struct device **pds, in qcom_pas_pds_enable() argument
170 dev_pm_genpd_set_performance_state(pds[i], INT_MAX); in qcom_pas_pds_enable()
171 ret = pm_runtime_get_sync(pds[i]); in qcom_pas_pds_enable()
173 pm_runtime_put_noidle(pds[i]); in qcom_pas_pds_enable()
174 dev_pm_genpd_set_performance_state(pds[i], 0); in qcom_pas_pds_enable()
183 dev_pm_genpd_set_performance_state(pds[i], 0); in qcom_pas_pds_enable()
184 pm_runtime_put(pds[i]); in qcom_pas_pds_enable()
190 static void qcom_pas_pds_disable(struct qcom_pas *pas, struct device **pds, in qcom_pas_pds_disable() argument
196 dev_pm_genpd_set_performance_state(pds[i], 0); in qcom_pas_pds_disable()
197 pm_runtime_put(pds[i]); in qcom_pas_pds_disable()
[all …]
/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/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>
H A Dvdpa_dev.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>
54 dev_err(dev, "failed to register pds event handler: %pe\n", in pds_vdpa_register_event_handler()
58 dev_dbg(dev, "pds event handler registered\n"); in pds_vdpa_register_event_handler()
747 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 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/wireless/silabs/wfx/
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/drivers/fwctl/pds/
H A Dmain.c12 #include <uapi/fwctl/pds.h>
15 #include <linux/pds/pds_common.h>
16 #include <linux/pds/pds_core_if.h>
17 #include <linux/pds/pds_adminq.h>
18 #include <linux/pds/pds_auxbus.h>
535 MODULE_DESCRIPTION("pds fwctl driver");
/linux/drivers/net/ethernet/amd/pds_core/
H A Dcore.h11 #include <linux/pds/pds_common.h>
12 #include <linux/pds/pds_core_if.h>
13 #include <linux/pds/pds_adminq.h>
14 #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>
/linux/Documentation/networking/pse-pd/
H A Dintroduction.rst11 switches and hubs that supply power to Powered Devices (PDs) such as IP
68 characteristics of PoDL Powered Devices (PDs) and PoDL Power Sourcing Equipment
/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c443 * Setup PDs using the remaining VD info mapped on those in mtk_hsdma_issue_pending_vdesc()
485 * action for those pending PDs. in mtk_hsdma_issue_pending_vdesc()
512 * VD is fit into available PDs. Otherwise, the uncompleted in mtk_hsdma_issue_vchan_pending()
553 * reclaim these finished descriptors: The most number of PDs the ISR in mtk_hsdma_free_rooms_in_ring()
620 /* Update CPU pointer for those completed PDs */ in mtk_hsdma_free_rooms_in_ring()
640 /* All completed PDs are cleaned up, so enable interrupt again */ in mtk_hsdma_free_rooms_in_ring()
649 * Disable interrupt until all completed PDs are cleaned up in in mtk_hsdma_irq()

123