Searched refs:REG_READ (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/contrib/dev/athk/ |
H A D | hw.c | 23 #define REG_READ (common->ops->read) macro 124 id1 = REG_READ(ah, AR_STA_ID1) & ~AR_STA_ID1_SADH_MASK; in ath_hw_setbssidmask() 151 cycles = REG_READ(ah, AR_CCCNT); in ath_hw_cycle_counters_update() 152 busy = REG_READ(ah, AR_RCCNT); in ath_hw_cycle_counters_update() 153 rx = REG_READ(ah, AR_RFCNT); in ath_hw_cycle_counters_update() 154 tx = REG_READ(ah, AR_TFCNT); in ath_hw_cycle_counters_update()
|
H A D | key.c | 25 #define REG_READ (common->ops->read) macro 53 keyType = REG_READ(ah, AR_KEYTABLE_TYPE(entry)); in ath_hw_keyreset()
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_reset.c | 1737 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_reset() macro 1741 REG_READ(AR_SOC_RST_RESET) | AR_SOC_WLAN_RST); in ar9300_set_reset() 1743 REG_READ(AR_SOC_RST_RESET) & (~AR_SOC_WLAN_RST)); in ar9300_set_reset() 1748 tmp_reg = REG_READ(AR_SOC_BOOT_STRAP); in ar9300_set_reset() 1760 #undef REG_READ in ar9300_set_reset() 1794 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_reset() macro 1840 REG_WRITE(RST_RESET, (REG_READ(RST_RESET) | RTC_RESET)); in ar9300_set_reset() 1842 REG_WRITE(RST_RESET, (REG_READ(RST_RESET) & ~RTC_RESET)); in ar9300_set_reset() 1850 #undef REG_READ in ar9300_set_reset() 1976 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_phy_disable() macro [all …]
|
H A D | ar9300_attach.c | 595 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_read_revisions() macro 596 if ((REG_READ(AR_SOC_RST_REVISION_ID) & AR_SREV_REVISION_HORNET_11_MASK) in ar9300_read_revisions() 603 #undef REG_READ in ar9300_read_revisions() 610 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_read_revisions() macro 613 REG_READ(AR_SOC_RST_REVISION_ID) & AR_SREV_REVISION_WASP_MASK; in ar9300_read_revisions() 614 #undef REG_READ in ar9300_read_revisions() 775 #define REG_READ(_reg) (*((volatile u_int32_t *)(_reg))) in ar9300_attach() macro 776 if (REG_READ(AR_SOC_SEL_25M_40M) & 0x1) { in ar9300_attach() 785 #undef REG_READ in ar9300_attach() 796 #define REG_READ(_reg) (*((volatile u_int32_t *)(_reg))) in ar9300_attach() macro [all …]
|
H A D | ar9300_misc.c | 2778 #define REG_READ(_reg) *((volatile u_int32_t *)(_reg)) in ar9300_set_proxy_sta() macro 2779 wasp_mm_rev = (REG_READ(AR_SOC_RST_REVISION_ID) & in ar9300_set_proxy_sta() 2783 #undef REG_READ in ar9300_set_proxy_sta()
|
/freebsd/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312reg.h | 31 #define REG_READ(_reg) *((volatile uint32_t *)(_reg)) macro
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox.c | 50 #define REG_READ 0x00 macro 110 msg = mbox_read_4(sc, REG_READ); in bcm_mbox_read_msg() 200 (void)mbox_read_4(sc, REG_READ); in bcm_mbox_attach()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | nvm_map.h | 240 #define E5_BACKUP_KEY_CHAIN_ADDR ((0x20000 << (REG_READ(0, MCP_REG_NVM_CFG4) & 0x7)) - 0x1000)
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | mcu.c | 58 } else if (cmd == MCU_CE_QUERY(REG_READ)) { in mt7921_mcu_parse_response()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mcu.c | 171 } else if (cmd == MCU_CE_QUERY(REG_READ)) { in mt7615_mcu_parse_response()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 2669 return mt76_mcu_send_msg(dev, MCU_CE_QUERY(REG_READ), &req, in mt76_connac_mcu_reg_rr()
|