Lines Matching refs:bus
33 struct spi_dt_spec bus; in fpga_ice40_load() local
35 memcpy(&bus, &config->bus, sizeof(bus)); in fpga_ice40_load()
41 bus.config.cs.gpio.port = NULL; in fpga_ice40_load()
59 gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
70 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
97 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
106 ret = spi_write_dt(&bus, &tx_bufs); in fpga_ice40_load()
113 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
122 ret = spi_write_dt(&bus, &tx_bufs); in fpga_ice40_load()
129 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
138 ret = spi_write_dt(&bus, &tx_bufs); in fpga_ice40_load()
162 (void)gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()