Lines Matching refs:shmem
128 struct myri_shmem *shmem = mp->shmem; in bang_the_chip() local
131 sbus_writel(1, &shmem->send); in bang_the_chip()
137 struct myri_shmem *shmem = mp->shmem; in myri_do_handshake() local
139 struct myri_channel *chan = &shmem->channel; in myri_do_handshake()
155 sbus_writel(1, &shmem->shakedown); in myri_do_handshake()
186 struct myri_shmem *shmem = mp->shmem; in myri_load_lanai() local
209 sbus_writeb(0, &shmem->addr[0]); in myri_load_lanai()
210 sbus_writeb(0, &shmem->addr[1]); in myri_load_lanai()
213 &shmem->addr[i + 2]); in myri_load_lanai()
216 sbus_writel(((mp->myri_bursts & 0xf8) >> 3), &shmem->burst); in myri_load_lanai()
217 sbus_writel(SHMEM_IMASK_RX, &shmem->imask); in myri_load_lanai()
226 if (sbus_readl(&shmem->channel.state) != STATE_READY) in myri_load_lanai()
548 struct myri_channel *chan = &mp->shmem->channel; in myri_interrupt()
1018 mp->shmem = (struct myri_shmem *) &mp->lanai[mp->shmem_base]; in myri_ether_init()
1019 DET(("shmem mapped at %p\n", mp->shmem)); in myri_ether_init()
1021 mp->rqack = &mp->shmem->channel.recvqa; in myri_ether_init()
1022 mp->rq = &mp->shmem->channel.recvq; in myri_ether_init()
1023 mp->sq = &mp->shmem->channel.sendq; in myri_ether_init()