Lines Matching refs:usr_cmd
4528 static int execute_delayed_cmd (sdla_t* card, netdevice_t *dev, mbox_cmd_t *usr_cmd,char bad_cmd) in execute_delayed_cmd() argument
4541 usr_cmd->cmd.lcn = chan->common.lcn; in execute_delayed_cmd()
4548 if ((!chan->common.svc) && (usr_cmd->cmd.command == X25_PLACE_CALL)){ in execute_delayed_cmd()
4568 memcpy(&mbox->cmd, &usr_cmd->cmd, sizeof(TX25Cmd)); in execute_delayed_cmd()
4569 if (usr_cmd->cmd.length){ in execute_delayed_cmd()
4570 memcpy(mbox->data, usr_cmd->data, usr_cmd->cmd.length); in execute_delayed_cmd()
4584 x25_error(card, err, usr_cmd->cmd.command, usr_cmd->cmd.lcn); in execute_delayed_cmd()
4638 if (x25_clear_call(card, usr_cmd->cmd.lcn, 0, 0) == CMD_OK){ in execute_delayed_cmd()
4663 if (x25_clear_call(card, usr_cmd->cmd.lcn, 0, 0) == CMD_OK){ in execute_delayed_cmd()
4764 mbox_cmd_t *usr_cmd = (mbox_cmd_t *)chan->common.mbox; in send_delayed_cmd_result() local
4777 if (!usr_cmd || !chan->common.sk || !chan->common.func){ in send_delayed_cmd_result()
4781 (unsigned int)usr_cmd); in send_delayed_cmd_result()
4785 memcpy(&usr_cmd->cmd, &mbox->cmd, sizeof(TX25Cmd)); in send_delayed_cmd_result()
4787 memcpy(usr_cmd->data, mbox->data, mbox->cmd.length); in send_delayed_cmd_result()
4867 mbox_cmd_t *usr_cmd = (mbox_cmd_t *)chan->common.mbox; in send_oob_msg() local
4879 if (!usr_cmd || !chan->common.sk || !chan->common.func){ in send_oob_msg()
4884 memcpy(&usr_cmd->cmd, &mbox->cmd, sizeof(TX25Cmd)); in send_oob_msg()
4886 memcpy(usr_cmd->data, mbox->data, mbox->cmd.length); in send_oob_msg()