Home
last modified time | relevance | path

Searched refs:event_mask (Results 1 – 25 of 43) sorted by relevance

12

/drivers/gpio/
Dgpio-xgs-iproc.c70 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/
Diqs62x-keys.c103 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()
Datkbd.c235 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/
Diqs624-pos.c35 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/
Dcros_ec_chardev.c42 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/
Dgsi.c970 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/
Diqs621-als.c56 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/
Dimx-sdma.c378 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/
Ddebugfs.c217 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/
Dixgbe_sriov.h19 int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
/drivers/virt/vboxguest/
Dvboxguest_core.c1158 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/
Devent.c345 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()
Dacx.h330 __le32 event_mask; member
1059 int wl1271_acx_event_mbox_mask(struct wl1271 *wl, u32 event_mask);
/drivers/net/wireless/ti/wl1251/
Devent.c187 ret = wl1251_acx_event_mbox_mask(wl, ~(wl->event_mask)); in wl1251_event_unmask()
Dacx.c693 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()
Dacx.h714 u32 event_mask; member
1464 int wl1251_acx_event_mbox_mask(struct wl1251 *wl, u32 event_mask);
Dwl1251.h335 u32 event_mask; member
/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c595 const u64 event_mask) in ehea_h_reset_events() argument
600 event_mask, /* R6 */ in ehea_h_reset_events()
/drivers/mmc/host/
Dmtk-sd.c1547 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/
Dmain.c971 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/
Dmthca_cmd.h290 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
/drivers/infiniband/hw/qib/
Dqib_common.h478 __u64 event_mask; member
/drivers/input/misc/
Diqs269a.c257 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/
Dthinkpad_acpi.c2438 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/
Drio_mport_cdev.c207 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()

12