Lines Matching refs:mbus_state
154 static struct mvebu_mbus_state mbus_state; variable
469 struct mvebu_mbus_state *mbus = &mbus_state; in mvebu_sdram_debug_show()
487 struct mvebu_mbus_state *mbus = &mbus_state; in mvebu_devs_debug_show()
801 return mbus_state.soc->save_cpu_target(&mbus_state, store_addr); in mvebu_mbus_save_cpu_target()
907 struct mvebu_mbus_state *s = &mbus_state; in mvebu_mbus_add_window_remap_by_id()
929 win = mvebu_mbus_find_window(&mbus_state, base, size); in mvebu_mbus_del_window()
933 mvebu_mbus_disable_window(&mbus_state, win); in mvebu_mbus_del_window()
941 *res = mbus_state.pcie_mem_aperture; in mvebu_mbus_get_pcie_mem_aperture()
948 *res = mbus_state.pcie_io_aperture; in mvebu_mbus_get_pcie_io_aperture()
985 for (win = 0; win < mbus_state.soc->num_wins; win++) { in mvebu_mbus_get_io_win_info()
989 mvebu_mbus_read_window(&mbus_state, win, &enabled, &wbase, in mvebu_mbus_get_io_win_info()
1005 struct mvebu_mbus_state *s = &mbus_state; in mvebu_mbus_debugfs_init()
1031 struct mvebu_mbus_state *s = &mbus_state; in mvebu_mbus_suspend()
1065 struct mvebu_mbus_state *s = &mbus_state; in mvebu_mbus_resume()
1162 mbus_state.soc = of_id->data; in mvebu_mbus_init()
1164 return mvebu_mbus_common_init(&mbus_state, in mvebu_mbus_init()
1321 mbus_state.soc = of_id->data; in mvebu_mbus_dt_init()
1353 if (mbus_state.soc->has_mbus_bridge) { in mvebu_mbus_dt_init()
1358 mbus_state.hw_io_coherency = is_coherent; in mvebu_mbus_dt_init()
1361 mvebu_mbus_get_pcie_resources(np, &mbus_state.pcie_mem_aperture, in mvebu_mbus_dt_init()
1362 &mbus_state.pcie_io_aperture); in mvebu_mbus_dt_init()
1364 ret = mvebu_mbus_common_init(&mbus_state, in mvebu_mbus_dt_init()
1376 return mbus_dt_setup(&mbus_state, np); in mvebu_mbus_dt_init()