Home
last modified time | relevance | path

Searched refs:val32 (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/edac/
A Damd8131_edac.c74 u32 val32; in amd8131_pcix_init() local
84 if (val32 & INT_CTLR_DTS) in amd8131_pcix_init()
109 val32 |= STS_CMD_SERREN; in amd8131_pcix_init()
125 u32 val32; in amd8131_pcix_exit() local
153 u32 val32; in amd8131_pcix_check() local
162 val32 & MEM_LIMIT_DPE, in amd8131_pcix_check()
163 val32 & MEM_LIMIT_RSE, in amd8131_pcix_check()
164 val32 & MEM_LIMIT_RMA, in amd8131_pcix_check()
165 val32 & MEM_LIMIT_RTA, in amd8131_pcix_check()
166 val32 & MEM_LIMIT_STA, in amd8131_pcix_check()
[all …]
A Damd8111_edac.c87 u32 val32; in amd8111_pci_bridge_init() local
99 if (val32 & HT_LINK_CLEAR_MASK) in amd8111_pci_bridge_init()
118 val32 |= PCI_STSCMD_SERREN; in amd8111_pci_bridge_init()
123 val32 |= HT_LINK_CRCFEN; in amd8111_pci_bridge_init()
135 u32 val32; in amd8111_pci_bridge_exit() local
141 val32 &= ~PCI_STSCMD_SERREN; in amd8111_pci_bridge_exit()
146 val32 &= ~HT_LINK_CRCFEN; in amd8111_pci_bridge_exit()
160 u32 val32; in amd8111_pci_bridge_check() local
180 if (val32 & HT_LINK_LKFAIL) { in amd8111_pci_bridge_check()
186 val32 |= HT_LINK_LKFAIL; in amd8111_pci_bridge_check()
[all …]
/linux/drivers/net/wireless/realtek/rtl8xxxu/
A Drtl8xxxu_8723b.c374 val32 &= 0xff; in rtl8723b_set_tx_power()
523 u32 val32; in rtl8723bu_phy_init_antenna_selection() local
653 val32 = 0x400 - val32; in rtl8723bu_iqk_path_a()
763 val32 = 0x400 - val32; in rtl8723bu_rx_iqk_path_a()
863 val32 = 0x400 - val32; in rtl8723bu_rx_iqk_path_a()
882 u32 i, val32; in rtl8723bu_phy_iqcalibrate() local
1214 u32 val32; in rtl8723bu_active_to_emu() local
1271 u32 val32; in rtl8723b_emu_to_active() local
1393 u32 val32; in rtl8723bu_power_on() local
1490 u32 val32; in rtl8723b_enable_rf() local
[all …]
A Drtl8xxxu_core.c993 u32 val32; in rtl8xxxu_gen1_enable_rf() local
1037 u32 val32; in rtl8xxxu_gen1_disable_rf() local
1258 u32 val32; in rtl8xxxu_gen2_config_channel() local
1767 u32 val32; in rtl8xxxu_read_efuse8() local
1803 u32 val32; in rtl8xxxu_read_efuse() local
1934 u32 val32; in rtl8xxxu_start_firmware() local
1989 u32 val32; in rtl8xxxu_download_firmware() local
2201 u32 val32; in rtl8xxxu_gen1_init_phy_bb() local
2256 u32 val32; in rtl8xxxu_init_phy_bb() local
2388 u32 val32; in rtl8xxxu_init_phy_rf() local
[all …]
A Drtl8xxxu_8192e.c499 val32 &= 0xff; in rtl8192e_set_tx_power()
526 val32 &= 0xff; in rtl8192e_set_tx_power()
532 val32 |= cck; in rtl8192e_set_tx_power()
1058 u32 i, val32; in rtl8192eu_phy_iqcalibrate() local
1116 val32 |= BIT(10); in rtl8192eu_phy_iqcalibrate()
1337 u32 val32; in rtl8192e_crystal_afe_adjust() local
1379 u32 val32; in rtl8192e_emu_to_active() local
1446 u32 val32; in rtl8192eu_active_to_lps() local
1458 if (!val32) { in rtl8192eu_active_to_lps()
1554 u32 val32; in rtl8192eu_power_on() local
[all …]
A Drtl8xxxu_8723a.c225 u32 val32; in rtl8723a_emu_to_active() local
252 val32 = rtl8xxxu_read32(priv, REG_APS_FSMCO); in rtl8723a_emu_to_active()
253 if (val32 & BIT(17)) in rtl8723a_emu_to_active()
282 val32 = rtl8xxxu_read32(priv, REG_APS_FSMCO); in rtl8723a_emu_to_active()
283 val32 |= APS_FSMCO_MAC_ENABLE; in rtl8723a_emu_to_active()
284 rtl8xxxu_write32(priv, REG_APS_FSMCO, val32); in rtl8723a_emu_to_active()
287 val32 = rtl8xxxu_read32(priv, REG_APS_FSMCO); in rtl8723a_emu_to_active()
288 if ((val32 & APS_FSMCO_MAC_ENABLE) == 0) { in rtl8723a_emu_to_active()
318 u32 val32; in rtl8723au_power_on() local
353 val32 &= ~(BIT(28) | BIT(29) | BIT(30)); in rtl8723au_power_on()
[all …]
/linux/drivers/watchdog/
A DiTCO_vendor_support.c79 unsigned long val32; in supermicro_old_pre_start() local
82 val32 = inl(smires->start); in supermicro_old_pre_start()
89 unsigned long val32; in supermicro_old_pre_stop() local
92 val32 = inl(smires->start); in supermicro_old_pre_stop()
130 unsigned long val32; in broken_bios_start() local
132 val32 = inl(smires->start); in broken_bios_start()
135 val32 &= 0xffffdffe; in broken_bios_start()
136 outl(val32, smires->start); in broken_bios_start()
141 unsigned long val32; in broken_bios_stop() local
143 val32 = inl(smires->start); in broken_bios_stop()
[all …]
A DiTCO_wdt.c180 u32 val32 = 0, newval32 = 0; in update_no_reboot_bit_pci() local
184 val32 |= no_reboot_bit(p); in update_no_reboot_bit_pci()
186 val32 &= ~no_reboot_bit(p); in update_no_reboot_bit_pci()
191 if (val32 != newval32) in update_no_reboot_bit_pci()
202 val32 = readl(p->gcs_pmc); in update_no_reboot_bit_mem()
204 val32 |= no_reboot_bit(p); in update_no_reboot_bit_mem()
207 writel(val32, p->gcs_pmc); in update_no_reboot_bit_mem()
211 if (val32 != newval32) in update_no_reboot_bit_mem()
466 unsigned long val32; in iTCO_wdt_probe() local
529 val32 = inl(SMI_EN(p)); in iTCO_wdt_probe()
[all …]
/linux/drivers/net/wireless/st/cw1200/
A Dfwio.c55 u32 val32; in cw1200_load_firmware_cw1200() local
161 if (val32 == DOWNLOAD_I_AM_HERE) in cw1200_load_firmware_cw1200()
166 if (val32 != DOWNLOAD_I_AM_HERE) { in cw1200_load_firmware_cw1200()
186 if (val32 != DOWNLOAD_PENDING) { in cw1200_load_firmware_cw1200()
237 if (val32 != DOWNLOAD_PENDING) in cw1200_load_firmware_cw1200()
241 if (val32 != DOWNLOAD_SUCCESS) { in cw1200_load_firmware_cw1200()
306 u32 val32; in cw1200_load_firmware() local
317 if (val32 == 0 || val32 == 0xffffffff) { in cw1200_load_firmware()
398 switch (val32) { in cw1200_load_firmware()
457 ret = config_reg_read(priv, &val32); in cw1200_load_firmware()
[all …]
A Dhwio.c174 u32 val32 = 0; in cw1200_indirect_read() local
191 ret = __cw1200_reg_read_32(priv, ST90TDS_CONFIG_REG_ID, &val32); in cw1200_indirect_read()
199 val32 | prefetch); in cw1200_indirect_read()
207 ret = __cw1200_reg_read_32(priv, ST90TDS_CONFIG_REG_ID, &val32); in cw1200_indirect_read()
212 if (!(val32 & prefetch)) in cw1200_indirect_read()
218 if (val32 & prefetch) { in cw1200_indirect_read()
269 u32 val32; in __cw1200_irq_enable() local
274 ret = __cw1200_reg_read_32(priv, ST90TDS_CONFIG_REG_ID, &val32); in __cw1200_irq_enable()
281 val32 |= ST90TDS_CONF_IRQ_RDY_ENABLE; in __cw1200_irq_enable()
283 val32 &= ~ST90TDS_CONF_IRQ_RDY_ENABLE; in __cw1200_irq_enable()
[all …]
/linux/drivers/ata/
A Dpata_bk3710.c70 u32 val32; in pata_bk3710_setudmamode() local
83 val32 |= t0 << (dev ? 8 : 0); in pata_bk3710_setudmamode()
88 val32 |= trp << (dev ? 8 : 0); in pata_bk3710_setudmamode()
93 val32 |= tenv << (dev ? 8 : 0); in pata_bk3710_setudmamode()
107 u32 val32; in pata_bk3710_setmwdmamode() local
121 val32 |= td << (dev ? 8 : 0); in pata_bk3710_setmwdmamode()
125 val32 |= tkw << (dev ? 8 : 0); in pata_bk3710_setmwdmamode()
154 u32 val32; in pata_bk3710_setpiomode() local
167 val32 |= t2 << (dev ? 8 : 0); in pata_bk3710_setpiomode()
171 val32 |= t2i << (dev ? 8 : 0); in pata_bk3710_setpiomode()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
A Ddebug.c910 u32 val32; in rtw89_debug_mac_dump_dle_dbg() local
1572 u32 val32; in rtw89_debug_mac_dbg_port_sel() local
1608 val32 = u32_replace_bits(val32, TRXPTRL_DBG_SEL_TMAC, in rtw89_debug_mac_dbg_port_sel()
1613 val32 = u32_replace_bits(val32, TMAC_DBG_SEL_C0, B_AX_DBG_SEL0); in rtw89_debug_mac_dbg_port_sel()
1614 val32 = u32_replace_bits(val32, TMAC_DBG_SEL_C0, B_AX_DBG_SEL1); in rtw89_debug_mac_dbg_port_sel()
1625 val32 = u32_replace_bits(val32, TRXPTRL_DBG_SEL_TMAC, in rtw89_debug_mac_dbg_port_sel()
1630 val32 = u32_replace_bits(val32, TMAC_DBG_SEL_C1, B_AX_DBG_SEL0); in rtw89_debug_mac_dbg_port_sel()
1631 val32 = u32_replace_bits(val32, TMAC_DBG_SEL_C1, B_AX_DBG_SEL1); in rtw89_debug_mac_dbg_port_sel()
1642 val32 = u32_replace_bits(val32, TRXPTRL_DBG_SEL_RMAC, in rtw89_debug_mac_dbg_port_sel()
1664 val32 = u32_replace_bits(val32, TRXPTRL_DBG_SEL_RMAC, in rtw89_debug_mac_dbg_port_sel()
[all …]
/linux/drivers/misc/cardreader/
A Dalcor_pci.c103 u32 val32; in alcor_pci_find_cap_offset() local
113 if (val32 == 0xffffffff) { in alcor_pci_find_cap_offset()
115 val32); in alcor_pci_find_cap_offset()
119 if ((val32 & 0xff) == 0x10) { in alcor_pci_find_cap_offset()
124 if ((val32 & 0xff00) == 0x00) { in alcor_pci_find_cap_offset()
126 val32); in alcor_pci_find_cap_offset()
129 where = (int)((val32 >> 8) & 0xff); in alcor_pci_find_cap_offset()
139 u32 val32; in alcor_pci_init_check_aspm() local
160 pci_read_config_dword(pci, where, &val32); in alcor_pci_init_check_aspm()
188 u32 val32; in alcor_pci_aspm_ctrl() local
[all …]
/linux/drivers/hwtracing/coresight/
A Dcoresight-cfg-afdo.c35 .val32 = 0x20001,
41 .val32 = 0x20002,
53 .val32 = 0,
59 .val32 = 0x10001,
71 .val32 = 1,
77 .val32 = 0x8102,
84 .val32 = 0x0081,
90 .val32 = 0x0000,
96 .val32 = 0x0003,
A Dcoresight-config.c24 u32 tmp32 = reg_csdev->reg_desc.val32; in cscfg_set_reg()
34 tmp32 |= reg_csdev->reg_desc.val32 & reg_csdev->reg_desc.mask32; in cscfg_set_reg()
49 reg_csdev->reg_desc.val32 = *(u32 *)(reg_csdev->driver_regval); in cscfg_save_reg()
70 reg_csdev->reg_desc.val32 = (u32)param_csdev->current_value; in cscfg_init_reg_param()
174 param_csdev->reg_csdev->reg_desc.val32 = (u32)val; in cscfg_update_presets()
213 param_csdev->reg_csdev->reg_desc.val32 = (u32)val; in cscfg_update_curr_params()
/linux/sound/soc/codecs/
A Dcs35l35.c1261 if (val32 < 2600 || val32 > 9000) { in cs35l35_handle_of_data()
1271 if (val32 < 1680 || val32 > 4480) { in cs35l35_handle_of_data()
1301 &val32); in cs35l35_handle_of_data()
1322 &val32); in cs35l35_handle_of_data()
1330 &val32); in cs35l35_handle_of_data()
1337 &val32); in cs35l35_handle_of_data()
1344 &val32); in cs35l35_handle_of_data()
1349 &val32); in cs35l35_handle_of_data()
1357 &val32); in cs35l35_handle_of_data()
1362 &val32); in cs35l35_handle_of_data()
[all …]
A Dcs35l33.c927 u32 val32; in cs35l33_get_hg_data() local
936 &val32) >= 0) in cs35l33_get_hg_data()
939 hg_config->ldo_thld = val32; in cs35l33_get_hg_data()
941 &val32) >= 0) in cs35l33_get_hg_data()
944 &val32) >= 0) in cs35l33_get_hg_data()
951 hg_config->vp_hg = val32; in cs35l33_get_hg_data()
1085 u32 val32; in cs35l33_of_get_pdata() local
1091 pdata->boost_ctl = val32; in cs35l33_of_get_pdata()
1096 pdata->ramp_rate = val32; in cs35l33_of_get_pdata()
1101 pdata->boost_ipk = val32; in cs35l33_of_get_pdata()
[all …]
/linux/drivers/misc/ocxl/
A Dconfig.c347 u32 val32; in read_template_version() local
551 u32 val32; in read_afu_lpc_memory_info() local
576 val32 = EXTRACT_BITS(val32, 0, 7); in read_afu_lpc_memory_info()
577 if (!val32) in read_afu_lpc_memory_info()
590 total_mem_size = 1ull << val32; in read_afu_lpc_memory_info()
596 afu->lpc_mem_offset = val32; in read_afu_lpc_memory_info()
613 lpc_mem_size = val32; in read_afu_lpc_memory_info()
638 u32 val32; in ocxl_config_read_afu() local
743 u32 val32; in ocxl_config_set_afu_pasid() local
749 &val32); in ocxl_config_set_afu_pasid()
[all …]
/linux/drivers/input/touchscreen/
A Dtsc2007_core.c234 u32 val32; in tsc2007_probe_properties() local
237 if (!device_property_read_u32(dev, "ti,max-rt", &val32)) in tsc2007_probe_properties()
238 ts->max_rt = val32; in tsc2007_probe_properties()
242 if (!device_property_read_u32(dev, "ti,fuzzx", &val32)) in tsc2007_probe_properties()
243 ts->fuzzx = val32; in tsc2007_probe_properties()
245 if (!device_property_read_u32(dev, "ti,fuzzy", &val32)) in tsc2007_probe_properties()
246 ts->fuzzy = val32; in tsc2007_probe_properties()
248 if (!device_property_read_u32(dev, "ti,fuzzz", &val32)) in tsc2007_probe_properties()
249 ts->fuzzz = val32; in tsc2007_probe_properties()
256 if (!device_property_read_u32(dev, "ti,x-plate-ohms", &val32)) { in tsc2007_probe_properties()
[all …]
/linux/net/ethtool/
A Dbitset.c706 u32 *val32; in ethnl_bitset_size() local
713 if (!val32) in ethnl_bitset_size()
715 mask32 = val32 + nwords; in ethnl_bitset_size()
717 val32 = small_val32; in ethnl_bitset_size()
721 bitmap_to_arr32(val32, val, nbits); in ethnl_bitset_size()
729 kfree(val32); in ethnl_bitset_size()
742 u32 *val32; in ethnl_put_bitset() local
749 if (!val32) in ethnl_put_bitset()
751 mask32 = val32 + nwords; in ethnl_put_bitset()
753 val32 = small_val32; in ethnl_put_bitset()
[all …]
/linux/drivers/pci/controller/
A Dpci-xgene.c288 u32 val32 = 0; in xgene_pcie_set_ib_mask() local
291 val32 = xgene_pcie_readl(port, addr); in xgene_pcie_set_ib_mask()
295 val32 = xgene_pcie_readl(port, addr + 0x04); in xgene_pcie_set_ib_mask()
299 val32 = xgene_pcie_readl(port, addr + 0x04); in xgene_pcie_set_ib_mask()
303 val32 = xgene_pcie_readl(port, addr + 0x08); in xgene_pcie_set_ib_mask()
313 u32 val32; in xgene_pcie_linkup() local
316 val32 = xgene_pcie_readl(port, PCIECORE_CTLANDSTATUS); in xgene_pcie_linkup()
317 if (val32 & LINK_UP_MASK) { in xgene_pcie_linkup()
319 *speed = PIPE_PHY_RATE_RD(val32); in xgene_pcie_linkup()
320 val32 = xgene_pcie_readl(port, BRIDGE_STATUS_0); in xgene_pcie_linkup()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dpm3393.c203 u32 val32; in pm3393_interrupt_clear() local
209 pmread(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
211 pmread(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
212 pmread(cmac, SUNI1x10GEXP_REG_PL4ODP_INTERRUPT, &val32); in pm3393_interrupt_clear()
213 pmread(cmac, SUNI1x10GEXP_REG_XTEF_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
215 pmread(cmac, SUNI1x10GEXP_REG_TXOAM_INTERRUPT_STATUS, &val32); in pm3393_interrupt_clear()
216 pmread(cmac, SUNI1x10GEXP_REG_RXXG_INTERRUPT, &val32); in pm3393_interrupt_clear()
217 pmread(cmac, SUNI1x10GEXP_REG_TXXG_INTERRUPT, &val32); in pm3393_interrupt_clear()
218 pmread(cmac, SUNI1x10GEXP_REG_PL4IDU_INTERRUPT, &val32); in pm3393_interrupt_clear()
220 &val32); in pm3393_interrupt_clear()
[all …]
/linux/tools/lib/perf/Documentation/examples/
A Dsampling.c20 __u32 val32[2]; member
95 pid = u.val32[0]; in main()
96 tid = u.val32[1]; in main()
100 cpu = u.val32[0]; in main()
/linux/lib/zstd/common/
A Dmem.h67 MEM_STATIC void MEM_writeLE32(void* memPtr, U32 val32);
76 MEM_STATIC void MEM_writeBE32(void* memPtr, U32 val32);
172 MEM_STATIC void MEM_writeLE32(void *memPtr, U32 val32) in MEM_writeLE32() argument
174 put_unaligned_le32(val32, memPtr); in MEM_writeLE32()
210 MEM_STATIC void MEM_writeBE32(void *memPtr, U32 val32) in MEM_writeBE32() argument
212 put_unaligned_be32(val32, memPtr); in MEM_writeBE32()
/linux/drivers/gpio/
A Dgpio-xgene-sb.c223 u32 val32; in xgene_gpio_sb_probe() local
257 XGENE_IRQ_START_PROPERTY, &val32)) in xgene_gpio_sb_probe()
258 priv->irq_start = val32; in xgene_gpio_sb_probe()
262 if (!device_property_read_u32(&pdev->dev, XGENE_NIRQ_PROPERTY, &val32)) in xgene_gpio_sb_probe()
263 priv->nirq = val32; in xgene_gpio_sb_probe()
267 if (!device_property_read_u32(&pdev->dev, XGENE_NGPIO_PROPERTY, &val32)) in xgene_gpio_sb_probe()
268 priv->gc.ngpio = val32; in xgene_gpio_sb_probe()

Completed in 93 milliseconds

1234