Home
last modified time | relevance | path

Searched refs:gpd (Results 1 – 16 of 16) sorted by relevance

/drivers/usb/mtu3/
Dmtu3_qmu.c34 #define GET_GPD_HWO(gpd) (le32_to_cpu((gpd)->dw0_info) & GPD_FLAGS_HWO) argument
133 struct qmu_gpd *gpd) in gpd_virt_to_dma() argument
139 offset = gpd - gpd_head; in gpd_virt_to_dma()
143 return dma_base + (offset * sizeof(*gpd)); in gpd_virt_to_dma()
146 static void gpd_ring_init(struct mtu3_gpd_ring *ring, struct qmu_gpd *gpd) in gpd_ring_init() argument
148 ring->start = gpd; in gpd_ring_init()
149 ring->enqueue = gpd; in gpd_ring_init()
150 ring->dequeue = gpd; in gpd_ring_init()
151 ring->end = gpd + MAX_GPD_NUM - 1; in gpd_ring_init()
157 struct qmu_gpd *gpd = ring->start; in reset_gpd_list() local
[all …]
Dmtu3_trace.h124 __field(struct qmu_gpd *, gpd)
134 __entry->gpd = mreq->gpd;
142 __get_str(name), __entry->mreq, __entry->gpd,
176 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
177 TP_ARGS(mep, gpd),
180 __field(struct qmu_gpd *, gpd)
188 __entry->gpd = gpd;
189 __entry->dw0 = le32_to_cpu(gpd->dw0_info);
190 __entry->dw1 = le32_to_cpu(gpd->next_gpd);
191 __entry->dw2 = le32_to_cpu(gpd->buffer);
[all …]
Dmtu3_debugfs.c224 struct qmu_gpd *gpd; in mtu3_qmu_gpd_show() local
231 gpd = ring->start; in mtu3_qmu_gpd_show()
232 if (!gpd || !(mep->flags & MTU3_EP_ENABLED)) { in mtu3_qmu_gpd_show()
237 for (i = 0; i < MAX_GPD_NUM; i++, gpd++) { in mtu3_qmu_gpd_show()
238 dma = ring->dma + i * sizeof(*gpd); in mtu3_qmu_gpd_show()
240 i, &dma, gpd, gpd->dw0_info, gpd->next_gpd, in mtu3_qmu_gpd_show()
241 gpd->buffer, gpd->dw3_info); in mtu3_qmu_gpd_show()
Dmtu3.h300 struct qmu_gpd *gpd; member
/drivers/soc/xilinx/
Dzynqmp_pm_domains.c35 struct generic_pm_domain gpd; member
77 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_on()
109 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_off()
158 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_attach_dev()
191 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_detach_dev()
218 pd = container_of(genpd_data->domains[0], struct zynqmp_pm_domain, gpd); in zynqmp_gpd_xlate()
276 pd->gpd.name = kasprintf(GFP_KERNEL, "domain%d", i); in zynqmp_gpd_probe()
277 pd->gpd.power_off = zynqmp_gpd_power_off; in zynqmp_gpd_probe()
278 pd->gpd.power_on = zynqmp_gpd_power_on; in zynqmp_gpd_probe()
279 pd->gpd.attach_dev = zynqmp_gpd_attach_dev; in zynqmp_gpd_probe()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acp.c122 struct generic_pm_domain gpd; member
130 apd = container_of(genpd, struct acp_pm_domain, gpd); in acp_poweroff()
149 apd = container_of(genpd, struct acp_pm_domain, gpd); in acp_poweron()
165 struct generic_pm_domain *gpd = data; in acp_genpd_add_device() local
168 ret = pm_genpd_add_device(gpd, dev); in acp_genpd_add_device()
229 adev->acp.acp_genpd->gpd.name = "ACP_AUDIO"; in acp_hw_init()
230 adev->acp.acp_genpd->gpd.power_off = acp_poweroff; in acp_hw_init()
231 adev->acp.acp_genpd->gpd.power_on = acp_poweron; in acp_hw_init()
236 pm_genpd_init(&adev->acp.acp_genpd->gpd, NULL, false); in acp_hw_init()
354 r = device_for_each_child(adev->acp.parent, &adev->acp.acp_genpd->gpd, in acp_hw_init()
/drivers/firmware/
Dscpi_pm_domain.c31 #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd) argument
/drivers/mmc/host/
Dmtk-sd.c367 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
676 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
681 gpd = dma->gpd; in msdc_dma_setup()
685 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
686 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
688 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
689 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1797 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
1802 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
1805 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
[all …]
/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c23 #define to_scmi_pd(gpd) container_of(gpd, struct scmi_pm_domain, genpd) argument
/drivers/soc/ti/
Dti_sci_pm_domains.c52 #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd) argument
Domap_prm.c82 #define genpd_to_prm_domain(gpd) container_of(gpd, struct omap_prm_domain, pd) argument
/drivers/base/power/
Ddomain.c2217 const struct generic_pm_domain *gpd; in genpd_present() local
2220 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in genpd_present()
2221 if (gpd == genpd) { in genpd_present()
2367 struct generic_pm_domain *gpd; in of_genpd_del_provider() local
2378 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in of_genpd_del_provider()
2379 if (gpd->provider == &np->fwnode) { in of_genpd_del_provider()
2380 gpd->has_provider = false; in of_genpd_del_provider()
2382 if (!gpd->set_performance_state) in of_genpd_del_provider()
2385 dev_pm_opp_put_opp_table(gpd->opp_table); in of_genpd_del_provider()
2386 dev_pm_opp_of_remove_table(&gpd->dev); in of_genpd_del_provider()
[all …]
/drivers/soc/actions/
Dowl-sps.c39 #define to_owl_pd(gpd) container_of(gpd, struct owl_sps_domain, genpd) argument
/drivers/platform/x86/
DMakefile52 obj-$(CONFIG_GPD_POCKET_FAN) += gpd-pocket-fan.o
/drivers/soc/mediatek/
Dmtk-pm-domains.c56 #define to_scpsys_domain(gpd) container_of(gpd, struct scpsys_domain, genpd) argument
/drivers/soc/rockchip/
Dpm_domains.c88 #define to_rockchip_pd(gpd) container_of(gpd, struct rockchip_pm_domain, genpd) argument