Searched refs:wp_gpio (Results 1 – 2 of 2) sorted by relevance
21 struct gpio_dt_spec wp_gpio; member36 if (!cfg->wp_gpio.port) { in mb85rcxx_write_protect_set()40 return gpio_pin_set_dt(&cfg->wp_gpio, value); in mb85rcxx_write_protect_set()84 if (cfg->wp_gpio.port) { in mb85rcxx_init()85 if (!gpio_is_ready_dt(&cfg->wp_gpio)) { in mb85rcxx_init()90 int err = gpio_pin_configure_dt(&cfg->wp_gpio, GPIO_OUTPUT_ACTIVE); in mb85rcxx_init()221 (.wp_gpio = GPIO_DT_SPEC_INST_GET(inst, wp_gpios),)) \
51 struct gpio_dt_spec wp_gpio; member72 if (!config->wp_gpio.port) { in eeprom_at2x_write_protect()76 return gpio_pin_set_dt(&config->wp_gpio, 1); in eeprom_at2x_write_protect()83 if (!config->wp_gpio.port) { in eeprom_at2x_write_enable()87 return gpio_pin_set_dt(&config->wp_gpio, 0); in eeprom_at2x_write_enable()578 if (config->wp_gpio.port) { in eeprom_at2x_init()580 if (!gpio_is_ready_dt(&config->wp_gpio)) { in eeprom_at2x_init()585 err = gpio_pin_configure_dt(&config->wp_gpio, GPIO_OUTPUT_ACTIVE); in eeprom_at2x_init()630 (.wp_gpio = GPIO_DT_SPEC_GET(id, wp_gpios),))