/AliOS-Things-master/components/amp_adapter/include/peripheral/ |
A D | aos_hal_spi.h | 92 } spi_dev_t; typedef 107 int32_t aos_hal_spi_init(spi_dev_t *spi); 120 int32_t aos_hal_spi_send(spi_dev_t *spi, const uint8_t *data, uint32_t size, uint32_t timeout); 133 int32_t aos_hal_spi_recv(spi_dev_t *spi, uint8_t *data, uint32_t size, uint32_t timeout); 148 int32_t aos_hal_spi_send_recv(spi_dev_t *spi, uint8_t *tx_data, uint8_t *rx_data, uint32_t rx_size,… 163 int32_t aos_hal_spi_send_and_recv(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8_t *rx_d… 178 …int32_t aos_hal_spi_send_and_send(spi_dev_t *spi, uint8_t *tx1_data, uint16_t tx1_size, uint8_t *t… 189 int32_t aos_hal_spi_finalize(spi_dev_t *spi);
|
/AliOS-Things-master/components/drivers/peripheral/spi/include/aos/hal/ |
A D | spi.h | 98 } spi_dev_t; typedef 111 int32_t hal_spi_init(spi_dev_t *spi); 124 int32_t hal_spi_send(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t timeout); 137 int32_t hal_spi_recv(spi_dev_t *spi, uint8_t *data, uint16_t size, uint32_t timeout); 152 int32_t hal_spi_send_recv(spi_dev_t *spi, uint8_t *tx_data, uint8_t *rx_data, 168 int32_t hal_spi_send_and_recv(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8_t *rx_data, 183 …int32_t hal_spi_send_and_send(spi_dev_t *spi, uint8_t *tx1_data, uint16_t tx1_size, uint8_t *tx2_d… 194 int32_t hal_spi_finalize(spi_dev_t *spi);
|
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/ |
A D | aos_hal_spi.c | 13 int32_t aos_hal_spi_init(spi_dev_t *spi) in aos_hal_spi_init() 22 int32_t aos_hal_spi_send(spi_dev_t *spi, const uint8_t *data, uint32_t size, uint32_t timeout) in aos_hal_spi_send() 31 int32_t aos_hal_spi_recv(spi_dev_t *spi, uint8_t *data, uint32_t size, uint32_t timeout) in aos_hal_spi_recv() 40 int32_t aos_hal_spi_send_recv(spi_dev_t *spi, uint8_t *tx_data, uint8_t *rx_data, in aos_hal_spi_send_recv() 50 int32_t aos_hal_spi_send_and_recv(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8_t *rx_d… in aos_hal_spi_send_and_recv() 60 int32_t aos_hal_spi_finalize(spi_dev_t *spi) in aos_hal_spi_finalize()
|
/AliOS-Things-master/hardware/board/haas100/drivers/ |
A D | ch395_spi.h | 11 int32_t hal_ch395_spi_init(spi_dev_t *spi); 13 int32_t hal_spi_send_ch395(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t timeout); 15 int32_t hal_spi_send_and_recv_ch395_normal(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint… 18 int32_t hal_spi_send_and_recv_ch395_exist(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8…
|
A D | atcmd_config_module.h | 11 spi_dev_t spi_dev;
|
A D | ch395_spi.c | 88 int32_t hal_ch395_spi_init(spi_dev_t *spi) in hal_ch395_spi_init() 212 int32_t hal_spi_send_ch395(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t timeout) in hal_spi_send_ch395() 307 int32_t hal_spi_send_ch395_sockdata(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t ti… in hal_spi_send_ch395_sockdata() 409 int32_t hal_spi_send_and_recv_ch395_normal(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint… in hal_spi_send_and_recv_ch395_normal() 533 int32_t hal_spi_send_and_recv_ch395_exist(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8… in hal_spi_send_and_recv_ch395_exist()
|
A D | ch395_cmd.c | 31 static spi_dev_t g_st_spi_info = {0}; 68 int32_t ch395_module_init(spi_dev_t *pstspiinfo) in ch395_module_init()
|
A D | ch395_lwip.c | 556 spi_dev_t eth_spi_dev = {0}; in eth_lwip_tcpip_init()
|
/AliOS-Things-master/components/drivers/peripheral/spi/src/ |
A D | spi_dev.c | 33 __weak int hal_spi_recv_cb_reg(spi_dev_t *spi, spi_rx_cb cb) { in hal_spi_recv_cb_reg() 40 spi_dev_t *spi = (spi_dev_t *)f->node->i_arg; in spi_device_read() 57 spi_dev_t *spi = (spi_dev_t *)f->node->i_arg; in spi_device_write() 221 spi_dev_t *spi = (spi_dev_t *)f->node->i_arg; in spi_device_ioctl() 327 spi_dev_t *spi = (spi_dev_t *)node->i_arg; in spi_device_open() 353 spi_dev_t *spi = (spi_dev_t *)f->node->i_arg; in spi_device_close() 372 int spi_rx_notify (spi_dev_t *spi) { in spi_rx_notify() 414 spi_dev_t *spi = (spi_dev_t *)f->node->i_arg; in spi_device_poll() 497 static spi_dev_t g_def_setting = { 528 spi_dev_t *spi_dev = malloc(sizeof(*spi_dev)); in vfs_spi_drv_init()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | hal_spi.c | 80 int32_t hal_spi_init(spi_dev_t *spi) in hal_spi_init() 109 int32_t hal_spi_send(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t timeout) in hal_spi_send() 143 int32_t hal_spi_recv(spi_dev_t *spi, uint8_t *data, uint16_t size, uint32_t timeout) in hal_spi_recv() 178 int32_t hal_spi_send_recv(spi_dev_t *spi, uint8_t *tx_data, uint8_t *rx_data, in hal_spi_send_recv() 192 int32_t hal_spi_finalize(spi_dev_t *spi) in hal_spi_finalize() 204 int32_t hal_spi_send_and_recv(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8_t *rx_data, in hal_spi_send_and_recv() 211 …int32_t hal_spi_send_and_send(spi_dev_t *spi, uint8_t *tx1_data, uint16_t tx1_size, uint8_t *tx2_d… in hal_spi_send_and_send()
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | machine_hw_spi.c | 39 spi_dev_t dev; 49 spi_dev_t *dev = &self->dev; in machine_hw_spi_deinit_internal() 56 spi_dev_t *dev = &self->dev; in machine_hw_spi_init_internal() 80 spi_dev_t *dev = &self->dev; in machine_hw_spi_deinit() 91 spi_dev_t *dev = &self->dev; in machine_hw_spi_transfer() 121 spi_dev_t *dev = &self->dev; in machine_hw_spi_print() 134 spi_dev_t *dev = &self->dev; in machine_hw_spi_init() 220 spi_dev_t *dev = &self->dev; in machine_hw_spi_make_new()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | machine_hw_spi.c | 53 spi_dev_t spi; 60 spi_dev_t *spi = &self->spi; in machine_hw_spi_deinit_internal() 66 spi_dev_t *spi = &self->spi; in machine_hw_spi_init_internal() 89 spi_dev_t *spi = &self->spi; in machine_hw_spi_deinit() 100 spi_dev_t *spi = &self->spi; in machine_hw_spi_transfer() 128 spi_dev_t *spi = &self->spi; in machine_hw_spi_print() 151 spi_dev_t *spi = &self->spi; in machine_hw_spi_init() 203 spi_dev_t *spi = &self->spi; in machine_hw_spi_make_new()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | machine_hw_spi.c | 53 spi_dev_t spi; 60 spi_dev_t *spi = &self->spi; in machine_hw_spi_deinit_internal() 66 spi_dev_t *spi = &self->spi; in machine_hw_spi_init_internal() 89 spi_dev_t *spi = &self->spi; in machine_hw_spi_deinit() 100 spi_dev_t *spi = &self->spi; in machine_hw_spi_transfer() 128 spi_dev_t *spi = &self->spi; in machine_hw_spi_print() 151 spi_dev_t *spi = &self->spi; in machine_hw_spi_init() 203 spi_dev_t *spi = &self->spi; in machine_hw_spi_make_new()
|
/AliOS-Things-master/components/sensor/include/ |
A D | sensor_drv_api.h | 19 spi_dev_t dev_spi; 37 int32_t sensor_spi_read(spi_dev_t *spi, uint8_t *tx, uint8_t *rx, 39 int32_t sensor_spi_write(spi_dev_t *spi, uint8_t *data, uint16_t size,
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/spi/ |
A D | module_spi.c | 28 spi_dev_t *spi_device = NULL; in native_spi_open() 72 spi_dev_t *spi_device = NULL; in native_spi_close() 101 spi_dev_t *spi_device = NULL; in native_spi_write() 142 spi_dev_t *spi_device = NULL; in native_spi_read() 188 spi_dev_t *spi_device = NULL; in native_spi_send_receive()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/spi/ |
A D | module_spi.c | 21 spi_dev_t *spi_device = NULL; in native_spi_open() 58 spi_dev_t *spi_device = NULL; in native_spi_close() 88 spi_dev_t *spi_device = NULL; in native_spi_write() 141 spi_dev_t *spi_device = NULL; in native_spi_read() 187 spi_dev_t *spi_device = NULL; in native_spi_send_receive()
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | spi.c | 96 int32_t hal_spi_init(spi_dev_t *spi) in hal_spi_init() 241 int32_t hal_spi_send(spi_dev_t *spi, const uint8_t *data, uint16_t size, uint32_t timeout) in hal_spi_send() 313 int32_t hal_spi_recv(spi_dev_t *spi, uint8_t *data, uint16_t size, uint32_t timeout) in hal_spi_recv() 386 int32_t hal_spi_send_and_recv(spi_dev_t *spi, uint8_t *tx_data, uint16_t tx_size, uint8_t *rx_data, in hal_spi_send_and_recv() 474 int32_t hal_spi_send_recv(spi_dev_t *spi, uint8_t *tx_data, in hal_spi_send_recv() 565 int32_t hal_spi_send_and_send(spi_dev_t *spi, uint8_t *tx1_data, uint16_t tx1_size, uint8_t *tx2_da… in hal_spi_send_and_send() 595 int32_t hal_spi_finalize(spi_dev_t *spi) in hal_spi_finalize()
|
/AliOS-Things-master/components/sensor/hal/ |
A D | sensor_drv_api.c | 308 int32_t sensor_spi_read(spi_dev_t *spi, uint8_t *tx, uint8_t *rx, uint16_t size, in sensor_spi_read() 320 int32_t sensor_spi_write(spi_dev_t *spi, uint8_t *data, uint16_t size, in sensor_spi_write()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/spi/ |
A D | spi_test.c | 40 static spi_dev_t spi_dev;
|
/AliOS-Things-master/components/py_engine/modules/driver/ |
A D | board_mgr.c | 428 static void board_set_spi_default(spi_dev_t *spi_device) in board_set_spi_default() 452 spi_dev_t device; in board_parse_spi() 492 spi_dev_t *new_spi = aos_calloc(1, sizeof(*new_spi)); in board_parse_spi()
|
A D | spi.c | 31 spi_dev_t *spi_device = py_board_get_node_by_handle(MODULE_SPI, &(driver_obj->spi_handle)); \
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 484 static void board_set_spi_default(spi_dev_t *spi_device) in board_set_spi_default() 509 spi_dev_t device; in board_parse_spi() 557 spi_dev_t *new_spi = amp_calloc(1, sizeof(*new_spi)); in board_parse_spi()
|
/AliOS-Things-master/components/drivers/external_device/sh1106/src/ |
A D | sh1106.c | 32 static spi_dev_t spi_sh1106 = {0};
|
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_temp_humi_baro_bosch_bme280.c | 229 spi_dev_t bme280_ctx_spi = {
|