/drivers/gpio/ |
D | gpio-xgs-iproc.c | 70 u32 int_mask, irq_type, event_mask; in iproc_gpio_irq_unmask() local 74 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_unmask() 78 event_mask |= 1 << pin; in iproc_gpio_irq_unmask() 79 writel_relaxed(event_mask, in iproc_gpio_irq_unmask() 96 u32 irq_type, int_mask, event_mask; in iproc_gpio_irq_mask() local 100 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_mask() 104 event_mask &= ~BIT(pin); in iproc_gpio_irq_mask() 105 writel_relaxed(event_mask, in iproc_gpio_irq_mask()
|
/drivers/input/keyboard/ |
D | iqs62x-keys.c | 103 unsigned int event_mask = 0; in iqs62x_keys_init() local 121 event_mask |= iqs62x->dev_desc->prox_mask; in iqs62x_keys_init() 123 event_mask |= (iqs62x->dev_desc->hyst_mask | in iqs62x_keys_init() 145 event_mask |= iqs62x->dev_desc->hall_mask; in iqs62x_keys_init() 164 event_mask |= IQS624_HALL_UI_INT_EVENT; in iqs62x_keys_init() 167 event_mask |= IQS624_HALL_UI_INT_EVENT; in iqs62x_keys_init() 181 return regmap_update_bits(iqs62x->regmap, event_reg, event_mask, 0); in iqs62x_keys_init()
|
D | atkbd.c | 235 unsigned long event_mask; member 645 if (test_and_clear_bit(ATKBD_LED_EVENT_BIT, &atkbd->event_mask)) in atkbd_event_work() 648 if (test_and_clear_bit(ATKBD_REP_EVENT_BIT, &atkbd->event_mask)) in atkbd_event_work() 667 set_bit(event_bit, &atkbd->event_mask); in atkbd_schedule_event_work()
|
/drivers/iio/position/ |
D | iqs624-pos.c | 35 unsigned int event_mask = IQS624_HALL_UI_WHL_EVENT; in iqs624_pos_angle_en() local 44 event_mask = IQS624_HALL_UI_INT_EVENT; in iqs624_pos_angle_en() 46 return regmap_update_bits(iqs62x->regmap, IQS624_HALL_UI, event_mask, in iqs624_pos_angle_en()
|
/drivers/platform/chrome/ |
D | cros_ec_chardev.c | 42 unsigned long event_mask; member 103 if (!(event_bit & priv->event_mask) || in cros_ec_chardev_mkbp_event() 210 if (priv->event_mask) { /* queued MKBP event */ in cros_ec_chardev_read() 359 priv->event_mask = arg; in cros_ec_chardev_ioctl()
|
/drivers/net/ipa/ |
D | gsi.c | 970 u32 event_mask; in gsi_isr_evt_ctrl() local 972 event_mask = ioread32(gsi->virt + GSI_CNTXT_SRC_EV_CH_IRQ_OFFSET); in gsi_isr_evt_ctrl() 973 iowrite32(event_mask, gsi->virt + GSI_CNTXT_SRC_EV_CH_IRQ_CLR_OFFSET); in gsi_isr_evt_ctrl() 975 while (event_mask) { in gsi_isr_evt_ctrl() 976 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_evt_ctrl() 979 event_mask ^= BIT(evt_ring_id); in gsi_isr_evt_ctrl() 1089 u32 event_mask; in gsi_isr_ieob() local 1091 event_mask = ioread32(gsi->virt + GSI_CNTXT_SRC_IEOB_IRQ_OFFSET); in gsi_isr_ieob() 1092 iowrite32(event_mask, gsi->virt + GSI_CNTXT_SRC_IEOB_IRQ_CLR_OFFSET); in gsi_isr_ieob() 1094 while (event_mask) { in gsi_isr_ieob() [all …]
|
/drivers/iio/light/ |
D | iqs621-als.c | 56 unsigned int event_mask = 0; in iqs621_als_init() local 84 event_mask |= iqs62x->dev_desc->als_mask; in iqs621_als_init() 87 event_mask |= iqs62x->dev_desc->ir_mask; in iqs621_als_init() 90 event_mask, 0); in iqs621_als_init()
|
/drivers/dma/ |
D | imx-sdma.c | 378 unsigned long event_mask[2]; member 1003 dev_dbg(sdma->dev, "event_mask0 = 0x%08x\n", (u32)sdmac->event_mask[0]); in sdma_load_context() 1004 dev_dbg(sdma->dev, "event_mask1 = 0x%08x\n", (u32)sdmac->event_mask[1]); in sdma_load_context() 1014 context->gReg[0] = sdmac->event_mask[1]; in sdma_load_context() 1015 context->gReg[1] = sdmac->event_mask[0]; in sdma_load_context() 1105 set_bit(sdmac->event_id0 % 32, &sdmac->event_mask[1]); in sdma_set_watermarklevel_for_p2p() 1106 set_bit(sdmac->event_id1 % 32, &sdmac->event_mask[0]); in sdma_set_watermarklevel_for_p2p() 1124 swap(sdmac->event_mask[0], sdmac->event_mask[1]); in sdma_set_watermarklevel_for_p2p() 1144 sdmac->event_mask[0] = 0; in sdma_config_channel() 1145 sdmac->event_mask[1] = 0; in sdma_config_channel() [all …]
|
/drivers/net/wireless/marvell/libertas/ |
D | debugfs.c | 217 static ssize_t lbs_threshold_read(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_read() argument 255 !!(events & event_mask)); in lbs_threshold_read() 269 static ssize_t lbs_threshold_write(uint16_t tlv_type, uint16_t event_mask, in lbs_threshold_write() argument 307 new_mask = curr_mask | event_mask; in lbs_threshold_write() 309 new_mask = curr_mask & ~event_mask; in lbs_threshold_write()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 19 int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
|
/drivers/virt/vboxguest/ |
D | vboxguest_core.c | 1158 u32 event_mask) in vbg_wait_event_cond() argument 1166 events = gdev->pending_events & event_mask; in vbg_wait_event_cond() 1178 u32 event_mask) in vbg_consume_events_locked() argument 1180 u32 events = gdev->pending_events & event_mask; in vbg_consume_events_locked() 1192 u32 event_mask = wait->u.in.events; in vbg_ioctl_wait_for_events() local 1209 vbg_wait_event_cond(gdev, session, event_mask), in vbg_ioctl_wait_for_events() 1220 vbg_consume_events_locked(gdev, session, event_mask); in vbg_ioctl_wait_for_events()
|
/drivers/net/wireless/ti/wlcore/ |
D | event.c | 345 wl1271_debug(DEBUG_EVENT, "unmasking event_mask 0x%x", wl->event_mask); in wl1271_event_unmask() 346 ret = wl1271_acx_event_mbox_mask(wl, ~(wl->event_mask)); in wl1271_event_unmask()
|
D | acx.h | 330 __le32 event_mask; member 1059 int wl1271_acx_event_mbox_mask(struct wl1271 *wl, u32 event_mask);
|
/drivers/net/wireless/ti/wl1251/ |
D | event.c | 187 ret = wl1251_acx_event_mbox_mask(wl, ~(wl->event_mask)); in wl1251_event_unmask()
|
D | acx.c | 693 int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask) in wl1251_acx_event_mbox_mask() argument 707 mask->event_mask = event_mask; in wl1251_acx_event_mbox_mask()
|
D | acx.h | 714 u32 event_mask; member 1464 int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask);
|
D | wl1251.h | 335 u32 event_mask; member
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_phyp.c | 595 const u64 event_mask) in ehea_h_reset_events() argument 600 event_mask, /* R6 */ in ehea_h_reset_events()
|
/drivers/mmc/host/ |
D | mtk-sd.c | 1547 u32 events, event_mask; in msdc_irq() local 1551 event_mask = readl(host->base + MSDC_INTEN); in msdc_irq() 1552 if ((events & event_mask) & MSDC_INT_SDIOIRQ) in msdc_irq() 1555 writel(events & event_mask, host->base + MSDC_INT); in msdc_irq() 1562 if ((events & event_mask) & MSDC_INT_SDIOIRQ) in msdc_irq() 1565 if ((events & event_mask) & MSDC_INT_CDSC) { in msdc_irq() 1571 if (!(events & (event_mask & ~MSDC_INT_SDIOIRQ))) in msdc_irq() 1585 __func__, events, event_mask); in msdc_irq()
|
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 971 u32 event_mask, intr_mask; in wl18xx_enable_interrupts() local 974 event_mask = WL18XX_ACX_EVENTS_VECTOR; in wl18xx_enable_interrupts() 977 ret = wlcore_write_reg(wl, REG_INTERRUPT_MASK, event_mask); in wl18xx_enable_interrupts() 1017 wl->event_mask = BSS_LOSS_EVENT_ID | in wl18xx_boot()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.h | 290 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
|
/drivers/infiniband/hw/qib/ |
D | qib_common.h | 478 __u64 event_mask; member
|
/drivers/input/misc/ |
D | iqs269a.c | 257 u8 event_mask; member 745 iqs269->sys_reg.event_mask &= ~iqs269_events[i].mask; in iqs269_parse_chan() 955 sys_reg->event_mask = ~((u8)IQS269_EVENT_MASK_SYS); in iqs269_parse_prop()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 2438 if ((event_mask & (1 << __scancode)) && \ 2445 if (event_mask & (1 << __scancode)) \ 2451 const u32 event_mask) in issue_volchange() argument 2467 const u32 event_mask) in issue_brightnesschange() argument 2483 const u32 event_mask) in hotkey_compare_and_issue_event() argument 2520 event_mask); in hotkey_compare_and_issue_event() 2531 event_mask); in hotkey_compare_and_issue_event() 2544 newn->brightness_level, event_mask); in hotkey_compare_and_issue_event() 2568 u32 poll_mask, event_mask; in hotkey_kthread() local 2588 event_mask = hotkey_source_mask & in hotkey_kthread() [all …]
|
/drivers/rapidio/devices/ |
D | rio_mport_cdev.c | 207 u32 event_mask; /* RIO_DOORBELL, RIO_PORTWRITE */ member 1377 if (!(priv->event_mask & event->header)) in rio_mport_add_event() 2023 priv->event_mask = 0; in mport_cdev_release() 2105 data->event_mask = (u32)arg; in mport_cdev_ioctl() 2108 if (copy_to_user((void __user *)arg, &data->event_mask, in mport_cdev_ioctl()
|