Home
last modified time | relevance | path

Searched refs:memcfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/arch/mips/sgi-ip30/
Dip30-setup.c52 u32 memcfg; in ip30_mem_init() local
57 memcfg = __raw_readl(&heart_regs->mem_cfg.l[i]); in ip30_mem_init()
58 if (!(memcfg & HEART_MEMCFG_VALID)) in ip30_mem_init()
61 addr = memcfg & HEART_MEMCFG_ADDR_MASK; in ip30_mem_init()
64 size = memcfg & HEART_MEMCFG_SIZE_MASK; in ip30_mem_init()
/linux-6.1.9/sound/drivers/opl4/
Dopl4_lib.c51 u8 memcfg; in snd_opl4_read_memory() local
55 memcfg = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_read_memory()
56 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_read_memory()
67 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_read_memory()
77 u8 memcfg; in snd_opl4_write_memory() local
81 memcfg = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_write_memory()
82 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg | OPL4_MODE_BIT); in snd_opl4_write_memory()
93 snd_opl4_write(opl4, OPL4_REG_MEMORY_CONFIGURATION, memcfg); in snd_opl4_write_memory()
/linux-6.1.9/arch/mips/ath25/
Dar2315.c258 u32 memsize, memcfg; in ar2315_plat_mem_setup() local
265 memcfg = __raw_readl(sdram_base + AR2315_MEM_CFG); in ar2315_plat_mem_setup()
266 memsize = 1 + ATH25_REG_MS(memcfg, AR2315_MEM_CFG_DATA_WIDTH); in ar2315_plat_mem_setup()
267 memsize <<= 1 + ATH25_REG_MS(memcfg, AR2315_MEM_CFG_COL_WIDTH); in ar2315_plat_mem_setup()
268 memsize <<= 1 + ATH25_REG_MS(memcfg, AR2315_MEM_CFG_ROW_WIDTH); in ar2315_plat_mem_setup()
Dar5312.c354 u32 memsize, memcfg, bank0_ac, bank1_ac; in ar5312_plat_mem_setup() local
360 memcfg = __raw_readl(sdram_base + AR5312_MEM_CFG1); in ar5312_plat_mem_setup()
361 bank0_ac = ATH25_REG_MS(memcfg, AR5312_MEM_CFG1_AC0); in ar5312_plat_mem_setup()
362 bank1_ac = ATH25_REG_MS(memcfg, AR5312_MEM_CFG1_AC1); in ar5312_plat_mem_setup()
/linux-6.1.9/drivers/net/hamradio/
Dscc.c1711 struct scc_mem_config memcfg; in scc_net_siocdevprivate() local
1909 if (!arg || copy_from_user(&memcfg, arg, sizeof(memcfg))) in scc_net_siocdevprivate()
1911 scc->stat.bufsize = memcfg.bufsize; in scc_net_siocdevprivate()