Home
last modified time | relevance | path

Searched defs:host (Results 1 – 25 of 39) sorted by relevance

12

/hal_espressif-2.7.6/components/hal/
Dspi_flash_hal_iram.c33 void spi_flash_hal_erase_chip(spi_flash_host_inst_t *host) in spi_flash_hal_erase_chip()
47 void spi_flash_hal_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_sector()
64 void spi_flash_hal_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in spi_flash_hal_erase_block()
80 void spi_flash_hal_program_page(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, … in spi_flash_hal_program_page()
89 esp_err_t spi_flash_hal_set_write_protect(spi_flash_host_inst_t *host, bool wp) in spi_flash_hal_set_write_protect()
99 static inline spi_dev_t *get_spi_dev(spi_flash_host_inst_t *host) in get_spi_dev()
104 static inline int get_host_id(spi_flash_host_inst_t* host) in get_host_id()
112 uint32_t spi_flash_hal_check_status(spi_flash_host_inst_t *host) in spi_flash_hal_check_status()
133 esp_err_t spi_flash_hal_setup_read_suspend(spi_flash_host_inst_t *host, const spi_flash_sus_cmd_con… in spi_flash_hal_setup_read_suspend()
148 void spi_flash_hal_setup_auto_suspend_mode(spi_flash_host_inst_t *host) in spi_flash_hal_setup_auto_suspend_mode()
[all …]
Dspi_flash_hal_gpspi.c29 bool spi_flash_hal_gpspi_supports_direct_write(spi_flash_host_inst_t *host, const void *p) in spi_flash_hal_gpspi_supports_direct_write()
34 bool spi_flash_hal_gpspi_supports_direct_read(spi_flash_host_inst_t *host, const void *p) in spi_flash_hal_gpspi_supports_direct_read()
39 uint32_t spi_flash_hal_gpspi_check_status(spi_flash_host_inst_t *host) in spi_flash_hal_gpspi_check_status()
Dspi_flash_hal.c103 bool spi_flash_hal_supports_direct_write(spi_flash_host_inst_t *host, const void *p) in spi_flash_hal_supports_direct_write()
111 bool spi_flash_hal_supports_direct_read(spi_flash_host_inst_t *host, const void *p) in spi_flash_hal_supports_direct_read()
/hal_espressif-2.7.6/components/spi_flash/
Dmemspi_host_driver.c70 esp_err_t memspi_host_init_pointers(memspi_host_inst_t *host, const memspi_host_config_t *cfg) in memspi_host_init_pointers()
90 esp_err_t memspi_host_read_id_hs(spi_flash_host_inst_t *host, uint32_t *id) in memspi_host_read_id_hs()
114 esp_err_t memspi_host_read_status_hs(spi_flash_host_inst_t *host, uint8_t *out_sr) in memspi_host_read_status_hs()
131 esp_err_t memspi_host_flush_cache(spi_flash_host_inst_t *host, uint32_t addr, uint32_t size) in memspi_host_flush_cache()
139 void memspi_host_erase_chip(spi_flash_host_inst_t *host) in memspi_host_erase_chip()
147 void memspi_host_erase_sector(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_sector()
159 void memspi_host_erase_block(spi_flash_host_inst_t *host, uint32_t start_address) in memspi_host_erase_block()
171 void memspi_host_program_page(spi_flash_host_inst_t *host, const void *buffer, uint32_t address, ui… in memspi_host_program_page()
184 esp_err_t memspi_host_read(spi_flash_host_inst_t *host, void *buffer, uint32_t address, uint32_t re… in memspi_host_read()
197 esp_err_t memspi_host_set_write_protect(spi_flash_host_inst_t *host, bool wp) in memspi_host_set_write_protect()
[all …]
Desp_flash_spi_init.c161 memspi_host_inst_t *host = NULL; in spi_bus_add_flash_device() local
/hal_espressif-2.7.6/tools/test_apps/protocols/mqtt/publish_connect_test/main/
Dconnect_test.c75 static void connect_no_certs(const char *host, const int port) in connect_no_certs()
87 static void connect_with_client_key_password(const char *host, const int port) in connect_with_client_key_password()
104 static void connect_with_server_der_cert(const char *host, const int port) in connect_with_server_der_cert()
120 static void connect_with_wrong_server_cert(const char *host, const int port) in connect_with_wrong_server_cert()
135 static void connect_with_server_cert(const char *host, const int port) in connect_with_server_cert()
148 static void connect_with_server_client_certs(const char *host, const int port) in connect_with_server_client_certs()
163 static void connect_with_invalid_client_certs(const char *host, const int port) in connect_with_invalid_client_certs()
178 static void connect_with_alpn(const char *host, const int port) in connect_with_alpn()
195 char host[32]; in connection_test() local
/hal_espressif-2.7.6/components/driver/
Dspi_slave.c82 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host()
94 static inline bool bus_is_iomux(spi_slave_t *host) in bus_is_iomux()
99 static void freeze_cs(spi_slave_t *host) in freeze_cs()
106 static inline void restore_cs(spi_slave_t *host) in restore_cs()
115 esp_err_t spi_slave_initialize(spi_host_device_t host, const spi_bus_config_t *bus_config, const sp… in spi_slave_initialize()
261 esp_err_t spi_slave_free(spi_host_device_t host) in spi_slave_free()
284 esp_err_t SPI_SLAVE_ATTR spi_slave_queue_trans(spi_host_device_t host, const spi_slave_transaction_… in spi_slave_queue_trans()
304 esp_err_t SPI_SLAVE_ATTR spi_slave_get_trans_result(spi_host_device_t host, spi_slave_transaction_t… in spi_slave_get_trans_result()
315 esp_err_t SPI_SLAVE_ATTR spi_slave_transmit(spi_host_device_t host, spi_slave_transaction_t *trans_… in spi_slave_transmit()
330 spi_slave_t *host = (spi_slave_t *)arg; in spi_slave_restart_after_dmareset() local
[all …]
Dspi_master.c169 spi_host_t *host; member
189 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host()
211 spi_host_t* host = heap_caps_malloc(sizeof(spi_host_t), MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT); in spi_master_init_driver() local
272 spi_host_t *host = (spi_host_t*)arg; in spi_master_deinit_driver() local
326 spi_host_t *host = bus_driver_ctx[host_id]; in spi_bus_add_device() local
487 static SPI_MASTER_ISR_ATTR spi_device_t *get_acquiring_dev(spi_host_t *host) in get_acquiring_dev()
508 static void spi_bus_intr_enable(void *host) in spi_bus_intr_enable()
514 static void spi_bus_intr_disable(void *host) in spi_bus_intr_disable()
524 spi_host_t *host = dev->host; in spi_new_trans() local
577 static void SPI_MASTER_ISR_ATTR spi_post_trans(spi_host_t *host) in spi_post_trans()
[all …]
Dspi_slave_hd.c90 spi_slave_hd_slot_t* host = calloc(1, sizeof(spi_slave_hd_slot_t)); in spi_slave_hd_init() local
228 spi_slave_hd_slot_t *host = spihost[host_id]; in spi_slave_hd_deinit() local
259 static void tx_invoke(spi_slave_hd_slot_t* host) in tx_invoke()
266 static void rx_invoke(spi_slave_hd_slot_t* host) in rx_invoke()
273 static inline IRAM_ATTR BaseType_t intr_check_clear_callback(spi_slave_hd_slot_t* host, spi_event_t… in intr_check_clear_callback()
285 spi_slave_hd_slot_t *host = (spi_slave_hd_slot_t*)arg; in spi_slave_hd_intr_segment() local
397 spi_slave_hd_slot_t *host = (spi_slave_hd_slot_t*)arg; in spi_slave_hd_intr_append() local
482 spi_slave_hd_slot_t *host = spihost[host_id]; in get_ret_queue_result() local
502 spi_slave_hd_slot_t* host = spihost[host_id]; in spi_slave_hd_queue_trans() local
528 spi_slave_hd_slot_t* host = spihost[host_id]; in spi_slave_hd_get_trans_res() local
[all …]
Dspi_common.c102 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host()
113 bool spicommon_periph_claim(spi_host_device_t host, const char* source) in spicommon_periph_claim()
126 bool spicommon_periph_in_use(spi_host_device_t host) in spicommon_periph_in_use()
132 bool spicommon_periph_free(spi_host_device_t host) in spicommon_periph_free()
140 int spicommon_irqsource_for_host(spi_host_device_t host) in spicommon_irqsource_for_host()
145 int spicommon_irqdma_source_for_host(spi_host_device_t host) in spicommon_irqdma_source_for_host()
185 static void spicommon_connect_spi_and_dma(spi_host_device_t host, int dma_chan) in spicommon_connect_spi_and_dma()
361 static bool bus_uses_iomux_pins(spi_host_device_t host, const spi_bus_config_t* bus_config) in bus_uses_iomux_pins()
392 esp_err_t spicommon_bus_initialize_io(spi_host_device_t host, const spi_bus_config_t *bus_config, u… in spicommon_bus_initialize_io()
570 void spicommon_cs_initialize(spi_host_device_t host, int cs_io_num, int cs_num, int force_gpio_matr… in spicommon_cs_initialize()
[all …]
/hal_espressif-2.7.6/components/hal/include/hal/
Dsdio_slave_ll.h82 static inline void sdio_slave_ll_set_timing(host_dev_t *host, sdio_slave_timing_t timing) in sdio_slave_ll_set_timing()
182 static inline uint32_t sdio_slave_ll_send_read_len(host_dev_t *host) in sdio_slave_ll_send_read_len()
267 static inline void sdio_slave_ll_send_hostint_clr(host_dev_t *host) in sdio_slave_ll_send_hostint_clr()
382 static inline intptr_t sdio_slave_ll_host_get_w_reg(host_dev_t* host, int pos) in sdio_slave_ll_host_get_w_reg()
394 static inline uint8_t sdio_slave_ll_host_get_reg(host_dev_t *host, int pos) in sdio_slave_ll_host_get_reg()
406 static inline void sdio_slave_ll_host_set_reg(host_dev_t* host, int pos, uint8_t reg) in sdio_slave_ll_host_set_reg()
420 static inline sdio_slave_hostint_t sdio_slave_ll_host_get_intena(host_dev_t* host) in sdio_slave_ll_host_get_intena()
431 static inline void sdio_slave_ll_host_set_intena(host_dev_t *host, const sdio_slave_hostint_t *mask) in sdio_slave_ll_host_set_intena()
441 static inline void sdio_slave_ll_host_intr_clear(host_dev_t* host, const sdio_slave_hostint_t *mask) in sdio_slave_ll_host_intr_clear()
/hal_espressif-2.7.6/tools/test_apps/protocols/openssl/main/
Dconnect_test.c9 static int open_connection(const char *host, const int port) in open_connection()
64 static void start_test(const char *host, const int port, const char *test_case) in start_test()
112 static void scan(char *s, char **test_type, char **host, int *p, char **test_case) in scan()
125 char *host; in connection_test() local
/hal_espressif-2.7.6/examples/protocols/http_server/file_serving/main/
Dmain.c139 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in sdcard_mount() local
161 sdmmc_host_t host = SDSPI_HOST_DEFAULT(); in sdcard_mount() local
208 sdmmc_host_t host = SDSPI_HOST_DEFAULT(); in unmount_card() local
/hal_espressif-2.7.6/components/fatfs/test/
Dtest_fatfs_sdmmc.c47 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in test_setup() local
218 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in sdmmc_speed_test() local
362 sdmmc_host_t host = SDSPI_HOST_DEFAULT(); in sdspi_speed_test() local
/hal_espressif-2.7.6/examples/storage/sd_card/main/
Dsd_card_example_main.c97 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in app_main() local
119 sdmmc_host_t host = SDSPI_HOST_DEFAULT(); in app_main() local
/hal_espressif-2.7.6/examples/protocols/mdns/main/
Dmdns_example_main.c224 static void query_mdns_host_with_gethostbyname(char * host) in query_mdns_host_with_gethostbyname()
240 static void query_mdns_host_with_getaddrinfo(char * host) in query_mdns_host_with_getaddrinfo()
/hal_espressif-2.7.6/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dspi_eeprom.h19 spi_host_device_t host; ///< The SPI host used, set before calling `spi_eeprom_init()` member
/hal_espressif-2.7.6/components/esp32/test/
Dtest_4mpsram.c74 spi_host_device_t host; variable
/hal_espressif-2.7.6/components/tcp_transport/
Dtransport_tcp.c36 static int resolve_dns(const char *host, struct sockaddr_in *ip) in resolve_dns()
83 static int tcp_connect(esp_transport_handle_t t, const char *host, int port, int timeout_ms) in tcp_connect()
Dtransport.c149 int esp_transport_connect(esp_transport_handle_t t, const char *host, int port, int timeout_ms) in esp_transport_connect()
158 int esp_transport_connect_async(esp_transport_handle_t t, const char *host, int port, int timeout_m… in esp_transport_connect_async()
Dtransport_ssl.c49 static int ssl_connect_async(esp_transport_handle_t t, const char *host, int port, int timeout_ms) in ssl_connect_async()
68 static int ssl_connect(esp_transport_handle_t t, const char *host, int port, int timeout_ms) in ssl_connect()
/hal_espressif-2.7.6/examples/protocols/http_server/restful_server/main/
Desp_rest_main.c62 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in init_fs() local
/hal_espressif-2.7.6/components/sdmmc/test/
Dtest_sd.c167 static void test_sdspi_init_bus(spi_host_device_t host, int mosi_pin, int miso_pin, int clk_pin, in… in test_sdspi_init_bus()
180 static void test_sdspi_deinit_bus(spi_host_device_t host) in test_sdspi_deinit_bus()
/hal_espressif-2.7.6/examples/wifi/simple_sniffer/main/
Dsimple_sniffer_example_main.c94 sdmmc_host_t host = SDMMC_HOST_DEFAULT(); in mount() local
/hal_espressif-2.7.6/components/spi_flash/include/
Desp_flash.h96 …spi_flash_host_inst_t* host; ///< Pointer to hardware-specific "host_driver" structure. Must be … member

12