Lines Matching full:desired

483 				  const struct mvebu_pcie_window *desired,  in mvebu_pcie_set_window()  argument
488 if (desired->base == cur->base && desired->remap == cur->remap && in mvebu_pcie_set_window()
489 desired->size == cur->size) in mvebu_pcie_set_window()
504 if (desired->size == 0) in mvebu_pcie_set_window()
507 ret = mvebu_pcie_add_windows(port, target, attribute, desired->base, in mvebu_pcie_set_window()
508 desired->size, desired->remap); in mvebu_pcie_set_window()
515 *cur = *desired; in mvebu_pcie_set_window()
521 struct mvebu_pcie_window desired = {}; in mvebu_pcie_handle_iobase_change() local
528 &desired, &port->iowin); in mvebu_pcie_handle_iobase_change()
537 desired.remap = ((conf->iobase & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
539 desired.base = port->pcie->io.start + desired.remap; in mvebu_pcie_handle_iobase_change()
540 desired.size = ((0xFFF | ((conf->iolimit & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change()
542 desired.remap) + in mvebu_pcie_handle_iobase_change()
545 return mvebu_pcie_set_window(port, port->io_target, port->io_attr, &desired, in mvebu_pcie_handle_iobase_change()
551 struct mvebu_pcie_window desired = {.remap = MVEBU_MBUS_NO_REMAP}; in mvebu_pcie_handle_membase_change() local
557 &desired, &port->memwin); in mvebu_pcie_handle_membase_change()
565 desired.base = ((le16_to_cpu(conf->membase) & 0xFFF0) << 16); in mvebu_pcie_handle_membase_change()
566 desired.size = (((le16_to_cpu(conf->memlimit) & 0xFFF0) << 16) | 0xFFFFF) - in mvebu_pcie_handle_membase_change()
567 desired.base + 1; in mvebu_pcie_handle_membase_change()
569 return mvebu_pcie_set_window(port, port->mem_target, port->mem_attr, &desired, in mvebu_pcie_handle_membase_change()