Searched refs:spi_en (Results 1 – 2 of 2) sorted by relevance
46 struct gpio_desc *spi_en; member79 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in coldboot_seq()80 devm_gpiod_put(dev, apb->spi_en); in coldboot_seq()137 if (apb->spi_en) { in fw_flashing_seq()145 apb->spi_en = devm_gpiod_get(dev, "spi-en", flags); in fw_flashing_seq()146 if (IS_ERR(apb->spi_en)) { in fw_flashing_seq()147 ret = PTR_ERR(apb->spi_en); in fw_flashing_seq()177 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in standby_boot_seq()178 devm_gpiod_put(dev, apb->spi_en); in standby_boot_seq()201 if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING && apb->spi_en) in poweroff_seq()[all …]
129 unsigned int spi_en : 1; /* SPI Enable */ member279 sc.bitfield.spi_en = 0; in kp_spi_setup()336 sc.bitfield.spi_en = 1; in kp_spi_transfer_one_message()395 sc.bitfield.spi_en = 0; in kp_spi_transfer_one_message()