Lines Matching defs:head
654 void __iomem *head = wmi_addr(wil, r->head);
681 if (!head) {
682 wil_err(wil, "WMI head is garbage: 0x%08x\n", r->head);
688 /* read Tx head till it is not busy */
690 wil_memcpy_fromio_32(&d_head, head, sizeof(d_head));
696 wil_err(wil, "WMI head busy\n");
700 /* next head */
701 next_head = r->base + ((r->head - r->base + sizeof(d_head)) % r->size);
702 wil_dbg_wmi(wil, "Head 0x%08x -> 0x%08x\n", r->head, next_head);
739 wil_w(wil, r->head + offsetof(struct wil6210_mbox_ring_desc, sync), 1);
741 wil_w(wil, RGF_MBOX + offsetof(struct wil6210_mbox_ctl, tx.head),
742 r->head = next_head);
1933 r->head = wil_r(wil, RGF_MBOX +
1934 offsetof(struct wil6210_mbox_ctl, rx.head));
1935 if (r->tail == r->head)
1938 wil_dbg_wmi(wil, "Mbox head %08x tail %08x\n",
1939 r->head, r->tail);
3444 r->head = wil_r(wil, RGF_MBOX +
3445 offsetof(struct wil6210_mbox_ctl, rx.head));
3446 if (r->tail != r->head)