/linux/drivers/gpio/ |
A 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()
|
/linux/drivers/input/keyboard/ |
A 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()
|
/linux/fs/fscache/ |
A D | object.c | 170 unsigned long events, event_mask; in fscache_object_sm_dispatcher() local 179 event_mask = object->event_mask; in fscache_object_sm_dispatcher() 206 if (events & event_mask) { in fscache_object_sm_dispatcher() 242 event_mask = object->oob_event_mask; in fscache_object_sm_dispatcher() 259 event_mask = object->oob_event_mask; in fscache_object_sm_dispatcher() 261 event_mask |= t->events; in fscache_object_sm_dispatcher() 264 object->event_mask = event_mask; in fscache_object_sm_dispatcher() 267 if (events & event_mask) in fscache_object_sm_dispatcher() 269 _leave(" [msk %lx]", event_mask); in fscache_object_sm_dispatcher() 331 object->event_mask = object->oob_event_mask; in fscache_object_init() [all …]
|
/linux/arch/x86/events/intel/ |
A D | uncore_snbep.c | 1903 .event_mask = IVBEP_PMON_RAW_EVENT_MASK, 4105 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4149 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4180 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4199 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4225 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4582 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 4731 .event_mask = SNBEP_PMON_RAW_EVENT_MASK, 5661 .event_mask = SPR_CHA_PMON_EVENT_MASK, 5967 if (from_type->event_mask) in uncore_type_customized_copy() [all …]
|
A D | uncore_snb.c | 245 .event_mask = SNB_UNC_RAW_EVENT_MASK, 259 .event_mask = SNB_UNC_RAW_EVENT_MASK, 323 .event_mask = SNB_UNC_RAW_EVENT_MASK, 356 .event_mask = SNB_UNC_RAW_EVENT_MASK, 385 .event_mask = SNB_UNC_CTL_EV_SEL_MASK, 398 .event_mask = SNB_UNC_RAW_EVENT_MASK, 501 .event_mask = ADL_UNC_RAW_EVENT_MASK, 514 .event_mask = SNB_UNC_RAW_EVENT_MASK, 529 .event_mask = SNB_UNC_CTL_EV_SEL_MASK, 1288 .event_mask = NHM_UNC_RAW_EVENT_MASK,
|
A D | uncore_nhmex.c | 251 else if (box->pmu->type->event_mask & NHMEX_PMON_CTL_EN_BIT0) in nhmex_uncore_msr_enable_event() 288 .event_mask = NHMEX_U_PMON_RAW_EVENT_MASK, 320 .event_mask = NHMEX_PMON_RAW_EVENT_MASK, 342 .event_mask = NHMEX_PMON_RAW_EVENT_MASK, 431 .event_mask = NHMEX_B_PMON_RAW_EVENT_MASK, 508 .event_mask = NHMEX_PMON_RAW_EVENT_MASK, 934 .event_mask = NHMEX_M_PMON_RAW_EVENT_MASK, 1197 .event_mask = NHMEX_R_PMON_RAW_EVENT_MASK,
|
/linux/arch/powerpc/platforms/cell/spufs/ |
A D | spu_restore.c | 145 unsigned int event_mask; in restore_event_mask() local 150 offset = LSCSA_QW_OFFSET(event_mask); in restore_event_mask() 151 event_mask = regs_spill[offset].slot[0]; in restore_event_mask() 152 spu_writech(SPU_WrEventMask, event_mask); in restore_event_mask()
|
A D | spu_utils.h | 56 unsigned int event_mask = 0; in set_event_mask() local 63 spu_writech(SPU_WrEventMask, event_mask); in set_event_mask()
|
/linux/fs/notify/fanotify/ |
A D | fanotify.c | 275 u32 event_mask, const void *data, in fanotify_group_event_mask() argument 287 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_group_event_mask() 298 if (!dir && !(event_mask & FS_ISDIR)) in fanotify_group_event_mask() 314 if (event_mask & FS_ISDIR && !(mark->mask & FS_ISDIR)) in fanotify_group_event_mask() 328 test_mask = event_mask & marks_mask & ~marks_ignored_mask; in fanotify_group_event_mask() 468 static struct inode *fanotify_fid_inode(u32 event_mask, const void *data, in fanotify_fid_inode() argument 471 if (event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) in fanotify_fid_inode() 485 static struct inode *fanotify_dfid_inode(u32 event_mask, const void *data, in fanotify_dfid_inode() argument 490 if (event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) in fanotify_dfid_inode()
|
/linux/net/bluetooth/ |
A D | hci_sock.c | 136 __u32 event_mask[2]; member 184 if (!hci_test_bit(flt_event, &flt->event_mask)) in is_filtered_packet() 1878 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt_old() 1879 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt_old() 1890 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt_old() 1891 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt_old() 1899 *((u32 *) f->event_mask + 0) = uf.event_mask[0]; in hci_sock_setsockopt_old() 1900 *((u32 *) f->event_mask + 1) = uf.event_mask[1]; in hci_sock_setsockopt_old() 2009 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_getsockopt_old() 2010 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_getsockopt_old()
|
/linux/arch/sh/kernel/ |
A D | hw_breakpoint.c | 298 unsigned long event_mask = (1 << i); in hw_breakpoint_handler() local 300 if (likely(!(cmf & event_mask))) in hw_breakpoint_handler() 319 sh_ubc->clear_triggered_mask(event_mask); in hw_breakpoint_handler()
|
/linux/kernel/ |
A D | rseq.c | 175 u32 flags, event_mask; in rseq_need_restart() local 202 event_mask = t->rseq_event_mask; in rseq_need_restart() 206 return !!(event_mask & ~flags); in rseq_need_restart()
|
/linux/drivers/platform/chrome/ |
A 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() 356 priv->event_mask = arg; in cros_ec_chardev_ioctl()
|
/linux/drivers/net/ipa/ |
A D | gsi.c | 267 static void gsi_irq_ieob_disable(struct gsi *gsi, u32 event_mask) in gsi_irq_ieob_disable() argument 271 gsi->ieob_enabled_bitmap &= ~event_mask; in gsi_irq_ieob_disable() 1090 u32 event_mask; in gsi_isr_evt_ctrl() local 1095 while (event_mask) { in gsi_isr_evt_ctrl() 1096 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_evt_ctrl() 1099 event_mask ^= BIT(evt_ring_id); in gsi_isr_evt_ctrl() 1236 u32 event_mask; in gsi_isr_ieob() local 1239 gsi_irq_ieob_disable(gsi, event_mask); in gsi_isr_ieob() 1242 while (event_mask) { in gsi_isr_ieob() 1243 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_ieob() [all …]
|
/linux/include/net/bluetooth/ |
A D | hci_sock.h | 52 unsigned long event_mask[2]; member 58 __u32 event_mask[2]; member
|
/linux/drivers/iio/position/ |
A 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()
|
/linux/arch/sparc/kernel/ |
A D | ldc.c | 781 if (event_mask & LDC_EVENT_RESET) in send_events() 783 if (event_mask & LDC_EVENT_UP) in send_events() 793 unsigned int event_mask; in ldc_rx() local 810 event_mask = 0; in ldc_rx() 822 event_mask |= LDC_EVENT_UP; in ldc_rx() 847 event_mask |= event; in ldc_rx() 869 event_mask |= err; in ldc_rx() 907 send_events(lp, event_mask); in ldc_rx() 916 unsigned int event_mask = 0; in ldc_tx() local 943 event_mask |= LDC_EVENT_UP; in ldc_tx() [all …]
|
A D | perf_event.c | 165 int event_mask; member 329 .event_mask = 0x3f, 467 .event_mask = 0x7, 602 .event_mask = 0xfff, 759 .event_mask = 0x7ff, 789 .event_mask = 0x7ff, 817 return event_encoding(sparc_pmu->event_mask, idx); in mask_for_index()
|
/linux/drivers/iio/light/ |
A 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()
|
/linux/drivers/dma/ |
A D | imx-sdma.c | 436 unsigned long event_mask[2]; member 1061 dev_dbg(sdma->dev, "event_mask0 = 0x%08x\n", (u32)sdmac->event_mask[0]); in sdma_load_context() 1062 dev_dbg(sdma->dev, "event_mask1 = 0x%08x\n", (u32)sdmac->event_mask[1]); in sdma_load_context() 1072 context->gReg[0] = sdmac->event_mask[1]; in sdma_load_context() 1073 context->gReg[1] = sdmac->event_mask[0]; in sdma_load_context() 1164 set_bit(sdmac->event_id0 % 32, &sdmac->event_mask[1]); in sdma_set_watermarklevel_for_p2p() 1165 set_bit(sdmac->event_id1 % 32, &sdmac->event_mask[0]); in sdma_set_watermarklevel_for_p2p() 1183 swap(sdmac->event_mask[0], sdmac->event_mask[1]); in sdma_set_watermarklevel_for_p2p() 1203 sdmac->event_mask[0] = 0; in sdma_config_channel() 1204 sdmac->event_mask[1] = 0; in sdma_config_channel() [all …]
|
/linux/sound/soc/codecs/ |
A D | nau8824.c | 876 int adc_value, event = 0, event_mask = 0; in nau8824_jdet_work() local 896 event_mask |= SND_JACK_HEADSET; in nau8824_jdet_work() 897 snd_soc_jack_report(nau8824->jack, event, event_mask); in nau8824_jdet_work() 954 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8824_interrupt() local 964 event_mask |= SND_JACK_HEADSET; in nau8824_interrupt() 982 event_mask |= NAU8824_BUTTONS; in nau8824_interrupt() 985 event_mask = NAU8824_BUTTONS; in nau8824_interrupt() 1011 if (event_mask) in nau8824_interrupt() 1012 snd_soc_jack_report(nau8824->jack, event, event_mask); in nau8824_interrupt()
|
A D | nau8821.c | 922 int jack_status_reg, mic_detected, event = 0, event_mask = 0; in nau8821_jdet_work() local 948 event_mask |= SND_JACK_HEADSET; in nau8821_jdet_work() 949 snd_soc_jack_report(nau8821->jack, event, event_mask); in nau8821_jdet_work() 985 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8821_interrupt() local 999 event_mask |= SND_JACK_HEADSET; in nau8821_interrupt() 1031 if (event_mask) in nau8821_interrupt() 1032 snd_soc_jack_report(nau8821->jack, event, event_mask); in nau8821_interrupt()
|
/linux/drivers/net/wireless/marvell/libertas/ |
A 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()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_sriov.h | 19 int ixgbe_vf_configuration(struct pci_dev *pdev, unsigned int event_mask);
|
/linux/drivers/input/misc/ |
A D | iqs626a.c | 337 u8 event_mask; member 541 sys_reg->event_mask &= ~iqs626_events[i].mask; in iqs626_parse_events() 885 sys_reg->event_mask &= ~IQS626_EVENT_MASK_GESTURE; in iqs626_parse_trackpad() 1368 sys_reg->event_mask = ~((u8)IQS626_EVENT_MASK_SYS); in iqs626_parse_prop() 1409 sys_reg->event_mask & IQS626_EVENT_MASK_GESTURE) in iqs626_parse_prop() 1476 if (sys_reg->event_mask & IQS626_EVENT_MASK_GESTURE) { in iqs626_input_init() 1592 if (sys_reg->event_mask & IQS626_EVENT_MASK_GESTURE) { in iqs626_report()
|