Home
last modified time | relevance | path

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

/Linux-v5.4/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.c223 struct qmu_gpd *gpd; in mtu3_qmu_gpd_show() local
230 gpd = ring->start; in mtu3_qmu_gpd_show()
231 if (!gpd || !(mep->flags & MTU3_EP_ENABLED)) { in mtu3_qmu_gpd_show()
236 for (i = 0; i < MAX_GPD_NUM; i++, gpd++) { in mtu3_qmu_gpd_show()
237 dma = ring->dma + i * sizeof(*gpd); in mtu3_qmu_gpd_show()
239 i, &dma, gpd, gpd->dw0_info, gpd->next_gpd, in mtu3_qmu_gpd_show()
240 gpd->buffer, gpd->dw3_info); in mtu3_qmu_gpd_show()
Dmtu3.h305 struct qmu_gpd *gpd; member
/Linux-v5.4/drivers/soc/xilinx/
Dzynqmp_pm_domains.c35 struct generic_pm_domain gpd; member
80 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_on()
115 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_power_off()
167 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_attach_dev()
203 pd = container_of(domain, struct zynqmp_pm_domain, gpd); in zynqmp_gpd_detach_dev()
230 pd = container_of(genpd_data->domains[0], struct zynqmp_pm_domain, gpd); in zynqmp_gpd_xlate()
288 pd->gpd.name = kasprintf(GFP_KERNEL, "domain%d", i); in zynqmp_gpd_probe()
289 pd->gpd.power_off = zynqmp_gpd_power_off; in zynqmp_gpd_probe()
290 pd->gpd.power_on = zynqmp_gpd_power_on; in zynqmp_gpd_probe()
291 pd->gpd.attach_dev = zynqmp_gpd_attach_dev; in zynqmp_gpd_probe()
[all …]
/Linux-v5.4/arch/mips/boot/dts/ingenic/
Dqi_lb60.dts36 gpio = <&gpd 2 0>;
45 gpio = <&gpd 4 0>;
95 gpios = <&gpd 29 GPIO_ACTIVE_LOW>;
106 row-gpios = <&gpd 18 0 &gpd 19 0 &gpd 20 0 &gpd 21 0
107 &gpd 22 0 &gpd 23 0 &gpd 24 0 &gpd 26 0>;
190 gpios = <&gpd 28 GPIO_ACTIVE_LOW>;
347 cd-gpios = <&gpd 0 GPIO_ACTIVE_HIGH>;
Djz4770.dtsi122 gpd: gpio@3 { label
Djz4740.dtsi141 gpd: gpio@3 { label
Djz4780.dtsi135 gpd: gpio@3 { label
/Linux-v5.4/arch/arm/boot/dts/
Ds3c64xx-pinctrl.dtsi40 gpd: gpd { label
329 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
335 samsung,pins = "gpd-1";
368 samsung,pins = "gpd-0", "gpd-2", "gpd-3", "gpd-4";
374 samsung,pins = "gpd-1";
392 samsung,pins = "gpd-0", "gpd-1", "gpd-2", "gpd-3", "gpd-4";
Ds3c2416-pinctrl.dtsi30 gpd: gpd { label
/Linux-v5.4/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()
151 apd = container_of(genpd, struct acp_pm_domain, gpd); in acp_poweron()
222 adev->acp.acp_genpd->gpd.name = "ACP_AUDIO"; in acp_hw_init()
223 adev->acp.acp_genpd->gpd.power_off = acp_poweroff; in acp_hw_init()
224 adev->acp.acp_genpd->gpd.power_on = acp_poweron; in acp_hw_init()
229 pm_genpd_init(&adev->acp.acp_genpd->gpd, NULL, false); in acp_hw_init()
349 r = pm_genpd_add_device(&adev->acp.acp_genpd->gpd, dev); in acp_hw_init()
/Linux-v5.4/drivers/firmware/
Dscpi_pm_domain.c32 #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd) argument
/Linux-v5.4/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c21 #define to_scmi_pd(gpd) container_of(gpd, struct scmi_pm_domain, genpd) argument
/Linux-v5.4/drivers/mmc/host/
Dmtk-sd.c337 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
617 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
622 gpd = dma->gpd; in msdc_dma_setup()
626 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
627 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
629 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
630 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1624 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
1629 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
1632 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
[all …]
/Linux-v5.4/drivers/soc/ti/
Dti_sci_pm_domains.c46 #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd) argument
/Linux-v5.4/drivers/base/power/
Ddomain.c929 const struct generic_pm_domain *gpd; in genpd_present() local
934 list_for_each_entry(gpd, &gpd_list, gpd_list_node) in genpd_present()
935 if (gpd == genpd) in genpd_present()
2168 struct generic_pm_domain *gpd; in of_genpd_del_provider() local
2179 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in of_genpd_del_provider()
2180 if (gpd->provider == &np->fwnode) { in of_genpd_del_provider()
2181 gpd->has_provider = false; in of_genpd_del_provider()
2183 if (!gpd->set_performance_state) in of_genpd_del_provider()
2186 dev_pm_opp_put_opp_table(gpd->opp_table); in of_genpd_del_provider()
2187 dev_pm_opp_of_remove_table(&gpd->dev); in of_genpd_del_provider()
[all …]
/Linux-v5.4/drivers/soc/actions/
Dowl-sps.c39 #define to_owl_pd(gpd) container_of(gpd, struct owl_sps_domain, genpd) argument
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/
Dgpio-charger.txt25 gpios = <&gpd 28 GPIO_ACTIVE_LOW>;
/Linux-v5.4/drivers/platform/x86/
DMakefile37 obj-$(CONFIG_GPD_POCKET_FAN) += gpd-pocket-fan.o
/Linux-v5.4/drivers/soc/rockchip/
Dpm_domains.c86 #define to_rockchip_pd(gpd) container_of(gpd, struct rockchip_pm_domain, genpd) argument
/Linux-v5.4/
DMAINTAINERS6966 F: drivers/platform/x86/gpd-pocket-fan.c