Searched refs:gpmc_cfg (Results 1 – 1 of 1) sorted by relevance
46 void __init gpmc_smsc911x_init(struct omap_smsc911x_platform_data *gpmc_cfg) in gpmc_smsc911x_init() argument52 if (gpmc_cs_request(gpmc_cfg->cs, SZ_16M, &cs_mem_base) < 0) { in gpmc_smsc911x_init()60 if (gpio_request_one(gpmc_cfg->gpio_irq, GPIOF_IN, "smsc911x irq")) { in gpmc_smsc911x_init()61 pr_err("Failed to request IRQ GPIO%d\n", gpmc_cfg->gpio_irq); in gpmc_smsc911x_init()65 gpmc_smsc911x_resources[1].start = gpio_to_irq(gpmc_cfg->gpio_irq); in gpmc_smsc911x_init()67 if (gpio_is_valid(gpmc_cfg->gpio_reset)) { in gpmc_smsc911x_init()68 ret = gpio_request_one(gpmc_cfg->gpio_reset, in gpmc_smsc911x_init()72 gpmc_cfg->gpio_reset); in gpmc_smsc911x_init()76 gpio_set_value(gpmc_cfg->gpio_reset, 0); in gpmc_smsc911x_init()78 gpio_set_value(gpmc_cfg->gpio_reset, 1); in gpmc_smsc911x_init()[all …]