Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddecoder.c50 u32 irq_status, event_mask = 0; in dec_abnrm_intr_work() local
67 event_mask |= HL_NOTIFIER_EVENT_GENERAL_HW_ERR; in dec_abnrm_intr_work()
71 event_mask |= HL_NOTIFIER_EVENT_UNDEFINED_OPCODE; in dec_abnrm_intr_work()
76 event_mask |= HL_NOTIFIER_EVENT_USER_ENGINE_ERR; in dec_abnrm_intr_work()
79 event_mask |= HL_NOTIFIER_EVENT_DEVICE_RESET; in dec_abnrm_intr_work()
80 hl_device_cond_reset(hdev, 0, event_mask); in dec_abnrm_intr_work()
81 } else if (event_mask) { in dec_abnrm_intr_work()
82 hl_notifier_event_send_all(hdev, event_mask); in dec_abnrm_intr_work()
H A Ddevice.c1020 info.event_mask = &event_mask; in hl_device_heartbeat()
1955 if (event_mask) in hl_device_cond_reset()
1966 notifier_event->events_mask |= event_mask; in hl_notifier_event_send()
1985 if (!event_mask) { in hl_notifier_event_send_all()
2555 u8 flags, u64 *event_mask) in hl_handle_razwi() argument
2559 if (event_mask) in hl_handle_razwi()
2560 *event_mask |= HL_NOTIFIER_EVENT_RAZWI; in hl_handle_razwi()
2642 u64 *event_mask) in hl_handle_page_fault() argument
2646 if (event_mask) in hl_handle_page_fault()
2668 if (event_mask) in hl_handle_critical_hw_err()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-xgs-iproc.c70 u32 int_mask, irq_type, event_mask; in iproc_gpio_irq_unmask() local
75 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_unmask()
79 event_mask |= 1 << pin; in iproc_gpio_irq_unmask()
80 writel_relaxed(event_mask, in iproc_gpio_irq_unmask()
97 u32 irq_type, int_mask, event_mask; in iproc_gpio_irq_mask() local
101 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_mask()
105 event_mask &= ~BIT(pin); in iproc_gpio_irq_mask()
106 writel_relaxed(event_mask, in iproc_gpio_irq_mask()
/openbmc/linux/drivers/input/keyboard/
H A Diqs62x-keys.c106 unsigned int event_mask = 0; in iqs62x_keys_init() local
124 event_mask |= iqs62x->dev_desc->prox_mask; in iqs62x_keys_init()
126 event_mask |= (iqs62x->dev_desc->hyst_mask | in iqs62x_keys_init()
148 event_mask |= iqs62x->dev_desc->hall_mask; in iqs62x_keys_init()
167 event_mask |= IQS624_HALL_UI_INT_EVENT; in iqs62x_keys_init()
170 event_mask |= IQS624_HALL_UI_INT_EVENT; in iqs62x_keys_init()
184 return regmap_update_bits(iqs62x->regmap, event_reg, event_mask, 0); in iqs62x_keys_init()
/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_restore.c145 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()
H A Dspu_utils.h56 unsigned int event_mask = 0; in set_event_mask() local
63 spu_writech(SPU_WrEventMask, event_mask); in set_event_mask()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_typec_switch.c112 u32 event_mask; in cros_typec_configure_mux() local
123 event_mask = PD_STATUS_EVENT_MUX_0_SET_DONE; in cros_typec_configure_mux()
125 event_mask = PD_STATUS_EVENT_MUX_1_SET_DONE; in cros_typec_configure_mux()
127 ret = cros_typec_send_clear_event(sdata, port_num, event_mask); in cros_typec_configure_mux()
139 if (cros_typec_check_event(sdata, port_num, event_mask)) in cros_typec_configure_mux()
H A 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()
/openbmc/linux/arch/x86/events/intel/
H A Duncore_snbep.c1914 .event_mask = IVBEP_PMON_RAW_EVENT_MASK,
4228 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4398 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4433 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4452 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4478 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4828 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4977 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
5994 .event_mask = SPR_CHA_PMON_EVENT_MASK,
6391 if (from_type->event_mask) in uncore_type_customized_copy()
[all …]
H A Duncore_snb.c337 .event_mask = SNB_UNC_RAW_EVENT_MASK,
351 .event_mask = SNB_UNC_RAW_EVENT_MASK,
415 .event_mask = SNB_UNC_RAW_EVENT_MASK,
448 .event_mask = SNB_UNC_RAW_EVENT_MASK,
490 .event_mask = SNB_UNC_RAW_EVENT_MASK,
593 .event_mask = ADL_UNC_RAW_EVENT_MASK,
606 .event_mask = SNB_UNC_RAW_EVENT_MASK,
646 .event_mask = ADL_UNC_RAW_EVENT_MASK,
659 .event_mask = ADL_UNC_RAW_EVENT_MASK,
672 .event_mask = ADL_UNC_RAW_EVENT_MASK,
[all …]
H A Duncore_nhmex.c251 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,
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c7941 u8 module_sub_idx, u64 *event_mask) in gaudi2_ack_module_razwi_event_handler() argument
8166 u64 *event_mask) in gaudi2_handle_psoc_razwi_happened() argument
8542 u64 *event_mask) in gaudi2_handle_rot_err() argument
8564 u64 *event_mask) in gaudi2_tpc_ack_interrupts() argument
8585 u64 *event_mask) in gaudi2_handle_dec_err() argument
8622 u64 *event_mask) in gaudi2_handle_mme_err() argument
8670 u64 *event_mask) in gaudi2_handle_mme_wap_err() argument
8836 u64 *event_mask) in gaudi2_handle_page_error() argument
9095 is_pmmu, event_mask); in gaudi2_handle_mmu_spi_sei_err()
9468 u64 event_mask = 0; in gaudi2_handle_eqe() local
[all …]
/openbmc/linux/arch/sh/kernel/
H A Dhw_breakpoint.c298 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()
/openbmc/linux/include/net/bluetooth/
H A Dhci_sock.h52 unsigned long event_mask[2]; member
58 __u32 event_mask[2]; member
/openbmc/linux/net/bluetooth/
H A Dhci_sock.c136 __u32 event_mask[2]; member
184 if (!hci_test_bit(flt_event, &flt->event_mask)) in is_filtered_packet()
1973 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt_old()
1974 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt_old()
1983 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt_old()
1984 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt_old()
1992 *((u32 *) f->event_mask + 0) = uf.event_mask[0]; in hci_sock_setsockopt_old()
1993 *((u32 *) f->event_mask + 1) = uf.event_mask[1]; in hci_sock_setsockopt_old()
2102 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_getsockopt_old()
2103 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_getsockopt_old()
H A Daosp.c143 __u32 event_mask; member
153 cp.event_mask = DEFAULT_BQR_EVENT_MASK; in enable_quality_report()
/openbmc/linux/drivers/iio/position/
H A 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()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c6801 u64 qman_base, u64 event_mask) in gaudi_handle_sw_config_stream_data() argument
6839 u64 event_mask, in gaudi_handle_last_pqes_on_err() argument
6924 qman_base, event_mask, true); in handle_qman_data_on_err()
6933 qman_base, event_mask, false); in handle_qman_data_on_err()
6940 u64 *event_mask) in gaudi_handle_qman_err_generic() argument
7226 bool check_razwi, u64 *event_mask) in gaudi_print_irq_info() argument
7264 razwi_flags, event_mask); in gaudi_print_irq_info()
7658 event_mask |= HL_NOTIFIER_EVENT_TPC_ASSERT; in gaudi_handle_eqe()
7844 fw_err_info.event_mask = &event_mask; in gaudi_handle_eqe()
7854 if (event_mask) in gaudi_handle_eqe()
[all …]
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.c295 u32 *match_mask, u32 event_mask, in fanotify_group_event_mask() argument
305 bool ondir = event_mask & FAN_ONDIR; in fanotify_group_event_mask()
309 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_group_event_mask()
343 test_mask = event_mask & marks_mask & ~marks_ignore_mask; in fanotify_group_event_mask()
505 static struct inode *fanotify_fid_inode(u32 event_mask, const void *data, in fanotify_fid_inode() argument
509 if ((event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) && in fanotify_fid_inode()
524 static struct inode *fanotify_dfid_inode(u32 event_mask, const void *data, in fanotify_dfid_inode() argument
529 if (event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) in fanotify_dfid_inode()
/openbmc/linux/kernel/
H A Drseq.c220 u32 flags, event_mask; in rseq_need_restart() local
239 event_mask = t->rseq_event_mask; in rseq_need_restart()
243 return !!event_mask; in rseq_need_restart()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c113 bool kfd_dbg_ev_raise(uint64_t event_mask, in kfd_dbg_ev_raise() argument
130 if (event_mask & KFD_EC_MASK_DEVICE) { in kfd_dbg_ev_raise()
137 pdd->exception_status |= event_mask & KFD_EC_MASK_DEVICE; in kfd_dbg_ev_raise()
139 if (event_mask & KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION)) { in kfd_dbg_ev_raise()
157 } else if (event_mask & KFD_EC_MASK_PROCESS) { in kfd_dbg_ev_raise()
158 process->exception_status |= event_mask & KFD_EC_MASK_PROCESS; in kfd_dbg_ev_raise()
168 target_id = event_mask & KFD_EC_MASK(EC_QUEUE_NEW) ? in kfd_dbg_ev_raise()
175 pqn->q->properties.exception_status |= event_mask; in kfd_dbg_ev_raise()
180 if (process->exception_enable_mask & event_mask) { in kfd_dbg_ev_raise()
/openbmc/linux/arch/sparc/kernel/
H A Dldc.c781 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 …]
/openbmc/linux/drivers/net/ipa/
H A Dgsi.c304 gsi->ieob_enabled_bitmap &= ~event_mask; in gsi_irq_ieob_disable()
1159 u32 event_mask; in gsi_isr_evt_ctrl() local
1162 event_mask = ioread32(gsi->virt + reg_offset(reg)); in gsi_isr_evt_ctrl()
1167 while (event_mask) { in gsi_isr_evt_ctrl()
1168 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_evt_ctrl()
1170 event_mask ^= BIT(evt_ring_id); in gsi_isr_evt_ctrl()
1324 u32 event_mask; in gsi_isr_ieob() local
1329 gsi_irq_ieob_disable(gsi, event_mask); in gsi_isr_ieob()
1334 while (event_mask) { in gsi_isr_ieob()
1335 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_ieob()
[all …]
/openbmc/linux/drivers/iio/light/
H A 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()
/openbmc/qemu/ui/
H A Dspice-core.c112 static void watch_update_mask(SpiceWatch *watch, int event_mask) in watch_update_mask() argument
117 if (event_mask & SPICE_WATCH_EVENT_READ) { in watch_update_mask()
120 if (event_mask & SPICE_WATCH_EVENT_WRITE) { in watch_update_mask()
126 static SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque) in watch_add() argument
143 watch_update_mask(watch, event_mask); in watch_add()

1234