/linux-master/include/linux/ |
H A D | mdio-mux.h | 25 int (*switch_fn) (int cur, int desired, void *data),
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | vio.c | 85 * @desired: desired memory for system operation 98 size_t desired; member in struct:vio_cmo 185 * pool is used to increase the reserve pool toward the desired entitlement 245 * Increase the reserve pool until the desired allocation is met. 249 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { 250 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); 372 * The list of devices is iterated through to recalculate the desired 404 cmo->desired = cmo->min; 415 cmo->desired 628 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) argument 976 viodev_cmo_rd_attr(desired); variable 1015 viobus_cmo_rd_attr(desired); variable 1056 vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) argument [all...] |
/linux-master/arch/x86/platform/olpc/ |
H A D | olpc.c | 63 static int __wait_on_ibf(unsigned int line, unsigned int port, int desired) argument 68 for (timeo = ec_timeout; state != desired && timeo; timeo--) { 73 if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && 79 return !(state == desired); 83 static int __wait_on_obf(unsigned int line, unsigned int port, int desired) argument 88 for (timeo = ec_timeout; state != desired && timeo; timeo--) { 93 if ((state == desired) && (ec_timeout > EC_BASE_TIMEOUT) && 99 return !(state == desired);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | vio.h | 91 * @desired: set from return of driver's get_desired_dma() function 103 size_t desired; member in struct:vio_dev::__anon28 136 extern void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired);
|
/linux-master/drivers/pci/controller/ |
H A D | pci-mvebu.c | 483 const struct mvebu_pcie_window *desired, 488 if (desired->base == cur->base && desired->remap == cur->remap && 489 desired->size == cur->size) 504 if (desired->size == 0) 507 ret = mvebu_pcie_add_windows(port, target, attribute, desired->base, 508 desired->size, desired->remap); 515 *cur = *desired; 521 struct mvebu_pcie_window desired local 481 mvebu_pcie_set_window(struct mvebu_pcie_port *port, unsigned int target, unsigned int attribute, const struct mvebu_pcie_window *desired, struct mvebu_pcie_window *cur) argument 551 struct mvebu_pcie_window desired = {.remap = MVEBU_MBUS_NO_REMAP}; local [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 745 static u32 placement_flags(u32 domain, u32 desired, u32 fallback) argument 747 if (desired & fallback & domain) 750 if (desired & domain) 757 set_placement_list(struct ttm_place *pl, u32 desired, u32 fallback) argument 759 u32 domain = desired | fallback; 767 pl[n].flags = placement_flags(VMW_BO_DOMAIN_MOB, desired, 775 pl[n].flags = placement_flags(VMW_BO_DOMAIN_GMR, desired, 783 pl[n].flags = placement_flags(VMW_BO_DOMAIN_VRAM, desired, 792 desired, fallback); 799 pl[n].flags = placement_flags(VMW_BO_DOMAIN_SYS, desired, [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | alloc_repair.c | 448 unsigned int desired; local 471 desired = required - allocated; 485 len = min_t(unsigned int, arec.ar_blockcount, desired); 497 if (arec.ar_blockcount > desired) { 504 arec.ar_startblock += desired; 505 arec.ar_blockcount -= desired;
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | ocxl.c | 50 * of desired actags. The host must configure in the config space of 70 * count of desired actags for the device, and assign the actags to 185 * Check how many actags are desired for the AFUs under that 213 static u16 assign_fn_actags(u16 desired, u16 total) argument 218 count = desired; 220 count = PNV_OCXL_ACTAG_MAX * desired / total; 243 pr_debug("link %x:%x:%x fct %d actags: start=%d count=%d (desired=%d)\n", 267 * the desired actag counts during PCI enumeration, so that we
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 265 unsigned long desired) 269 __atomic_compare_exchange_n(p, &exp, desired, 0, 264 cmpxchg(unsigned long *p, unsigned long expected, unsigned long desired) argument
|
/linux-master/fs/hostfs/ |
H A D | hostfs_kern.c | 775 struct inode *ino, int desired) 780 if (desired & MAY_NOT_BLOCK) 783 if (desired & MAY_READ) r = 1; 784 if (desired & MAY_WRITE) w = 1; 785 if (desired & MAY_EXEC) x = 1; 797 err = generic_permission(&nop_mnt_idmap, ino, desired); 774 hostfs_permission(struct mnt_idmap *idmap, struct inode *ino, int desired) argument
|
/linux-master/fs/f2fs/ |
H A D | segment.h | 919 long nr_to_write, desired; local 925 desired = BIO_MAX_VECS; 927 desired <<= 1; 929 wbc->nr_to_write = desired; 930 return desired - nr_to_write;
|
/linux-master/drivers/net/mdio/ |
H A D | mdio-mux.c | 141 int (*switch_fn)(int cur, int desired, void *data), 139 mdio_mux_init(struct device *dev, struct device_node *mux_node, int (*switch_fn)(int cur, int desired, void *data), void **mux_handle, void *data, struct mii_bus *mux_bus) argument
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 577 enum pkvm_page_state desired; member in struct:check_walk_data 586 return d->get_page_state(ctx->old, ctx->addr) == d->desired ? 0 : -EPERM; 616 .desired = state, 724 .desired = state,
|
/linux-master/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 297 static void mmci_sdmmc_set_clkreg(struct mmci_host *host, unsigned int desired) argument 310 if (desired) { 311 if (desired >= host->mclk && !ddr) { 314 clk = DIV_ROUND_UP(host->mclk, 2 * desired); 323 * if desired clock is 0, set max divider
|
H A D | mmci.h | 402 void (*set_clkreg)(struct mmci_host *host, unsigned int desired);
|
H A D | mmci.c | 440 static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired) argument 448 if (desired) { 451 } else if (desired >= host->mclk) { 463 clk = DIV_ROUND_UP(host->mclk, desired) - 2; 472 clk = host->mclk / (2 * desired) - 1;
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 3559 adapter->desired.mtu = adapter->fallback.mtu; 3560 adapter->desired.rx_queues = adapter->fallback.rx_queues; 3561 adapter->desired.tx_queues = adapter->fallback.tx_queues; 3562 adapter->desired.rx_entries = adapter->fallback.rx_entries; 3563 adapter->desired.tx_entries = adapter->fallback.tx_entries; 3589 adapter->desired.mtu = new_mtu + ETH_HLEN; 3714 adapter->desired.rx_entries = ring->rx_pending; 3715 adapter->desired.tx_entries = ring->tx_pending; 3740 adapter->desired.rx_queues = channels->rx_count; 3741 adapter->desired [all...] |
H A D | ibmvnic.h | 1065 struct ibmvnic_tunables desired; member in struct:ibmvnic_adapter
|
/linux-master/arch/m68k/fpsp040/ |
H A D | binstr.S | 7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
|
H A D | bindec.S | 68 | The mantissa is scaled to the desired number of 451 | The mantissa is scaled to the desired number of significant
|
/linux-master/arch/m68k/ifpsp060/ |
H A D | iskeleton.S | 61 | can do any clean-up desired. The stack frame is the
|
/linux-master/drivers/media/i2c/ |
H A D | ov2659.c | 896 unsigned int desired = pdata->link_frequency; local 911 delta = actual - desired;
|
/linux-master/drivers/cpufreq/ |
H A D | intel_pstate.c | 1055 * Clear the desired perf field in the cached HWP request value to 1056 * prevent nonzero desired values from being leaked into the active 2859 u32 desired, bool fast_switch) 2870 value |= HWP_DESIRED_PERF(desired); 3099 * Clear the desired perf field in MSR_HWP_REQUEST in case 2858 intel_cpufreq_hwp_update(struct cpudata *cpu, u32 min, u32 max, u32 desired, bool fast_switch) argument
|
/linux-master/scripts/ |
H A D | get_maintainer.pl | 1119 directory, can change whatever get_maintainer defaults are desired.
|
/linux-master/drivers/net/usb/ |
H A D | r8152.c | 3759 static u16 r8153_phy_status(struct r8152 *tp, u16 desired) argument 3767 if (desired) { 3768 if (data == desired)
|