Home
last modified time | relevance | path

Searched refs:det_pin (Results 1 – 25 of 42) sorted by relevance

12

/linux-3.4.99/drivers/pcmcia/
Dat91_cf.c59 return !gpio_get_value(cf->board->det_pin); in at91_cf_present()
73 if (irq == gpio_to_irq(cf->board->det_pin)) { in at91_cf_irq()
225 if (!board || !gpio_is_valid(board->det_pin) || !gpio_is_valid(board->rst_pin)) in at91_cf_probe()
242 status = gpio_request(board->det_pin, "cf_det"); in at91_cf_probe()
245 status = request_irq(gpio_to_irq(board->det_pin), at91_cf_irq, 0, driver_name, cf); in at91_cf_probe()
293 gpio_to_irq(board->det_pin), gpio_to_irq(board->irq_pin)); in at91_cf_probe()
327 free_irq(gpio_to_irq(board->det_pin), cf); in at91_cf_probe()
329 gpio_free(board->det_pin); in at91_cf_probe()
352 free_irq(gpio_to_irq(board->det_pin), cf); in at91_cf_remove()
353 gpio_free(board->det_pin); in at91_cf_remove()
[all …]
/linux-3.4.99/arch/arm/mach-at91/
Dboard-afeb-9260v1.c144 .det_pin = -EINVAL,
152 .det_pin = AT91_PIN_PC9,
177 .det_pin = -EINVAL,
Dboard-rm9200dk.c87 .det_pin = AT91_PIN_PB0,
96 .det_pin = -EINVAL,
150 .det_pin = AT91_PIN_PB1,
Dboard-eb9200.c81 .det_pin = AT91_PIN_PB0,
89 .det_pin = -EINVAL,
Dboard-kb9202.c90 .det_pin = AT91_PIN_PB2,
108 .det_pin = -EINVAL,
Dboard-sam9-l9260.c139 .det_pin = -EINVAL,
180 .det_pin = AT91_PIN_PC8,
Dboard-qil-a9260.c138 .det_pin = -EINVAL,
179 .det_pin = -EINVAL,
Dboard-csb337.c90 .det_pin = AT91_PIN_PC3,
99 .det_pin = AT91_PIN_PD5,
Dat91rm9200_devices.c268 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_cf()
269 at91_set_deglitch(data->det_pin, 1); in at91_add_device_cf()
332 if (gpio_is_valid(data->det_pin)) { in at91_add_device_mmc()
333 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_mmc()
334 at91_set_deglitch(data->det_pin, 1); in at91_add_device_mmc()
431 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
432 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_nand()
Dat91sam9260_devices.c247 if (gpio_is_valid(data->det_pin)) { in at91_add_device_mmc()
248 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_mmc()
249 at91_set_deglitch(data->det_pin, 1); in at91_add_device_mmc()
438 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
439 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_nand()
1346 if (gpio_is_valid(data->det_pin)) { in at91_add_device_cf()
1347 at91_set_gpio_input(data->det_pin, 0); in at91_add_device_cf()
1348 at91_set_deglitch(data->det_pin, 1); in at91_add_device_cf()
Dboard-sam9rlek.c69 .det_pin = AT91_PIN_PA15,
94 .det_pin = -EINVAL,
Dboard-stamp9g20.c88 .det_pin = -EINVAL,
135 .det_pin = -EINVAL,
Dat91sam9263_devices.c281 if (gpio_is_valid(data->det_pin)) { in at91_add_device_mmc()
282 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_mmc()
283 at91_set_deglitch(data->det_pin, 1); in at91_add_device_mmc()
435 if (gpio_is_valid(data->det_pin)) { in at91_add_device_cf()
436 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_cf()
437 at91_set_deglitch(data->det_pin, 1); in at91_add_device_cf()
513 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
514 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_nand()
Dboard-neocore926.c151 .det_pin = AT91_PIN_PE18,
196 .det_pin = -EINVAL,
Dboard-sam9260ek.c181 .det_pin = -EINVAL,
230 .det_pin = -EINVAL,
Dboard-cpu9krea.c119 .det_pin = -EINVAL,
345 .det_pin = AT91_PIN_PA29,
Dboard-sam9263ek.c154 .det_pin = AT91_PIN_PE18,
188 .det_pin = -EINVAL,
Dboard-sam9g20ek.c168 .det_pin = -EINVAL,
226 .det_pin = AT91_PIN_PC9,
Dat91sam9261_devices.c175 if (gpio_is_valid(data->det_pin)) { in at91_add_device_mmc()
176 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_mmc()
177 at91_set_deglitch(data->det_pin, 1); in at91_add_device_mmc()
252 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
253 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_nand()
Dboard-picotux200.c76 .det_pin = AT91_PIN_PB27,
Dat91sam9rl_devices.c199 if (gpio_is_valid(data->det_pin)) { in at91_add_device_mmc()
200 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_mmc()
201 at91_set_deglitch(data->det_pin, 1); in at91_add_device_mmc()
281 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
282 at91_set_gpio_input(data->det_pin, 1); in at91_add_device_nand()
Dboard-carmeva.c87 .det_pin = AT91_PIN_PB10,
/linux-3.4.99/drivers/mmc/host/
Dat91_mci.c875 present = !gpio_get_value(host->board->det_pin); in at91_mmc_det_irq()
993 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
994 ret = gpio_request(host->board->det_pin, "mmc_detect"); in at91_mci_probe()
1059 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
1060 host->present = !gpio_get_value(host->board->det_pin); in at91_mci_probe()
1070 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_probe()
1071 ret = request_irq(gpio_to_irq(host->board->det_pin), in at91_mci_probe()
1095 if (gpio_is_valid(host->board->det_pin)) in at91_mci_probe()
1096 gpio_free(host->board->det_pin); in at91_mci_probe()
1127 if (gpio_is_valid(host->board->det_pin)) { in at91_mci_remove()
[all …]
/linux-3.4.99/arch/arm/mach-at91/include/mach/
Dboard.h62 int det_pin; /* Card detect */ member
75 int det_pin; /* card detect IRQ */ member
/linux-3.4.99/include/linux/platform_data/
Datmel.h15 int det_pin; /* card detect */ member

12