Home
last modified time | relevance | path

Searched refs:HI_SPI_ID_0 (Results 1 - 5 of 5) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
H A Dhi_spi.c102 hi_u16 threshold = (id == HI_SPI_ID_0 ? SPI0_FIFO_THRESHOLD : SPI1_FIFO_THRESHOLD); in spi_host_transfer()
136 hi_u16 threshold = (id == HI_SPI_ID_0 ? SPI0_FIFO_THRESHOLD : SPI1_FIFO_THRESHOLD); in spi_slave_transfer()
247 if (id > HI_SPI_ID_1 || id < HI_SPI_ID_0) { in hi_spi_set_loop_back_mode()
272 if ((hi_u32)id > HI_SPI_ID_1 || write_data == HI_NULL || byte_len == 0 || id < HI_SPI_ID_0) { in hi_spi_slave_write()
314 if ((hi_u32)id > HI_SPI_ID_1 || read_data == HI_NULL || byte_len == 0 || id < HI_SPI_ID_0) { in hi_spi_slave_read()
355 if ((id > HI_SPI_ID_1) || (id < HI_SPI_ID_0) || byte_len == 0 || in hi_spi_host_writeread()
364 if ((id > HI_SPI_ID_1) || (id < HI_SPI_ID_0) || (byte_len == 0) || (read_data == HI_NULL)) { in hi_spi_host_read()
372 if ((id > HI_SPI_ID_1) || (id < HI_SPI_ID_0) || (byte_len == 0) || (write_data == HI_NULL)) { in hi_spi_host_write()
380 if ((id > HI_SPI_ID_1) || (id < HI_SPI_ID_0)) { in hi_spi_set_irq_mode()
420 if ((id > HI_SPI_ID_1) || (id < HI_SPI_ID_0)) { in hi_spi_register_usr_func()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_spi.h46 HI_SPI_ID_0 = 0, enumerator
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_main.c286 ret = hi_spi_deinit(HI_SPI_ID_0); /* if wake_up from deep sleep, should deinit first */ in peripheral_init()
296 ret |= hi_spi_init(HI_SPI_ID_0, spi_init_param, &spi_cfg_basic_info); in peripheral_init()
H A Dapp_demo_spi.c20 hi_spi_idx g_spi_id = HI_SPI_ID_0;
41 if (spi_id == HI_SPI_ID_0) { in app_demo_spi_print_reg()
135 if (id == HI_SPI_ID_0) { in app_demo_spi_config_gpio()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/
H A Dapp_main.c267 ret = hi_spi_deinit(HI_SPI_ID_0); /* if wake_up from deep sleep, should deinit first */ in peripheral_init()
277 ret |= hi_spi_init(HI_SPI_ID_0, spi_init_param, &spi_cfg_basic_info); in peripheral_init()

Completed in 5 milliseconds