Lines Matching full:gpios
5 * line and supplemented by GPIOs. This way you can hook up say a 8MiB flash
6 * to a 2MiB memory range and use the GPIOs to select a particular range.
38 * @gpio_count: number of GPIOs used to address
39 * @gpio_addrs: array of GPIOs to twiddle
41 * @win_size: dedicated memory size (if no GPIOs)
103 * will not cross a window size. This allows us to only wiggle the GPIOs once
193 struct resource *gpios; in gpio_flash_probe() local
198 gpios = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in gpio_flash_probe()
200 if (!memory || !gpios || !gpios->end) in gpio_flash_probe()
203 arr_size = sizeof(int) * gpios->end; in gpio_flash_probe()
210 * away their pointer types here to the known types (gpios->xxx). in gpio_flash_probe()
212 state->gpio_count = gpios->end; in gpio_flash_probe()
213 state->gpio_addrs = (void *)(unsigned long)gpios->start; in gpio_flash_probe()
285 MODULE_DESCRIPTION("MTD map driver for flashes addressed physically and with gpios");