Home
last modified time | relevance | path

Searched refs:ap_queue (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dap_bus.h200 struct ap_queue { struct
225 #define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device)
227 typedef enum ap_sm_wait (ap_func_t)(struct ap_queue *queue);
239 void (*receive)(struct ap_queue *, struct ap_message *,
268 enum ap_sm_wait ap_sm_event(struct ap_queue *aq, enum ap_sm_event event);
269 enum ap_sm_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event);
271 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
272 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
273 void ap_flush_queue(struct ap_queue *aq);
285 void ap_queue_init_reply(struct ap_queue *a
[all...]
H A Dap_queue.c19 static void __ap_flush_queue(struct ap_queue *aq);
25 static inline bool ap_q_supports_bind(struct ap_queue *aq) in ap_q_supports_bind()
31 static inline bool ap_q_supports_assoc(struct ap_queue *aq) in ap_q_supports_assoc()
45 static int ap_queue_enable_irq(struct ap_queue *aq, void *ind) in ap_queue_enable_irq()
98 static enum ap_sm_wait ap_sm_nop(struct ap_queue *aq) in ap_sm_nop()
110 static struct ap_queue_status ap_sm_recv(struct ap_queue *aq) in ap_sm_recv()
182 static enum ap_sm_wait ap_sm_read(struct ap_queue *aq) in ap_sm_read()
221 static enum ap_sm_wait ap_sm_write(struct ap_queue *aq) in ap_sm_write()
283 static enum ap_sm_wait ap_sm_read_write(struct ap_queue *aq) in ap_sm_read_write()
294 static enum ap_sm_wait ap_sm_reset(struct ap_queue *a
[all...]
H A Dap_card.c81 struct ap_queue *aq; in request_count_store()
100 struct ap_queue *aq; in requestq_count_show()
119 struct ap_queue *aq; in pendingq_count_show()
H A DMakefile6 ap-objs := ap_bus.o ap_card.o ap_queue.o
H A Dzcrypt_queue.c44 struct ap_queue *aq = to_ap_queue(dev); in online_show()
55 struct ap_queue *aq = to_ap_queue(dev); in online_store()
H A Dzcrypt_api.h110 struct ap_queue *queue; /* The "real" ap queue device. */
H A Dap_bus.c448 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout()
488 struct ap_queue *aq; in ap_tasklet_fn()
512 struct ap_queue *aq; in ap_pending_requests()
657 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in ap_uevent()
986 struct ap_queue *ap_get_qdev(ap_qid_t qid) in ap_get_qdev()
989 struct ap_queue *aq; in ap_get_qdev()
1807 struct ap_queue *aq; in ap_scan_domains()
2247 /* init ap_queue hashtable */ in ap_module_init()
H A Dzcrypt_cex4.c649 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe()
714 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_remove()
H A Dzcrypt_msgtype50.c411 static void zcrypt_msgtype50_receive(struct ap_queue *aq, in zcrypt_msgtype50_receive()
H A Dzcrypt_msgtype6.c855 static void zcrypt_msgtype6_receive(struct ap_queue *aq, in zcrypt_msgtype6_receive()
919 static void zcrypt_msgtype6_receive_ep11(struct ap_queue *aq, in zcrypt_msgtype6_receive_ep11()
H A Dvfio_ap_ops.c285 * vfio_ap_irq_disable - disables and clears an ap_queue interrupt
1671 struct ap_queue *queue; in vfio_ap_find_queue()
/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dap_bus.h170 struct ap_queue { struct
193 #define to_ap_queue(x) container_of((x), struct ap_queue, ap_dev.device)
195 typedef enum ap_sm_wait (ap_func_t)(struct ap_queue *queue);
231 void (*receive)(struct ap_queue *, struct ap_message *,
266 enum ap_sm_wait ap_sm_event(struct ap_queue *aq, enum ap_sm_event event);
267 enum ap_sm_wait ap_sm_event_loop(struct ap_queue *aq, enum ap_sm_event event);
269 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
270 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
271 void ap_flush_queue(struct ap_queue *aq);
281 void ap_queue_init_reply(struct ap_queue *a
[all...]
H A Dap_queue.c19 static void __ap_flush_queue(struct ap_queue *aq);
30 static int ap_queue_enable_irq(struct ap_queue *aq, void *ind) in ap_queue_enable_irq()
122 static enum ap_sm_wait ap_sm_nop(struct ap_queue *aq) in ap_sm_nop()
134 static struct ap_queue_status ap_sm_recv(struct ap_queue *aq) in ap_sm_recv()
186 static enum ap_sm_wait ap_sm_read(struct ap_queue *aq) in ap_sm_read()
223 static enum ap_sm_wait ap_sm_write(struct ap_queue *aq) in ap_sm_write()
289 static enum ap_sm_wait ap_sm_read_write(struct ap_queue *aq) in ap_sm_read_write()
300 static enum ap_sm_wait ap_sm_reset(struct ap_queue *aq) in ap_sm_reset()
327 static enum ap_sm_wait ap_sm_reset_wait(struct ap_queue *aq) in ap_sm_reset_wait()
370 static enum ap_sm_wait ap_sm_setirq_wait(struct ap_queue *a
[all...]
H A Dap_card.c81 struct ap_queue *aq; in request_count_store()
100 struct ap_queue *aq; in requestq_count_show()
119 struct ap_queue *aq; in pendingq_count_show()
H A Dzcrypt_cex2a.c154 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_probe()
195 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2a_queue_remove()
H A Dzcrypt_cex2c.c181 static int zcrypt_cex2c_rng_supported(struct ap_queue *aq) in zcrypt_cex2c_rng_supported()
337 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_probe()
389 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex2c_queue_remove()
H A DMakefile6 ap-objs := ap_bus.o ap_card.o ap_queue.o
H A Dzcrypt_queue.c43 struct ap_queue *aq = to_ap_queue(dev); in online_show()
54 struct ap_queue *aq = to_ap_queue(dev); in online_store()
H A Dvfio_ap_ops.c188 * @dev: the device associated with the ap_queue
440 struct ap_queue *ap_queue = to_ap_queue(dev); in vfio_ap_has_queue() local
446 if (qid == ap_queue->qid) in vfio_ap_has_queue()
449 id = AP_QID_CARD(ap_queue->qid); in vfio_ap_has_queue()
453 id = AP_QID_QUEUE(ap_queue->qid); in vfio_ap_has_queue()
H A Dap_bus.c393 struct ap_queue *aq = from_timer(aq, t, timeout); in ap_request_timeout()
431 struct ap_queue *aq; in ap_tasklet_fn()
455 struct ap_queue *aq; in ap_pending_requests()
749 struct ap_queue *ap_get_qdev(ap_qid_t qid) in ap_get_qdev()
752 struct ap_queue *aq; in ap_get_qdev()
1317 struct ap_queue *aq; in ap_scan_domains()
1660 /* init ap_queue hashtable */ in ap_module_init()
H A Dzcrypt_api.h113 struct ap_queue *queue; /* The "real" ap queue device. */
H A Dzcrypt_cex4.c603 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_probe()
670 struct ap_queue *aq = to_ap_queue(&ap_dev->device); in zcrypt_cex4_queue_remove()
H A Dzcrypt_msgtype50.c427 static void zcrypt_cex2a_receive(struct ap_queue *aq, in zcrypt_cex2a_receive()
H A Dzcrypt_msgtype6.c928 static void zcrypt_msgtype6_receive(struct ap_queue *aq, in zcrypt_msgtype6_receive()
975 static void zcrypt_msgtype6_receive_ep11(struct ap_queue *aq, in zcrypt_msgtype6_receive_ep11()

Completed in 33 milliseconds