Searched refs:config_bitbang (Results 1 – 1 of 1) sorted by relevance
133 const struct fpga_ice40_config_bitbang *config_bitbang = config->derived_config; in fpga_ice40_load() local135 if (!device_is_ready(config_bitbang->clk.port)) { in fpga_ice40_load()140 if (!device_is_ready(config_bitbang->pico.port)) { in fpga_ice40_load()147 clk = BIT(config_bitbang->clk.pin); in fpga_ice40_load()148 pico = BIT(config_bitbang->pico.pin); in fpga_ice40_load()168 gpio_pin_configure_dt(&config_bitbang->clk, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()169 gpio_pin_configure_dt(&config_bitbang->pico, GPIO_OUTPUT_HIGH); in fpga_ice40_load()174 *config_bitbang->clear |= (creset | cs); in fpga_ice40_load()178 fpga_ice40_delay(2 * config_bitbang->mhz_delay_count * config->creset_delay_us); in fpga_ice40_load()187 *config_bitbang->set |= creset; in fpga_ice40_load()[all …]