Home
last modified time | relevance | path

Searched full:gpd (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/usb/mtu3/
H A Dmtu3_qmu.c13 * By preparing General Purpose Descriptor (GPD) and Buffer Descriptor (BD),
16 * And now only GPD is supported.
34 #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()
[all …]
H A Dmtu3.h148 * General Purpose Descriptor (GPD):
149 * The format of TX GPD is a little different from RX one.
150 * And the size of GPD is 16 bytes.
155 * bit2: Bypass (BPS), 1: HW skips this GPD if HWO = 1
163 * @next_gpd: Physical address of the next GPD
182 * dma: physical base address of GPD segment
183 * start: virtual base address of GPD segment
184 * end: the last GPD element
185 * enqueue: the first empty GPD to use
186 * dequeue: the first completed GPD serviced by ISR
[all …]
H A 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()
239 seq_printf(sf, "gpd.%03d -> %pad, %p: %08x %08x %08x %08x\n", 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()
254 {"qmu-gpd", mtu3_qmu_gpd_show, },
/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
107 /* Assumes T/R GPD/BD/SPD have the same size */
/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>;
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c28 * @gpd: Generic power domain
33 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/drivers/gpu/drm/
H A Ddrm_panel_orientation_quirks.c261 }, { /* GPD MicroPC (generic strings, also match on bios date) */
269 }, { /* GPD MicroPC (later BIOS versions with proper DMI strings) */
271 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
275 }, { /* GPD Win Max */
277 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
282 * GPD Pocket, note that the DMI data is less generic then
294 }, { /* GPD Pocket 2 (generic strings, also match on bios date) */
302 }, { /* GPD Win (same note on DMI match as GPD Pocket) */
310 }, { /* GPD Win 2 (too generic strings, also match on bios date) */
318 }, { /* GPD Win 3 */
[all …]
/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/mmc/host/
H A Dmtk-sd.c388 struct mt_gpdma_desc *gpd; /* pointer to gpd array */ member
390 dma_addr_t gpd_addr; /* the physical address of gpd array */
762 struct mt_gpdma_desc *gpd; in msdc_dma_setup() local
767 gpd = dma->gpd; in msdc_dma_setup()
770 /* modify gpd */ in msdc_dma_setup()
771 gpd->gpd_info |= GPDMA_DESC_HWO; in msdc_dma_setup()
772 gpd->gpd_info |= GPDMA_DESC_BDP; in msdc_dma_setup()
774 gpd->gpd_info &= ~GPDMA_DESC_CHECKSUM; in msdc_dma_setup()
775 gpd->gpd_info |= msdc_dma_calcs((u8 *) gpd, 16) << 8; in msdc_dma_setup()
1999 /* init gpd and bd list in msdc_drv_probe */
[all …]
/linux/drivers/mfd/
H A Dintel_soc_pmic_chtwc.c140 /* GPD win / GPD pocket mini laptops */
146 * the GPD win's and pocket's board_name is "Default string".
/linux/drivers/pmdomain/arm/
H A Dscpi_pm_domain.c32 #define to_scpi_pd(gpd) container_of(gpd, struct scpi_pm_domain, genpd) argument
H A Dscmi_pm_domain.c23 #define to_scmi_pd(gpd) container_of(gpd, struct scmi_pm_domain, genpd) argument
/linux/drivers/platform/x86/
H A DMakefile52 # GPD
53 obj-$(CONFIG_GPD_POCKET_FAN) += gpd-pocket-fan.o
H A Dgpd-pocket-fan.c3 * GPD Pocket fan controller driver
223 MODULE_DESCRIPTION("GPD pocket fan driver");
H A DKconfig421 tristate "GPD Pocket Fan Controller support"
425 Driver for the GPD Pocket vendor specific FAN02501 ACPI device
426 which controls the fan speed on the GPD Pocket.
430 GPD pocket.
/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/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/iio/imu/bmi270/
H A Dbmi270_i2c.c41 /* GPD Win Mini, Aya Neo AIR Pro, OXP Mini Pro, etc. */
/linux/drivers/iio/imu/bmi160/
H A Dbmi160_i2c.c49 * Some manufacturers like GPD, Lenovo or Aya used the incorrect
/linux/Documentation/devicetree/bindings/power/supply/
H A Dgpio-charger.yaml86 gpios = <&gpd 28 GPIO_ACTIVE_LOW>;
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddmi.c35 BRCM_CC_4356_CHIP_ID, 2, "gpd-win-pocket"

12