Home
last modified time | relevance | path

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

1234

/Linux-v4.19/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-v4.19/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.c182 static bool ar9003_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, in ar9003_hw_get_isr() argument
206 *masked = 0; in ar9003_hw_get_isr()
243 *masked = 0; in ar9003_hw_get_isr()
247 *masked = isr & ATH9K_INT_COMMON; in ar9003_hw_get_isr()
251 *masked |= ATH9K_INT_RXLP; in ar9003_hw_get_isr()
255 *masked |= ATH9K_INT_TX; in ar9003_hw_get_isr()
258 *masked |= ATH9K_INT_RXLP; in ar9003_hw_get_isr()
261 *masked |= ATH9K_INT_RXHP; in ar9003_hw_get_isr()
264 *masked |= ATH9K_INT_TX; in ar9003_hw_get_isr()
293 *masked |= ATH9K_INT_GENTIMER; in ar9003_hw_get_isr()
[all …]
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
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()
/Linux-v4.19/drivers/vfio/platform/
Dvfio_platform_irq.c32 if (!irq_ctx->masked) { in vfio_platform_mask()
34 irq_ctx->masked = true; in vfio_platform_mask()
92 if (irq_ctx->masked) { in vfio_platform_unmask()
94 irq_ctx->masked = false; in vfio_platform_unmask()
155 if (!irq_ctx->masked) { in vfio_automasked_irq_handler()
160 irq_ctx->masked = true; in vfio_automasked_irq_handler()
220 if (!irq->masked) in vfio_set_trigger()
317 vdev->irqs[i].masked = false; in vfio_platform_irq_init()
Dvfio_platform_private.h36 bool masked; member
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci_intrs.c55 } else if (!vdev->ctx[0].masked) { in vfio_pci_intx_mask()
65 vdev->ctx[0].masked = true; in vfio_pci_intx_mask()
93 } else if (vdev->ctx[0].masked && !vdev->virq_disabled) { in vfio_pci_intx_unmask_handler()
105 vdev->ctx[0].masked = (ret > 0); in vfio_pci_intx_unmask_handler()
129 vdev->ctx[0].masked = true; in vfio_intx_handler()
131 } else if (!vdev->ctx[0].masked && /* may be shared */ in vfio_intx_handler()
133 vdev->ctx[0].masked = true; in vfio_intx_handler()
165 vdev->ctx[0].masked = vdev->virq_disabled; in vfio_intx_enable()
167 pci_intx(vdev->pdev, !vdev->ctx[0].masked); in vfio_intx_enable()
222 if (!vdev->pci_2_3 && vdev->ctx[0].masked) in vfio_intx_set_signal()
Dvfio_pci_private.h50 bool masked; member
/Linux-v4.19/net/openvswitch/
Dactions.c479 const __be32 mask[4], __be32 masked[4]) in mask_ipv6_addr()
481 masked[0] = OVS_MASKED(old[0], addr[0], mask[0]); in mask_ipv6_addr()
482 masked[1] = OVS_MASKED(old[1], addr[1], mask[1]); in mask_ipv6_addr()
483 masked[2] = OVS_MASKED(old[2], addr[2], mask[2]); in mask_ipv6_addr()
484 masked[3] = OVS_MASKED(old[3], addr[3], mask[3]); in mask_ipv6_addr()
587 __be32 masked[4]; in set_ipv6() local
589 mask_ipv6_addr(saddr, key->ipv6_src, mask->ipv6_src, masked); in set_ipv6()
591 if (unlikely(memcmp(saddr, masked, sizeof(masked)))) { in set_ipv6()
592 set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked, in set_ipv6()
594 memcpy(&flow_key->ipv6.addr.src, masked, in set_ipv6()
[all …]
/Linux-v4.19/drivers/irqchip/
Dirq-mtk-cirq.c173 bool pending, masked; in mtk_cirq_suspend() local
204 &masked); in mtk_cirq_suspend()
207 (pending && !masked)) in mtk_cirq_suspend()
Dirq-mips-gic.c309 unsigned long pending, masked; in gic_handle_local_int() local
313 masked = read_gic_vl_mask(); in gic_handle_local_int()
315 bitmap_and(&pending, &pending, &masked, GIC_NUM_LOCAL_INTRS); in gic_handle_local_int()
/Linux-v4.19/drivers/xen/events/
Devents_base.c483 int masked = test_and_set_mask(evtchn); in eoi_pirq() local
489 if (!masked) in eoi_pirq()
1299 int masked; in xen_rebind_evtchn_to_cpu() local
1315 masked = test_and_set_mask(evtchn); in xen_rebind_evtchn_to_cpu()
1325 if (!masked) in xen_rebind_evtchn_to_cpu()
1369 int masked = test_and_set_mask(evtchn); in ack_dynirq() local
1375 if (!masked) in ack_dynirq()
1390 int masked; in retrigger_dynirq() local
1395 masked = test_and_set_mask(evtchn); in retrigger_dynirq()
1397 if (!masked) in retrigger_dynirq()
/Linux-v4.19/arch/x86/include/asm/
Dpgtable_types.h480 unsigned long masked; in pgprot2cachemode() local
482 masked = pgprot_val(pgprot) & _PAGE_CACHE_MASK; in pgprot2cachemode()
483 if (likely(masked == 0)) in pgprot2cachemode()
485 return __pte2cachemode_tbl[__pte2cm_idx(masked)]; in pgprot2cachemode()
/Linux-v4.19/fs/
Dbinfmt_misc.c447 char *masked = kmalloc(e->size, GFP_KERNEL); in create_entry() local
453 if (masked) { in create_entry()
455 masked[i] = e->magic[i] & e->mask[i]; in create_entry()
458 DUMP_PREFIX_NONE, masked, e->size); in create_entry()
460 kfree(masked); in create_entry()
/Linux-v4.19/drivers/pci/
Dmsi.c175 u32 mask_bits = desc->masked; in __pci_msi_desc_mask_irq()
190 desc->masked = __pci_msi_desc_mask_irq(desc, mask, flag); in msi_mask_irq()
208 u32 mask_bits = desc->masked; in __pci_msix_desc_mask_irq()
223 desc->masked = __pci_msix_desc_mask_irq(desc, flag); in msix_mask_irq()
405 entry->masked); in __pci_restore_msi_state()
426 msix_mask_irq(entry, entry->masked); in __pci_restore_msix_state()
567 pci_read_config_dword(dev, entry->mask_pos, &entry->masked); in msi_setup_entry()
722 entry->masked = readl(pci_msix_desc_addr(entry) + in msix_program_entries()
/Linux-v4.19/Documentation/virtual/kvm/devices/
Dxics.txt59 This bit is set to 1 if the interrupt is masked (cannot be delivered
61 call, or 0 if it is not masked.
/Linux-v4.19/Documentation/filesystems/
Dadfs.txt35 These are then masked by ownmask, eg 700 -> -rwx------
41 These are then masked by othmask, eg 077 -> ----rwxrwx
/Linux-v4.19/drivers/hv/
Dhv.c306 shared_sint.masked = false; in hv_synic_init()
410 shared_sint.masked = 1; in hv_synic_cleanup()
/Linux-v4.19/drivers/staging/greybus/
Dgpio.c30 bool masked; member
282 line->masked = true; in gb_gpio_irq_mask()
292 line->masked = false; in gb_gpio_irq_unmask()
354 if (line->masked) in gb_gpio_irq_bus_sync_unlock()
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-sx150x.c114 u32 masked; member
500 pctl->irq.masked |= BIT(n); in sx150x_irq_mask()
509 pctl->irq.masked &= ~BIT(n); in sx150x_irq_unmask()
582 regmap_write(pctl->regmap, pctl->data->reg_irq_mask, pctl->irq.masked); in sx150x_irq_bus_sync_unlock()
1211 pctl->irq.masked = ~0; in sx150x_probe()
/Linux-v4.19/drivers/watchdog/
Dorion_wdt.c330 bool masked, enabled, running; in armada375_enabled() local
332 masked = readl(dev->rstout_mask) & dev->data->rstout_mask_bit; in armada375_enabled()
336 return !masked && enabled && running; in armada375_enabled()
/Linux-v4.19/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S106 bics r13, r13, r11 @ clear masked - any left?
132 bics r13, r13, r11 @ clear masked - any left?
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dglobal2.c947 chip->g2_irq.masked |= (1 << n); in mv88e6xxx_g2_irq_mask()
955 chip->g2_irq.masked &= ~(1 << n); in mv88e6xxx_g2_irq_unmask()
996 err = mv88e6xxx_g2_int_mask(chip, ~chip->g2_irq.masked); in mv88e6xxx_g2_irq_bus_sync_unlock()
1059 chip->g2_irq.masked = ~0; in mv88e6xxx_g2_irq_setup()
/Linux-v4.19/Documentation/core-api/
Dgenericirq.rst255 desc->status |= pending | masked;
261 if (desc->status & masked)
329 enabled and is masked in the flow handler when an interrupt event
333 is set, then the interrupt is masked at the hardware level and the

1234