Lines Matching refs:clk
47 struct gpio_dt_spec clk; member
71 volatile gpio_port_pins_t *clear, gpio_port_pins_t clk, size_t n) in fpga_ice40_send_clocks() argument
74 *clear |= clk; in fpga_ice40_send_clocks()
76 *set |= clk; in fpga_ice40_send_clocks()
83 gpio_port_pins_t clk, gpio_port_pins_t pico, uint8_t *z, in fpga_ice40_spi_send_data() argument
96 *clear |= clk; in fpga_ice40_spi_send_data()
107 *set |= clk; in fpga_ice40_spi_send_data()
127 gpio_port_pins_t clk; in fpga_ice40_load() local
135 if (!device_is_ready(config_bitbang->clk.port)) { in fpga_ice40_load()
147 clk = BIT(config_bitbang->clk.pin); in fpga_ice40_load()
168 gpio_pin_configure_dt(&config_bitbang->clk, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
197 config_bitbang->clear, clk, config->leading_clocks); in fpga_ice40_load()
203 config_bitbang->clear, cs, clk, pico, (uint8_t *)image_ptr, in fpga_ice40_load()
208 config_bitbang->clear, clk, config->trailing_clocks); in fpga_ice40_load()
229 (void)gpio_pin_configure_dt(&config_bitbang->clk, GPIO_DISCONNECTED); in fpga_ice40_load()
264 .clk = GPIO_DT_SPEC_INST_GET(inst, clk_gpios), \