Home
last modified time | relevance | path

Searched refs:detect_pin (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/arm/mach-pxa/include/mach/
Dcolibri.h33 extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
35 static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {} in colibri_pxa3xx_init_mmc() argument
/linux-2.6.39/drivers/mmc/host/
Datmel-mci.c207 int detect_pin; member
1043 if (gpio_is_valid(slot->detect_pin)) { in atmci_get_cd()
1044 present = !(gpio_get_value(slot->detect_pin) ^ in atmci_get_cd()
1163 enable_irq(gpio_to_irq(slot->detect_pin)); in atmci_detect_change()
1164 present = !(gpio_get_value(slot->detect_pin) ^ in atmci_detect_change()
1611 slot->detect_pin = slot_data->detect_pin; in atmci_init_slot()
1635 if (gpio_is_valid(slot->detect_pin)) { in atmci_init_slot()
1636 if (gpio_request(slot->detect_pin, "mmc_detect")) { in atmci_init_slot()
1638 slot->detect_pin = -EBUSY; in atmci_init_slot()
1639 } else if (gpio_get_value(slot->detect_pin) ^ in atmci_init_slot()
[all …]
/linux-2.6.39/include/linux/
Datmel-mci.h24 int detect_pin; member
/linux-2.6.39/arch/avr32/boards/atstk1000/
Datstk1002.c273 .detect_pin = GPIO_PIN_PC(14), /* gpio30/sdcd */
276 .detect_pin = -ENODEV,
Datstk1003.c74 .detect_pin = -ENODEV,
Datstk1004.c79 .detect_pin = -ENODEV,
/linux-2.6.39/arch/avr32/boards/atngw100/
Dsetup.c130 .detect_pin = GPIO_PIN_PC(25),
133 .detect_pin = GPIO_PIN_PC(25),
/linux-2.6.39/arch/arm/mach-at91/
Dboard-sam9g20ek.c226 .detect_pin = AT91_PIN_PC9,
243 ek_mmc_data.slot[0].detect_pin = AT91_PIN_PC2; in ek_add_device_mmc()
Dboard-sam9m10g45ek.c107 .detect_pin = AT91_PIN_PD10,
114 .detect_pin = AT91_PIN_PD11,
Dat91sam9260_devices.c325 if (data->slot[i].detect_pin) { in at91_add_device_mci()
326 at91_set_gpio_input(data->slot[i].detect_pin, 1); in at91_add_device_mci()
327 at91_set_deglitch(data->slot[i].detect_pin, 1); in at91_add_device_mci()
Dat91sam9g45_devices.c451 if (data->slot[0].detect_pin) { in at91_add_device_mci()
452 at91_set_gpio_input(data->slot[0].detect_pin, 1); in at91_add_device_mci()
453 at91_set_deglitch(data->slot[0].detect_pin, 1); in at91_add_device_mci()
/linux-2.6.39/arch/avr32/mach-at32ap/include/mach/
Dboard.h111 int detect_pin; member
/linux-2.6.39/arch/avr32/boards/hammerhead/
Dsetup.c95 .detect_pin = -ENODEV,
/linux-2.6.39/arch/avr32/boards/mimc200/
Dsetup.c116 .detect_pin = GPIO_PIN_PA(26),
/linux-2.6.39/arch/avr32/boards/merisc/
Dsetup.c98 .detect_pin = GPIO_PIN_PE(19),
/linux-2.6.39/arch/avr32/boards/favr-32/
Dsetup.c95 .detect_pin = -ENODEV,
/linux-2.6.39/arch/avr32/mach-at32ap/
Dat32ap700x.c1378 if (gpio_is_valid(data->slot[0].detect_pin)) in at32_add_device_mci()
1379 at32_select_gpio(data->slot[0].detect_pin, 0); in at32_add_device_mci()
1404 if (gpio_is_valid(data->slot[1].detect_pin)) in at32_add_device_mci()
1405 at32_select_gpio(data->slot[1].detect_pin, 0); in at32_add_device_mci()
1931 if (gpio_is_valid(data->detect_pin)) in at32_add_device_cf()
1932 at32_select_gpio(data->detect_pin, AT32_GPIOF_DEGLITCH); in at32_add_device_cf()