Lines Matching refs:target
111 u32 *size, u8 *target, u8 *attr, in mvebu_mbus_read_window() argument
129 if (target) in mvebu_mbus_read_window()
130 *target = (ctrlreg & WIN_CTRL_TGT_MASK) >> WIN_CTRL_TGT_SHIFT; in mvebu_mbus_read_window()
177 u8 target, u8 attr) in mvebu_mbus_window_conflicts() argument
207 if (target == wtarget && attr == wattr) in mvebu_mbus_window_conflicts()
240 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() argument
249 (target << WIN_CTRL_TGT_SHIFT) | in mvebu_mbus_setup_window()
268 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() argument
279 target, attr); in mvebu_mbus_alloc_window()
286 remap, target, attr); in mvebu_mbus_alloc_window()
380 int mvebu_mbus_add_window_remap_by_id(unsigned int target, in mvebu_mbus_add_window_remap_by_id() argument
387 if (!mvebu_mbus_window_conflicts(s, base, size, target, attribute)) { in mvebu_mbus_add_window_remap_by_id()
389 target, attribute); in mvebu_mbus_add_window_remap_by_id()
393 return mvebu_mbus_alloc_window(s, base, size, remap, target, attribute); in mvebu_mbus_add_window_remap_by_id()
396 int mvebu_mbus_add_window_by_id(unsigned int target, unsigned int attribute, in mvebu_mbus_add_window_by_id() argument
399 return mvebu_mbus_add_window_remap_by_id(target, attribute, base, in mvebu_mbus_add_window_by_id()
465 u32 base, u32 size, u8 target, u8 attr) in mbus_dt_setup_win() argument
467 if (!mvebu_mbus_window_conflicts(mbus, base, size, target, attr)) { in mbus_dt_setup_win()
469 target, attr); in mbus_dt_setup_win()
477 if (mvebu_mbus_alloc_window(mbus, base, size, base, target, attr)) { in mbus_dt_setup_win()
479 MVEBU_MBUS_NO_REMAP, target, attr)) in mbus_dt_setup_win()
519 u8 target, attr; in mvebu_mbus_probe() local
521 target = windows[i].target; in mvebu_mbus_probe()
525 ret = mbus_dt_setup_win(&mbus_state, base, size, target, attr); in mvebu_mbus_probe()