Home
last modified time | relevance | path

Searched refs:req_mask (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dirq_affinity.c20 const struct cpumask *req_mask) in cpu_get_least_loaded() argument
25 for_each_cpu_and(cpu, req_mask, cpu_online_mask) { in cpu_get_least_loaded()
39 cpumask_pr_args(req_mask)); in cpu_get_least_loaded()
48 irq_pool_request_irq(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_request_irq() argument
61 if (cpumask_weight(req_mask) > 1) in irq_pool_request_irq()
65 cpumask_set_cpu(cpu_get_least_loaded(pool, req_mask), auto_mask); in irq_pool_request_irq()
67 cpu_get(pool, cpumask_first(req_mask)); in irq_pool_request_irq()
69 irq = mlx5_irq_alloc(pool, irq_index, cpumask_empty(auto_mask) ? req_mask : auto_mask); in irq_pool_request_irq()
84 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in irq_pool_find_least_loaded() argument
98 if (!cpumask_subset(iter_mask, req_mask)) in irq_pool_find_least_loaded()
[all …]
Dpci_irq.c389 cpumask_var_t req_mask; in mlx5_ctrl_irq_request() local
392 if (!zalloc_cpumask_var(&req_mask, GFP_KERNEL)) in mlx5_ctrl_irq_request()
394 cpumask_copy(req_mask, cpu_online_mask); in mlx5_ctrl_irq_request()
398 cpumask_clear(req_mask); in mlx5_ctrl_irq_request()
400 cpumask_set_cpu(cpumask_first(cpu_online_mask), req_mask); in mlx5_ctrl_irq_request()
403 irq = irq_pool_request_vector(pool, pool->xa_num_irqs.max, req_mask); in mlx5_ctrl_irq_request()
405 irq = mlx5_irq_affinity_request(pool, req_mask); in mlx5_ctrl_irq_request()
408 free_cpumask_var(req_mask); in mlx5_ctrl_irq_request()
464 cpumask_var_t req_mask; in mlx5_irqs_request_vectors() local
468 if (!zalloc_cpumask_var(&req_mask, GFP_KERNEL)) in mlx5_irqs_request_vectors()
[all …]
Dmlx5_irq.h42 const struct cpumask *req_mask);
53 mlx5_irq_affinity_request(struct mlx5_irq_pool *pool, const struct cpumask *req_mask) in mlx5_irq_affinity_request() argument
/linux-6.1.9/net/ethtool/
Dfeatures.c219 DECLARE_BITMAP(req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
239 ret = ethnl_parse_bitset(req_wanted, req_mask, NETDEV_FEATURE_COUNT, in ethnl_set_features()
244 if (ethnl_bitmap_to_features(req_mask) & ~NETIF_F_ETHTOOL_BITS) { in ethnl_set_features()
251 bitmap_and(req_wanted, req_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
252 bitmap_andnot(new_wanted, old_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
270 bitmap_and(wanted_diff_mask, wanted_diff_mask, req_mask, in ethnl_set_features()
/linux-6.1.9/arch/mips/pci/
Dpci-lantiq.c96 const __be32 *req_mask, *bus_clk; in ltq_pci_startup() local
148 req_mask = of_get_property(node, "req-mask", NULL); in ltq_pci_startup()
149 if (req_mask) in ltq_pci_startup()
150 temp_buffer &= ~((*req_mask & 0xf) << 16); in ltq_pci_startup()
/linux-6.1.9/drivers/soc/rockchip/
Dpm_domains.c40 int req_mask; member
103 .req_mask = (req), \
116 .req_mask = (req), \
132 .req_mask = (req), \
141 .req_mask = (req), \
305 if (pd_info->req_mask == 0) in rockchip_pmu_set_idle_request()
309 idle ? (pd_info->req_mask | pd_info->req_w_mask) : in rockchip_pmu_set_idle_request()
313 pd_info->req_mask, idle ? -1U : 0); in rockchip_pmu_set_idle_request()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_display_power_well.c280 u32 req_mask = HSW_PWR_WELL_CTL_REQ(pw_idx); in hsw_power_well_requesters() local
283 ret = intel_de_read(dev_priv, regs->bios) & req_mask ? 1 : 0; in hsw_power_well_requesters()
284 ret |= intel_de_read(dev_priv, regs->driver) & req_mask ? 2 : 0; in hsw_power_well_requesters()
286 ret |= intel_de_read(dev_priv, regs->kvmr) & req_mask ? 4 : 0; in hsw_power_well_requesters()
287 ret |= intel_de_read(dev_priv, regs->debug) & req_mask ? 8 : 0; in hsw_power_well_requesters()
/linux-6.1.9/drivers/iio/light/
Dvcnl4000.c287 static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask, in vcnl4000_measure() argument
296 req_mask); in vcnl4000_measure()
/linux-6.1.9/fs/ceph/
Dxattr.c935 int req_mask; in __ceph_getxattr() local
967 req_mask = __get_request_mask(inode); in __ceph_getxattr()
974 !((req_mask & CEPH_CAP_XATTR_SHARED) || in __ceph_getxattr()
/linux-6.1.9/drivers/platform/x86/intel/pmc/
Dcore.c1574 u32 req_mask = 0; in pmc_core_substate_req_regs_show() local
1584 req_mask |= lpm_req_regs[mp + (mode * num_maps)]; in pmc_core_substate_req_regs_show()
1594 if (!(bit_mask & req_mask)) in pmc_core_substate_req_regs_show()
/linux-6.1.9/drivers/i2c/busses/
Di2c-qup.c377 u32 req_state, u32 req_mask) in qup_i2c_poll_state_mask() argument
390 (state & req_mask) == req_state) in qup_i2c_poll_state_mask()