• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/crypto/

Lines Matching refs:ap_msg

131  * @ap_msg: pointer to AP message
137 struct ap_message *ap_msg,
162 } __attribute__((packed)) *msg = ap_msg->message;
190 ap_msg->length = size;
198 * @ap_msg: pointer to AP message
204 struct ap_message *ap_msg,
230 } __attribute__((packed)) *msg = ap_msg->message;
257 ap_msg->length = size;
265 * @ap_msg: pointer to AP message
276 struct ap_message *ap_msg,
286 } __attribute__((packed)) *msg = ap_msg->message;
290 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen;
294 ap_msg->length = sizeof(struct type6_hdr) +
297 if (ap_msg->length > PCIXCC_MAX_XCRB_MESSAGE_SIZE)
334 ap_msg->special = 1;
336 ap_msg->special = 0;
350 * @ap_msg: pointer to AP message
353 struct ap_message *ap_msg,
364 } __attribute__((packed)) *msg = ap_msg->message;
392 ap_msg->length = sizeof *msg;
696 struct ap_message ap_msg;
702 ap_init_message(&ap_msg);
703 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL);
704 if (!ap_msg.message)
706 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
708 ap_msg.private = &resp_type;
709 rc = ICAMEX_msg_to_type6MEX_msgX(zdev, &ap_msg, mex);
713 ap_queue_message(zdev->ap_dev, &ap_msg);
716 rc = convert_response_ica(zdev, &ap_msg, mex->outputdata,
720 ap_cancel_message(zdev->ap_dev, &ap_msg);
722 free_page((unsigned long) ap_msg.message);
736 struct ap_message ap_msg;
742 ap_init_message(&ap_msg);
743 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL);
744 if (!ap_msg.message)
746 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
748 ap_msg.private = &resp_type;
749 rc = ICACRT_msg_to_type6CRT_msgX(zdev, &ap_msg, crt);
753 ap_queue_message(zdev->ap_dev, &ap_msg);
756 rc = convert_response_ica(zdev, &ap_msg, crt->outputdata,
760 ap_cancel_message(zdev->ap_dev, &ap_msg);
762 free_page((unsigned long) ap_msg.message);
776 struct ap_message ap_msg;
782 ap_init_message(&ap_msg);
783 ap_msg.message = kmalloc(PCIXCC_MAX_XCRB_MESSAGE_SIZE, GFP_KERNEL);
784 if (!ap_msg.message)
786 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
788 ap_msg.private = &resp_type;
789 rc = XCRB_msg_to_type6CPRB_msgX(zdev, &ap_msg, xcRB);
793 ap_queue_message(zdev->ap_dev, &ap_msg);
796 rc = convert_response_xcrb(zdev, &ap_msg, xcRB);
799 ap_cancel_message(zdev->ap_dev, &ap_msg);
801 kzfree(ap_msg.message);
816 struct ap_message ap_msg;
822 ap_init_message(&ap_msg);
823 ap_msg.message = kmalloc(PCIXCC_MAX_XCRB_MESSAGE_SIZE, GFP_KERNEL);
824 if (!ap_msg.message)
826 ap_msg.psmid = (((unsigned long long) current->pid) << 32) +
828 ap_msg.private = &resp_type;
829 rng_type6CPRB_msgX(zdev->ap_dev, &ap_msg, ZCRYPT_RNG_BUFFER_SIZE);
831 ap_queue_message(zdev->ap_dev, &ap_msg);
834 rc = convert_response_rng(zdev, &ap_msg, buffer);
837 ap_cancel_message(zdev->ap_dev, &ap_msg);
838 kfree(ap_msg.message);
981 struct ap_message ap_msg;
990 ap_init_message(&ap_msg);
991 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL);
992 if (!ap_msg.message)
995 rng_type6CPRB_msgX(ap_dev, &ap_msg, 4);
996 rc = ap_send(ap_dev->qid, 0x0102030405060708ULL, ap_msg.message,
997 ap_msg.length);
1004 rc = ap_recv(ap_dev->qid, &psmid, ap_msg.message, 4096);
1015 reply = ap_msg.message;
1021 free_page((unsigned long) ap_msg.message);