Lines Matching refs:wp
70 const struct gpio_dt_spec *wp; member
339 if (cfg->wp) { in spi_flash_at45_write()
340 gpio_pin_set_dt(cfg->wp, 0); in spi_flash_at45_write()
365 if (cfg->wp) { in spi_flash_at45_write()
366 gpio_pin_set_dt(cfg->wp, 1); in spi_flash_at45_write()
455 if (cfg->wp) { in spi_flash_at45_erase()
456 gpio_pin_set_dt(cfg->wp, 0); in spi_flash_at45_erase()
508 if (cfg->wp) { in spi_flash_at45_erase()
509 gpio_pin_set_dt(cfg->wp, 1); in spi_flash_at45_erase()
580 if (dev_config->wp) { in spi_flash_at45_init()
581 if (!device_is_ready(dev_config->wp->port)) { in spi_flash_at45_init()
585 if (gpio_pin_configure_dt(dev_config->wp, GPIO_OUTPUT_ACTIVE)) { in spi_flash_at45_init()
703 (.wp = &wp_##idx,)) \