desired 103 arch/powerpc/include/asm/vio.h size_t desired; desired 135 arch/powerpc/include/asm/vio.h extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired); desired 213 arch/powerpc/platforms/powernv/ocxl.c static u16 assign_fn_actags(u16 desired, u16 total) desired 218 arch/powerpc/platforms/powernv/ocxl.c count = desired; desired 220 arch/powerpc/platforms/powernv/ocxl.c count = PNV_OCXL_ACTAG_MAX * desired / total; desired 95 arch/powerpc/platforms/pseries/vio.c size_t desired; desired 246 arch/powerpc/platforms/pseries/vio.c if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { desired 247 arch/powerpc/platforms/pseries/vio.c tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); desired 401 arch/powerpc/platforms/pseries/vio.c cmo->desired = cmo->min; desired 412 arch/powerpc/platforms/pseries/vio.c cmo->desired += (viodev->cmo.desired - VIO_CMO_MIN_ENT); desired 427 arch/powerpc/platforms/pseries/vio.c if (viodev->cmo.desired <= level) { desired 438 arch/powerpc/platforms/pseries/vio.c chunk = min(chunk, (viodev->cmo.desired - desired 622 arch/powerpc/platforms/pseries/vio.c void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) desired 632 arch/powerpc/platforms/pseries/vio.c if (desired < VIO_CMO_MIN_ENT) desired 633 arch/powerpc/platforms/pseries/vio.c desired = VIO_CMO_MIN_ENT; desired 651 arch/powerpc/platforms/pseries/vio.c if (desired >= viodev->cmo.desired) { desired 653 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired += desired - viodev->cmo.desired; desired 654 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = desired; desired 657 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired -= viodev->cmo.desired - desired; desired 658 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = desired; desired 663 arch/powerpc/platforms/pseries/vio.c if (viodev->cmo.entitled > desired) { desired 664 arch/powerpc/platforms/pseries/vio.c vio_cmo.reserve.size -= viodev->cmo.entitled - desired; desired 665 arch/powerpc/platforms/pseries/vio.c vio_cmo.excess.size += viodev->cmo.entitled - desired; desired 673 arch/powerpc/platforms/pseries/vio.c max(viodev->cmo.allocated, desired); desired 674 arch/powerpc/platforms/pseries/vio.c viodev->cmo.entitled = desired; desired 732 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = desired 734 arch/powerpc/platforms/pseries/vio.c if (viodev->cmo.desired < VIO_CMO_MIN_ENT) desired 735 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = VIO_CMO_MIN_ENT; desired 747 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = 0; desired 762 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired += (viodev->cmo.desired - desired 788 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired += viodev->cmo.desired; desired 840 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired -= (viodev->cmo.desired - VIO_CMO_MIN_ENT); desired 868 arch/powerpc/platforms/pseries/vio.c viodev->cmo.desired = VIO_CMO_MIN_ENT; desired 927 arch/powerpc/platforms/pseries/vio.c vio_cmo.desired = vio_cmo.reserve.size; desired 970 arch/powerpc/platforms/pseries/vio.c viodev_cmo_rd_attr(desired); desired 1021 arch/powerpc/platforms/pseries/vio.c viobus_cmo_rd_attr(desired); desired 1066 arch/powerpc/platforms/pseries/vio.c void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) {} desired 63 arch/x86/platform/olpc/olpc.c static int __wait_on_ibf(unsigned int line, unsigned int port, int desired) desired 68 arch/x86/platform/olpc/olpc.c for (timeo = ec_timeout; state != desired && timeo; timeo--) { desired 73 arch/x86/platform/olpc/olpc.c if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && desired 79 arch/x86/platform/olpc/olpc.c return !(state == desired); desired 83 arch/x86/platform/olpc/olpc.c static int __wait_on_obf(unsigned int line, unsigned int port, int desired) desired 88 arch/x86/platform/olpc/olpc.c for (timeo = ec_timeout; state != desired && timeo; timeo--) { desired 93 arch/x86/platform/olpc/olpc.c if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && desired 99 arch/x86/platform/olpc/olpc.c return !(state == desired); desired 915 drivers/media/i2c/ov2659.c unsigned int desired = pdata->link_frequency; desired 930 drivers/media/i2c/ov2659.c delta = actual - desired; desired 363 drivers/mmc/host/mmci.c static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired) desired 371 drivers/mmc/host/mmci.c if (desired) { desired 374 drivers/mmc/host/mmci.c } else if (desired >= host->mclk) { desired 386 drivers/mmc/host/mmci.c clk = DIV_ROUND_UP(host->mclk, desired) - 2; desired 395 drivers/mmc/host/mmci.c clk = host->mclk / (2 * desired) - 1; desired 367 drivers/mmc/host/mmci.h void (*set_clkreg)(struct mmci_host *host, unsigned int desired); desired 170 drivers/mmc/host/mmci_stm32_sdmmc.c static void mmci_sdmmc_set_clkreg(struct mmci_host *host, unsigned int desired) desired 183 drivers/mmc/host/mmci_stm32_sdmmc.c if (desired) { desired 184 drivers/mmc/host/mmci_stm32_sdmmc.c if (desired >= host->mclk && !ddr) { desired 187 drivers/mmc/host/mmci_stm32_sdmmc.c clk = DIV_ROUND_UP(host->mclk, 2 * desired); desired 2330 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.mtu = adapter->fallback.mtu; desired 2331 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_queues = adapter->fallback.rx_queues; desired 2332 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_queues = adapter->fallback.tx_queues; desired 2333 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries = adapter->fallback.rx_entries; desired 2334 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries = adapter->fallback.tx_entries; desired 2352 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.mtu = new_mtu + ETH_HLEN; desired 2470 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries = ring->rx_pending; desired 2471 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries = ring->tx_pending; desired 2514 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_queues = channels->rx_count; desired 2515 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_queues = channels->tx_count; desired 3178 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->desired.mtu) desired 3179 drivers/net/ethernet/ibm/ibmvnic.c adapter->req_mtu = adapter->desired.mtu; desired 3183 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->desired.tx_entries) desired 3184 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries = desired 3186 drivers/net/ethernet/ibm/ibmvnic.c if (!adapter->desired.rx_entries) desired 3187 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries = desired 3194 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries > IBMVNIC_MAX_LTB_SIZE) { desired 3195 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries = max_entries; desired 3199 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries > IBMVNIC_MAX_LTB_SIZE) { desired 3200 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries = max_entries; desired 3203 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->desired.tx_entries) desired 3205 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_entries; desired 3210 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->desired.rx_entries) desired 3212 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_entries; desired 3217 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->desired.tx_queues) desired 3219 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.tx_queues; desired 3224 drivers/net/ethernet/ibm/ibmvnic.c if (adapter->desired.rx_queues) desired 3226 drivers/net/ethernet/ibm/ibmvnic.c adapter->desired.rx_queues; desired 1089 drivers/net/ethernet/ibm/ibmvnic.h struct ibmvnic_tunables desired; desired 87 drivers/net/phy/mdio-mux.c int (*switch_fn)(int cur, int desired, void *data), desired 2992 drivers/net/usb/r8152.c static u16 r8153_phy_status(struct r8152 *tp, u16 desired) desired 3000 drivers/net/usb/r8152.c if (desired) { desired 3001 drivers/net/usb/r8152.c if (data == desired) desired 5662 drivers/net/wireless/broadcom/b43/phy_n.c int desired = 13; desired 5750 drivers/net/wireless/broadcom/b43/phy_n.c cur_hpf += desired - hweight32(power[index]); desired 334 drivers/pci/controller/pci-mvebu.c const struct mvebu_pcie_window *desired, desired 337 drivers/pci/controller/pci-mvebu.c if (desired->base == cur->base && desired->remap == cur->remap && desired 338 drivers/pci/controller/pci-mvebu.c desired->size == cur->size) desired 353 drivers/pci/controller/pci-mvebu.c if (desired->size == 0) desired 356 drivers/pci/controller/pci-mvebu.c mvebu_pcie_add_windows(port, target, attribute, desired->base, desired 357 drivers/pci/controller/pci-mvebu.c desired->size, desired->remap); desired 358 drivers/pci/controller/pci-mvebu.c *cur = *desired; desired 363 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_window desired = {}; desired 371 drivers/pci/controller/pci-mvebu.c &desired, &port->iowin); desired 388 drivers/pci/controller/pci-mvebu.c desired.remap = ((conf->iobase & 0xF0) << 8) | desired 390 drivers/pci/controller/pci-mvebu.c desired.base = port->pcie->io.start + desired.remap; desired 391 drivers/pci/controller/pci-mvebu.c desired.size = ((0xFFF | ((conf->iolimit & 0xF0) << 8) | desired 393 drivers/pci/controller/pci-mvebu.c desired.remap) + desired 396 drivers/pci/controller/pci-mvebu.c mvebu_pcie_set_window(port, port->io_target, port->io_attr, &desired, desired 402 drivers/pci/controller/pci-mvebu.c struct mvebu_pcie_window desired = {.remap = MVEBU_MBUS_NO_REMAP}; desired 409 drivers/pci/controller/pci-mvebu.c &desired, &port->memwin); desired 419 drivers/pci/controller/pci-mvebu.c desired.base = ((conf->membase & 0xFFF0) << 16); desired 420 drivers/pci/controller/pci-mvebu.c desired.size = (((conf->memlimit & 0xFFF0) << 16) | 0xFFFFF) - desired 421 drivers/pci/controller/pci-mvebu.c desired.base + 1; desired 423 drivers/pci/controller/pci-mvebu.c mvebu_pcie_set_window(port, port->mem_target, port->mem_attr, &desired, desired 837 fs/f2fs/segment.h long nr_to_write, desired; desired 843 fs/f2fs/segment.h desired = BIO_MAX_PAGES; desired 845 fs/f2fs/segment.h desired <<= 1; desired 847 fs/f2fs/segment.h wbc->nr_to_write = desired; desired 848 fs/f2fs/segment.h return desired - nr_to_write; desired 762 fs/hostfs/hostfs_kern.c static int hostfs_permission(struct inode *ino, int desired) desired 767 fs/hostfs/hostfs_kern.c if (desired & MAY_NOT_BLOCK) desired 770 fs/hostfs/hostfs_kern.c if (desired & MAY_READ) r = 1; desired 771 fs/hostfs/hostfs_kern.c if (desired & MAY_WRITE) w = 1; desired 772 fs/hostfs/hostfs_kern.c if (desired & MAY_EXEC) x = 1; desired 784 fs/hostfs/hostfs_kern.c err = generic_permission(ino, desired); desired 25 include/linux/mdio-mux.h int (*switch_fn) (int cur, int desired, void *data), desired 254 tools/testing/selftests/powerpc/benchmarks/context_switch.c unsigned long desired) desired 258 tools/testing/selftests/powerpc/benchmarks/context_switch.c __atomic_compare_exchange_n(p, &exp, desired, 0,