/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_8822b/ |
D | halmac_func_8822b.c | 161 u16 value16; in halmac_txdma_queue_mapping_8822b() local 194 value16 = 0; in halmac_txdma_queue_mapping_8822b() 195 value16 |= BIT_TXDMA_HIQ_MAP( in halmac_txdma_queue_mapping_8822b() 197 value16 |= BIT_TXDMA_MGQ_MAP( in halmac_txdma_queue_mapping_8822b() 199 value16 |= BIT_TXDMA_BKQ_MAP( in halmac_txdma_queue_mapping_8822b() 201 value16 |= BIT_TXDMA_BEQ_MAP( in halmac_txdma_queue_mapping_8822b() 203 value16 |= BIT_TXDMA_VIQ_MAP( in halmac_txdma_queue_mapping_8822b() 205 value16 |= BIT_TXDMA_VOQ_MAP( in halmac_txdma_queue_mapping_8822b() 207 HALMAC_REG_WRITE_16(halmac_adapter, REG_TXDMA_PQ_MAP, value16); in halmac_txdma_queue_mapping_8822b()
|
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/ |
D | halmac_api_88xx_sdio.c | 259 } value16 = {0x0000}; in halmac_reg_read_16_sdio_88xx() local 287 value16.byte[0] = in halmac_reg_read_16_sdio_88xx() 289 value16.byte[1] = PLATFORM_SDIO_CMD52_READ(driver_adapter, in halmac_reg_read_16_sdio_88xx() 291 value16.word = le16_to_cpu(value16.le_word); in halmac_reg_read_16_sdio_88xx() 295 value16.byte[0] = PLATFORM_SDIO_CMD52_READ( in halmac_reg_read_16_sdio_88xx() 297 value16.byte[1] = PLATFORM_SDIO_CMD52_READ( in halmac_reg_read_16_sdio_88xx() 299 value16.word = le16_to_cpu(value16.word); in halmac_reg_read_16_sdio_88xx() 301 value16.word = PLATFORM_SDIO_CMD53_READ_16( in halmac_reg_read_16_sdio_88xx() 305 value16.word = PLATFORM_SDIO_CMD53_READ_16(driver_adapter, in halmac_reg_read_16_sdio_88xx() 310 return value16.word; in halmac_reg_read_16_sdio_88xx()
|
D | halmac_api_88xx_usb.c | 260 } value16 = {0x0000}; in halmac_reg_read_16_usb_88xx() local 271 value16.word = PLATFORM_REG_READ_16(driver_adapter, halmac_offset); in halmac_reg_read_16_usb_88xx() 273 return value16.word; in halmac_reg_read_16_usb_88xx()
|
D | halmac_api_88xx.c | 380 u16 value16; in halmac_download_firmware_88xx() local 544 value16 = 0x8000; in halmac_download_firmware_88xx() 546 value16); /* Set beacon header to 0 */ in halmac_download_firmware_88xx() 548 value16 = (u16)(HALMAC_REG_READ_16(halmac_adapter, REG_MCUFW_CTRL) & in halmac_download_firmware_88xx() 550 value16 |= BIT(0); in halmac_download_firmware_88xx() 552 value16); /* MCU/FW setting */ in halmac_download_firmware_88xx()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 106 u16 value16; in _InitPowerOn_8723BS() local 148 value16 = rtw_read16(padapter, REG_APS_FSMCO); in _InitPowerOn_8723BS() 149 value16 |= EnPDN; /* Enable HW power down and RF on */ in _InitPowerOn_8723BS() 150 rtw_write16(padapter, REG_APS_FSMCO, value16); in _InitPowerOn_8723BS() 158 value16 = rtw_read16(padapter, REG_CR); in _InitPowerOn_8723BS() 159 value16 |= ( in _InitPowerOn_8723BS() 169 rtw_write16(padapter, REG_CR, value16); in _InitPowerOn_8723BS() 177 value16 = rtw_read16(padapter, REG_PWR_DATA); in _InitPowerOn_8723BS() 179 value16 |= BIT(11); /* BIT_EEPRPAD_RFE_CTRL_EN */ in _InitPowerOn_8723BS() 180 rtw_write16(padapter, REG_PWR_DATA, value16); in _InitPowerOn_8723BS() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 442 u16 value16; in _rtl92cu_init_power_on() local 478 value16 = rtl_read_word(rtlpriv, REG_APS_FSMCO); in _rtl92cu_init_power_on() 479 value16 |= APFM_ONMAC; in _rtl92cu_init_power_on() 480 rtl_write_word(rtlpriv, REG_APS_FSMCO, value16); in _rtl92cu_init_power_on() 494 value16 = rtl_read_word(rtlpriv, REG_SYS_ISO_CTRL); in _rtl92cu_init_power_on() 495 value16 &= ~ISO_DIOR; in _rtl92cu_init_power_on() 496 rtl_write_word(rtlpriv, REG_SYS_ISO_CTRL, value16); in _rtl92cu_init_power_on() 506 value16 = rtl_read_word(rtlpriv, REG_CR); in _rtl92cu_init_power_on() 507 value16 |= (HCI_TXDMA_EN | HCI_RXDMA_EN | TXDMA_EN | RXDMA_EN | in _rtl92cu_init_power_on() 509 rtl_write_word(rtlpriv, REG_CR, value16); in _rtl92cu_init_power_on() [all …]
|
D | mac.c | 440 u16 value16; in rtl92c_init_adaptive_ctrl() local 450 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in rtl92c_init_adaptive_ctrl() 451 rtl_write_word(rtlpriv, REG_SPEC_SIFS, value16); in rtl92c_init_adaptive_ctrl() 453 value16 = _LRL(0x30) | _SRL(0x30); in rtl92c_init_adaptive_ctrl() 454 rtl_write_dword(rtlpriv, REG_RL, value16); in rtl92c_init_adaptive_ctrl() 505 u16 value16; in rtl92c_init_edca() local 509 value16 = rtl_read_word(rtlpriv, REG_RD_CTRL); in rtl92c_init_edca() 510 value16 |= DIS_EDCA_CNT_DWN; in rtl92c_init_edca() 511 rtl_write_word(rtlpriv, REG_RD_CTRL, value16); in rtl92c_init_edca()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | usb_halinit.c | 87 u16 value16; in rtw_hal_power_on() local 103 value16 = usb_read16(adapt, REG_CR); in rtw_hal_power_on() 104 value16 |= (HCI_TXDMA_EN | HCI_RXDMA_EN | TXDMA_EN | RXDMA_EN in rtw_hal_power_on() 108 usb_write16(adapt, REG_CR, value16); in rtw_hal_power_on() 202 u16 value16 = (usb_read16(Adapter, REG_TRXDMA_CTRL) & 0x7); in _InitNormalChipRegPriority() local 204 value16 |= _TXDMA_BEQ_MAP(beQ) | _TXDMA_BKQ_MAP(bkQ) | in _InitNormalChipRegPriority() 208 usb_write16(Adapter, REG_TRXDMA_CTRL, value16); in _InitNormalChipRegPriority() 359 u16 value16; in _InitAdaptiveCtrl() local 371 value16 = _SPEC_SIFS_CCK(0x10) | _SPEC_SIFS_OFDM(0x10); in _InitAdaptiveCtrl() 372 usb_write16(Adapter, REG_SPEC_SIFS, value16); in _InitAdaptiveCtrl() [all …]
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | as102_fe_types.h | 176 uint16_t value16; /* 16 bit value */ member
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 2183 u16 value16; in b43legacy_chip_init() local 2219 value16 = b43legacy_read16(dev, 0x005E); in b43legacy_chip_init() 2220 value16 |= 0x0004; in b43legacy_chip_init() 2221 b43legacy_write16(dev, 0x005E, value16); in b43legacy_chip_init()
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | main.c | 3266 u16 value16; in b43_chip_init() local 3307 value16 = b43_read16(dev, 0x005E); in b43_chip_init() 3308 value16 |= 0x0004; in b43_chip_init() 3309 b43_write16(dev, 0x005E, value16); in b43_chip_init()
|