Lines Matching refs:HFA384X_INW
153 regs->cmd = HFA384X_INW(HFA384X_CMD_OFF); in hfa384x_read_regs()
154 regs->evstat = HFA384X_INW(HFA384X_EVSTAT_OFF); in hfa384x_read_regs()
155 regs->offset0 = HFA384X_INW(HFA384X_OFFSET0_OFF); in hfa384x_read_regs()
156 regs->offset1 = HFA384X_INW(HFA384X_OFFSET1_OFF); in hfa384x_read_regs()
157 regs->swsupport0 = HFA384X_INW(HFA384X_SWSUPPORT0_OFF); in hfa384x_read_regs()
266 while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { in hfa384x_cmd_issue()
279 reg = HFA384X_INW(HFA384X_CMD_OFF); in hfa384x_cmd_issue()
428 u16 reg = HFA384X_INW(HFA384X_EVSTAT_OFF); in hfa384x_cmd()
433 HFA384X_INW(HFA384X_INTEN_OFF)); in hfa384x_cmd()
546 while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { in __hfa384x_cmd_no_wait()
551 reg = HFA384X_INW(HFA384X_CMD_OFF); in __hfa384x_cmd_no_wait()
587 while (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD) && in hfa384x_cmd_wait()
593 reg = HFA384X_INW(HFA384X_EVSTAT_OFF); in hfa384x_cmd_wait()
600 res = (HFA384X_INW(HFA384X_STATUS_OFF) & in hfa384x_cmd_wait()
672 entry->resp0 = HFA384X_INW(HFA384X_RESP0_OFF); in prism2_cmd_ev()
673 entry->res = (HFA384X_INW(HFA384X_STATUS_OFF) & in prism2_cmd_ev()
722 int res = HFA384X_INW(o_off) & HFA384X_OFFSET_BUSY; in hfa384x_wait_offset()
727 res = HFA384X_INW(o_off) & HFA384X_OFFSET_BUSY; in hfa384x_wait_offset()
770 if (HFA384X_INW(o_off) & HFA384X_OFFSET_ERR) { in hfa384x_setup_bap()
774 dev->name, bap, id, offset, HFA384X_INW(o_off)); in hfa384x_setup_bap()
973 while (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_ALLOC) && in hfa384x_allocate_fid()
976 if (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_ALLOC)) { in hfa384x_allocate_fid()
981 fid = HFA384X_INW(HFA384X_ALLOCFID_OFF); in hfa384x_allocate_fid()
1301 if (first && (HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD)) { in prism2_hw_init()
1313 while (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD) && in prism2_hw_init()
1316 if (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD)) { in prism2_hw_init()
1356 if (HFA384X_INW(HFA384X_SWSUPPORT0_OFF) != HFA384X_MAGIC) { in prism2_hw_init2()
1358 HFA384X_INW(HFA384X_SWSUPPORT0_OFF), HFA384X_MAGIC); in prism2_hw_init2()
1891 val = HFA384X_INW(reg); in prism2_read_fid_reg()
1892 val2 = HFA384X_INW(reg); in prism2_read_fid_reg()
1893 val3 = HFA384X_INW(reg); in prism2_read_fid_reg()
1910 return HFA384X_INW(reg); in prism2_read_fid_reg()
1929 rxfid = HFA384X_INW(HFA384X_RXFID_OFF); in prism2_rx()
2138 HFA384X_INW(HFA384X_ALLOCFID_OFF)); in prism2_alloc_ev()
2405 fid = HFA384X_INW(HFA384X_INFOFID_OFF); in prism2_info()
2478 ev = HFA384X_INW(HFA384X_EVSTAT_OFF); in hostap_bap_tasklet()
2533 evstat = HFA384X_INW(HFA384X_EVSTAT_OFF); in prism2_ev_tick()
2534 inten = HFA384X_INW(HFA384X_INTEN_OFF); in prism2_ev_tick()
2567 if (HFA384X_INW(HFA384X_SWSUPPORT0_OFF) != HFA384X_MAGIC) { in prism2_check_magic()
2574 HFA384X_INW(HFA384X_SWSUPPORT0_OFF), in prism2_check_magic()
2580 HFA384X_INW(HFA384X_SWSUPPORT0_OFF), in prism2_check_magic()
2583 if (HFA384X_INW(HFA384X_SWSUPPORT0_OFF) != 0xffff) in prism2_check_magic()
2629 ev = HFA384X_INW(HFA384X_EVSTAT_OFF); in prism2_interrupt()
2639 ev &= HFA384X_INW(HFA384X_INTEN_OFF); in prism2_interrupt()
2653 ev = HFA384X_INW(HFA384X_EVSTAT_OFF); in prism2_interrupt()
2664 HFA384X_INW(HFA384X_INTEN_OFF), in prism2_interrupt()
2711 HFA384X_INW(HFA384X_EVSTAT_OFF)); in prism2_interrupt()
2883 return HFA384X_INW(reg); in hfa384x_read_reg()