Home
last modified time | relevance | path

Searched refs:masked (Results 1 – 25 of 104) sorted by relevance

12345

/linux-6.6.21/kernel/irq/
Dmigration.c96 bool masked; in __irq_move_irq() local
113 masked = irqd_irq_masked(idata); in __irq_move_irq()
114 if (!masked) in __irq_move_irq()
117 if (!masked) in __irq_move_irq()
/linux-6.6.21/drivers/vfio/platform/
Dvfio_platform_irq.c24 if (!irq_ctx->masked) { in vfio_platform_mask()
26 irq_ctx->masked = true; in vfio_platform_mask()
84 if (irq_ctx->masked) { in vfio_platform_unmask()
86 irq_ctx->masked = false; in vfio_platform_unmask()
147 if (!irq_ctx->masked) { in vfio_automasked_irq_handler()
152 irq_ctx->masked = true; in vfio_automasked_irq_handler()
211 if (!irq->masked) in vfio_set_trigger()
309 vdev->irqs[i].masked = false; in vfio_platform_irq_init()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c32 static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, in ar9002_hw_get_isr() argument
53 *masked = 0; in ar9002_hw_get_isr()
58 *masked = 0; in ar9002_hw_get_isr()
91 *masked = 0; in ar9002_hw_get_isr()
95 *masked = isr & ATH9K_INT_COMMON; in ar9002_hw_get_isr()
99 *masked |= ATH9K_INT_RX; in ar9002_hw_get_isr()
106 *masked |= ATH9K_INT_TX; in ar9002_hw_get_isr()
134 *masked |= mask2; in ar9002_hw_get_isr()
153 *masked |= ATH9K_INT_GENTIMER; in ar9002_hw_get_isr()
157 *masked |= ATH9K_INT_TIM_TIMER; in ar9002_hw_get_isr()
[all …]
Dar9003_mac.c183 static bool ar9003_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, in ar9003_hw_get_isr() argument
207 *masked = 0; in ar9003_hw_get_isr()
244 *masked = 0; in ar9003_hw_get_isr()
248 *masked = isr & ATH9K_INT_COMMON; in ar9003_hw_get_isr()
252 *masked |= ATH9K_INT_RXLP; in ar9003_hw_get_isr()
256 *masked |= ATH9K_INT_TX; in ar9003_hw_get_isr()
259 *masked |= ATH9K_INT_RXLP; in ar9003_hw_get_isr()
262 *masked |= ATH9K_INT_RXHP; in ar9003_hw_get_isr()
265 *masked |= ATH9K_INT_TX; in ar9003_hw_get_isr()
294 *masked |= ATH9K_INT_GENTIMER; in ar9003_hw_get_isr()
[all …]
Dhw-ops.h51 static inline bool ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked, in ath9k_hw_getisr() argument
54 return ath9k_hw_ops(ah)->get_isr(ah, masked, sync_cause_p); in ath9k_hw_getisr()
Dar9003_mci.h335 void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked);
374 static inline void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked) in ar9003_mci_get_isr() argument
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_intrs.c30 bool masked; member
127 if (!ctx->masked) { in vfio_pci_intx_mask()
137 ctx->masked = true; in vfio_pci_intx_mask()
176 if (ctx->masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler()
188 ctx->masked = (ret > 0); in vfio_pci_intx_unmask_handler()
218 ctx->masked = true; in vfio_intx_handler()
220 } else if (!ctx->masked && /* may be shared */ in vfio_intx_handler()
222 ctx->masked = true; in vfio_intx_handler()
254 ctx->masked = vdev->virq_disabled; in vfio_intx_enable()
256 pci_intx(vdev->pdev, !ctx->masked); in vfio_intx_enable()
[all …]
/linux-6.6.21/drivers/gpio/
Dgpio-virtio.c35 bool masked; member
213 if (WARN_ON(irq_line->queued || irq_line->masked || irq_line->disabled)) in virtio_gpio_irq_prepare()
240 irq_line->masked = false; in virtio_gpio_irq_enable()
255 irq_line->masked = true; in virtio_gpio_irq_disable()
269 irq_line->masked = true; in virtio_gpio_irq_mask()
280 irq_line->masked = false; in virtio_gpio_irq_unmask()
375 if (irq_line->masked || irq_line->disabled) { in ignore_irq()
605 vgpio->irq_lines[i].masked = true; in virtio_gpio_probe()
/linux-6.6.21/net/openvswitch/
Dactions.c410 const __be32 mask[4], __be32 masked[4]) in mask_ipv6_addr()
412 masked[0] = OVS_MASKED(old[0], addr[0], mask[0]); in mask_ipv6_addr()
413 masked[1] = OVS_MASKED(old[1], addr[1], mask[1]); in mask_ipv6_addr()
414 masked[2] = OVS_MASKED(old[2], addr[2], mask[2]); in mask_ipv6_addr()
415 masked[3] = OVS_MASKED(old[3], addr[3], mask[3]); in mask_ipv6_addr()
550 __be32 masked[4]; in set_ipv6() local
552 mask_ipv6_addr(saddr, key->ipv6_src, mask->ipv6_src, masked); in set_ipv6()
554 if (unlikely(memcmp(saddr, masked, sizeof(masked)))) { in set_ipv6()
555 set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked, in set_ipv6()
557 memcpy(&flow_key->ipv6.addr.src, masked, in set_ipv6()
[all …]
/linux-6.6.21/drivers/irqchip/
Dirq-mtk-cirq.c207 bool pending, masked; in mtk_cirq_suspend() local
238 &masked); in mtk_cirq_suspend()
241 (pending && !masked)) in mtk_cirq_suspend()
/linux-6.6.21/Documentation/admin-guide/perf/
Dimx-ddr.rst41 - 0: corresponding bit is masked.
42 - 1: corresponding bit is not masked, i.e. used to do the matching.
45 When non-masked bits are matching corresponding AXI_ID bits then counter is
/linux-6.6.21/fs/
Dbinfmt_misc.c402 char *masked = kmalloc(e->size, GFP_KERNEL); in create_entry() local
408 if (masked) { in create_entry()
410 masked[i] = e->magic[i] & e->mask[i]; in create_entry()
413 DUMP_PREFIX_NONE, masked, e->size); in create_entry()
415 kfree(masked); in create_entry()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dgenericirq.rst243 desc->status |= pending | masked;
249 if (desc->status & masked)
/linux-6.6.21/drivers/pinctrl/mediatek/
Dmtk-eint.c176 bool masked; in mtk_eint_set_type() local
195 masked = false; in mtk_eint_set_type()
197 masked = true; in mtk_eint_set_type()
217 if (!masked) in mtk_eint_set_type()
/linux-6.6.21/arch/x86/kernel/apic/
Dio_apic.c341 struct IO_APIC_route_entry e = { .masked = true }; in ioapic_mask_entry()
419 static void io_apic_modify_irq(struct mp_chip_data *data, bool masked, in io_apic_modify_irq() argument
424 data->entry.masked = masked; in io_apic_modify_irq()
498 entry1.masked = true; in __eoi_ioapic_pin()
534 if (!entry.masked) { in clear_IO_APIC_pin()
535 entry.masked = true; in clear_IO_APIC_pin()
651 if (!entry.masked) { in mask_ioapic_entries()
652 entry.masked = true; in mask_ioapic_entries()
1243 entry.masked ? "disabled" : "enabled ", in io_apic_print_entries()
1382 if (!entry.masked && in enable_IO_APIC()
[all …]
/linux-6.6.21/drivers/bus/
Dmoxtet.c644 moxtet->irq.masked |= BIT(d->hwirq); in moxtet_irq_mask()
651 moxtet->irq.masked &= ~BIT(d->hwirq); in moxtet_irq_unmask()
703 set &= ~moxtet->irq.masked; in moxtet_irq_thread_fn()
717 set &= ~moxtet->irq.masked; in moxtet_irq_thread_fn()
755 moxtet->irq.masked = ~0; in moxtet_irq_setup()
/linux-6.6.21/arch/x86/mm/
Dinit.c99 unsigned long masked; in pgprot2cachemode() local
101 masked = pgprot_val(pgprot) & _PAGE_CACHE_MASK; in pgprot2cachemode()
102 if (likely(masked == 0)) in pgprot2cachemode()
104 return __pte2cachemode_tbl[__pte2cm_idx(masked)]; in pgprot2cachemode()
/linux-6.6.21/drivers/staging/greybus/
Dgpio.c30 bool masked; member
284 line->masked = true; in gb_gpio_irq_mask()
294 line->masked = false; in gb_gpio_irq_unmask()
356 if (line->masked) in gb_gpio_irq_bus_sync_unlock()
/linux-6.6.21/Documentation/virt/kvm/devices/
Dxics.rst84 This bit is set to 1 if the interrupt is masked (cannot be delivered
86 call, or 0 if it is not masked.
/linux-6.6.21/include/linux/
Dmoxtet.h50 unsigned long masked, exists; member
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xive_native.c419 u32 server, u8 priority, bool masked, in kvmppc_xive_native_update_source_config() argument
433 priority, server, masked, state->act_server, in kvmppc_xive_native_update_source_config()
438 if (priority != MASKED && !masked) { in kvmppc_xive_native_update_source_config()
473 bool masked; in kvmppc_xive_native_set_source_config() local
494 masked = (kvm_cfg & KVM_XIVE_SOURCE_MASKED_MASK) >> in kvmppc_xive_native_set_source_config()
506 priority, masked, eisn); in kvmppc_xive_native_set_source_config()
/linux-6.6.21/Documentation/filesystems/
Dadfs.rst67 These are then masked by ownmask, eg 700 -> -rwx------
73 These are then masked by othmask, eg 077 -> ----rwxrwx
/linux-6.6.21/drivers/hv/
Dhv.c317 shared_sint.masked = false; in hv_synic_enable_regs()
363 shared_sint.masked = 1; in hv_synic_disable_regs()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dglobal2.c1047 chip->g2_irq.masked |= (1 << n); in mv88e6xxx_g2_irq_mask()
1055 chip->g2_irq.masked &= ~(1 << n); in mv88e6xxx_g2_irq_unmask()
1096 err = mv88e6xxx_g2_int_mask(chip, ~chip->g2_irq.masked); in mv88e6xxx_g2_irq_bus_sync_unlock()
1150 chip->g2_irq.masked = ~0; in mv88e6xxx_g2_irq_setup()
1152 err = mv88e6xxx_g2_int_mask(chip, ~chip->g2_irq.masked); in mv88e6xxx_g2_irq_setup()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-sx150x.c104 u32 masked; member
492 pctl->irq.masked |= BIT(n); in sx150x_irq_mask()
503 pctl->irq.masked &= ~BIT(n); in sx150x_irq_unmask()
576 regmap_write(pctl->regmap, pctl->data->reg_irq_mask, pctl->irq.masked); in sx150x_irq_bus_sync_unlock()
1204 pctl->irq.masked = ~0; in sx150x_probe()

12345