/linux-6.12.1/drivers/clk/thead/ |
D | clk-th1520-ap.c | 39 u16 cfg0; member 83 .cfg0 = _reg, \ 131 regmap_read(common->map, common->cfg0, &val); in ccu_get_parent_helper() 142 return regmap_update_bits(common->map, common->cfg0, in ccu_set_parent_helper() 151 regmap_update_bits(common->map, common->cfg0, in ccu_disable_helper() 163 ret = regmap_update_bits(common->map, common->cfg0, gate, gate); in ccu_enable_helper() 164 regmap_read(common->map, common->cfg0, &val); in ccu_enable_helper() 175 regmap_read(common->map, common->cfg0, &val); in ccu_is_enabled_helper() 186 regmap_read(cd->common.map, cd->common.cfg0, &val); in ccu_div_recalc_rate() 245 unsigned int cfg0, cfg1; in th1520_pll_vco_recalc_rate() local [all …]
|
/linux-6.12.1/drivers/edac/ |
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-6.12.1/arch/mips/ralink/ |
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-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | pci_be.c | 411 u32 ctrl0, cfg0, cfg1, dec_ctrl, idle_ltcy, act_ltcy, dis_ltcy; in rtw89_pci_ltr_set_v2() local 416 cfg0 = rtw89_read32(rtwdev, R_BE_LTR_CFG_0); in rtw89_pci_ltr_set_v2() 417 if (rtw89_pci_ltr_is_err_reg_val(cfg0)) in rtw89_pci_ltr_set_v2() 446 cfg0 = u32_replace_bits(cfg0, PCI_LTR_IDLE_TIMER_3_2MS, in rtw89_pci_ltr_set_v2() 450 cfg0 = u32_replace_bits(cfg0, 1, B_BE_LTR_IDX_ACTIVE_MASK); in rtw89_pci_ltr_set_v2() 451 cfg0 = u32_replace_bits(cfg0, 3, B_BE_LTR_IDX_IDLE_MASK); in rtw89_pci_ltr_set_v2() 458 rtw89_write32(rtwdev, R_BE_LTR_CFG_0, cfg0); in rtw89_pci_ltr_set_v2()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv10.c | 31 u32 cfg0 = nvkm_rd32(device, 0x100200); in nv10_ram_new() local 34 if (cfg0 & 0x00000001) in nv10_ram_new()
|
/linux-6.12.1/arch/loongarch/mm/ |
D | cache.c | 94 #define populate_cache_properties(cfg0, cdesc, level, leaf) \ argument 102 if (cfg0 & LXIUPRIV) \ 104 if (cfg0 & LXIUINCL) \
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | phy.c | 187 u32 cfg0, cfg1; in mt76x2_configure_tx_delay() local 190 cfg0 = bw ? 0x000b0c01 : 0x00101101; in mt76x2_configure_tx_delay() 193 cfg0 = bw ? 0x000b0b01 : 0x00101001; in mt76x2_configure_tx_delay() 196 mt76_wr(dev, MT_TX_SW_CFG0, cfg0); in mt76x2_configure_tx_delay()
|
/linux-6.12.1/drivers/gpu/drm/exynos/ |
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-6.12.1/drivers/infiniband/hw/erdma/ |
D | erdma_hw.h | 239 u32 cfg0; member 267 u32 cfg0; member 330 u32 cfg0; member
|
D | erdma_verbs.c | 51 req.cfg0 = FIELD_PREP(ERDMA_CMD_CREATE_QP_SQ_DEPTH_MASK, in create_qp_cmd() 153 req.cfg0 = FIELD_PREP(ERDMA_CMD_MR_VALID_MASK, mr->valid) | in regmr_cmd() 173 req.cfg0 |= FIELD_PREP(ERDMA_CMD_MR_VERSION_MASK, 1); in regmr_cmd() 194 req.cfg0 = FIELD_PREP(ERDMA_CMD_CREATE_CQ_CQN_MASK, cq->cqn) | in create_cq_cmd() 200 req.cfg0 |= FIELD_PREP(ERDMA_CMD_CREATE_CQ_PAGESIZE_MASK, in create_cq_cmd() 213 req.cfg0 |= in create_cq_cmd()
|
/linux-6.12.1/drivers/net/phy/ |
D | dp83640.c | 116 int cfg0; member 553 u16 cfg0 = 0, ver; in enable_status_frames() local 556 cfg0 = PSF_EVNT_EN | PSF_RXTS_EN | PSF_TXTS_EN | ENDIAN_FLAG; in enable_status_frames() 562 ext_write(0, phydev, PAGE5, PSF_CFG0, cfg0); in enable_status_frames() 636 u16 cal_gpio, cfg0, evnt, ptp_trig, trigger, val; in recalibrate() local 652 tmp->cfg0 = ext_read(tmp->phydev, PAGE5, PSF_CFG0); in recalibrate() 657 cfg0 = ext_read(master, PAGE5, PSF_CFG0); in recalibrate() 729 ext_write(0, tmp->phydev, PAGE5, PSF_CFG0, tmp->cfg0); in recalibrate() 730 ext_write(0, master, PAGE5, PSF_CFG0, cfg0); in recalibrate()
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | sbi.h | 20 /* 0x0010 */ u32 cfg0; /* Slot0 config reg */ member
|
/linux-6.12.1/drivers/soc/qcom/ |
D | qcom-geni-se.c | 433 u32 cfg0, cfg1, cfg[NUM_PACKING_VECTORS] = {0}; in geni_se_config_packing() local 461 cfg0 = cfg[0] | (cfg[1] << PACKING_VECTOR_SHIFT); in geni_se_config_packing() 465 writel_relaxed(cfg0, se->base + SE_GENI_TX_PACKING_CFG0); in geni_se_config_packing() 469 writel_relaxed(cfg0, se->base + SE_GENI_RX_PACKING_CFG0); in geni_se_config_packing()
|
/linux-6.12.1/sound/pci/au88x0/ |
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()
|
D | au88x0.h | 111 int cfg0; member
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 317 __le32 cfg0; member 534 u32 cfg0, cfg1; member 713 return ®s->cfg0; in offset_to_nandc_reg() 814 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local 827 cfg0 = (host->cfg0 & ~(7U << CW_PER_PAGE)) | in update_rw_regs() 833 cfg0 = (host->cfg0_raw & ~(7U << CW_PER_PAGE)) | in update_rw_regs() 841 nandc_set_reg(chip, NAND_DEV0_CFG0, cfg0); in update_rw_regs() 1875 host->cfg0 &= ~(SPARE_SIZE_BYTES_MASK | UD_SIZE_BYTES_MASK); in qcom_nandc_codeword_fixup() 1876 host->cfg0 |= host->spare_bytes << SPARE_SIZE_BYTES | in qcom_nandc_codeword_fixup() 2488 host->cfg0 = (cwperpage - 1) << CW_PER_PAGE in qcom_nand_attach_chip() [all …]
|
/linux-6.12.1/include/linux/ |
D | switchtec.h | 231 struct partition_info cfg0; member 258 struct partition_info cfg0; member
|
/linux-6.12.1/drivers/net/wireless/realtek/rtl8xxxu/ |
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-6.12.1/drivers/pci/controller/ |
D | pcie-altera.c | 323 u8 cfg0 = read ? pcie->pcie_data->cfgrd0 : pcie->pcie_data->cfgwr0; in get_tlp_header() local 328 cfg = (bus == pcie->root_bus_nr) ? cfg0 : cfg1; in get_tlp_header() 330 cfg = (bus > S10_RP_SECONDARY(pcie)) ? cfg0 : cfg1; in get_tlp_header()
|
/linux-6.12.1/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 332 u32 cfg0, cfg1, mode; in intel_pin_dbg_show() local 341 cfg0 = readl(intel_get_padcfg(pctrl, pin, PADCFG0)); in intel_pin_dbg_show() 344 mode = (cfg0 & PADCFG0_PMODE_MASK) >> PADCFG0_PMODE_SHIFT; in intel_pin_dbg_show() 350 seq_printf(s, "0x%08x 0x%08x", cfg0, cfg1); in intel_pin_dbg_show()
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | debugfs_htt_stats.c | 4660 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_HWQS; in ath11k_prep_htt_stats_cfg_params() 4663 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_TXQS; in ath11k_prep_htt_stats_cfg_params() 4666 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_CMDQS; in ath11k_prep_htt_stats_cfg_params() 4669 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params() 4670 cfg_params->cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_prep_htt_stats_cfg_params() 4682 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ALL_RINGS; in ath11k_prep_htt_stats_cfg_params() 4685 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_PEERS; in ath11k_prep_htt_stats_cfg_params() 4688 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_CCA_CUMULATIVE; in ath11k_prep_htt_stats_cfg_params() 4691 cfg_params->cfg0 = HTT_STAT_DEFAULT_CFG0_ACTIVE_VDEVS; in ath11k_prep_htt_stats_cfg_params() 4694 cfg_params->cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_prep_htt_stats_cfg_params() [all …]
|
D | debugfs_sta.c | 715 cfg_params.cfg0 = HTT_STAT_PEER_INFO_MAC_ADDR; in ath11k_write_htt_peer_stats_reset() 716 cfg_params.cfg0 |= FIELD_PREP(GENMASK(15, 1), in ath11k_write_htt_peer_stats_reset()
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | debugfs_htt_stats.c | 1707 cfg_params.cfg0 = stats_req->cfg_param[0]; in ath12k_debugfs_htt_stats_req() 1844 cfg_params.cfg0 = HTT_STAT_DEFAULT_RESET_START_OFFSET; in ath12k_write_htt_stats_reset() 1849 cfg_params.cfg1 = 1 << (cfg_params.cfg0 + type); in ath12k_write_htt_stats_reset() 1852 cfg_params.cfg2 = ATH12K_HTT_STATS_RESET_BITMAP32_BIT(cfg_params.cfg0 + in ath12k_write_htt_stats_reset() 1856 cfg_params.cfg3 = ATH12K_HTT_STATS_RESET_BITMAP64_BIT(cfg_params.cfg0 + in ath12k_write_htt_stats_reset()
|
/linux-6.12.1/drivers/pinctrl/nuvoton/ |
D | pinctrl-wpcm450.c | 77 u8 cfg0, cfg1, cfg2; member 1067 dirout = pctrl->gpio_base + bank->cfg0; in wpcm450_gpio_register()
|
/linux-6.12.1/drivers/scsi/ |
D | dc395x.c | 180 u8 cfg0; /* Target configuration byte 0 */ member 667 eeprom->target[id].cfg0 = in eeprom_override() 1132 dcb->dev_mode = eeprom->target[dcb->target_id].cfg0; in reset_dev_param() 3562 dcb->dev_mode = eeprom->target[target].cfg0; in device_alloc() 4063 eeprom->target[0].cfg0); in print_eeprom_settings()
|