Home
last modified time | relevance | path

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

1234

/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.c1144 info.event_mask = &event_mask; in hl_device_heartbeat()
2108 if (event_mask) in hl_device_cond_reset()
2119 notifier_event->events_mask |= event_mask; in hl_notifier_event_send()
2138 if (!event_mask) { in hl_notifier_event_send_all()
2718 u8 flags, u64 *event_mask) in hl_handle_razwi() argument
2722 if (event_mask) in hl_handle_razwi()
2723 *event_mask |= HL_NOTIFIER_EVENT_RAZWI; in hl_handle_razwi()
2805 u64 *event_mask) in hl_handle_page_fault() argument
2809 if (event_mask) in hl_handle_page_fault()
2831 if (event_mask) in hl_handle_critical_hw_err()
[all …]
H A Dirq.c396 u64 event_mask; in handle_tpc_interrupt() local
399 event_mask = HL_NOTIFIER_EVENT_TPC_ASSERT | in handle_tpc_interrupt()
406 hl_device_cond_reset(hdev, flags, event_mask); in handle_tpc_interrupt()
479 u64 event_mask = HL_NOTIFIER_EVENT_DEVICE_RESET | HL_NOTIFIER_EVENT_DEVICE_UNAVAILABLE; in hl_irq_eq_error_interrupt_thread_handler() local
484 hl_device_cond_reset(hdev, HL_DRV_RESET_HARD, event_mask); in hl_irq_eq_error_interrupt_thread_handler()
/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()
/linux/drivers/input/keyboard/
H A 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()
/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()
/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.c43 unsigned long event_mask; member
104 if (!(event_bit & priv->event_mask) || in cros_ec_chardev_mkbp_event()
211 if (priv->event_mask) { /* queued MKBP event */ in cros_ec_chardev_read()
360 priv->event_mask = arg; in cros_ec_chardev_ioctl()
/linux/arch/x86/events/intel/
H A Duncore_snb.c338 .event_mask = SNB_UNC_RAW_EVENT_MASK,
352 .event_mask = SNB_UNC_RAW_EVENT_MASK,
416 .event_mask = SNB_UNC_RAW_EVENT_MASK,
449 .event_mask = SNB_UNC_RAW_EVENT_MASK,
491 .event_mask = SNB_UNC_RAW_EVENT_MASK,
594 .event_mask = ADL_UNC_RAW_EVENT_MASK,
607 .event_mask = SNB_UNC_RAW_EVENT_MASK,
647 .event_mask = ADL_UNC_RAW_EVENT_MASK,
660 .event_mask = ADL_UNC_RAW_EVENT_MASK,
673 .event_mask = ADL_UNC_RAW_EVENT_MASK,
[all …]
H A Duncore_snbep.c1923 .event_mask = IVBEP_PMON_RAW_EVENT_MASK,
4237 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4407 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4442 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4461 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4487 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4837 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
4986 .event_mask = SNBEP_PMON_RAW_EVENT_MASK,
5999 .event_mask = SPR_CHA_PMON_EVENT_MASK,
6470 if (from_type->event_mask) in uncore_type_customized_copy()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c351 fweh->event_mask = kzalloc(fweh->event_mask_len, GFP_KERNEL); in brcmf_fweh_attach()
352 if (!fweh->event_mask) in brcmf_fweh_attach()
379 kfree(fweh->event_mask); in brcmf_fweh_detach()
437 memset(fweh->event_mask, 0, fweh->event_mask_len); in brcmf_fweh_activate_events()
443 setbit(fweh->event_mask, i); in brcmf_fweh_activate_events()
449 setbit(fweh->event_mask, BRCMF_E_IF); in brcmf_fweh_activate_events()
451 err = brcmf_fil_iovar_data_set(ifp, "event_msgs", fweh->event_mask, in brcmf_fweh_activate_events()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c8332 u64 *event_mask) in gaudi2_handle_psoc_razwi_happened() argument
8645 qid_base, event_mask); in gaudi2_handle_qman_err()
8710 u64 *event_mask) in gaudi2_handle_rot_err() argument
8732 u64 *event_mask) in gaudi2_tpc_ack_interrupts() argument
8753 u64 *event_mask) in gaudi2_handle_dec_err() argument
8790 u64 *event_mask) in gaudi2_handle_mme_err() argument
8833 u64 *event_mask) in gaudi2_handle_mme_wap_err() argument
8997 u64 *event_mask) in gaudi2_handle_page_error() argument
9255 is_pmmu, event_mask); in gaudi2_handle_mmu_spi_sei_err()
9785 u64 event_mask = 0; in gaudi2_handle_eqe() local
[all …]
/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()
/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()
/linux/include/net/bluetooth/
H A Dhci_sock.h52 unsigned long event_mask[2]; member
58 __u32 event_mask[2]; member
/linux/drivers/gpu/drm/imagination/
H A Dpvr_fw.h206 u32 event_mask; member
410 (pvr_fw_irq_read_reg(pvr_dev, status) & (pvr_dev)->fw_dev.defs->irq.event_mask)
416 pvr_fw_irq_write_reg(pvr_dev, enable, (pvr_dev)->fw_dev.defs->irq.event_mask)
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c6795 u64 qman_base, u64 event_mask) in gaudi_handle_sw_config_stream_data() argument
6833 u64 event_mask, in gaudi_handle_last_pqes_on_err() argument
6918 qman_base, event_mask, true); in handle_qman_data_on_err()
6927 qman_base, event_mask, false); in handle_qman_data_on_err()
6934 u64 *event_mask) in gaudi_handle_qman_err_generic() argument
7220 bool check_razwi, u64 *event_mask) in gaudi_print_irq_info() argument
7258 razwi_flags, event_mask); in gaudi_print_irq_info()
7652 event_mask |= HL_NOTIFIER_EVENT_TPC_ASSERT; in gaudi_handle_eqe()
7838 fw_err_info.event_mask = &event_mask; in gaudi_handle_eqe()
7848 if (event_mask) in gaudi_handle_eqe()
[all …]
/linux/fs/notify/fanotify/
H A Dfanotify.c291 u32 *match_mask, u32 event_mask, in fanotify_group_event_mask() argument
301 bool ondir = event_mask & FAN_ONDIR; in fanotify_group_event_mask()
305 __func__, iter_info->report_mask, event_mask, data, data_type); in fanotify_group_event_mask()
339 test_mask = event_mask & marks_mask & ~marks_ignore_mask; in fanotify_group_event_mask()
501 static struct inode *fanotify_fid_inode(u32 event_mask, const void *data, in fanotify_fid_inode() argument
505 if ((event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) && in fanotify_fid_inode()
520 static struct inode *fanotify_dfid_inode(u32 event_mask, const void *data, in fanotify_dfid_inode() argument
525 if (event_mask & ALL_FSNOTIFY_DIRENT_EVENTS) in fanotify_dfid_inode()
/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()
/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()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debug.c114 bool kfd_dbg_ev_raise(uint64_t event_mask, in kfd_dbg_ev_raise() argument
131 if (event_mask & KFD_EC_MASK_DEVICE) { in kfd_dbg_ev_raise()
138 pdd->exception_status |= event_mask & KFD_EC_MASK_DEVICE; in kfd_dbg_ev_raise()
140 if (event_mask & KFD_EC_MASK(EC_DEVICE_MEMORY_VIOLATION)) { in kfd_dbg_ev_raise()
158 } else if (event_mask & KFD_EC_MASK_PROCESS) { in kfd_dbg_ev_raise()
159 process->exception_status |= event_mask & KFD_EC_MASK_PROCESS; in kfd_dbg_ev_raise()
169 target_id = event_mask & KFD_EC_MASK(EC_QUEUE_NEW) ? in kfd_dbg_ev_raise()
176 pqn->q->properties.exception_status |= event_mask; in kfd_dbg_ev_raise()
181 if (process->exception_enable_mask & event_mask) { in kfd_dbg_ev_raise()
/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 …]
/linux/drivers/net/ipa/
H A Dgsi.c302 gsi->ieob_enabled_bitmap &= ~event_mask; in gsi_irq_ieob_disable()
1157 u32 event_mask; in gsi_isr_evt_ctrl() local
1160 event_mask = ioread32(gsi->virt + reg_offset(reg)); in gsi_isr_evt_ctrl()
1165 while (event_mask) { in gsi_isr_evt_ctrl()
1166 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_evt_ctrl()
1168 event_mask ^= BIT(evt_ring_id); in gsi_isr_evt_ctrl()
1322 u32 event_mask; in gsi_isr_ieob() local
1327 gsi_irq_ieob_disable(gsi, event_mask); in gsi_isr_ieob()
1332 while (event_mask) { in gsi_isr_ieob()
1333 u32 evt_ring_id = __ffs(event_mask); in gsi_isr_ieob()
[all …]

1234