Home
last modified time | relevance | path

Searched refs:cfg1 (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/comedi/drivers/
A Dni_at_ao.c108 unsigned short cfg1; member
120 devpriv->cfg1 |= ATAO_CFG1_GRP2WR; in atao_select_reg_group()
122 devpriv->cfg1 &= ~ATAO_CFG1_GRP2WR; in atao_select_reg_group()
123 outw(devpriv->cfg1, dev->iobase + ATAO_CFG1_REG); in atao_select_reg_group()
271 devpriv->cfg1 = 0; in atao_reset()
272 outw(devpriv->cfg1, dev->iobase + ATAO_CFG1_REG); in atao_reset()
/linux/drivers/gpu/drm/exynos/
A Dexynos_drm_fimc.c419 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()
463 fimc_write(ctx, cfg1, EXYNOS_MSCTRL); in fimc_src_set_transf()
1011 u32 cfg0, cfg1; in fimc_start() local
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Darb.c202 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/drivers/media/platform/atmel/
A Datmel-isi.c360 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()
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()
803 cfg1 |= ISI_CFG1_EMB_SYNC; in isi_camera_set_bus_param()
805 cfg1 |= ISI_CFG1_FULL_MODE; in isi_camera_set_bus_param()
807 cfg1 |= ISI_CFG1_THMASK_BEATS_16; in isi_camera_set_bus_param()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
A Dphy.c187 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/drivers/iio/adc/
A Dimx7d_adc.c233 u32 cfg1 = 0; in imx7d_adc_channel_set() local
240 cfg1 |= (IMX7D_REG_ADC_CH_CFG1_CHANNEL_EN | in imx7d_adc_channel_set()
250 cfg1 |= IMX7D_REG_ADC_CH_CFG1_CHANNEL_SEL(channel); in imx7d_adc_channel_set()
267 writel(cfg1, info->regs + IMX7D_EACH_CHANNEL_REG_OFFSET * channel); in imx7d_adc_channel_set()
/linux/drivers/video/fbdev/nvidia/
A Dnv_hw.c387 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/drivers/net/ethernet/agere/
A Det131x.c819 &macregs->cfg1); in et1310_config_mac_regs1()
861 writel(0, &macregs->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()
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()
927 cfg1); in et1310_config_mac_regs2()
1689 writel(reg, &adapter->regs->mac.cfg1); in et131x_soft_reset()
1696 writel(reg, &adapter->regs->mac.cfg1); in et131x_soft_reset()
[all …]
A Det131x.h1047 u32 cfg1; /* 0x5000 */ member
/linux/drivers/soc/qcom/
A Dqcom-geni-se.c439 u32 cfg0, cfg1, cfg[NUM_PACKING_VECTORS] = {0}; in geni_se_config_packing() local
468 cfg1 = cfg[2] | (cfg[3] << PACKING_VECTOR_SHIFT); in geni_se_config_packing()
472 writel_relaxed(cfg1, se->base + SE_GENI_TX_PACKING_CFG1); in geni_se_config_packing()
476 writel_relaxed(cfg1, se->base + SE_GENI_RX_PACKING_CFG1); in geni_se_config_packing()
/linux/arch/sparc/include/asm/
A Dsbi.h21 /* 0x0014 */ u32 cfg1; /* Slot1 config reg */ member
/linux/sound/pci/
A Dals4000.c691 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/drivers/video/fbdev/riva/
A Driva_hw.c802 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/drivers/perf/
A Dfsl_imx8_ddr_perf.c508 int cfg1 = event->attr.config1; in ddr_perf_event_add() local
521 cfg1 ^= AXI_MASKING_REVERT; in ddr_perf_event_add()
522 writel(cfg1, pmu->base + COUNTER_DPCR1); in ddr_perf_event_add()
/linux/drivers/mtd/nand/raw/
A Dqcom_nandc.c311 __le32 cfg1; member
463 u32 cfg0, cfg1; member
637 return &regs->cfg1; in offset_to_nandc_reg()
736 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local
752 cfg1 = host->cfg1; in update_rw_regs()
758 cfg1 = host->cfg1_raw; in update_rw_regs()
764 nandc_set_reg(chip, NAND_DEV0_CFG1, cfg1); in update_rw_regs()
2672 host->cfg1 = 7 << NAND_RECOVERY_CYCLES in qcom_nand_attach_chip()
2712 host->cfg0, host->cfg1, host->ecc_buf_cfg, host->ecc_bch_cfg, in qcom_nand_attach_chip()
/linux/include/linux/
A Dswitchtec.h231 struct partition_info cfg1; member
258 struct partition_info cfg1; member
/linux/drivers/pci/controller/
A Dpcie-altera.c326 u8 cfg1 = read ? pcie->pcie_data->cfgrd1 : pcie->pcie_data->cfgwr1; in get_tlp_header() local
330 cfg = (bus == pcie->root_bus_nr) ? cfg0 : cfg1; in get_tlp_header()
332 cfg = (bus > S10_RP_SECONDARY(pcie)) ? cfg0 : cfg1; in get_tlp_header()
/linux/sound/pci/au88x0/
A Dau88x0_core.c1097 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()
A Dau88x0.h112 int cfg1; member
/linux/drivers/gpu/drm/i915/display/
A Dintel_dsi_vbt.c277 u16 cfg0, cfg1; in chv_exec_gpio() local
317 cfg1 = CHV_GPIO_PAD_CFG1(family_num, gpio_index); in chv_exec_gpio()
320 vlv_iosf_sb_write(dev_priv, port, cfg1, 0); in chv_exec_gpio()
/linux/drivers/scsi/
A Dqla1280.c2184 uint16_t hwrev, cfg1, cdma_conf; in qla1280_nvram_config() local
2188 cfg1 = RD_REG_WORD(&reg->cfg_1) & ~(BIT_4 | BIT_5 | BIT_6); in qla1280_nvram_config()
2193 cfg1 |= nv->isp_config.fifo_threshold << 4; in qla1280_nvram_config()
2195 cfg1 |= nv->isp_config.burst_enable << 2; in qla1280_nvram_config()
2196 WRT_REG_WORD(&reg->cfg_1, cfg1); in qla1280_nvram_config()
2201 uint16_t cfg1, term; in qla1280_nvram_config() local
2204 cfg1 = nv->isp_config.fifo_threshold << 4; in qla1280_nvram_config()
2205 cfg1 |= nv->isp_config.burst_enable << 2; in qla1280_nvram_config()
2208 cfg1 |= BIT_13; in qla1280_nvram_config()
2209 WRT_REG_WORD(&reg->cfg_1, cfg1); in qla1280_nvram_config()
/linux/drivers/net/ethernet/atheros/
A Dag71xx.c1119 u32 cfg1, cfg2; in ag71xx_mac_link_up() local
1153 cfg1 = ag71xx_rr(ag, AG71XX_REG_MAC_CFG1); in ag71xx_mac_link_up()
1154 cfg1 &= ~(MAC_CFG1_TFC | MAC_CFG1_RFC); in ag71xx_mac_link_up()
1156 cfg1 |= MAC_CFG1_TFC; in ag71xx_mac_link_up()
1159 cfg1 |= MAC_CFG1_RFC; in ag71xx_mac_link_up()
1160 ag71xx_wr(ag, AG71XX_REG_MAC_CFG1, cfg1); in ag71xx_mac_link_up()
/linux/sound/soc/stm/
A Dstm32_i2s.c725 u32 cfgr, cfgr_mask, cfg1; in stm32_i2s_configure() local
761 cfg1 = I2S_CFG1_FTHVL_SET(fthlv - 1); in stm32_i2s_configure()
764 I2S_CFG1_FTHVL_MASK, cfg1); in stm32_i2s_configure()
/linux/drivers/net/ethernet/smsc/
A Dsmc91x.c906 int bmcr, cfg1; in smc_phy_fixed() local
911 cfg1 = smc_phy_read(dev, phyaddr, PHY_CFG1_REG); in smc_phy_fixed()
912 cfg1 |= PHY_CFG1_LNKDIS; in smc_phy_fixed()
913 smc_phy_write(dev, phyaddr, PHY_CFG1_REG, cfg1); in smc_phy_fixed()
/linux/drivers/spi/
A Dspi-stm32.c402 u32 cfg1, max_bpw; in stm32h7_spi_get_bpw_mask() local
412 cfg1 = readl_relaxed(spi->base + STM32H7_SPI_CFG1); in stm32h7_spi_get_bpw_mask()
413 max_bpw = FIELD_GET(STM32H7_SPI_CFG1_DSIZE, cfg1) + 1; in stm32h7_spi_get_bpw_mask()

Completed in 115 milliseconds

12