Home
last modified time | relevance | path

Searched refs:WHD_SUCCESS (Results 1 – 25 of 26) sorted by relevance

12

/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_chip.c112 if (cy_rtos_init_semaphore(&whd_driver->whd_log_mutex, 1, 0) != WHD_SUCCESS) in whd_internal_info_init()
116 if (cy_rtos_set_semaphore(&whd_driver->whd_log_mutex, WHD_FALSE) != WHD_SUCCESS) in whd_internal_info_init()
121 return WHD_SUCCESS; in whd_internal_info_init()
128 return WHD_SUCCESS; in whd_internal_info_deinit()
170 if (result != WHD_SUCCESS) in whd_device_core_is_up()
184 if (result != WHD_SUCCESS) in whd_device_core_is_up()
194 return WHD_SUCCESS; in whd_device_core_is_up()
208 … &regdata) ) == WHD_SUCCESS ) && regdata != 0 ), 300 ); in whd_reset_core()
216 … &regdata) ) == WHD_SUCCESS ) && regdata != 0 ), 300 ); in whd_reset_core()
223 … &regdata) ) == WHD_SUCCESS ) && regdata != 0 ), 300 ); in whd_reset_core()
[all …]
Dwhd_chip_constants.c136 return WHD_SUCCESS; in get_arm_core_base_address()
156 return WHD_SUCCESS; in get_socsram_base_address()
174 return WHD_SUCCESS; in get_sdiod_core_base_address()
197 return WHD_SUCCESS; in get_pmu_base_address()
228 return WHD_SUCCESS; in get_chip_ram_size()
246 return WHD_SUCCESS; in get_atcm_ram_base_address()
264 return WHD_SUCCESS; in get_socsram_srmem_size()
278 return WHD_SUCCESS; in get_wl_chanspec_band_mask()
292 return WHD_SUCCESS; in get_wl_chanspec_band_2G()
306 return WHD_SUCCESS; in get_wl_chanspec_band_5G()
[all …]
Dwhd_management.c84 return WHD_SUCCESS; in whd_add_interface()
115 return WHD_SUCCESS; in whd_add_interface()
174 return WHD_SUCCESS; in whd_init()
211 return WHD_SUCCESS; in whd_deinit()
243 if (retval != WHD_SUCCESS) in whd_management_wifi_platform_init()
255 if (retval != WHD_SUCCESS) in whd_management_wifi_platform_init()
261 return WHD_SUCCESS; in whd_management_wifi_platform_init()
294 return WHD_SUCCESS; in whd_wifi_on()
301 if (retval != WHD_SUCCESS) in whd_wifi_on()
312 if (retval != WHD_SUCCESS) in whd_wifi_on()
[all …]
Dwhd_cdc_bdc.c122 if (cy_rtos_init_semaphore(&cdc_bdc_info->ioctl_mutex, 1, 0) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
126 if (cy_rtos_set_semaphore(&cdc_bdc_info->ioctl_mutex, WHD_FALSE) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
133 if (cy_rtos_init_semaphore(&cdc_bdc_info->ioctl_sleep, 1, 0) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
140 if (cy_rtos_init_semaphore(&cdc_bdc_info->event_list_mutex, 1, 0) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
146 if (cy_rtos_set_semaphore(&cdc_bdc_info->event_list_mutex, WHD_FALSE) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
156 if (cy_rtos_init_semaphore(&error_info->event_list_mutex, 1, 0) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
161 if (cy_rtos_set_semaphore(&error_info->event_list_mutex, WHD_FALSE) != WHD_SUCCESS) in whd_cdc_bdc_info_init()
170 return WHD_SUCCESS; in whd_cdc_bdc_info_init()
218 if (retval != WHD_SUCCESS) in whd_cdc_send_ioctl()
281 if (retval != WHD_SUCCESS) in whd_cdc_send_ioctl()
[all …]
Dwhd_events.c130 return WHD_SUCCESS; in whd_management_set_event_handler_locally()
165 return WHD_SUCCESS; in whd_management_set_event_handler_locally()
213 if (res != WHD_SUCCESS) in whd_set_error_handler_locally()
219 return WHD_SUCCESS; in whd_set_error_handler_locally()
250 return WHD_SUCCESS; in whd_set_error_handler_locally()
382 if (res != WHD_SUCCESS) in whd_management_set_event_handler()
389 if (res != WHD_SUCCESS) in whd_management_set_event_handler()
422 if (res != WHD_SUCCESS) in whd_management_set_event_handler()
435 return WHD_SUCCESS; in whd_management_set_event_handler()
477 if (res != WHD_SUCCESS) in whd_wifi_set_event_handler()
[all …]
Dwhd_sdpcm.c237 if (cy_rtos_init_semaphore(&sdpcm_info->send_queue_mutex, 1, 0) != WHD_SUCCESS) in whd_sdpcm_init()
241 if (cy_rtos_set_semaphore(&sdpcm_info->send_queue_mutex, WHD_FALSE) != WHD_SUCCESS) in whd_sdpcm_init()
258 return WHD_SUCCESS; in whd_sdpcm_init()
292 if (result != WHD_SUCCESS) in whd_sdpcm_quit()
357 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
370 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
383 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
404 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
428 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
459 if (result != WHD_SUCCESS) in whd_sdpcm_process_rx_packet()
[all …]
Dwhd_thread.c78 if (retval != WHD_SUCCESS) in whd_thread_init()
87 if (retval != WHD_SUCCESS) in whd_thread_init()
98 if (retval != WHD_SUCCESS) in whd_thread_init()
108 return WHD_SUCCESS; in whd_thread_init()
128 if (whd_sdpcm_get_packet_to_send(whd_driver, &tmp_buf_hnd) != WHD_SUCCESS) in whd_thread_send_one_packet()
136 if (result != WHD_SUCCESS) in whd_thread_send_one_packet()
144 if (whd_bus_send_buffer(whd_driver, tmp_buf_hnd) != WHD_SUCCESS) in whd_thread_send_one_packet()
171 if (whd_bus_read_frame(whd_driver, &recv_buffer) != WHD_SUCCESS) in whd_thread_receive_one_packet()
222 if (result != WHD_SUCCESS) in whd_thread_quit()
Dwhd_ap.c97 return WHD_SUCCESS; in whd_wifi_set_block_ack_window_size_common()
107 …ssert("set_block_ack_window_size: Failed to set block ack window size\r\n", retval == WHD_SUCCESS); in whd_wifi_set_block_ack_window_size_common()
124 return WHD_SUCCESS; in whd_wifi_set_ampdu_parameters_common()
244 if ( (result != WHD_SUCCESS) && (result != WHD_WLAN_UNSUPPORTED) ) in whd_wifi_init_ap()
286 if (whd_cdc_send_iovar(ifp, CDC_GET, buffer, &response) != WHD_SUCCESS) in whd_wifi_init_ap()
302 return WHD_SUCCESS; in whd_wifi_init_ap()
311 if (whd_cdc_send_iovar(prim_ifp, CDC_GET, buffer, &response) != WHD_SUCCESS) in whd_wifi_init_ap()
327 return WHD_SUCCESS; in whd_wifi_init_ap()
369 if ( (result = whd_wifi_get_mac_address(prim_ifp, &ifp->mac_addr) ) != WHD_SUCCESS ) in whd_wifi_init_ap()
380 if ( (result = whd_wifi_set_mac_address(ifp, ifp->mac_addr) ) != WHD_SUCCESS ) in whd_wifi_init_ap()
[all …]
Dwhd_wifi_api.c357 return WHD_SUCCESS; in whd_wifi_set_up()
363 if (whd_wifi_get_mac_address(ifp, &mac) == WHD_SUCCESS) in whd_wifi_set_up()
369 if (whd_wifi_get_wifi_version(ifp, version, sizeof(version) ) == WHD_SUCCESS) in whd_wifi_set_up()
375 if (whd_wifi_get_clm_version(ifp, version, sizeof(version) ) == WHD_SUCCESS) in whd_wifi_set_up()
396 return WHD_SUCCESS; in whd_wifi_set_up()
415 return WHD_SUCCESS; in whd_wifi_set_down()
433 if (result == WHD_SUCCESS) in whd_get_bt_info()
437 return WHD_SUCCESS; in whd_get_bt_info()
496 return WHD_SUCCESS; in whd_wifi_set_channel()
523 return WHD_SUCCESS; in whd_wifi_get_channel()
[all …]
Dwhd_clm.c64 return WHD_SUCCESS; in whd_download_wifi_clm_image()
69 whd_result_t ret = WHD_SUCCESS; in whd_process_clm_data()
86 if (ret != WHD_SUCCESS) in whd_process_clm_data()
93 if (ret != WHD_SUCCESS) in whd_process_clm_data()
138 if (ret != WHD_SUCCESS) in whd_process_clm_data()
150 if (ret_clmload_status != WHD_SUCCESS) in whd_process_clm_data()
Dwhd_network_if.c77 return WHD_SUCCESS; in whd_network_process_ethernet_data()
Dwhd_debug.c60 return WHD_SUCCESS; in whd_print_stats()
Dwhd_buffer_api.c98 return WHD_SUCCESS; in whd_buffer_release()
Dwhd_wifi.c109 return WHD_SUCCESS; in whd_wifi_set_mac_address()
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/
Dwhd_bus_sdio_protocol.c207 return WHD_SUCCESS; in whd_bus_sdio_attach()
231 whd_result_t result = WHD_SUCCESS; in whd_bus_sdio_wait_for_wlan_event()
245 whd_assert("Error setting wlan sleep", (result == WHD_SUCCESS) || (result == WHD_PENDING) ); in whd_bus_sdio_wait_for_wlan_event()
247 if (result == WHD_SUCCESS) in whd_bus_sdio_wait_for_wlan_event()
258 whd_assert("Poking failed!", result == WHD_SUCCESS); in whd_bus_sdio_wait_for_wlan_event()
285 if (retval == WHD_SUCCESS) in whd_bus_sdio_send_buffer()
291 return WHD_SUCCESS; in whd_bus_sdio_send_buffer()
345 (uint32_t)SDIO_64B_BLOCK) ) == WHD_SUCCESS ) && in whd_bus_sdio_init()
347 &byte_data) ) == WHD_SUCCESS ) && in whd_bus_sdio_init()
402 &byte_data) ) == WHD_SUCCESS ) && in whd_bus_sdio_init()
[all …]
Dwhd_bus_spi_protocol.c236 return WHD_SUCCESS; in whd_bus_spi_attach()
257 if (result == WHD_SUCCESS) in whd_bus_spi_send_buffer()
263 return WHD_SUCCESS; in whd_bus_spi_send_buffer()
296 … (uint8_t *)&whd_bus_gspi_status) ) == WHD_SUCCESS ) && in whd_bus_spi_transfer_buffer()
302 if (result != WHD_SUCCESS) in whd_bus_spi_transfer_buffer()
369 return WHD_SUCCESS; in whd_bus_spi_poke_wlan()
385 (uint8_t *)&int_status) != WHD_SUCCESS) in whd_bus_spi_bt_packet_available_to_read()
395 int_status & I_HMB_FC_CHANGE) != WHD_SUCCESS) in whd_bus_spi_bt_packet_available_to_read()
417 (uint8_t *)&interrupt_register) != WHD_SUCCESS) in whd_bus_spi_packet_available_to_read()
429 (uint8_t *)&int_status) != WHD_SUCCESS) in whd_bus_spi_packet_available_to_read()
[all …]
Dwhd_bus_m2m_protocol.c184 return WHD_SUCCESS; in whd_bus_m2m_attach()
203 whd_result_t result = WHD_SUCCESS; in whd_bus_m2m_init()
212 if (result == WHD_SUCCESS) in whd_bus_m2m_init()
242 return WHD_SUCCESS; in whd_bus_m2m_deinit()
247 return WHD_SUCCESS; in whd_bus_m2m_ack_interrupt()
252 whd_result_t result = WHD_SUCCESS; in whd_bus_m2m_send_buffer()
275 whd_result_t result = WHD_SUCCESS; in whd_bus_m2m_read_frame()
342 return WHD_SUCCESS; in whd_bus_m2m_write_backplane_value()
368 return WHD_SUCCESS; in whd_bus_m2m_read_backplane_value()
375 return WHD_SUCCESS; in whd_bus_m2m_write_register_value()
[all …]
Dwhd_bus_common.c105 return WHD_SUCCESS; in whd_bus_set_flow_control()
237 whd_result_t result = WHD_SUCCESS; in whd_bus_write_wifi_firmware_image()
248 if (result != WHD_SUCCESS) in whd_bus_write_wifi_firmware_image()
264 if (result != WHD_SUCCESS) in whd_bus_write_wifi_firmware_image()
305 if (result != WHD_SUCCESS) in whd_bus_transfer_backplane_bytes()
332 else if (result == WHD_SUCCESS) in whd_bus_transfer_backplane_bytes()
349 if (result != WHD_SUCCESS) in whd_bus_transfer_backplane_bytes()
360 if (result != WHD_SUCCESS) in whd_bus_transfer_backplane_bytes()
381 return WHD_SUCCESS; in whd_bus_transfer_backplane_bytes()
Dwhd_bus.c50 return WHD_SUCCESS; in whd_bus_share_bt_init()
67 return WHD_SUCCESS; in whd_bus_bt_attach()
85 return WHD_SUCCESS; in whd_bus_bt_attach()
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/resources/resource_imp/
Dwhd_resources.c205 return WHD_SUCCESS; in host_platform_resource_size()
237 if (result != WHD_SUCCESS) in host_get_resource_block()
275 if (result != WHD_SUCCESS) in host_get_resource_block()
292 return WHD_SUCCESS; in host_get_resource_block()
298 return WHD_SUCCESS; in host_get_resource_block_size()
312 return WHD_SUCCESS; in host_get_resource_no_of_blocks()
330 if (result != WHD_SUCCESS) in host_resource_read()
343 return WHD_SUCCESS; in host_resource_read()
/hal_infineon-3.4.0/wifi-host-driver/WiFi_Host_Driver/src/include/
Dwhd_types_int.h87 if (check_res != WHD_SUCCESS) \
97 if (check_res != WHD_SUCCESS) \
103 … if (check_res != WHD_SUCCESS && check_res != WHD_WLAN_UNSUPPORTED) \
109 whd_assert("Command failed\n", check_res == WHD_SUCCESS); \
113 if (check_res != WHD_SUCCESS) \
Dwhd_chip_constants.h53 #define VERIFY_RESULT(x) { whd_result_t verify_result = WHD_SUCCESS; verify_result = (x); \
54 if (verify_result != WHD_SUCCESS){ \
Dwhd_thread_internal.h38 whd_assert("Could not bring bus up", (verify_result == WHD_SUCCESS) ); \
Dwhd_ap.h56 …TURN_WITH_SEMAPHORE(expr, sema) { whd_result_t check_res = (expr); if (check_res != WHD_SUCCESS) \
/hal_infineon-3.4.0/whd-bsp-integration/COMPONENT_LWIP/
Dcy_network_buffer_lwip.c48 return WHD_SUCCESS; in cy_buffer_pool_init()
91 return WHD_SUCCESS; in cy_host_buffer_get()
167 return WHD_SUCCESS; in cy_buffer_add_remove_at_front()

12