Home
last modified time | relevance | path

Searched refs:ap_msg (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_msgtype6.c162 struct ap_message *ap_msg, in ICAMEX_msg_to_type6MEX_msgX() argument
187 } __packed * msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msgX()
215 ap_msg->length = size; in ICAMEX_msg_to_type6MEX_msgX()
229 struct ap_message *ap_msg, in ICACRT_msg_to_type6CRT_msgX() argument
255 } __packed * msg = ap_msg->message; in ICACRT_msg_to_type6CRT_msgX()
282 ap_msg->length = size; in ICACRT_msg_to_type6CRT_msgX()
301 struct ap_message *ap_msg, in XCRB_msg_to_type6CPRB_msgX() argument
311 } __packed * msg = ap_msg->message; in XCRB_msg_to_type6CPRB_msgX()
315 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX()
323 ap_msg->length = sizeof(struct type6_hdr) + in XCRB_msg_to_type6CPRB_msgX()
[all …]
Dzcrypt_msgtype50.c186 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument
195 struct type50_meb1_msg *meb1 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
197 ap_msg->length = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
205 struct type50_meb2_msg *meb2 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
207 ap_msg->length = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
216 struct type50_meb3_msg *meb3 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
218 ap_msg->length = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg()
244 struct ap_message *ap_msg, in ICACRT_msg_to_type50CRT_msg() argument
260 struct type50_crb1_msg *crb1 = ap_msg->message; in ICACRT_msg_to_type50CRT_msg()
262 ap_msg->length = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
[all …]
Dap_bus.h244 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument
246 ap_msg->psmid = 0; in ap_init_message()
247 ap_msg->length = 0; in ap_init_message()
248 ap_msg->rc = 0; in ap_init_message()
249 ap_msg->special = 0; in ap_init_message()
250 ap_msg->receive = NULL; in ap_init_message()
261 void ap_queue_message(struct ap_device *ap_dev, struct ap_message *ap_msg);
262 void ap_cancel_message(struct ap_device *ap_dev, struct ap_message *ap_msg);
Dzcrypt_pcixcc.c216 struct ap_message ap_msg; in zcrypt_pcixcc_rng_supported() local
225 ap_init_message(&ap_msg); in zcrypt_pcixcc_rng_supported()
226 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_pcixcc_rng_supported()
227 if (!ap_msg.message) in zcrypt_pcixcc_rng_supported()
230 rng_type6CPRB_msgX(ap_dev, &ap_msg, 4); in zcrypt_pcixcc_rng_supported()
231 rc = ap_send(ap_dev->qid, 0x0102030405060708ULL, ap_msg.message, in zcrypt_pcixcc_rng_supported()
232 ap_msg.length); in zcrypt_pcixcc_rng_supported()
239 rc = ap_recv(ap_dev->qid, &psmid, ap_msg.message, 4096); in zcrypt_pcixcc_rng_supported()
250 reply = ap_msg.message; in zcrypt_pcixcc_rng_supported()
256 free_page((unsigned long) ap_msg.message); in zcrypt_pcixcc_rng_supported()
Dap_bus.c554 struct ap_message *ap_msg; in ap_sm_recv() local
565 list_for_each_entry(ap_msg, &ap_dev->pendingq, list) { in ap_sm_recv()
566 if (ap_msg->psmid != ap_dev->reply->psmid) in ap_sm_recv()
568 list_del_init(&ap_msg->list); in ap_sm_recv()
570 ap_msg->receive(ap_dev, ap_msg, ap_dev->reply); in ap_sm_recv()
628 struct ap_message *ap_msg; in ap_sm_write() local
633 ap_msg = list_entry(ap_dev->requestq.next, struct ap_message, list); in ap_sm_write()
634 status = __ap_send(ap_dev->qid, ap_msg->psmid, in ap_sm_write()
635 ap_msg->message, ap_msg->length, ap_msg->special); in ap_sm_write()
643 list_move_tail(&ap_msg->list, &ap_dev->pendingq); in ap_sm_write()
[all …]
Dzcrypt_msgtype6.h126 struct ap_message *ap_msg, in rng_type6CPRB_msgX() argument
137 } __packed * msg = ap_msg->message; in rng_type6CPRB_msgX()
165 ap_msg->length = sizeof(*msg); in rng_type6CPRB_msgX()