D | spi_dw.h | 1 /* spi_dw.h - Designware SPI driver private definitions */ 7 * SPDX-License-Identifier: Apache-2.0 26 typedef void (*spi_dw_set_bit_t)(uint8_t bit, mm_reg_t addr, uint32_t off); 27 typedef void (*spi_dw_clear_bit_t)(uint8_t bit, mm_reg_t addr, uint32_t off); 28 typedef int (*spi_dw_test_bit_t)(uint8_t bit, mm_reg_t addr, uint32_t off); 79 static void aux_reg_set_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_set_bit() argument 81 sys_io_set_bit(addr + off/4, bit); in aux_reg_set_bit() 84 static void aux_reg_clear_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_clear_bit() argument 86 sys_io_clear_bit(addr + off/4, bit); in aux_reg_clear_bit() 89 static int aux_reg_test_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_test_bit() argument [all …]
|