Lines Matching refs:shmem
179 icn_shmem *shmem; /* Pointer to memory-mapped-buffers */ member
208 #define sbfree (((readb(&dev.shmem->data_control.scns)+1) & 0xf) != \
209 readb(&dev.shmem->data_control.scnr))
212 #define sbnext (writeb((readb(&dev.shmem->data_control.scns)+1) & 0xf, \
213 &dev.shmem->data_control.scns))
216 #define sbuf_n dev.shmem->data_control.scns
217 #define sbuf_d dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].data
218 #define sbuf_l dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].length
219 #define sbuf_f dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].endflag
222 #define rbavl (readb(&dev.shmem->data_control.ecnr) != \
223 readb(&dev.shmem->data_control.ecns))
226 #define rbnext (writeb((readb(&dev.shmem->data_control.ecnr)+1) & 0xf, \
227 &dev.shmem->data_control.ecnr))
230 #define rbuf_n dev.shmem->data_control.ecnr
231 #define rbuf_d dev.shmem->data_buffers.receive_buf[readb(&rbuf_n)].data
232 #define rbuf_l dev.shmem->data_buffers.receive_buf[readb(&rbuf_n)].length
233 #define rbuf_f dev.shmem->data_buffers.receive_buf[readb(&rbuf_n)].endflag
236 #define cmd_o (dev.shmem->comm_control.pcio_o)
237 #define cmd_i (dev.shmem->comm_control.pcio_i)
245 #define msg_o (dev.shmem->comm_control.iopc_o)
246 #define msg_i (dev.shmem->comm_control.iopc_i)