| /linux/drivers/edac/ |
| H A D | octeon_edac-lmc.c | 40 union cvmx_lmcx_mem_cfg0 cfg0; in octeon_lmc_edac_poll() local 44 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx)); in octeon_lmc_edac_poll() 45 if (cfg0.s.sec_err || cfg0.s.ded_err) { in octeon_lmc_edac_poll() 54 if (cfg0.s.sec_err) { in octeon_lmc_edac_poll() 57 cfg0.s.sec_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll() 61 if (cfg0.s.ded_err) { in octeon_lmc_edac_poll() 64 cfg0.s.ded_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll() 68 cvmx_write_csr(CVMX_LMCX_MEM_CFG0(mci->mc_idx), cfg0.u64); in octeon_lmc_edac_poll() 238 union cvmx_lmcx_mem_cfg0 cfg0; in octeon_lmc_edac_probe() local 240 cfg0.u64 = cvmx_read_csr(CVMX_LMCX_MEM_CFG0(0)); in octeon_lmc_edac_probe() [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-qpic-snand.c | 91 u32 cfg0; member 344 ecc_cfg->cfg0 = FIELD_PREP(CW_PER_PAGE_MASK, (cwperpage - 1)) | in qcom_spi_ecc_init_ctx_pipelined() 517 snandc->regs->cfg0 = cpu_to_le32((ecc_cfg->cfg0_raw & ~CW_PER_PAGE_MASK) | in qcom_spi_block_erase() 523 qcom_write_reg_dma(snandc, &snandc->regs->cfg0, NAND_DEV0_CFG0, 2, NAND_BAM_NEXT_SGL); in qcom_spi_block_erase() 542 qcom_write_reg_dma(snandc, &snandc->regs->cfg0, NAND_DEV0_CFG0, 3, 0); in qcom_spi_config_single_cw_page_read() 582 u32 cfg0, cfg1, ecc_bch_cfg; in qcom_spi_read_last_cw() local 595 cfg0 = (ecc_cfg->cfg0_raw & ~CW_PER_PAGE_MASK) | in qcom_spi_read_last_cw() 601 snandc->regs->cfg0 = cpu_to_le32(cfg0); in qcom_spi_read_last_cw() 715 u32 cfg0, cfg1, ecc_bch_cfg, num_cw = snandc->qspi->num_cw; in qcom_spi_read_cw_raw() local 724 cfg0 = (ecc_cfg->cfg0_raw & ~CW_PER_PAGE_MASK) | in qcom_spi_read_cw_raw() [all …]
|
| /linux/arch/mips/ralink/ |
| H A D | mt7620.c | 223 u32 cfg0; in prom_soc_init() local 231 cfg0 = __raw_readl(MT7620_SYSC_BASE + SYSC_REG_SYSTEM_CONFIG0); in prom_soc_init() 233 dram_type = cfg0 & DRAM_TYPE_MT7628_MASK; in prom_soc_init() 235 dram_type = (cfg0 >> SYSCFG0_DRAM_TYPE_SHIFT) & in prom_soc_init()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| H A D | ramnv10.c | 31 u32 cfg0 = nvkm_rd32(device, 0x100200); in nv10_ram_new() local 34 if (cfg0 & 0x00000001) in nv10_ram_new()
|
| /linux/arch/loongarch/mm/ |
| H A D | cache.c | 84 #define populate_cache_properties(cfg0, cdesc, level, leaf) \ argument 92 if (cfg0 & LXIUPRIV) \ 94 if (cfg0 & LXIUINCL) \
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fimc.c | 1011 u32 cfg0, cfg1; in fimc_start() local 1023 cfg0 = fimc_read(ctx, EXYNOS_MSCTRL); in fimc_start() 1024 cfg0 &= ~EXYNOS_MSCTRL_INPUT_MASK; in fimc_start() 1025 cfg0 |= EXYNOS_MSCTRL_INPUT_MEMORY; in fimc_start() 1026 fimc_write(ctx, cfg0, EXYNOS_MSCTRL); in fimc_start() 1031 cfg0 = fimc_read(ctx, EXYNOS_CIIMGCPT); in fimc_start() 1032 cfg0 &= ~EXYNOS_CIIMGCPT_IMGCPTEN_SC; in fimc_start() 1033 cfg0 |= EXYNOS_CIIMGCPT_IMGCPTEN_SC; in fimc_start() 1044 cfg0 |= EXYNOS_CIIMGCPT_IMGCPTEN; in fimc_start() 1045 fimc_write(ctx, cfg0, EXYNOS_CIIMGCPT); in fimc_start()
|
| /linux/drivers/net/phy/ |
| H A D | dp83640.c | 116 int cfg0; member 543 u16 cfg0 = 0, ver; in enable_status_frames() local 546 cfg0 = PSF_EVNT_EN | PSF_RXTS_EN | PSF_TXTS_EN | ENDIAN_FLAG; in enable_status_frames() 552 ext_write(0, phydev, PAGE5, PSF_CFG0, cfg0); in enable_status_frames() 626 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; in recalibrate() local 642 tmp->cfg0 = ext_read(tmp->phydev, PAGE5, PSF_CFG0); in recalibrate() 647 cfg0 = ext_read(master, PAGE5, PSF_CFG0); in recalibrate() 719 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, tmp->cfg0); in recalibrate() 720 ext_write(0, master, PAGE5, PSF_CFG0, cfg0); in recalibrate()
|
| /linux/sound/pci/au88x0/ |
| H A D | au88x0_core.c | 1096 dma->cfg0 = 0; in vortex_adbdma_setbuffers() 1109 dma->cfg0 |= 0x12000000; in vortex_adbdma_setbuffers() 1117 dma->cfg0 |= 0x88000000 | 0x44000000 | 0x10000000 | (psize - 1); in vortex_adbdma_setbuffers() 1124 dma->cfg0 |= 0x80000000 | 0x40000000 | ((psize - 1) << 0xc); in vortex_adbdma_setbuffers() 1134 hwwrite(vortex->mmio, VORTEX_ADBDMA_BUFCFG0 + (adbdma << 3), dma->cfg0); in vortex_adbdma_setbuffers() 1375 dma->cfg0 = 0; in vortex_wtdma_setbuffers() 1387 dma->cfg0 |= 0x12000000; in vortex_wtdma_setbuffers() 1394 dma->cfg0 |= 0x88000000 | 0x44000000 | 0x10000000 | (psize-1); in vortex_wtdma_setbuffers() 1400 dma->cfg0 |= 0x80000000 | 0x40000000 | ((psize-1) << 0xc); in vortex_wtdma_setbuffers() 1405 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFCFG0 + (wtdma << 3), dma->cfg0); in vortex_wtdma_setbuffers()
|
| H A D | au88x0.h | 111 int cfg0; member
|
| /linux/include/linux/ |
| H A D | switchtec.h | 231 struct partition_info cfg0; member 258 struct partition_info cfg0; member
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | 8710b.c | 574 u32 cfg0, cfg2, vendor; in rtl8710bu_identify_chip() local 584 cfg0 = rtl8710b_read_syson_reg(priv, REG_SYS_SYSTEM_CFG0_8710B); in rtl8710bu_identify_chip() 585 priv->chip_cut = cfg0 & 0xf; in rtl8710bu_identify_chip() 587 if (cfg0 & BIT(16)) { in rtl8710bu_identify_chip() 592 vendor = u32_get_bits(cfg0, 0xc0); in rtl8710bu_identify_chip()
|
| /linux/drivers/pci/controller/ |
| H A D | pcie-altera.c | 379 u8 cfg0 = read ? pcie->pcie_data->cfgrd0 : pcie->pcie_data->cfgwr0; in get_tlp_header() local 384 cfg = (bus == pcie->root_bus_nr) ? cfg0 : cfg1; in get_tlp_header() 386 cfg = (bus > S10_RP_SECONDARY(pcie)) ? cfg0 : cfg1; in get_tlp_header()
|
| /linux/drivers/pinctrl/intel/ |
| H A D | pinctrl-intel.c | 349 u32 cfg0, cfg1, mode; in intel_pin_dbg_show() local 358 cfg0 = readl(intel_get_padcfg(pctrl, pin, PADCFG0)); in intel_pin_dbg_show() 361 mode = (cfg0 & PADCFG0_PMODE_MASK) >> PADCFG0_PMODE_SHIFT; in intel_pin_dbg_show() 367 seq_printf(s, "0x%08x 0x%08x", cfg0, cfg1); in intel_pin_dbg_show()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_htt_stats.c | 4661 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_HWQS; in ath11k_prep_htt_stats_cfg_params() 4664 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_TXQS; in ath11k_prep_htt_stats_cfg_params() 4667 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_CMDQS; in ath11k_prep_htt_stats_cfg_params() 4670 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params() 4671 cfg_params->cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_prep_htt_stats_cfg_params() 4683 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_RINGS; in ath11k_prep_htt_stats_cfg_params() 4686 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_PEERS; in ath11k_prep_htt_stats_cfg_params() 4689 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_CCA_CUMULATIVE; in ath11k_prep_htt_stats_cfg_params() 4692 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_VDEVS; in ath11k_prep_htt_stats_cfg_params() 4695 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params() [all …]
|
| H A D | dp_tx.c | 1170 cmd->cfg_param0 = cfg_params->cfg0; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
| /linux/drivers/scsi/ |
| H A D | dc395x.c | 121 u8 cfg0; /* Target configuration byte 0 */ member 597 eeprom->target[id].cfg0 = in eeprom_override() 957 dcb->dev_mode = eeprom->target[dcb->target_id].cfg0; in reset_dev_param() 3004 dcb->dev_mode = eeprom->target[target].cfg0; in device_alloc()
|
| /linux/sound/soc/codecs/ |
| H A D | wcd9335.c | 1649 u8 cfg0, cfg1, inp0_sel, inp1_sel, inp2_sel; in wcd9335_set_prim_interpolator_rate() 1660 cfg0 = snd_soc_component_read(comp, in wcd9335_set_prim_interpolator_rate() 1665 inp0_sel = cfg0 & in wcd9335_set_prim_interpolator_rate() 1667 inp1_sel = (cfg0 >> 4) & in wcd9335_set_prim_interpolator_rate() 1645 u8 cfg0, cfg1, inp0_sel, inp1_sel, inp2_sel; wcd9335_set_prim_interpolator_rate() local
|
| H A D | wcd934x.c | 1492 u8 cfg0, cfg1, inp0_sel, inp1_sel, inp2_sel; in wcd934x_set_prim_interpolator_rate() local 1507 cfg0 = snd_soc_component_read(comp, in wcd934x_set_prim_interpolator_rate() 1512 inp0_sel = cfg0 & in wcd934x_set_prim_interpolator_rate() 1514 inp1_sel = (cfg0 >> 4) & in wcd934x_set_prim_interpolator_rate()
|
| /linux/drivers/pci/switch/ |
| H A D | switchtec.c | 698 set_fw_info_part(info, &fi->cfg0); in flash_part_info_gen3() 800 set_fw_info_part(info, &fi->cfg0); in flash_part_info_gen4()
|