Home
last modified time | relevance | path

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

12

/linux/drivers/usb/mtu3/
H A 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 …]
H A Dmtu3_debugfs.c225 struct qmu_gpd *gpd; in mtu3_qmu_gpd_show()
232 gpd = ring->start; in mtu3_qmu_gpd_show()
233 if (!gpd || !(mep->flags & MTU3_EP_ENABLED)) { in mtu3_qmu_gpd_show()
238 for (i = 0; i < MAX_GPD_NUM; i++, gpd++) { in mtu3_qmu_gpd_show()
239 dma = ring->dma + i * sizeof(*gpd); in mtu3_qmu_gpd_show()
240 seq_printf(sf, "gpd.%03d -> %pad, %p: %08x %08x %08x %08x\n", in mtu3_qmu_gpd_show()
241 i, &dma, gpd, gpd->dw0_info, gpd->next_gpd, in mtu3_qmu_gpd_show()
242 gpd in mtu3_qmu_gpd_show()
224 struct qmu_gpd *gpd; mtu3_qmu_gpd_show() local
[all...]
H A Dmtu3.h301 struct qmu_gpd *gpd; member
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_cldma.c79 static void t7xx_cldma_gpd_set_data_ptr(struct cldma_gpd *gpd, dma_addr_t data_ptr) in t7xx_cldma_gpd_set_data_ptr() argument
81 gpd->data_buff_bd_ptr_h = cpu_to_le32(upper_32_bits(data_ptr)); in t7xx_cldma_gpd_set_data_ptr()
82 gpd->data_buff_bd_ptr_l = cpu_to_le32(lower_32_bits(data_ptr)); in t7xx_cldma_gpd_set_data_ptr()
85 static void t7xx_cldma_gpd_set_next_ptr(struct cldma_gpd *gpd, dma_addr_t next_ptr) in t7xx_cldma_gpd_set_next_ptr() argument
87 gpd->next_gpd_ptr_h = cpu_to_le32(upper_32_bits(next_ptr)); in t7xx_cldma_gpd_set_next_ptr()
88 gpd->next_gpd_ptr_l = cpu_to_le32(lower_32_bits(next_ptr)); in t7xx_cldma_gpd_set_next_ptr()
123 struct cldma_gpd *gpd; in t7xx_cldma_gpd_rx_from_q() local
131 gpd = req->gpd; in t7xx_cldma_gpd_rx_from_q()
132 if ((gpd->flags & GPD_FLAGS_HWO) || !req->skb) { in t7xx_cldma_gpd_rx_from_q()
161 skb_put(skb, le16_to_cpu(gpd->data_buff_len)); in t7xx_cldma_gpd_rx_from_q()
[all …]
H A Dt7xx_hif_cldma.h68 struct cldma_gpd *gpd; /* Virtual address for CPU */ member
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c33 struct generic_pm_domain gpd; member
39 container_of(pm_domain, struct zynqmp_pm_domain, gpd)
277 pd->gpd.name = kasprintf(GFP_KERNEL, "domain%d", i); in zynqmp_gpd_probe()
278 pd->gpd.power_off = zynqmp_gpd_power_off; in zynqmp_gpd_probe()
279 pd->gpd.power_on = zynqmp_gpd_power_on; in zynqmp_gpd_probe()
280 pd->gpd.attach_dev = zynqmp_gpd_attach_dev; in zynqmp_gpd_probe()
281 pd->gpd.detach_dev = zynqmp_gpd_detach_dev; in zynqmp_gpd_probe()
283 domains[i] = &pd->gpd; in zynqmp_gpd_probe()
286 pm_genpd_init(&pd->gpd, NULL, true); in zynqmp_gpd_probe()
/linux/arch/mips/boot/dts/ingenic/
H A Dqi_lb60.dts42 gpio = <&gpd 2 0>;
51 gpio = <&gpd 4 0>;
101 gpios = <&gpd 29 GPIO_ACTIVE_LOW>;
112 row-gpios = <&gpd 18 0>, <&gpd 19 0>, <&gpd 20 0>, <&gpd 21 0>,
113 <&gpd 22 0>, <&gpd 23 0>, <&gpd 24 0>, <&gpd 26 0>;
195 gpios = <&gpd 28 GPIO_ACTIVE_LOW>;
352 cd-gpios = <&gpd 0 GPIO_ACTIVE_HIGH>;
H A Drs90.dts77 gpios = <&gpd 21 GPIO_ACTIVE_LOW>;
102 gpios = <&gpd 17 GPIO_ACTIVE_LOW>;
151 simple-audio-card,hp-det-gpio = <&gpd 16 GPIO_ACTIVE_LOW>;
H A Dgcw0.dts220 gpios = <&gpd 18 GPIO_ACTIVE_HIGH>;
244 sda-gpios = <&gpd 5 GPIO_ACTIVE_HIGH>;
245 scl-gpios = <&gpd 4 GPIO_ACTIVE_HIGH>;
H A Dci20.dts37 gpios = <&gpd 17 GPIO_ACTIVE_HIGH>;
227 interrupt-parent = <&gpd>;
H A Djz4740.dtsi170 gpd: gpio@3 { label
H A Djz4725b.dtsi179 gpd: gpio@3 { label
H A Dx1000.dtsi207 gpd: gpio@3 { label
H A Dx1830.dtsi202 gpd: gpio@3 { label
H A Djz4770.dtsi189 gpd: gpio@3 { label
H A Djz4780.dtsi214 gpd: gpio@3 { label
/linux/arch/arm/boot/dts/samsung/
H A Ds3c64xx-pinctrl.dtsi40 gpd: gpd-gpio-bank { 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";
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acp.c127 struct generic_pm_domain gpd; member
135 apd = container_of(genpd, struct acp_pm_domain, gpd); in acp_poweroff()
152 apd = container_of(genpd, struct acp_pm_domain, gpd); in acp_poweron()
166 struct generic_pm_domain *gpd = data; in acp_genpd_add_device() local
169 ret = pm_genpd_add_device(gpd, dev); in acp_genpd_add_device()
253 adev->acp.acp_genpd->gpd.name = "ACP_AUDIO"; in acp_hw_init()
254 adev->acp.acp_genpd->gpd.power_off = acp_poweroff; in acp_hw_init()
255 adev->acp.acp_genpd->gpd.power_on = acp_poweron; in acp_hw_init()
258 pm_genpd_init(&adev->acp.acp_genpd->gpd, NULL, false); in acp_hw_init()
318 r = device_for_each_child(adev->acp.parent, &adev->acp.acp_genpd->gpd, in acp_hw_init()
[all …]
/linux/drivers/pmdomain/arm/
H A Dscpi_pm_domain.c32 #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd) argument
/linux/drivers/mmc/host/
H A Dmtk-sd.c390 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
768 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
773 gpd = dma->gpd; in msdc_dma_setup()
777 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
778 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
780 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
781 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
2010 struct mt_gpdma_desc *gpd = dma->gpd; in msdc_init_gpd_bd() local
2015 memset(gpd, 0, sizeof(struct mt_gpdma_desc) * 2); in msdc_init_gpd_bd()
2018 gpd->gpd_info = GPDMA_DESC_BDP; /* hwo, cs, bd pointer */ in msdc_init_gpd_bd()
[all …]
/linux/drivers/pmdomain/
H A Dcore.c2487 const struct generic_pm_domain *gpd; in genpd_present() local
2490 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in genpd_present()
2491 if (gpd == genpd) { in genpd_present()
2632 struct generic_pm_domain *gpd; in of_genpd_del_provider() local
2643 list_for_each_entry(gpd, &gpd_list, gpd_list_node) { in of_genpd_del_provider()
2644 if (gpd->provider == &np->fwnode) { in of_genpd_del_provider()
2645 gpd->has_provider = false; in of_genpd_del_provider()
2647 if (genpd_is_opp_table_fw(gpd) || !gpd->set_performance_state) in of_genpd_del_provider()
2650 dev_pm_opp_put_opp_table(gpd->opp_table); in of_genpd_del_provider()
2651 dev_pm_opp_of_remove_table(&gpd->dev); in of_genpd_del_provider()
[all …]
/linux/drivers/pmdomain/actions/
H A Dowl-sps.c41 #define to_owl_pd(gpd) container_of(gpd, struct owl_sps_domain, genpd) argument
/linux/drivers/platform/x86/
H A DMakefile53 obj-$(CONFIG_GPD_POCKET_FAN) += gpd-pocket-fan.o
/linux/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c63 #define to_scpsys_domain(gpd) container_of(gpd, struct scpsys_domain, genpd) argument
/linux/drivers/pmdomain/ti/
H A Domap_prm.c81 #define genpd_to_prm_domain(gpd) container_of(gpd, struct omap_prm_domain, pd) argument

12