Home
last modified time | relevance | path

Searched refs:mosi_gpio (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_bitbang.c27 struct gpio_dt_spec mosi_gpio; member
88 if (!info->mosi_gpio.port) { in spi_bitbang_transceive()
98 mosi = &info->mosi_gpio; in spi_bitbang_transceive()
102 miso = &info->mosi_gpio; in spi_bitbang_transceive()
105 if (info->mosi_gpio.port) { in spi_bitbang_transceive()
106 mosi = &info->mosi_gpio; in spi_bitbang_transceive()
114 if (info->mosi_gpio.port) { in spi_bitbang_transceive()
115 rc = gpio_pin_configure_dt(&info->mosi_gpio, mosi_flags); in spi_bitbang_transceive()
283 if (config->mosi_gpio.port != NULL) { in spi_bitbang_init()
284 if (!gpio_is_ready_dt(&config->mosi_gpio)) { in spi_bitbang_init()
[all …]
Dspi_rpi_pico_pio.c35 struct gpio_dt_spec mosi_gpio; member
352 const struct gpio_dt_spec *mosi = &dev_cfg->mosi_gpio; in spi_pico_pio_configure()
721 if (dev_cfg->mosi_gpio.port != NULL) { in spi_pico_pio_init()
722 rc = config_gpio(&dev_cfg->mosi_gpio, "mosi", GPIO_OUTPUT); in spi_pico_pio_init()
752 .mosi_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, mosi_gpios, {0}), \