• Home
  • Raw
  • Download

Lines Matching refs:rqt

76 static int process_rqt_info(const struct rqt_box *rqt)  in process_rqt_info()  argument
81 rsp->rsp = rqt->rqt; in process_rqt_info()
82 rsp->rsp_data = rqt->rqt_data; in process_rqt_info()
84 switch (rqt->rqt_data) { in process_rqt_info()
113 static int process_rqt_cmd(const struct rqt_box *rqt) in process_rqt_cmd() argument
118 rsp->rsp = rqt->rqt; in process_rqt_cmd()
119 rsp->rsp_data = rqt->rqt_data; in process_rqt_cmd()
121 switch (rqt->rqt_data) { in process_rqt_cmd()
136 printf("Command not supported -> cmd: %d\n", rqt->rqt_data); in process_rqt_cmd()
252 static long long int process_rqt_download(const struct rqt_box *rqt) in process_rqt_download() argument
260 rsp->rsp = rqt->rqt; in process_rqt_download()
261 rsp->rsp_data = rqt->rqt_data; in process_rqt_download()
263 switch (rqt->rqt_data) { in process_rqt_download()
265 thor_file_size = (unsigned long long int)rqt->int_data[0] + in process_rqt_download()
266 (((unsigned long long int)rqt->int_data[1]) in process_rqt_download()
271 file_type = rqt->int_data[0]; in process_rqt_download()
279 thor_file_size = (unsigned long long int)rqt->int_data[1] + in process_rqt_download()
280 (((unsigned long long int)rqt->int_data[2]) in process_rqt_download()
282 memcpy(f_name, rqt->str_data[0], F_NAME_BUF_SIZE); in process_rqt_download()
318 pr_err("Operation not supported: %d", rqt->rqt_data); in process_rqt_download()
328 ALLOC_CACHE_ALIGN_BUFFER(struct rqt_box, rqt, sizeof(struct rqt_box)); in process_data()
331 memcpy(rqt, thor_rx_data_buf, sizeof(struct rqt_box)); in process_data()
333 debug("+RQT: %d, %d\n", rqt->rqt, rqt->rqt_data); in process_data()
335 switch (rqt->rqt) { in process_data()
337 ret = process_rqt_info(rqt); in process_data()
340 ret = process_rqt_cmd(rqt); in process_data()
343 ret = (int) process_rqt_download(rqt); in process_data()
349 pr_err("unknown request (%d)", rqt->rqt); in process_data()