| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A D | mr97310a.c | 203 int err_code; in cam_get_response16() local 206 err_code = mr_write(gspca_dev, 1); in cam_get_response16() 207 if (err_code < 0) in cam_get_response16() 208 return err_code; in cam_get_response16() 210 err_code = mr_read(gspca_dev, 16); in cam_get_response16() 211 if (err_code < 0) in cam_get_response16() 212 return err_code; in cam_get_response16() 227 int err_code; in zero_the_pointer() local 231 err_code = cam_get_response16(gspca_dev, 0x21, 0); in zero_the_pointer() 232 if (err_code < 0) in zero_the_pointer() [all …]
|
| H A D | sn9c2028.c | 151 int err_code; in sn9c2028_short_command() local 153 err_code = sn9c2028_command(gspca_dev, command); in sn9c2028_short_command() 154 if (err_code < 0) in sn9c2028_short_command() 155 return err_code; in sn9c2028_short_command() 157 err_code = sn9c2028_read1(gspca_dev); in sn9c2028_short_command() 158 if (err_code < 0) in sn9c2028_short_command() 159 return err_code; in sn9c2028_short_command() 230 int i, err_code = -1; in run_start_commands() local 235 err_code = sn9c2028_long_command(gspca_dev, in run_start_commands() 239 err_code = sn9c2028_short_command(gspca_dev, in run_start_commands() [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/ |
| H A D | echo_pcbatest_server.c | 452 static int start_pcba_test_proccess(PCBA_SINGLE_PARA *recv_paras, int *err_code) in start_pcba_test_proccess() argument 464 *err_code = ret; in start_pcba_test_proccess() 548 static int query_test_result(PCBA_SINGLE_PARA *recv_paras, char *msg, char *result, int *err_code) in query_test_result() argument 555 *err_code = 0; in query_test_result() 584 *err_code = err; in query_test_result() 636 char *result, int err_code) in tcp_command_fill() argument 678 snprintf(str_err_code, sizeof(str_err_code), "%d", err_code); in tcp_command_fill() 724 char *msg, char *result, int err_code) in tcp_command_send() argument 730 tcp_command_fill(cmd_paras, status, msg, result, err_code); in tcp_command_send() 764 int err_code = 0; in tcp_command_parse() local [all …]
|
| H A D | echo_rotary_test.c | 85 int err_code =0; in rotary_result_send() local 88 err_code = ROTARY_QUERY_FAIL; in rotary_result_send() 90 send_msg_to_server("rotary_test", result, err_code); in rotary_result_send() 100 int err_code = 0; in main() local 116 err_code = ROTARY_OPEN_FAIL; in main() 136 err_code = ROTARY_EVENT_TIMEOUT; in main() 143 if (!err_code) in main() 145 send_msg_to_server(buf, result, err_code); in main() 147 return err_code; in main()
|
| H A D | echo_touchpad_test.c | 34 int delay_t = 0,err_code = 0; in main() local 46 err_code = -ENODEV; in main() 57 err_code = -ENODEV; in main() 81 err_code = -ETIME; in main() 89 if (err_code) in main() 91 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_ir_test.c | 206 int err_code = 0; in ir_result_send() local 210 err_code = IR_QUERY_FAIL; in ir_result_send() 212 send_msg_to_server("key_test", result, err_code); in ir_result_send() 223 int err_code = 0; in main() local 254 err_code = IR_OPEN_FAIL; in main() 328 err_code = IR_EVENT_TIMEOUT; in main() 339 if (!err_code) in main() 342 send_msg_to_server(buf, result, err_code); in main() 344 return err_code; in main()
|
| H A D | echo_audio_play_test.c | 74 int delay_t = 0,err_code = 0; in main() local 96 err_code = AUDIO_PLAY_ERR; in main() 104 err_code = AUDIO_EVENT_TIMEOUT; in main() 108 if (err_code) in main() 110 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_usbhost_test.c | 95 int test_flag = 0,err_code = 0; in main() local 105 err_code = 0; in main() 109 err_code = SDCARD_MOUNT_ERR; in main() 113 err_code = SDCARD_TIMEOUT_ERR; in main() 135 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_sdcard_test.c | 88 int test_flag = 0,err_code = 0; in main() local 98 err_code = 0; in main() 102 err_code = SDCARD_MOUNT_ERR; in main() 106 err_code = SDCARD_TIMEOUT_ERR; in main() 127 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_key_test.c | 313 int err_code =0; in key_result_send() local 320 send_msg_to_server("key_test", result, err_code); in key_result_send() 332 int err_code = 0; in main() local 362 err_code = KEY_OPEN_FAIL; in main() 444 err_code = KEY_EVENT_TIMEOUT; in main() 455 if (!err_code) in main() 458 send_msg_to_server(buf, result, err_code); in main() 460 return err_code; in main()
|
| H A D | echo_audio_test.c | 63 int delay_t = 0,err_code = 0; in main() local 78 err_code = AUDIO_EVENT_TIMEOUT; in main() 82 if (err_code) in main() 84 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_led_test.c | 197 int test_flag = 0,err_code = 0; in main() local 214 err_code = LED_PROC_ERR; in main() 222 err_code = LED_TEST_TIMEOUT; in main() 226 if (err_code) in main() 228 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_audio_record_test.c | 88 int delay_t = 0,err_code = 0; in main() local 107 err_code = AUDIO_EVENT_TIMEOUT; in main() 111 if (err_code) in main() 113 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_camera_test.c | 40 int test_flag = 0,err_code = 0; in main() local 121 err_code = CAMERA_PROC_ERR; in main() 124 if (err_code) in main() 130 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | common.h | 210 #define send_msg_to_server(msg, result, err_code) \ argument 211 printf(TESTITEM_SEND_FORMAT, TESTITEM_SEND_HEAD, msg, result, err_code) 212 #define send_msg_to_buf(buf, msg, result, err_code) \ argument 213 snprintf(buf, COMMAND_VALUESIZE, TESTITEM_SEND_FORMAT, TESTITEM_SEND_HEAD, msg, result, err_code)
|
| H A D | echo_ddr_test.c | 98 int test_flag = 0,err_code = 0; in main() local 105 err_code = DDR_PROC_ERR; in main() 113 send_msg_to_server(buf, result, err_code); in main()
|
| H A D | echo_audio_linein_test.c | 280 int delay_t = 0,err_code = 0; in main() local 299 err_code = AUDIO_LINEIN_TIMEOUT; in main() 309 if (err_code) in main() 311 send_msg_to_server(buf, result, err_code); in main()
|
| /OK3568_Linux_fs/kernel/drivers/dma/qcom/ |
| H A D | hidma_ll.c | 100 enum err_code { enum 161 tre->err_code = 0; in hidma_ll_request() 189 u8 err_code) in hidma_post_completed() argument 222 tre->err_code = err_code; in hidma_post_completed() 240 u32 err_info, err_code, evre_write_off; in hidma_handle_tre_completion() local 264 err_code = in hidma_handle_tre_completion() 267 if (hidma_post_completed(lldev, err_info, err_code)) in hidma_handle_tre_completion() 304 u8 err_code) in hidma_cleanup_pending_tre() argument 307 if (hidma_post_completed(lldev, err_info, err_code)) in hidma_cleanup_pending_tre() 537 tre->err_code = 0; in hidma_ll_queue_request() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | iwpm_msg.c | 436 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_register_pid_cb() 505 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_mapping_cb() 511 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_mapping_cb() 561 u16 err_code; in iwpm_add_and_query_mapping_cb() local 586 err_code = nla_get_u16(nltb[IWPM_NLA_RQUERY_MAPPING_ERR]); in iwpm_add_and_query_mapping_cb() 587 if (err_code == IWPM_REMOTE_QUERY_REJECT) { in iwpm_add_and_query_mapping_cb() 590 nlmsg_request->err_code = IWPM_REMOTE_QUERY_REJECT; in iwpm_add_and_query_mapping_cb() 595 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_and_query_mapping_cb() 602 nlmsg_request->err_code = IWPM_USER_LIB_INFO_ERR; in iwpm_add_and_query_mapping_cb() 808 u16 err_code; in iwpm_mapping_error_cb() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/platform/rk/ |
| H A D | custom_log.h | 181 #define SET_ERROR_AND_JUMP(msg_fmt, ret_var, err_code, label, args...) \ argument 183 E("To set '" #ret_var "' to %d('" #err_code "'), because : " msg_fmt, \ 184 (err_code), \ 186 (ret_var) = (err_code); \
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/platform/rk/ |
| H A D | custom_log.h | 164 #define SET_ERROR_AND_JUMP(msg_fmt, ret_var, err_code, label, args...) \ argument 166 E("To set '" #ret_var "' to %d('" #err_code "'), because : " msg_fmt, \ 167 (err_code), \ 169 (ret_var) = (err_code); \
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
| H A D | custom_log.h | 181 #define SET_ERROR_AND_JUMP(msg_fmt, ret_var, err_code, label, args...) \ argument 183 E("To set '" #ret_var "' to %d('" #err_code "'), because : " msg_fmt, \ 184 (err_code), \ 186 (ret_var) = (err_code); \
|
| /OK3568_Linux_fs/kernel/drivers/scsi/bnx2i/ |
| H A D | 57xx_iscsi_hsi.h | 36 u8 err_code; member 40 u8 err_code; member 164 u8 err_code; member 168 u8 err_code; member 348 u8 err_code; member 352 u8 err_code; member 933 u8 err_code; member 937 u8 err_code; member 1063 u8 err_code; member 1067 u8 err_code; member [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/ |
| H A D | cvmx-wqe.h | 169 uint64_t err_code:8; member 171 uint64_t err_code:8; 218 uint64_t err_code:8; member 220 uint64_t err_code:8; 379 uint64_t err_code:8; member 381 uint64_t err_code:8;
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/ |
| H A D | i40iw_verbs.c | 518 int err_code; in i40iw_create_qp() local 574 err_code = -ENOMEM; in i40iw_create_qp() 584 err_code = i40iw_alloc_resource(iwdev, iwdev->allocated_qps, iwdev->max_qp, in i40iw_create_qp() 586 if (err_code) { in i40iw_create_qp() 606 err_code = -EOPNOTSUPP; in i40iw_create_qp() 612 err_code = ib_copy_from_udata(&req, udata, sizeof(req)); in i40iw_create_qp() 613 if (err_code) { in i40iw_create_qp() 632 err_code = -ENODATA; in i40iw_create_qp() 638 err_code = i40iw_setup_virt_qp(iwdev, iwqp, &init_info); in i40iw_create_qp() 640 err_code = i40iw_setup_kmode_qp(iwdev, iwqp, &init_info); in i40iw_create_qp() [all …]
|