Lines Matching refs:prm
186 struct solos_param prm; in solos_param_show() local
210 prm.pid = current->pid; in solos_param_show()
211 prm.response = NULL; in solos_param_show()
212 prm.port = SOLOS_CHAN(atmdev); in solos_param_show()
215 list_add(&prm.list, &card->param_queue); in solos_param_show()
218 fpga_queue(card, prm.port, skb, NULL); in solos_param_show()
220 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); in solos_param_show()
223 list_del(&prm.list); in solos_param_show()
226 if (!prm.response) in solos_param_show()
229 buflen = prm.response->len; in solos_param_show()
230 memcpy(buf, prm.response->data, buflen); in solos_param_show()
231 kfree_skb(prm.response); in solos_param_show()
241 struct solos_param prm; in solos_param_store() local
266 prm.pid = current->pid; in solos_param_store()
267 prm.response = NULL; in solos_param_store()
268 prm.port = SOLOS_CHAN(atmdev); in solos_param_store()
271 list_add(&prm.list, &card->param_queue); in solos_param_store()
274 fpga_queue(card, prm.port, skb, NULL); in solos_param_store()
276 wait_event_timeout(card->param_wq, prm.response, 5 * HZ); in solos_param_store()
279 list_del(&prm.list); in solos_param_store()
282 skb = prm.response; in solos_param_store()
412 struct solos_param *prm; in process_command() local
431 list_for_each_entry(prm, &card->param_queue, list) { in process_command()
432 if (prm->port == port && prm->pid == cmdpid) { in process_command()
433 prm->response = skb; in process_command()