Searched refs:gpio_wp (Results 1 – 6 of 6) sorted by relevance
60 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member75 .gpio_wp = SDSPI_SLOT_NO_WP, \200 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member214 .gpio_wp = SDSPI_SLOT_NO_WP, \
71 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member
48 uint8_t gpio_wp; //!< Write protect GPIO, or GPIO_UNUSED member133 if (slot->gpio_wp == GPIO_UNUSED) { in card_write_protected()136 return gpio_get_level(slot->gpio_wp) == 0; in card_write_protected()236 if (slot->gpio_wp != GPIO_UNUSED) { in deinit_slot()237 pin_bit_mask |= BIT64(slot->gpio_wp); in deinit_slot()309 slot_config->gpio_cd, slot_config->gpio_wp); in sdspi_host_init_device()355 if (slot_config->gpio_wp != SDSPI_SLOT_NO_WP) { in sdspi_host_init_device()356 io_conf.pin_bit_mask |= (1ULL << slot_config->gpio_wp); in sdspi_host_init_device()357 slot->gpio_wp = slot_config->gpio_wp; in sdspi_host_init_device()359 slot->gpio_wp = GPIO_UNUSED; in sdspi_host_init_device()[all …]
379 int gpio_wp = slot_config->wp; in sdmmc_host_init_slot() local463 if (gpio_wp != SDMMC_SLOT_NO_WP) { in sdmmc_host_init_slot()464 ESP_LOGD(TAG, "using GPIO%d as WP pin", gpio_wp); in sdmmc_host_init_slot()465 esp_rom_gpio_pad_select_gpio(gpio_wp); in sdmmc_host_init_slot()466 gpio_set_direction(gpio_wp, GPIO_MODE_INPUT); in sdmmc_host_init_slot()467 matrix_in_wp = gpio_wp; in sdmmc_host_init_slot()
636 slot_config.gpio_wp = CD_WP_TEST_GPIO;680 dev_config.gpio_wp = CD_WP_TEST_GPIO;
371 .gpio_wp = SDSPI_SLOT_NO_WP, in sdspi_speed_test()