Searched refs:ATH25_REG_MS (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/mips/ath25/ |
H A D | ar2315.c | 211 refdiv = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_REF_DIV); in ar2315_sys_clk() 213 fdiv = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_FDBACK_DIV); in ar2315_sys_clk() 214 divby2 = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_ADD_FDBACK_DIV) + 1; in ar2315_sys_clk() 221 clk_div = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_CLKM_DIV); in ar2315_sys_clk() 225 clk_div = ATH25_REG_MS(pllc_ctrl, AR2315_PLLC_CLKC_DIV); in ar2315_sys_clk() 234 cpu_div = ATH25_REG_MS(clock_ctl, AR2315_CPUCLK_CLK_DIV); in ar2315_sys_clk() 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()
|
H A D | devices.h | 7 #define ATH25_REG_MS(_val, _field) (((_val) & _field##_M) >> _field##_S) macro
|
H A D | ar5312.c | 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()
|