Home
last modified time | relevance | path

Searched refs:mask_val (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/drivers/bus/
Domap_l3_noc.c164 u32 err_reg, mask_val; in l3_interrupt_handler() local
205 mask_val = readl_relaxed(mask_reg); in l3_interrupt_handler()
206 mask_val &= ~(1 << err_src); in l3_interrupt_handler()
207 writel_relaxed(mask_val, mask_reg); in l3_interrupt_handler()
312 u32 mask_val; in l3_resume_noirq() local
322 mask_val = readl_relaxed(mask_regx); in l3_resume_noirq()
323 mask_val &= ~(flag_mux->mask_app_bits); in l3_resume_noirq()
325 writel_relaxed(mask_val, mask_regx); in l3_resume_noirq()
328 mask_val = readl_relaxed(mask_regx); in l3_resume_noirq()
329 mask_val &= ~(flag_mux->mask_dbg_bits); in l3_resume_noirq()
[all …]
/linux-6.6.21/net/netlabel/
Dnetlabel_addrlist.c314 u32 mask_val = ntohl(mask); in netlbl_af4list_audit_addr() local
320 if (mask_val != 0xffffffff) { in netlbl_af4list_audit_addr()
322 while (mask_val > 0) { in netlbl_af4list_audit_addr()
323 mask_val <<= 1; in netlbl_af4list_audit_addr()
356 u32 mask_val; in netlbl_af6list_audit_addr() local
360 mask_val = ntohl(mask->s6_addr32[iter]); in netlbl_af6list_audit_addr()
361 while (mask_val > 0) { in netlbl_af6list_audit_addr()
362 mask_val <<= 1; in netlbl_af6list_audit_addr()
/linux-6.6.21/drivers/watchdog/
Ds3c2410_wdt.c312 const u32 mask_val = BIT(wdt->drv_data->mask_bit); in s3c2410wdt_disable_wdt_reset() local
313 const u32 val = mask ? mask_val : 0; in s3c2410wdt_disable_wdt_reset()
317 mask_val, val); in s3c2410wdt_disable_wdt_reset()
326 const u32 mask_val = BIT(wdt->drv_data->mask_bit); in s3c2410wdt_mask_wdt_reset() local
328 const u32 val = (mask ^ val_inv) ? mask_val : 0; in s3c2410wdt_mask_wdt_reset()
332 mask_val, val); in s3c2410wdt_mask_wdt_reset()
341 const u32 mask_val = BIT(wdt->drv_data->cnt_en_bit); in s3c2410wdt_enable_counter() local
342 const u32 val = en ? mask_val : 0; in s3c2410wdt_enable_counter()
346 mask_val, val); in s3c2410wdt_enable_counter()
/linux-6.6.21/drivers/irqchip/
Dirq-csky-mpintc.c128 const struct cpumask *mask_val, in csky_irq_set_affinity() argument
135 cpu = cpumask_any_and(mask_val, cpu_online_mask); in csky_irq_set_affinity()
137 cpu = cpumask_first(mask_val); in csky_irq_set_affinity()
151 if (cpumask_equal(mask_val, cpu_present_mask)) in csky_irq_set_affinity()
Dirq-hip04.c147 const struct cpumask *mask_val, in hip04_irq_set_affinity() argument
155 cpu = cpumask_any_and(mask_val, cpu_online_mask); in hip04_irq_set_affinity()
157 cpu = cpumask_first(mask_val); in hip04_irq_set_affinity()
Dexynos-combiner.c94 const struct cpumask *mask_val, bool force) in combiner_set_affinity() argument
101 return chip->irq_set_affinity(data, mask_val, force); in combiner_set_affinity()
Dirq-armada-370-xp.c467 const struct cpumask *mask_val, bool force) in armada_xp_set_affinity() argument
474 cpu = cpumask_any_and(mask_val, cpu_online_mask); in armada_xp_set_affinity()
Dirq-sifive-plic.c162 const struct cpumask *mask_val, bool force) in plic_set_affinity() argument
168 cpumask_and(&amask, &priv->lmask, mask_val); in plic_set_affinity()
Dirq-apple-aic.c407 const struct cpumask *mask_val, bool force) in aic_irq_set_affinity() argument
416 cpu = cpumask_first(mask_val); in aic_irq_set_affinity()
418 cpu = cpumask_any_and(mask_val, cpu_online_mask); in aic_irq_set_affinity()
Dirq-gic.c796 static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, in gic_set_affinity() argument
807 cpu = cpumask_any_and(mask_val, cpu_online_mask); in gic_set_affinity()
809 cpu = cpumask_first(mask_val); in gic_set_affinity()
Dirq-mvebu-sei.c94 const struct cpumask *mask_val, in mvebu_sei_set_affinity() argument
Dirq-gic-v3-its.c1673 static int its_set_affinity(struct irq_data *d, const struct cpumask *mask_val, in its_set_affinity() argument
1689 cpu = its_select_cpu(d, mask_val); in its_set_affinity()
1691 cpu = cpumask_pick_least_loaded(d, mask_val); in its_set_affinity()
3825 const struct cpumask *mask_val, in its_vpe_set_affinity() argument
3853 if (table_mask && cpumask_and(&common, mask_val, table_mask)) in its_vpe_set_affinity()
3856 cpu = cpumask_first(mask_val); in its_vpe_set_affinity()
4258 const struct cpumask *mask_val, in its_sgi_set_affinity() argument
4266 irq_data_update_effective_affinity(d, mask_val); in its_sgi_set_affinity()
Dirq-gic-v3.c1399 static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val, in gic_set_affinity() argument
1409 cpu = cpumask_first(mask_val); in gic_set_affinity()
1411 cpu = cpumask_any_and(mask_val, cpu_online_mask); in gic_set_affinity()
Dirq-ti-sci-inta.c503 const struct cpumask *mask_val, bool force) in ti_sci_inta_set_affinity() argument
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32_parse.h57 u32 mask_val; in cxgb4_fill_ipv4_frag() local
61 mask_val = ntohl(mask) & 0x0000FFFF; in cxgb4_fill_ipv4_frag()
63 if (frag_val == 0x1 && mask_val != 0x3FFF) { /* MF set */ in cxgb4_fill_ipv4_frag()
66 } else if (frag_val == 0x2 && mask_val != 0x3FFF) { /* DF set */ in cxgb4_fill_ipv4_frag()
/linux-6.6.21/sound/soc/tegra/
Dtegra210_adx.c205 unsigned int mask_val = adx->byte_mask[mc->reg / 32]; in tegra210_adx_put_byte_map() local
208 mask_val |= (1 << (mc->reg % 32)); in tegra210_adx_put_byte_map()
210 mask_val &= ~(1 << (mc->reg % 32)); in tegra210_adx_put_byte_map()
212 if (mask_val == adx->byte_mask[mc->reg / 32]) in tegra210_adx_put_byte_map()
217 adx->byte_mask[mc->reg / 32] = mask_val; in tegra210_adx_put_byte_map()
Dtegra210_amx.c234 unsigned int mask_val = amx->byte_mask[reg / 32]; in tegra210_amx_put_byte_map() local
237 mask_val |= (1 << (reg % 32)); in tegra210_amx_put_byte_map()
239 mask_val &= ~(1 << (reg % 32)); in tegra210_amx_put_byte_map()
241 if (mask_val == amx->byte_mask[reg / 32]) in tegra210_amx_put_byte_map()
246 amx->byte_mask[reg / 32] = mask_val; in tegra210_amx_put_byte_map()
/linux-6.6.21/sound/soc/intel/skylake/
Dskl-sst-utils.c119 u32 mask_val; in skl_getid_32() local
122 mask_val = (u32)(*val >> word1_mask); in skl_getid_32()
124 if (mask_val != 0xffffffff) { in skl_getid_32()
125 index = ffz(mask_val); in skl_getid_32()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9003_wow.c126 u32 pattern_val, mask_val; in ath9k_hw_wow_apply_pattern() local
145 memcpy(&mask_val, user_mask, 4); in ath9k_hw_wow_apply_pattern()
146 REG_WRITE(ah, (AR_WOW_TB_MASK(pattern_count) + i), mask_val); in ath9k_hw_wow_apply_pattern()
/linux-6.6.21/fs/orangefs/
Dorangefs-debug.h49 __u64 mask_val; member
Dorangefs-debugfs.c729 if (*mask & s_kmod_keyword_mask_map[index].mask_val) { in do_k_string()
816 if (*k_mask >= s_kmod_keyword_mask_map[k_all_index].mask_val) { in check_amalgam_keyword()
885 s_kmod_keyword_mask_map[i].mask_val; in do_k_mask()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_venus.c460 u32 ctrl_status = 0, mask_val = 0; in venus_boot_core() local
467 mask_val = readl(wrapper_base + WRAPPER_INTR_MASK); in venus_boot_core()
468 mask_val &= ~(WRAPPER_INTR_MASK_A2HWD_BASK_V6 | in venus_boot_core()
471 mask_val = WRAPPER_INTR_MASK_A2HVCODEC_MASK; in venus_boot_core()
474 writel(mask_val, wrapper_base + WRAPPER_INTR_MASK); in venus_boot_core()
559 u32 mask_val; in venus_halt_axi() local
578 mask_val = (BIT(2) | BIT(1) | BIT(0)); in venus_halt_axi()
579 writel(mask_val, wrapper_base + WRAPPER_DEBUG_BRIDGE_LPI_CONTROL_V6); in venus_halt_axi()
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
Dbcmasp.c256 u32 shift, mask_val = 0, match_val = 0; in bcmasp_netfilt_wr_m_wake() local
272 mask_val = bcmasp_netfilt_rd(priv, nfilt, in bcmasp_netfilt_wr_m_wake()
279 mask_val &= ~GENMASK(shift + 7, shift); in bcmasp_netfilt_wr_m_wake()
281 mask_val |= (u32)(*((u8 *)mask) << shift); in bcmasp_netfilt_wr_m_wake()
288 mask_val, ALIGN_DOWN(offset, 4)); in bcmasp_netfilt_wr_m_wake()
/linux-6.6.21/sound/soc/codecs/
Dwm5100.c2155 unsigned int irq_val, mask_val; in wm5100_irq() local
2166 &mask_val); in wm5100_irq()
2170 mask_val = 0xffff; in wm5100_irq()
2173 irq_val &= ~mask_val; in wm5100_irq()
2202 &mask_val); in wm5100_irq()
2206 mask_val = 0xffff; in wm5100_irq()
2209 irq_val &= ~mask_val; in wm5100_irq()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_dbg_hsi.h174 u32 mask_val; member

12