gpd 929 drivers/base/power/domain.c const struct generic_pm_domain *gpd; gpd 934 drivers/base/power/domain.c list_for_each_entry(gpd, &gpd_list, gpd_list_node) gpd 935 drivers/base/power/domain.c if (gpd == genpd) gpd 2168 drivers/base/power/domain.c struct generic_pm_domain *gpd; gpd 2179 drivers/base/power/domain.c list_for_each_entry(gpd, &gpd_list, gpd_list_node) { gpd 2180 drivers/base/power/domain.c if (gpd->provider == &np->fwnode) { gpd 2181 drivers/base/power/domain.c gpd->has_provider = false; gpd 2183 drivers/base/power/domain.c if (!gpd->set_performance_state) gpd 2186 drivers/base/power/domain.c dev_pm_opp_put_opp_table(gpd->opp_table); gpd 2187 drivers/base/power/domain.c dev_pm_opp_of_remove_table(&gpd->dev); gpd 2320 drivers/base/power/domain.c struct generic_pm_domain *gpd, *tmp, *genpd = ERR_PTR(-ENOENT); gpd 2327 drivers/base/power/domain.c list_for_each_entry_safe(gpd, tmp, &gpd_list, gpd_list_node) { gpd 2328 drivers/base/power/domain.c if (gpd->provider == &np->fwnode) { gpd 2329 drivers/base/power/domain.c ret = genpd_remove(gpd); gpd 2330 drivers/base/power/domain.c genpd = ret ? ERR_PTR(ret) : gpd; gpd 21 drivers/firmware/arm_scmi/scmi_pm_domain.c #define to_scmi_pd(gpd) container_of(gpd, struct scmi_pm_domain, genpd) gpd 32 drivers/firmware/scpi_pm_domain.c #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd) gpd 122 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c struct generic_pm_domain gpd; gpd 130 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c apd = container_of(genpd, struct acp_pm_domain, gpd); gpd 151 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c apd = container_of(genpd, struct acp_pm_domain, gpd); gpd 222 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_genpd->gpd.name = "ACP_AUDIO"; gpd 223 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_genpd->gpd.power_off = acp_poweroff; gpd 224 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c adev->acp.acp_genpd->gpd.power_on = acp_poweron; gpd 229 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c pm_genpd_init(&adev->acp.acp_genpd->gpd, NULL, false); gpd 349 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c r = pm_genpd_add_device(&adev->acp.acp_genpd->gpd, dev); gpd 338 drivers/mmc/host/mtk-sd.c struct mt_gpdma_desc *gpd; /* pointer to gpd array */ gpd 618 drivers/mmc/host/mtk-sd.c struct mt_gpdma_desc *gpd; gpd 623 drivers/mmc/host/mtk-sd.c gpd = dma->gpd; gpd 627 drivers/mmc/host/mtk-sd.c gpd->gpd_info |= GPDMA_DESC_HWO; gpd 628 drivers/mmc/host/mtk-sd.c gpd->gpd_info |= GPDMA_DESC_BDP; gpd 630 drivers/mmc/host/mtk-sd.c gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; gpd 631 drivers/mmc/host/mtk-sd.c gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; gpd 1625 drivers/mmc/host/mtk-sd.c struct mt_gpdma_desc *gpd = dma->gpd; gpd 1630 drivers/mmc/host/mtk-sd.c memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); gpd 1633 drivers/mmc/host/mtk-sd.c gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ gpd 1637 drivers/mmc/host/mtk-sd.c gpd->next = lower_32_bits(dma_addr); gpd 1639 drivers/mmc/host/mtk-sd.c gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 24; gpd 1642 drivers/mmc/host/mtk-sd.c gpd->ptr = lower_32_bits(dma->bd_addr); /* physical address */ gpd 1644 drivers/mmc/host/mtk-sd.c gpd->gpd_info |= (upper_32_bits(dma_addr) & 0xf) << 28; gpd 2305 drivers/mmc/host/mtk-sd.c host->dma.gpd = dma_alloc_coherent(&pdev->dev, gpd 2311 drivers/mmc/host/mtk-sd.c if (!host->dma.gpd || !host->dma.bd) { gpd 2345 drivers/mmc/host/mtk-sd.c if (host->dma.gpd) gpd 2348 drivers/mmc/host/mtk-sd.c host->dma.gpd, host->dma.gpd_addr); gpd 2378 drivers/mmc/host/mtk-sd.c host->dma.gpd, host->dma.gpd_addr); gpd 39 drivers/soc/actions/owl-sps.c #define to_owl_pd(gpd) container_of(gpd, struct owl_sps_domain, genpd) gpd 86 drivers/soc/rockchip/pm_domains.c #define to_rockchip_pd(gpd) container_of(gpd, struct rockchip_pm_domain, genpd) gpd 46 drivers/soc/ti/ti_sci_pm_domains.c #define genpd_to_ti_sci_pd(gpd) container_of(gpd, struct ti_sci_pm_domain, pd) gpd 35 drivers/soc/xilinx/zynqmp_pm_domains.c struct generic_pm_domain gpd; gpd 80 drivers/soc/xilinx/zynqmp_pm_domains.c pd = container_of(domain, struct zynqmp_pm_domain, gpd); gpd 115 drivers/soc/xilinx/zynqmp_pm_domains.c pd = container_of(domain, struct zynqmp_pm_domain, gpd); gpd 167 drivers/soc/xilinx/zynqmp_pm_domains.c pd = container_of(domain, struct zynqmp_pm_domain, gpd); gpd 203 drivers/soc/xilinx/zynqmp_pm_domains.c pd = container_of(domain, struct zynqmp_pm_domain, gpd); gpd 230 drivers/soc/xilinx/zynqmp_pm_domains.c pd = container_of(genpd_data->domains[0], struct zynqmp_pm_domain, gpd); gpd 288 drivers/soc/xilinx/zynqmp_pm_domains.c pd->gpd.name = kasprintf(GFP_KERNEL, "domain%d", i); gpd 289 drivers/soc/xilinx/zynqmp_pm_domains.c pd->gpd.power_off = zynqmp_gpd_power_off; gpd 290 drivers/soc/xilinx/zynqmp_pm_domains.c pd->gpd.power_on = zynqmp_gpd_power_on; gpd 291 drivers/soc/xilinx/zynqmp_pm_domains.c pd->gpd.attach_dev = zynqmp_gpd_attach_dev; gpd 292 drivers/soc/xilinx/zynqmp_pm_domains.c pd->gpd.detach_dev = zynqmp_gpd_detach_dev; gpd 294 drivers/soc/xilinx/zynqmp_pm_domains.c domains[i] = &pd->gpd; gpd 297 drivers/soc/xilinx/zynqmp_pm_domains.c pm_genpd_init(&pd->gpd, NULL, true); gpd 305 drivers/usb/mtu3/mtu3.h struct qmu_gpd *gpd; gpd 223 drivers/usb/mtu3/mtu3_debugfs.c struct qmu_gpd *gpd; gpd 230 drivers/usb/mtu3/mtu3_debugfs.c gpd = ring->start; gpd 231 drivers/usb/mtu3/mtu3_debugfs.c if (!gpd || !(mep->flags & MTU3_EP_ENABLED)) { gpd 236 drivers/usb/mtu3/mtu3_debugfs.c for (i = 0; i < MAX_GPD_NUM; i++, gpd++) { gpd 237 drivers/usb/mtu3/mtu3_debugfs.c dma = ring->dma + i * sizeof(*gpd); gpd 239 drivers/usb/mtu3/mtu3_debugfs.c i, &dma, gpd, gpd->dw0_info, gpd->next_gpd, gpd 240 drivers/usb/mtu3/mtu3_debugfs.c gpd->buffer, gpd->dw3_info); gpd 34 drivers/usb/mtu3/mtu3_qmu.c #define GET_GPD_HWO(gpd) (le32_to_cpu((gpd)->dw0_info) & GPD_FLAGS_HWO) gpd 133 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd) gpd 139 drivers/usb/mtu3/mtu3_qmu.c offset = gpd - gpd_head; gpd 143 drivers/usb/mtu3/mtu3_qmu.c return dma_base + (offset * sizeof(*gpd)); gpd 146 drivers/usb/mtu3/mtu3_qmu.c static void gpd_ring_init(struct mtu3_gpd_ring *ring, struct qmu_gpd *gpd) gpd 148 drivers/usb/mtu3/mtu3_qmu.c ring->start = gpd; gpd 149 drivers/usb/mtu3/mtu3_qmu.c ring->enqueue = gpd; gpd 150 drivers/usb/mtu3/mtu3_qmu.c ring->dequeue = gpd; gpd 151 drivers/usb/mtu3/mtu3_qmu.c ring->end = gpd + MAX_GPD_NUM - 1; gpd 157 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd = ring->start; gpd 159 drivers/usb/mtu3/mtu3_qmu.c if (gpd) { gpd 160 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info &= cpu_to_le32(~GPD_FLAGS_HWO); gpd 161 drivers/usb/mtu3/mtu3_qmu.c gpd_ring_init(ring, gpd); gpd 167 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd; gpd 171 drivers/usb/mtu3/mtu3_qmu.c gpd = dma_pool_zalloc(mep->mtu->qmu_gpd_pool, GFP_ATOMIC, &ring->dma); gpd 172 drivers/usb/mtu3/mtu3_qmu.c if (gpd == NULL) gpd 175 drivers/usb/mtu3/mtu3_qmu.c gpd_ring_init(ring, gpd); gpd 247 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd = ring->enqueue; gpd 253 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info = 0; /* SW own it */ gpd 254 drivers/usb/mtu3/mtu3_qmu.c gpd->buffer = cpu_to_le32(lower_32_bits(req->dma)); gpd 256 drivers/usb/mtu3/mtu3_qmu.c gpd->dw3_info = cpu_to_le32(GPD_DATA_LEN(mtu, req->length)); gpd 262 drivers/usb/mtu3/mtu3_qmu.c mep->epnum, gpd, enq, &enq_dma); gpd 265 drivers/usb/mtu3/mtu3_qmu.c gpd->next_gpd = cpu_to_le32(lower_32_bits(enq_dma)); gpd 267 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info = cpu_to_le32(ext_addr); gpd 271 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info |= cpu_to_le32(GPD_FLAGS_ZLP); gpd 273 drivers/usb/mtu3/mtu3_qmu.c gpd->dw3_info |= cpu_to_le32(GPD_EXT_FLAG_ZLP); gpd 276 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info |= cpu_to_le32(GPD_FLAGS_IOC | GPD_FLAGS_HWO); gpd 278 drivers/usb/mtu3/mtu3_qmu.c mreq->gpd = gpd; gpd 279 drivers/usb/mtu3/mtu3_qmu.c trace_mtu3_prepare_gpd(mep, gpd); gpd 288 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd = ring->enqueue; gpd 294 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info = 0; /* SW own it */ gpd 295 drivers/usb/mtu3/mtu3_qmu.c gpd->buffer = cpu_to_le32(lower_32_bits(req->dma)); gpd 297 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info = cpu_to_le32(GPD_RX_BUF_LEN(mtu, req->length)); gpd 303 drivers/usb/mtu3/mtu3_qmu.c mep->epnum, gpd, enq, &enq_dma); gpd 306 drivers/usb/mtu3/mtu3_qmu.c gpd->next_gpd = cpu_to_le32(lower_32_bits(enq_dma)); gpd 308 drivers/usb/mtu3/mtu3_qmu.c gpd->dw3_info = cpu_to_le32(ext_addr); gpd 309 drivers/usb/mtu3/mtu3_qmu.c gpd->dw0_info |= cpu_to_le32(GPD_FLAGS_IOC | GPD_FLAGS_HWO); gpd 311 drivers/usb/mtu3/mtu3_qmu.c mreq->gpd = gpd; gpd 312 drivers/usb/mtu3/mtu3_qmu.c trace_mtu3_prepare_gpd(mep, gpd); gpd 469 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd = ring->dequeue; gpd 480 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, gpd, gpd_current, ring->enqueue); gpd 482 drivers/usb/mtu3/mtu3_qmu.c while (gpd != gpd_current && !GET_GPD_HWO(gpd)) { gpd 486 drivers/usb/mtu3/mtu3_qmu.c if (mreq == NULL || mreq->gpd != gpd) { gpd 492 drivers/usb/mtu3/mtu3_qmu.c request->actual = GPD_DATA_LEN(mtu, le32_to_cpu(gpd->dw3_info)); gpd 493 drivers/usb/mtu3/mtu3_qmu.c trace_mtu3_complete_gpd(mep, gpd); gpd 496 drivers/usb/mtu3/mtu3_qmu.c gpd = advance_deq_gpd(ring); gpd 509 drivers/usb/mtu3/mtu3_qmu.c struct qmu_gpd *gpd = ring->dequeue; gpd 519 drivers/usb/mtu3/mtu3_qmu.c __func__, epnum, gpd, gpd_current, ring->enqueue); gpd 521 drivers/usb/mtu3/mtu3_qmu.c while (gpd != gpd_current && !GET_GPD_HWO(gpd)) { gpd 525 drivers/usb/mtu3/mtu3_qmu.c if (mreq == NULL || mreq->gpd != gpd) { gpd 531 drivers/usb/mtu3/mtu3_qmu.c req->actual = GPD_DATA_LEN(mtu, le32_to_cpu(gpd->dw3_info)); gpd 532 drivers/usb/mtu3/mtu3_qmu.c trace_mtu3_complete_gpd(mep, gpd); gpd 535 drivers/usb/mtu3/mtu3_qmu.c gpd = advance_deq_gpd(ring); gpd 124 drivers/usb/mtu3/mtu3_trace.h __field(struct qmu_gpd *, gpd) gpd 134 drivers/usb/mtu3/mtu3_trace.h __entry->gpd = mreq->gpd; gpd 142 drivers/usb/mtu3/mtu3_trace.h __get_str(name), __entry->mreq, __entry->gpd, gpd 176 drivers/usb/mtu3/mtu3_trace.h TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), gpd 177 drivers/usb/mtu3/mtu3_trace.h TP_ARGS(mep, gpd), gpd 180 drivers/usb/mtu3/mtu3_trace.h __field(struct qmu_gpd *, gpd) gpd 188 drivers/usb/mtu3/mtu3_trace.h __entry->gpd = gpd; gpd 189 drivers/usb/mtu3/mtu3_trace.h __entry->dw0 = le32_to_cpu(gpd->dw0_info); gpd 190 drivers/usb/mtu3/mtu3_trace.h __entry->dw1 = le32_to_cpu(gpd->next_gpd); gpd 191 drivers/usb/mtu3/mtu3_trace.h __entry->dw2 = le32_to_cpu(gpd->buffer); gpd 192 drivers/usb/mtu3/mtu3_trace.h __entry->dw3 = le32_to_cpu(gpd->dw3_info); gpd 195 drivers/usb/mtu3/mtu3_trace.h __get_str(name), __entry->gpd, gpd 202 drivers/usb/mtu3/mtu3_trace.h TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), gpd 203 drivers/usb/mtu3/mtu3_trace.h TP_ARGS(mep, gpd) gpd 207 drivers/usb/mtu3/mtu3_trace.h TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), gpd 208 drivers/usb/mtu3/mtu3_trace.h TP_ARGS(mep, gpd) gpd 212 drivers/usb/mtu3/mtu3_trace.h TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd), gpd 213 drivers/usb/mtu3/mtu3_trace.h TP_ARGS(mep, gpd)