Lines Matching full:desired
340 const struct mvebu_pcie_window *desired, in mvebu_pcie_set_window() argument
343 if (desired->base == cur->base && desired->remap == cur->remap && in mvebu_pcie_set_window()
344 desired->size == cur->size) in mvebu_pcie_set_window()
359 if (desired->size == 0) in mvebu_pcie_set_window()
362 mvebu_pcie_add_windows(port, target, attribute, desired->base, in mvebu_pcie_set_window()
363 desired->size, desired->remap); in mvebu_pcie_set_window()
364 *cur = *desired; in mvebu_pcie_set_window()
369 struct mvebu_pcie_window desired = {}; in mvebu_pcie_handle_iobase_change() local
377 &desired, &port->iowin); in mvebu_pcie_handle_iobase_change()
394 desired.remap = ((conf->iobase & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
396 desired.base = port->pcie->io.start + desired.remap; in mvebu_pcie_handle_iobase_change()
397 desired.size = ((0xFFF | ((conf->iolimit & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
399 desired.remap) + in mvebu_pcie_handle_iobase_change()
402 mvebu_pcie_set_window(port, port->io_target, port->io_attr, &desired, in mvebu_pcie_handle_iobase_change()
408 struct mvebu_pcie_window desired = {.remap = MVEBU_MBUS_NO_REMAP}; in mvebu_pcie_handle_membase_change() local
415 &desired, &port->memwin); in mvebu_pcie_handle_membase_change()
425 desired.base = ((conf->membase & 0xFFF0) << 16); in mvebu_pcie_handle_membase_change()
426 desired.size = (((conf->memlimit & 0xFFF0) << 16) | 0xFFFFF) - in mvebu_pcie_handle_membase_change()
427 desired.base + 1; in mvebu_pcie_handle_membase_change()
429 mvebu_pcie_set_window(port, port->mem_target, port->mem_attr, &desired, in mvebu_pcie_handle_membase_change()