Lines Matching refs:arg
30 void get_ps_other_cpu(void* arg);
31 void extended_ipc_isr_asm(void* arg);
44 arg_data_t arg = { 0 }; in app_main() local
45 arg.in[0] = 0x01; in app_main()
46 arg.in[1] = 0x02; in app_main()
47 arg.in[2] = 0x03; in app_main()
48 ESP_LOGI(TAG, "in[0] = 0x%x", arg.in[0]); in app_main()
49 ESP_LOGI(TAG, "in[1] = 0x%x", arg.in[1]); in app_main()
50 ESP_LOGI(TAG, "in[2] = 0x%x", arg.in[2]); in app_main()
51 esp_ipc_isr_asm_call_blocking(extended_ipc_isr_asm, (void*)&arg); in app_main()
52 ESP_LOGI(TAG, "out[0] = (in[0] | in[1] | in[2]) = 0x%x", arg.out[0]); in app_main()
53 assert(0x03 == arg.out[0]); in app_main()
54 ESP_LOGI(TAG, "out[1] = (in[0] & in[1] & in[2]) = 0x%x", arg.out[1]); in app_main()
55 assert(0x06 == arg.out[1]); in app_main()
56 ESP_LOGI(TAG, "out[2] = in[2] = 0x%x", arg.out[2]); in app_main()
57 assert(0x03 == arg.out[2]); in app_main()
58 ESP_LOGI(TAG, "out[3] = PS of other cpu = 0x%x", arg.out[3]); in app_main()
59 assert(ps_other_cpu == arg.out[3]); in app_main()