Searched refs:hi_cfg (Results 1 – 1 of 1) sorted by relevance
159 const struct dwt_hi_cfg *hi_cfg = dev->config; in dwt_spi_read() local187 if (spi_transceive(hi_cfg->bus.bus, ctx->spi_cfg, &tx, &rx)) { in dwt_spi_read()203 const struct dwt_hi_cfg *hi_cfg = dev->config; in dwt_spi_write() local215 if (spi_write(hi_cfg->bus.bus, ctx->spi_cfg, &buf_set)) { in dwt_spi_write()324 const struct dwt_hi_cfg *hi_cfg = dev->config; in dwt_setup_int() local330 gpio_pin_interrupt_configure_dt(&hi_cfg->irq_gpio, flags); in dwt_setup_int()987 const struct dwt_hi_cfg *hi_cfg = dev->config; in dwt_hw_reset() local989 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_OUTPUT_ACTIVE)) { in dwt_hw_reset()990 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset()995 gpio_pin_set_dt(&hi_cfg->rst_gpio, 0); in dwt_hw_reset()[all …]