Lines Matching refs:data
117 * struct zynq_gpio - gpio device private data structure
122 * @p_data: pointer to platform data
137 * struct zynq_platform_data - zynq gpio platform data structure
159 * @gpio: Pointer to driver data struct
170 * @gpio: Pointer to driver data struct
187 * @gpio: gpio device data structure
227 u32 data;
236 data = readl_relaxed(gpio->base_addr +
239 data = readl_relaxed(gpio->base_addr +
244 data = readl_relaxed(gpio->base_addr +
247 data = readl_relaxed(gpio->base_addr +
252 data = readl_relaxed(gpio->base_addr +
255 return (data >> bank_pin_num) & 1;
277 /* only 16 data bits in bit maskable reg */
285 * get the 32 bit value to be written to the mask/data register where
286 * the upper 16 bits is the mask and lower 16 bits is the data
398 * @irq_data: per irq and chip data passed down to chip functions
421 * @irq_data: irq data containing irq number of gpio pin for the interrupt
445 * @irq_data: irq data containing irq number of gpio pin for the interrupt
465 * @irq_data: irq data containing irq number of gpio pin for the interrupt
488 * @irq_data: irq data containing irq number of gpio pin
568 static int zynq_gpio_set_wake(struct irq_data *data, unsigned int on)
571 gpiochip_get_data(irq_data_get_irq_chip_data(data));
739 struct irq_data *data = irq_get_irq_data(gpio->irq);
741 if (!data) {
749 if (!irqd_is_wakeup_set(data)) {
760 struct irq_data *data = irq_get_irq_data(gpio->irq);
763 if (!data) {
771 if (!irqd_is_wakeup_set(data)) {
880 { .compatible = "xlnx,zynq-gpio-1.0", .data = &zynq_gpio_def },
881 { .compatible = "xlnx,zynqmp-gpio-1.0", .data = &zynqmp_gpio_def },
882 { .compatible = "xlnx,versal-gpio-1.0", .data = &versal_gpio_def },
883 { .compatible = "xlnx,pmc-gpio-1.0", .data = &pmc_gpio_def },
916 gpio->p_data = match->data;