Home
last modified time | relevance | path

Searched refs:spi_dev_t (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_spi.h92 } 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 Dspi.h98 } 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 Daos_hal_spi.c13 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 Dch395_spi.h11 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 Datcmd_config_module.h11 spi_dev_t spi_dev;
A Dch395_spi.c88 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 Dch395_cmd.c31 static spi_dev_t g_st_spi_info = {0};
68 int32_t ch395_module_init(spi_dev_t *pstspiinfo) in ch395_module_init()
A Dch395_lwip.c556 spi_dev_t eth_spi_dev = {0}; in eth_lwip_tcpip_init()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c33 __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 Dhal_spi.c80 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 Dmachine_hw_spi.c39 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 Dmachine_hw_spi.c53 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 Dmachine_hw_spi.c53 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 Dsensor_drv_api.h19 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 Dmodule_spi.c28 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 Dmodule_spi.c21 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 Dspi.c96 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 Dsensor_drv_api.c308 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 Dspi_test.c40 static spi_dev_t spi_dev;
/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c428 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 Dspi.c31 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 Dboard_mgr.c484 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 Dsh1106.c32 static spi_dev_t spi_sh1106 = {0};
/AliOS-Things-master/components/sensor/drv/
A Ddrv_temp_humi_baro_bosch_bme280.c229 spi_dev_t bme280_ctx_spi = {

Completed in 31 milliseconds