Home
last modified time | relevance | path

Searched refs:rb_base (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/misc/mic/scif/
Dscif_rb.c37 void *rb_base, u8 size) in scif_rb_init() argument
39 rb->rb_base = rb_base; in scif_rb_init()
53 if (header + size >= rb->rb_base + rb->size) { in memcpy_torb()
55 size1 = (u32)(rb->rb_base + rb->size - header); in memcpy_torb()
58 memcpy_toio((void __iomem __force *)rb->rb_base, in memcpy_torb()
71 if (header + size >= rb->rb_base + rb->size) { in memcpy_fromrb()
73 size1 = (u32)(rb->rb_base + rb->size - header); in memcpy_fromrb()
77 (void __iomem __force *)rb->rb_base, size2); in memcpy_fromrb()
117 header = rb->rb_base + rb->current_write_offset; in scif_rb_write()
167 header = rb->rb_base + rb->current_read_offset; in scif_rb_get()
Dscif_rb.h74 void *rb_base; member
84 void *rb_base, u8 size);
Dscif_epd.c25 if (qp->outbound_q.rb_base) { in scif_cleanup_ep_qp()
26 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_ep_qp()
28 qp->outbound_q.rb_base = NULL; in scif_cleanup_ep_qp()
56 kfree(qp->inbound_q.rb_base); in scif_teardown_ep()
Dscif_nm.c67 kfree(qp->inbound_q.rb_base); in scif_free_qp()
80 scif_iounmap((void *)qp->outbound_q.rb_base, in scif_cleanup_qp()
Dscif_nodeqp.c108 void *local_q = qp->inbound_q.rb_base; in scif_setup_qp_connect()
223 qp->outbound_q.rb_base = NULL; in scif_setup_qp_accept()
278 qp->inbound_q.rb_base, in scif_setup_qp_connect_response()
1302 kfree(scifdev->qpairs->outbound_q.rb_base); in scif_destroy_loopback_qp()