Lines Matching refs:result

207 	int result;  in fjes_hw_setup()  local
235 result = fjes_hw_alloc_shared_status_region(hw); in fjes_hw_setup()
236 if (result) in fjes_hw_setup()
237 return result; in fjes_hw_setup()
246 result = fjes_hw_alloc_epbuf(&buf_pair->tx); in fjes_hw_setup()
247 if (result) in fjes_hw_setup()
248 return result; in fjes_hw_setup()
250 result = fjes_hw_alloc_epbuf(&buf_pair->rx); in fjes_hw_setup()
251 if (result) in fjes_hw_setup()
252 return result; in fjes_hw_setup()
422 int result; in fjes_hw_request_info() local
435 result = 0; in fjes_hw_request_info()
440 result = -ENOMSG; in fjes_hw_request_info()
444 result = 0; in fjes_hw_request_info()
447 result = -EPERM; in fjes_hw_request_info()
453 result = -EPERM; in fjes_hw_request_info()
457 result = -EBUSY; in fjes_hw_request_info()
460 result = -EPERM; in fjes_hw_request_info()
463 result = -EPERM; in fjes_hw_request_info()
466 result = -EPERM; in fjes_hw_request_info()
471 return result; in fjes_hw_request_info()
484 int result; in fjes_hw_register_buff_addr() local
541 result = 0; in fjes_hw_register_buff_addr()
548 result = -ENOMSG; in fjes_hw_register_buff_addr()
552 result = 0; in fjes_hw_register_buff_addr()
557 result = -EBUSY; in fjes_hw_register_buff_addr()
560 result = -EPERM; in fjes_hw_register_buff_addr()
566 result = -EPERM; in fjes_hw_register_buff_addr()
570 result = -EBUSY; in fjes_hw_register_buff_addr()
575 result = -EPERM; in fjes_hw_register_buff_addr()
580 return result; in fjes_hw_register_buff_addr()
590 int result; in fjes_hw_unregister_buff_addr() local
631 result = 0; in fjes_hw_unregister_buff_addr()
638 result = -ENOMSG; in fjes_hw_unregister_buff_addr()
642 result = 0; in fjes_hw_unregister_buff_addr()
647 result = -EBUSY; in fjes_hw_unregister_buff_addr()
650 result = -EPERM; in fjes_hw_unregister_buff_addr()
656 result = -EPERM; in fjes_hw_unregister_buff_addr()
660 result = -EBUSY; in fjes_hw_unregister_buff_addr()
665 result = -EPERM; in fjes_hw_unregister_buff_addr()
670 return result; in fjes_hw_unregister_buff_addr()
1185 int result = 0; in fjes_hw_start_debug() local
1217 result = -ENOMSG; in fjes_hw_start_debug()
1222 result = 0; in fjes_hw_start_debug()
1225 result = -EPERM; in fjes_hw_start_debug()
1231 result = -EPERM; in fjes_hw_start_debug()
1235 result = -EBUSY; in fjes_hw_start_debug()
1240 result = -EPERM; in fjes_hw_start_debug()
1245 return result; in fjes_hw_start_debug()
1253 int result = 0; in fjes_hw_stop_debug() local
1270 result = -ENOMSG; in fjes_hw_stop_debug()
1274 result = 0; in fjes_hw_stop_debug()
1278 result = -EPERM; in fjes_hw_stop_debug()
1284 result = -EPERM; in fjes_hw_stop_debug()
1287 result = -EBUSY; in fjes_hw_stop_debug()
1293 result = -EPERM; in fjes_hw_stop_debug()
1298 return result; in fjes_hw_stop_debug()