Lines Matching refs:REG_READ
39 if (!(REG_READ(ah, address) & bit_position)) { in ar9003_mci_wait_for_interrupt()
71 REG_READ(ah, AR_MCI_INTERRUPT_RAW), in ar9003_mci_wait_for_interrupt()
72 REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW)); in ar9003_mci_wait_for_interrupt()
232 saved_mci_int_en = REG_READ(ah, AR_MCI_INTERRUPT_EN); in ar9003_mci_prep_interface()
236 REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW)); in ar9003_mci_prep_interface()
238 REG_READ(ah, AR_MCI_INTERRUPT_RAW)); in ar9003_mci_prep_interface()
351 intr = REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW); in ar9003_mci_check_int()
375 rx_msg_intr = REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW); in ar9003_mci_get_isr()
376 raw_intr = REG_READ(ah, AR_MCI_INTERRUPT_RAW); in ar9003_mci_get_isr()
387 mci->cont_status = REG_READ(ah, AR_MCI_CONT_STATUS); in ar9003_mci_get_isr()
928 if (REG_READ(ah, AR_BTCOEX_CTRL) == 0xdeadbeef) { in ar9003_mci_reset()
986 regval = REG_READ(ah, AR_MCI_COMMAND2); in ar9003_mci_reset()
1176 saved_mci_int_en = REG_READ(ah, AR_MCI_INTERRUPT_EN); in ar9003_mci_send_message()
1177 regval = REG_READ(ah, AR_BTCOEX_CTRL); in ar9003_mci_send_message()
1298 value = REG_READ(ah, AR_BTCOEX_CTRL); in ar9003_mci_state()
1306 value = MS(REG_READ(ah, AR_MCI_GPM_1), AR_MCI_GPM_WRITE_PTR); in ar9003_mci_state()
1314 value = MS(REG_READ(ah, AR_MCI_RX_STATUS), in ar9003_mci_state()
1320 value = MS(REG_READ(ah, AR_MCI_RX_STATUS), in ar9003_mci_state()
1340 if ((REG_READ(ah, AR_GLB_GPIO_CONTROL) & in ar9003_mci_state()
1429 btcoex_ctrl2 = REG_READ(ah, AR_BTCOEX_CTRL2); in ar9003_mci_set_power_awake()
1437 diag_sw = REG_READ(ah, AR_DIAG_SW); in ar9003_mci_set_power_awake()
1443 lna_ctrl = REG_READ(ah, AR_OBS_BUS_CTRL) & 0x3; in ar9003_mci_set_power_awake()
1444 bt_sleep = MS(REG_READ(ah, AR_MCI_RX_STATUS), AR_MCI_RX_REMOTE_SLEEP); in ar9003_mci_set_power_awake()
1465 offset = MS(REG_READ(ah, AR_MCI_GPM_1), AR_MCI_GPM_WRITE_PTR); in ar9003_mci_check_gpm_offset()
1492 gpm_ptr = MS(REG_READ(ah, AR_MCI_GPM_1), AR_MCI_GPM_WRITE_PTR); in ar9003_mci_get_next_gpm_offset()