Home
last modified time | relevance | path

Searched refs:value32 (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192c/
Dfw_common.c44 u32 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_enable_fw_download() local
46 value32 |= MCUFWDL_EN; in _rtl92c_enable_fw_download()
48 value32 &= ~MCUFWDL_EN; in _rtl92c_enable_fw_download()
49 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92c_enable_fw_download()
210 u32 value32; in _rtl92c_fw_free_to_go() local
213 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_fw_free_to_go()
215 (!(value32 & FWDL_ChkSum_rpt))); in _rtl92c_fw_free_to_go()
219 "chksum report faill ! REG_MCUFWDL:0x%08x\n", value32); in _rtl92c_fw_free_to_go()
224 "Checksum report OK ! REG_MCUFWDL:0x%08x\n", value32); in _rtl92c_fw_free_to_go()
226 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92c_fw_free_to_go()
[all …]
Ddm_common.c669 long ele_a, ele_d, temp_cck, val_x, value32; in rtl92c_dm_txpower_tracking_callback_thermalmeter() local
936 value32 = (ele_d << 22) | in rtl92c_dm_txpower_tracking_callback_thermalmeter()
940 MASKDWORD, value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
942 value32 = (ele_c & 0x000003C0) >> 6; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
944 value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
946 value32 = ((val_x * ele_d) >> 7) & 0x01; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
948 BIT(31), value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
950 value32 = ((val_y * ele_d) >> 7) & 0x01; in rtl92c_dm_txpower_tracking_callback_thermalmeter()
952 BIT(29), value32); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1034 value32 = (ele_d << 22) | in rtl92c_dm_txpower_tracking_callback_thermalmeter()
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c59 u32 value32; in rtl92c_read_chip_version() local
61 value32 = rtl_read_dword(rtlpriv, REG_SYS_CFG); in rtl92c_read_chip_version()
62 if (value32 & TRP_VAUX_EN) { in rtl92c_read_chip_version()
63 chip_version = (value32 & TYPE_ID) ? VERSION_TEST_CHIP_92C : in rtl92c_read_chip_version()
68 chip_version |= ((value32 & TYPE_ID) ? CHIP_92C : 0); in rtl92c_read_chip_version()
69 chip_version |= ((value32 & VENDOR_ID) ? CHIP_VENDOR_UMC : 0); in rtl92c_read_chip_version()
71 chip_version |= ((value32 & BT_FUNC) ? CHIP_8723 : 0); in rtl92c_read_chip_version()
73 chip_version |= ((value32 & CHIP_VER_RTL_MASK) ? in rtl92c_read_chip_version()
76 value32 = rtl_read_dword(rtlpriv, REG_HPON_FSM); in rtl92c_read_chip_version()
77 chip_version |= ((CHIP_BONDING_IDENTIFIER(value32) == in rtl92c_read_chip_version()
[all …]
Dhw.c555 u32 value32; in _rtl92cu_init_queue_reserved_page() local
602 value32 = _HPQ(numHQ) | _LPQ(numLQ) | _PUBQ(numPubQ) | LD_RQPN; in _rtl92cu_init_queue_reserved_page()
603 rtl_write_dword(rtlpriv, REG_RQPN, value32); in _rtl92cu_init_queue_reserved_page()
1167 u32 value32; in _DisableGPIO() local
1171 value32 = rtl_read_dword(rtlpriv, REG_GPIO_PIN_CTRL) & 0xFFFF00FF; in _DisableGPIO()
1172 value8 = (u8) (value32&0x000000FF); in _DisableGPIO()
1173 value32 |= ((value8<<8) | 0x00FF0000); in _DisableGPIO()
1174 rtl_write_dword(rtlpriv, REG_GPIO_PIN_CTRL, value32); in _DisableGPIO()
1481 u32 value32; in rtl92cu_set_beacon_related_registers() local
1496 value32 = rtl_read_dword(rtlpriv, REG_TCR); in rtl92cu_set_beacon_related_registers()
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dfw.c153 u32 value32; in _rtl92d_fw_free_to_go() local
156 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92d_fw_free_to_go()
158 (!(value32 & FWDL_ChkSum_rpt))); in _rtl92d_fw_free_to_go()
162 value32); in _rtl92d_fw_free_to_go()
166 "Checksum report OK ! REG_MCUFWDL:0x%08x\n", value32); in _rtl92d_fw_free_to_go()
167 value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL); in _rtl92d_fw_free_to_go()
168 value32 |= MCUFWDL_RDY; in _rtl92d_fw_free_to_go()
169 rtl_write_dword(rtlpriv, REG_MCUFWDL, value32); in _rtl92d_fw_free_to_go()
Ddm.c835 long ele_a = 0, ele_d, temp_cck, val_x, value32; in rtl92d_dm_txpower_tracking_callback_thermalmeter() local
1085 value32 = (ele_d << 22) | ((ele_c & 0x3F) << in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1088 BMASKDWORD, value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1090 value32 = (ele_c & 0x000003C0) >> 6; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1092 value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1094 value32 = ((val_x * ele_d) >> 7) & 0x01; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1096 value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1192 value32 = (ele_d << 22) | in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1197 BMASKDWORD, value32); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
1198 value32 = (ele_c & 0x000003C0) >> 6; in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
Dhw.c541 u32 value32; /* High+low page number */ in _rtl92de_llt_table_init() local
548 value32 = 0x80bf0d29; in _rtl92de_llt_table_init()
553 value32 = 0x80750005; in _rtl92de_llt_table_init()
560 rtl_write_dword(rtlpriv, REG_RQPN, value32); in _rtl92de_llt_table_init()
1058 u32 value32; in _rtl92de_read_chip_version() local
1060 value32 = rtl_read_dword(rtlpriv, REG_SYS_CFG); in _rtl92de_read_chip_version()
1061 if (!(value32 & 0x000f0000)) { in _rtl92de_read_chip_version()
/linux-3.4.99/drivers/acpi/acpica/
Dexregion.c295 u32 value32; in acpi_ex_system_io_space_handler() local
310 &value32, bit_width); in acpi_ex_system_io_space_handler()
311 *value = value32; in acpi_ex_system_io_space_handler()
/linux-3.4.99/drivers/staging/media/as102/
Das10x_cmd_cfg.c79 *pvalue = le32_to_cpu(prsp->body.context.rsp.reg_val.u.value32); in as10x_cmd_get_context()
114 pcmd->body.context.req.reg_val.u.value32 = cpu_to_le32(value); in as10x_cmd_set_context()
Das10x_types.h183 uint32_t value32; /* 32 bit value */ member
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c647 u32 value32; in _rtl92ce_init_mac() local
648 value32 = rtl_read_dword(rtlpriv, REG_APS_FSMCO); in _rtl92ce_init_mac()
649 value32 |= (SOP_ABG | SOP_AMB | XOP_BTCK); in _rtl92ce_init_mac()
650 rtl_write_dword(rtlpriv, REG_APS_FSMCO, value32); in _rtl92ce_init_mac()
1004 u32 value32; in _rtl92ce_read_chip_version() local
1007 value32 = rtl_read_dword(rtlpriv, REG_SYS_CFG); in _rtl92ce_read_chip_version()
1008 if (value32 & TRP_VAUX_EN) { in _rtl92ce_read_chip_version()
1009 version = (value32 & TYPE_ID) ? VERSION_A_CHIP_92C : in _rtl92ce_read_chip_version()
1013 ((value32 & TYPE_ID) ? CHIP_92C_BITMASK : 0) | in _rtl92ce_read_chip_version()
1014 ((value32 & VENDOR_ID) ? CHIP_VENDOR_UMC : 0)); in _rtl92ce_read_chip_version()
[all …]
/linux-3.4.99/drivers/net/wireless/rtlwifi/
Defuse.c207 u32 value32; in read_efuse_byte() local
222 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte()
223 while (!(((value32 >> 24) & 0xff) & 0x80) && (retry < 10000)) { in read_efuse_byte()
224 value32 = rtl_read_dword(rtlpriv, in read_efuse_byte()
230 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte()
232 *pbuf = (u8) (value32 & 0xff); in read_efuse_byte()
/linux-3.4.99/drivers/acpi/
Dosl.c835 u32 value32; in acpi_os_read_pci_configuration() local
856 reg, size, &value32); in acpi_os_read_pci_configuration()
857 *value = value32; in acpi_os_read_pci_configuration()
/linux-3.4.99/drivers/net/wireless/b43legacy/
Dmain.c2182 u32 value32, macctl; in b43legacy_chip_init() local
2227 value32 = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_chip_init()
2228 value32 &= ~B43legacy_MACCTL_INFRA; in b43legacy_chip_init()
2229 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, value32); in b43legacy_chip_init()
2230 value32 = b43legacy_read32(dev, B43legacy_MMIO_MACCTL); in b43legacy_chip_init()
2231 value32 |= B43legacy_MACCTL_INFRA; in b43legacy_chip_init()
2232 b43legacy_write32(dev, B43legacy_MMIO_MACCTL, value32); in b43legacy_chip_init()
2267 value32 = ssb_read32(dev->dev, SSB_TMSLOW); in b43legacy_chip_init()
2268 value32 |= B43legacy_TMSLOW_MACPHYCLKEN; in b43legacy_chip_init()
2269 ssb_write32(dev->dev, SSB_TMSLOW, value32); in b43legacy_chip_init()