/linux-3.4.99/drivers/pcmcia/ |
D | at91_cf.c | 59 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/ |
D | board-afeb-9260v1.c | 144 .det_pin = -EINVAL, 152 .det_pin = AT91_PIN_PC9, 177 .det_pin = -EINVAL,
|
D | board-rm9200dk.c | 87 .det_pin = AT91_PIN_PB0, 96 .det_pin = -EINVAL, 150 .det_pin = AT91_PIN_PB1,
|
D | board-eb9200.c | 81 .det_pin = AT91_PIN_PB0, 89 .det_pin = -EINVAL,
|
D | board-kb9202.c | 90 .det_pin = AT91_PIN_PB2, 108 .det_pin = -EINVAL,
|
D | board-sam9-l9260.c | 139 .det_pin = -EINVAL, 180 .det_pin = AT91_PIN_PC8,
|
D | board-qil-a9260.c | 138 .det_pin = -EINVAL, 179 .det_pin = -EINVAL,
|
D | board-csb337.c | 90 .det_pin = AT91_PIN_PC3, 99 .det_pin = AT91_PIN_PD5,
|
D | at91rm9200_devices.c | 268 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()
|
D | at91sam9260_devices.c | 247 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()
|
D | board-sam9rlek.c | 69 .det_pin = AT91_PIN_PA15, 94 .det_pin = -EINVAL,
|
D | board-stamp9g20.c | 88 .det_pin = -EINVAL, 135 .det_pin = -EINVAL,
|
D | at91sam9263_devices.c | 281 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()
|
D | board-neocore926.c | 151 .det_pin = AT91_PIN_PE18, 196 .det_pin = -EINVAL,
|
D | board-sam9260ek.c | 181 .det_pin = -EINVAL, 230 .det_pin = -EINVAL,
|
D | board-cpu9krea.c | 119 .det_pin = -EINVAL, 345 .det_pin = AT91_PIN_PA29,
|
D | board-sam9263ek.c | 154 .det_pin = AT91_PIN_PE18, 188 .det_pin = -EINVAL,
|
D | board-sam9g20ek.c | 168 .det_pin = -EINVAL, 226 .det_pin = AT91_PIN_PC9,
|
D | at91sam9261_devices.c | 175 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()
|
D | board-picotux200.c | 76 .det_pin = AT91_PIN_PB27,
|
D | at91sam9rl_devices.c | 199 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()
|
D | board-carmeva.c | 87 .det_pin = AT91_PIN_PB10,
|
/linux-3.4.99/drivers/mmc/host/ |
D | at91_mci.c | 875 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/ |
D | board.h | 62 int det_pin; /* Card detect */ member 75 int det_pin; /* card detect IRQ */ member
|
/linux-3.4.99/include/linux/platform_data/ |
D | atmel.h | 15 int det_pin; /* card detect */ member
|