Home
last modified time | relevance | path

Searched refs:wp_pin (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.6.39/include/linux/
Datmel-mci.h25 int wp_pin; member
/linux-2.6.39/drivers/mmc/host/
Dat91_mci.c895 if (host->board->wp_pin) in at91_mci_get_ro()
896 return !!gpio_get_value(host->board->wp_pin); in at91_mci_get_ro()
996 if (host->board->wp_pin) { in at91_mci_probe()
997 ret = gpio_request(host->board->wp_pin, "mmc_wp"); in at91_mci_probe()
1088 if (host->board->wp_pin) in at91_mci_probe()
1089 gpio_free(host->board->wp_pin); in at91_mci_probe()
1140 if (host->board->wp_pin) in at91_mci_remove()
1141 gpio_free(host->board->wp_pin); in at91_mci_remove()
Datmel-mci.c208 int wp_pin; member
1029 if (gpio_is_valid(slot->wp_pin)) { in atmci_get_ro()
1030 read_only = gpio_get_value(slot->wp_pin); in atmci_get_ro()
1612 slot->wp_pin = slot_data->wp_pin; in atmci_init_slot()
1648 if (gpio_is_valid(slot->wp_pin)) { in atmci_init_slot()
1649 if (gpio_request(slot->wp_pin, "mmc_wp")) { in atmci_init_slot()
1651 slot->wp_pin = -EBUSY; in atmci_init_slot()
1699 if (gpio_is_valid(slot->wp_pin)) in atmci_cleanup_slot()
1700 gpio_free(slot->wp_pin); in atmci_cleanup_slot()
/linux-2.6.39/arch/avr32/boards/atstk1000/
Datstk1002.c274 .wp_pin = GPIO_PIN_PC(15), /* gpio31/sdwp */
277 .wp_pin = -ENODEV,
Datstk1003.c75 .wp_pin = -ENODEV,
Datstk1004.c80 .wp_pin = -ENODEV,
/linux-2.6.39/arch/avr32/boards/atngw100/
Dsetup.c131 .wp_pin = GPIO_PIN_PE(22),
134 .wp_pin = GPIO_PIN_PE(0),
/linux-2.6.39/arch/arm/mach-at91/
Dboard-picotux200.c81 .wp_pin = AT91_PIN_PA17,
Dboard-carmeva.c91 .wp_pin = AT91_PIN_PC14,
Dboard-flexibity.c83 .wp_pin = AT91_PIN_PC4,
Dboard-afeb-9260v1.c160 .wp_pin = AT91_PIN_PC4,
Dboard-sam9-l9260.c189 .wp_pin = AT91_PIN_PC4,
Dboard-rm9200ek.c92 .wp_pin = AT91_PIN_PA17,
Dboard-csb337.c105 .wp_pin = AT91_PIN_PD6,
Dat91sam9260_devices.c242 if (data->wp_pin) in at91_add_device_mmc()
243 at91_set_gpio_input(data->wp_pin, 1); in at91_add_device_mmc()
329 if (data->slot[i].wp_pin) in at91_add_device_mci()
330 at91_set_gpio_input(data->slot[i].wp_pin, 1); in at91_add_device_mci()
Dboard-neocore926.c157 .wp_pin = AT91_PIN_PE19,
Dboard-sam9m10g45ek.c115 .wp_pin = AT91_PIN_PD29,
Dboard-sam9263ek.c158 .wp_pin = AT91_PIN_PE19,
Dat572d940hf_devices.c246 if (data->wp_pin) in at91_add_device_mmc()
247 at91_set_gpio_input(data->wp_pin, 1); in at91_add_device_mmc()
Dat91sam9261_devices.c170 if (data->wp_pin) in at91_add_device_mmc()
171 at91_set_gpio_input(data->wp_pin, 1); in at91_add_device_mmc()
/linux-2.6.39/arch/avr32/boards/hammerhead/
Dsetup.c96 .wp_pin = -ENODEV,
/linux-2.6.39/arch/arm/mach-at91/include/mach/
Dboard.h76 u8 wp_pin; /* (SD) writeprotect detect */ member
/linux-2.6.39/arch/avr32/boards/mimc200/
Dsetup.c117 .wp_pin = GPIO_PIN_PA(27),
/linux-2.6.39/arch/avr32/boards/merisc/
Dsetup.c99 .wp_pin = GPIO_PIN_PE(20),
/linux-2.6.39/arch/avr32/boards/favr-32/
Dsetup.c96 .wp_pin = -ENODEV,

12