/linux-6.6.21/arch/loongarch/mm/ |
D | cache.c | 96 unsigned int cfg1; \ 98 cfg1 = read_cpucfg(LOONGARCH_CPUCFG17 + leaf); \ 109 cdesc->ways = ((cfg1 & CPUCFG_CACHE_WAYS_M) >> CPUCFG_CACHE_WAYS) + 1; \ 110 cdesc->sets = 1 << ((cfg1 & CPUCFG_CACHE_SETS_M) >> CPUCFG_CACHE_SETS); \ 111 cdesc->linesz = 1 << ((cfg1 & CPUCFG_CACHE_LSIZE_M) >> CPUCFG_CACHE_LSIZE); \
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | ni_at_ao.c | 106 unsigned short cfg1; member 118 devpriv->cfg1 |= ATAO_CFG1_GRP2WR; in atao_select_reg_group() 120 devpriv->cfg1 &= ~ATAO_CFG1_GRP2WR; in atao_select_reg_group() 121 outw(devpriv->cfg1, dev->iobase + ATAO_CFG1_REG); in atao_select_reg_group() 269 devpriv->cfg1 = 0; in atao_reset() 270 outw(devpriv->cfg1, dev->iobase + ATAO_CFG1_REG); in atao_reset()
|
/linux-6.6.21/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimc.c | 419 u32 cfg1, cfg2; in fimc_src_set_transf() local 423 cfg1 = fimc_read(ctx, EXYNOS_MSCTRL); in fimc_src_set_transf() 424 cfg1 &= ~(EXYNOS_MSCTRL_FLIP_X_MIRROR | in fimc_src_set_transf() 433 cfg1 |= EXYNOS_MSCTRL_FLIP_X_MIRROR; in fimc_src_set_transf() 435 cfg1 |= EXYNOS_MSCTRL_FLIP_Y_MIRROR; in fimc_src_set_transf() 440 cfg1 |= EXYNOS_MSCTRL_FLIP_X_MIRROR; in fimc_src_set_transf() 442 cfg1 |= EXYNOS_MSCTRL_FLIP_Y_MIRROR; in fimc_src_set_transf() 445 cfg1 |= (EXYNOS_MSCTRL_FLIP_X_MIRROR | in fimc_src_set_transf() 448 cfg1 &= ~EXYNOS_MSCTRL_FLIP_X_MIRROR; in fimc_src_set_transf() 450 cfg1 &= ~EXYNOS_MSCTRL_FLIP_Y_MIRROR; in fimc_src_set_transf() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/ |
D | arb.c | 202 uint32_t cfg1 = nvif_rd32(device, NV04_PFB_CFG1); in nv04_update_arb() local 225 sim_data.mem_latency = cfg1 & 0xf; in nv04_update_arb() 226 sim_data.mem_page_miss = ((cfg1 >> 4) & 0xf) + ((cfg1 >> 31) & 0x1); in nv04_update_arb()
|
/linux-6.6.21/drivers/media/platform/atmel/ |
D | atmel-isi.c | 360 u32 ctrl, cfg1; in start_dma() local 362 cfg1 = isi_readl(isi, ISI_CFG1); in start_dma() 387 cfg1 &= ~ISI_CFG1_FRATE_DIV_MASK; in start_dma() 389 cfg1 |= isi->pdata.frate | ISI_CFG1_DISCR; in start_dma() 398 isi_writel(isi, ISI_CFG1, cfg1); in start_dma() 792 u32 cfg1 = 0; in isi_camera_set_bus_param() local 797 cfg1 |= ISI_CFG1_HSYNC_POL_ACTIVE_LOW; in isi_camera_set_bus_param() 799 cfg1 |= ISI_CFG1_VSYNC_POL_ACTIVE_LOW; in isi_camera_set_bus_param() 801 cfg1 |= ISI_CFG1_PIXCLK_POL_ACTIVE_FALLING; in isi_camera_set_bus_param() 803 cfg1 |= ISI_CFG1_EMB_SYNC; in isi_camera_set_bus_param() [all …]
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | phy.c | 187 u32 cfg0, cfg1; in mt76x2_configure_tx_delay() local 191 cfg1 = 0x00011414; in mt76x2_configure_tx_delay() 194 cfg1 = 0x00021414; in mt76x2_configure_tx_delay() 197 mt76_wr(dev, MT_TX_SW_CFG1, cfg1); in mt76x2_configure_tx_delay()
|
/linux-6.6.21/drivers/iio/adc/ |
D | imx7d_adc.c | 236 u32 cfg1 = 0; in imx7d_adc_channel_set() local 243 cfg1 |= (IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN | in imx7d_adc_channel_set() 253 cfg1 |= IMX7D_REG_ADC_CH_CFG1_CHANNEL_SEL(channel); in imx7d_adc_channel_set() 270 writel(cfg1, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel); in imx7d_adc_channel_set()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_hw.h | 243 u32 cfg1; member 269 u32 cfg1; member 332 u32 cfg1; member
|
D | erdma_verbs.c | 54 req.cfg1 = FIELD_PREP(ERDMA_CMD_CREATE_QP_RQ_DEPTH_MASK, in create_qp_cmd() 158 req.cfg1 = FIELD_PREP(ERDMA_CMD_REGMR_PD_MASK, pd->pdn) | in regmr_cmd() 198 req.cfg1 = FIELD_PREP(ERDMA_CMD_CREATE_CQ_EQN_MASK, cq->assoc_eqn); in create_cq_cmd() 207 req.cfg1 |= FIELD_PREP(ERDMA_CMD_CREATE_CQ_MTT_CNT_MASK, 1) | in create_cq_cmd() 222 req.cfg1 |= in create_cq_cmd() 228 req.cfg1 |= in create_cq_cmd() 232 req.cfg1 |= FIELD_PREP(ERDMA_CMD_CREATE_CQ_MTT_CNT_MASK, in create_cq_cmd() 239 req.cfg1 |= FIELD_PREP( in create_cq_cmd()
|
/linux-6.6.21/drivers/phy/qualcomm/ |
D | phy-qcom-edp.c | 457 u8 cfg1; in qcom_edp_phy_power_on() local 546 cfg1 = 0x1; in qcom_edp_phy_power_on() 552 cfg1 = 0x3; in qcom_edp_phy_power_on() 558 cfg1 = 0xf; in qcom_edp_phy_power_on() 565 writel(cfg1, edp->edp + DP_PHY_CFG_1); in qcom_edp_phy_power_on()
|
/linux-6.6.21/drivers/perf/ |
D | fsl_imx9_ddr_perf.c | 364 static void ddr_perf_monitor_config(struct ddr_pmu *pmu, int cfg, int cfg1, int cfg2) in ddr_perf_monitor_config() argument 395 pmcfg2 |= FIELD_PREP(PMCFG2_ID, cfg1); in ddr_perf_monitor_config() 468 int cfg1 = event->attr.config1; in ddr_perf_event_add() local 483 ddr_perf_monitor_config(pmu, cfg, cfg1, cfg2); in ddr_perf_event_add()
|
D | fsl_imx8_ddr_perf.c | 532 int cfg1 = event->attr.config1; in ddr_perf_event_add() local 545 cfg1 ^= AXI_MASKING_REVERT; in ddr_perf_event_add() 546 writel(cfg1, pmu->base + COUNTER_DPCR1); in ddr_perf_event_add()
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | sbi.h | 21 /* 0x0014 */ u32 cfg1; /* Slot1 config reg */ member
|
/linux-6.6.21/drivers/video/fbdev/nvidia/ |
D | nv_hw.c | 387 unsigned int MClk, NVClk, cfg1; in nv4UpdateArbitrationSettings() local 391 cfg1 = NV_RD32(par->PFB, 0x00000204); in nv4UpdateArbitrationSettings() 397 sim_data.mem_latency = (char)cfg1 & 0x0F; in nv4UpdateArbitrationSettings() 400 (char)(((cfg1 >> 4) & 0x0F) + ((cfg1 >> 31) & 0x01)); in nv4UpdateArbitrationSettings() 626 unsigned int MClk, NVClk, cfg1; in nv10UpdateArbitrationSettings() local 630 cfg1 = NV_RD32(par->PFB, 0x0204); in nv10UpdateArbitrationSettings() 637 sim_data.mem_latency = (char)cfg1 & 0x0F; in nv10UpdateArbitrationSettings() 640 (char)(((cfg1 >> 4) & 0x0F) + ((cfg1 >> 31) & 0x01)); in nv10UpdateArbitrationSettings()
|
/linux-6.6.21/drivers/net/ethernet/agere/ |
D | et131x.c | 819 ¯egs->cfg1); in et1310_config_mac_regs1() 861 writel(0, ¯egs->cfg1); in et1310_config_mac_regs1() 869 u32 cfg1; in et1310_config_mac_regs2() local 875 cfg1 = readl(&mac->cfg1); in et1310_config_mac_regs2() 889 cfg1 |= ET_MAC_CFG1_RX_ENABLE | ET_MAC_CFG1_TX_ENABLE | in et1310_config_mac_regs2() 892 cfg1 &= ~(ET_MAC_CFG1_LOOPBACK | ET_MAC_CFG1_RX_FLOW); in et1310_config_mac_regs2() 894 cfg1 |= ET_MAC_CFG1_RX_FLOW; in et1310_config_mac_regs2() 895 writel(cfg1, &mac->cfg1); in et1310_config_mac_regs2() 921 cfg1 = readl(&mac->cfg1); in et1310_config_mac_regs2() 922 } while ((cfg1 & ET_MAC_CFG1_WAIT) != ET_MAC_CFG1_WAIT && delay < 100); in et1310_config_mac_regs2() [all …]
|
/linux-6.6.21/drivers/soc/qcom/ |
D | qcom-geni-se.c | 434 u32 cfg0, cfg1, cfg[NUM_PACKING_VECTORS] = {0}; in geni_se_config_packing() local 463 cfg1 = cfg[2] | (cfg[3] << PACKING_VECTOR_SHIFT); in geni_se_config_packing() 467 writel_relaxed(cfg1, se->base + SE_GENI_TX_PACKING_CFG1); in geni_se_config_packing() 471 writel_relaxed(cfg1, se->base + SE_GENI_RX_PACKING_CFG1); in geni_se_config_packing()
|
/linux-6.6.21/sound/pci/ |
D | als4000.c | 691 u32 cfg1 = 0; in snd_als4000_set_addr() local 699 cfg1 |= (game_io | 1) << 16; in snd_als4000_set_addr() 701 cfg1 |= (opl_io | 1); in snd_als4000_set_addr() 702 snd_als4k_gcr_write_addr(iobase, ALS4K_GCRA8_LEGACY_CFG1, cfg1); in snd_als4000_set_addr()
|
/linux-6.6.21/drivers/video/fbdev/riva/ |
D | riva_hw.c | 802 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv4UpdateArbitrationSettings() local 810 cfg1 = NV_RD32(&chip->PFB[0x00000204/4], 0); in nv4UpdateArbitrationSettings() 816 sim_data.mem_latency = (char)cfg1 & 0x0F; in nv4UpdateArbitrationSettings() 818 sim_data.mem_page_miss = (char)(((cfg1 >> 4) &0x0F) + ((cfg1 >> 31) & 0x01)); in nv4UpdateArbitrationSettings() 1051 unsigned int M, N, P, pll, MClk, NVClk, cfg1; in nv10UpdateArbitrationSettings() local 1059 cfg1 = NV_RD32(&chip->PFB[0x00000204/4], 0); in nv10UpdateArbitrationSettings() 1067 sim_data.mem_latency = (char)cfg1 & 0x0F; in nv10UpdateArbitrationSettings() 1069 sim_data.mem_page_miss = (char)(((cfg1 >> 4) &0x0F) + ((cfg1 >> 31) & 0x01)); in nv10UpdateArbitrationSettings()
|
/linux-6.6.21/Documentation/devicetree/bindings/thermal/ |
D | ti,j72xx-thermal.yaml | 33 - description: VTM cfg1 register space
|
/linux-6.6.21/include/linux/ |
D | switchtec.h | 232 struct partition_info cfg1; member 259 struct partition_info cfg1; member
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-altera.c | 325 u8 cfg1 = read ? pcie->pcie_data->cfgrd1 : pcie->pcie_data->cfgwr1; in get_tlp_header() local 329 cfg = (bus == pcie->root_bus_nr) ? cfg0 : cfg1; in get_tlp_header() 331 cfg = (bus > S10_RP_SECONDARY(pcie)) ? cfg0 : cfg1; in get_tlp_header()
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | qcom_nandc.c | 318 __le32 cfg1; member 534 u32 cfg0, cfg1; member 715 return ®s->cfg1; in offset_to_nandc_reg() 814 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local 830 cfg1 = host->cfg1; in update_rw_regs() 836 cfg1 = host->cfg1_raw; in update_rw_regs() 842 nandc_set_reg(chip, NAND_DEV0_CFG1, cfg1); in update_rw_regs() 2497 host->cfg1 = 7 << NAND_RECOVERY_CYCLES in qcom_nand_attach_chip() 2537 host->cfg0, host->cfg1, host->ecc_buf_cfg, host->ecc_bch_cfg, in qcom_nand_attach_chip()
|
/linux-6.6.21/sound/pci/au88x0/ |
D | au88x0_core.c | 1097 dma->cfg1 = 0; in vortex_adbdma_setbuffers() 1102 dma->cfg1 |= 0x88000000 | 0x44000000 | 0x30000000 | (psize - 1); in vortex_adbdma_setbuffers() 1110 dma->cfg1 |= 0x80000000 | 0x40000000 | ((psize - 1) << 0xc); in vortex_adbdma_setbuffers() 1135 hwwrite(vortex->mmio, VORTEX_ADBDMA_BUFCFG1 + (adbdma << 3), dma->cfg1); in vortex_adbdma_setbuffers() 1376 dma->cfg1 = 0; in vortex_wtdma_setbuffers() 1381 dma->cfg1 |= 0x88000000 | 0x44000000 | 0x30000000 | (psize-1); in vortex_wtdma_setbuffers() 1388 dma->cfg1 |= 0x80000000 | 0x40000000 | ((psize-1) << 0xc); in vortex_wtdma_setbuffers() 1406 hwwrite(vortex->mmio, VORTEX_WTDMA_BUFCFG1 + (wtdma << 3), dma->cfg1); in vortex_wtdma_setbuffers()
|
/linux-6.6.21/drivers/scsi/ |
D | qla1280.c | 2177 uint16_t hwrev, cfg1, cdma_conf; in qla1280_nvram_config() local 2181 cfg1 = RD_REG_WORD(®->cfg_1) & ~(BIT_4 | BIT_5 | BIT_6); in qla1280_nvram_config() 2186 cfg1 |= nv->isp_config.fifo_threshold << 4; in qla1280_nvram_config() 2188 cfg1 |= nv->isp_config.burst_enable << 2; in qla1280_nvram_config() 2189 WRT_REG_WORD(®->cfg_1, cfg1); in qla1280_nvram_config() 2194 uint16_t cfg1, term; in qla1280_nvram_config() local 2197 cfg1 = nv->isp_config.fifo_threshold << 4; in qla1280_nvram_config() 2198 cfg1 |= nv->isp_config.burst_enable << 2; in qla1280_nvram_config() 2201 cfg1 |= BIT_13; in qla1280_nvram_config() 2202 WRT_REG_WORD(®->cfg_1, cfg1); in qla1280_nvram_config()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 298 u16 cfg0, cfg1; in chv_exec_gpio() local 338 cfg1 = CHV_GPIO_PAD_CFG1(family_num, gpio_index); in chv_exec_gpio() 341 vlv_iosf_sb_write(dev_priv, port, cfg1, 0); in chv_exec_gpio()
|