Searched refs:ap_msg (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 162 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 …]
|
D | zcrypt_msgtype50.c | 186 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 …]
|
D | zcrypt_pcica.c | 85 struct ap_message *ap_msg, in ICAMEX_msg_to_type4MEX_msg() argument 94 struct type4_sme *sme = ap_msg->message; in ICAMEX_msg_to_type4MEX_msg() 96 ap_msg->length = sizeof(*sme); in ICAMEX_msg_to_type4MEX_msg() 105 struct type4_lme *lme = ap_msg->message; in ICAMEX_msg_to_type4MEX_msg() 107 ap_msg->length = sizeof(*lme); in ICAMEX_msg_to_type4MEX_msg() 134 struct ap_message *ap_msg, in ICACRT_msg_to_type4CRT_msg() argument 145 struct type4_scr *scr = ap_msg->message; in ICACRT_msg_to_type4CRT_msg() 147 ap_msg->length = sizeof(*scr); in ICACRT_msg_to_type4CRT_msg() 159 struct type4_lcr *lcr = ap_msg->message; in ICACRT_msg_to_type4CRT_msg() 161 ap_msg->length = sizeof(*lcr); in ICACRT_msg_to_type4CRT_msg() [all …]
|
D | zcrypt_pcicc.c | 155 struct ap_message *ap_msg, in ICAMEX_msg_to_type6MEX_msg() argument 176 } __attribute__((packed)) *msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msg() 228 ap_msg->length = (size + 3) & -4; in ICAMEX_msg_to_type6MEX_msg() 242 struct ap_message *ap_msg, in ICACRT_msg_to_type6CRT_msg() argument 263 } __attribute__((packed)) *msg = ap_msg->message; in ICACRT_msg_to_type6CRT_msg() 292 ap_msg->length = (size + 3) & -4; in ICACRT_msg_to_type6CRT_msg() 492 struct ap_message ap_msg; in zcrypt_pcicc_modexpo() local 496 ap_init_message(&ap_msg); in zcrypt_pcicc_modexpo() 497 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_pcicc_modexpo() 498 if (!ap_msg.message) in zcrypt_pcicc_modexpo() [all …]
|
D | zcrypt_pcixcc.c | 216 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()
|
D | ap_bus.h | 219 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 221 ap_msg->psmid = 0; in ap_init_message() 222 ap_msg->length = 0; in ap_init_message() 223 ap_msg->special = 0; in ap_init_message() 224 ap_msg->receive = NULL; in ap_init_message() 235 void ap_queue_message(struct ap_device *ap_dev, struct ap_message *ap_msg); 236 void ap_cancel_message(struct ap_device *ap_dev, struct ap_message *ap_msg);
|
D | ap_bus.c | 941 struct ap_message *ap_msg, *next; in __ap_flush_queue() local 943 list_for_each_entry_safe(ap_msg, next, &ap_dev->pendingq, list) { in __ap_flush_queue() 944 list_del_init(&ap_msg->list); in __ap_flush_queue() 946 ap_msg->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV)); in __ap_flush_queue() 948 list_for_each_entry_safe(ap_msg, next, &ap_dev->requestq, list) { in __ap_flush_queue() 949 list_del_init(&ap_msg->list); in __ap_flush_queue() 951 ap_msg->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV)); in __ap_flush_queue() 1563 struct ap_message *ap_msg; in ap_poll_read() local 1573 list_for_each_entry(ap_msg, &ap_dev->pendingq, list) { in ap_poll_read() 1574 if (ap_msg->psmid != ap_dev->reply->psmid) in ap_poll_read() [all …]
|
D | zcrypt_msgtype6.h | 126 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()
|