/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types.c | 133 void ib_uverbs_free_event_queue(struct ib_uverbs_event_queue *event_queue) in ib_uverbs_free_event_queue() argument 137 spin_lock_irq(&event_queue->lock); in ib_uverbs_free_event_queue() 142 event_queue->is_closed = 1; in ib_uverbs_free_event_queue() 143 spin_unlock_irq(&event_queue->lock); in ib_uverbs_free_event_queue() 144 wake_up_interruptible(&event_queue->poll_wait); in ib_uverbs_free_event_queue() 145 kill_fasync(&event_queue->async_queue, SIGIO, POLL_IN); in ib_uverbs_free_event_queue() 147 spin_lock_irq(&event_queue->lock); in ib_uverbs_free_event_queue() 148 list_for_each_entry_safe(entry, tmp, &event_queue->event_list, list) { in ib_uverbs_free_event_queue() 154 spin_unlock_irq(&event_queue->lock); in ib_uverbs_free_event_queue()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | trans.c | 116 if (likely(skb_queue_len(&trans->event_queue) < in qtnf_trans_event_enqueue() 118 skb_queue_tail(&trans->event_queue, skb); in qtnf_trans_event_enqueue() 143 skb_queue_head_init(&trans->event_queue); in qtnf_trans_init() 149 struct sk_buff_head *event_queue = &bus->trans.event_queue; in qtnf_trans_free_events() local 150 struct sk_buff *current_event_skb = skb_dequeue(event_queue); in qtnf_trans_free_events() 154 current_event_skb = skb_dequeue(event_queue); in qtnf_trans_free_events()
|
H A D | trans.h | 31 struct sk_buff_head event_queue; member
|
H A D | event.c | 789 struct sk_buff_head *event_queue = &bus->trans.event_queue; in qtnf_event_work_handler() local 790 struct sk_buff *current_event_skb = skb_dequeue(event_queue); in qtnf_event_work_handler() 795 current_event_skb = skb_dequeue(event_queue); in qtnf_event_work_handler()
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_common.h | 30 init_waitqueue_head(&pevent->event_queue); in rsi_init_event() 39 status = wait_event_interruptible(event->event_queue, in rsi_wait_event() 42 status = wait_event_interruptible_timeout(event->event_queue, in rsi_wait_event() 51 wake_up_interruptible(&event->event_queue); in rsi_set_event()
|
H A D | rsi_main.h | 199 wait_queue_head_t event_queue; member
|
/linux/drivers/net/fddi/skfp/h/ |
H A D | smc.h | 58 struct event_queue { struct 74 struct event_queue ev_queue[MAX_EVENT]; argument 75 struct event_queue *ev_put ; 76 struct event_queue *ev_get ;
|
/linux/drivers/scsi/ |
H A D | 3w-9xxx.c | 384 event = tw_dev->event_queue[tw_dev->error_index]; in twa_aen_queue_event() 764 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl() 765 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl() 783 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl() 784 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl() 804 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW… in twa_chrdev_ioctl() 806 if (!(tw_dev->event_queue[event_index]->sequence_id > sequence_id)) { in twa_chrdev_ioctl() 812 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl() 813 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl() 833 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW… in twa_chrdev_ioctl() [all …]
|
H A D | 3w-sas.c | 112 …ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * T… in twl_sysfs_aen_read() 234 event = tw_dev->event_queue[tw_dev->error_index]; in twl_aen_queue_event() 921 kfree(tw_dev->event_queue[0]); in twl_free_device_extension() 1055 tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL); in twl_initialize_device_extension() 1056 if (!tw_dev->event_queue[0]) { in twl_initialize_device_extension() 1062 …tw_dev->event_queue[i] = (TW_Event *)((unsigned char *)tw_dev->event_queue[0] + (i * sizeof(TW_Eve… in twl_initialize_device_extension()
|
H A D | 3w-sas.h | 394 TW_Event *event_queue[TW_Q_LENGTH]; member
|
H A D | 3w-9xxx.h | 681 TW_Event *event_queue[TW_Q_LENGTH]; member
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_state_monitor.c | 139 list_for_each_entry_safe(event, evt_next, &ctl->event_queue, entry) { in fsm_flush_event_cmd_qs() 161 event = list_first_entry_or_null(&ctl->event_queue, struct t7xx_fsm_event, entry); in fsm_wait_for_event() 540 list_add_tail(&event->entry, &ctl->event_queue); in t7xx_fsm_append_event() 553 list_for_each_entry_safe(event, evt_next, &ctl->event_queue, entry) { in t7xx_fsm_clr_event() 615 INIT_LIST_HEAD(&ctl->event_queue); in t7xx_fsm_init()
|
H A D | t7xx_state_monitor.h | 89 struct list_head event_queue; member
|
H A D | t7xx_modem_ops.c | 517 list_for_each_entry_safe(event, event_next, &ctl->event_queue, entry) { in t7xx_core_hk_handler() 534 wait_event_interruptible(ctl->event_wq, !list_empty(&ctl->event_queue) || in t7xx_core_hk_handler()
|
/linux/sound/firewire/motu/ |
H A D | motu-register-dsp-message-parser.c | 96 u32 event_queue[EVENT_QUEUE_SIZE]; member 137 parser->event_queue[pos] = entry; in queue_event() 413 *event = parser->event_queue[pos]; in snd_motu_register_dsp_message_parser_copy_event()
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp_ctrl.c | 78 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_switch_change() 154 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_presence_change() 245 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_power_fault() 1778 if (ctrl->event_queue[loop].event_type != 0) { in interrupt_event_handler() 1779 hp_slot = ctrl->event_queue[loop].hp_slot; in interrupt_event_handler() 1792 if (ctrl->event_queue[loop].event_type == INT_BUTTON_PRESS) { in interrupt_event_handler() 1794 } else if (ctrl->event_queue[loop].event_type == in interrupt_event_handler() 1825 else if (ctrl->event_queue[loop].event_type == INT_BUTTON_RELEASE) { in interrupt_event_handler() 1862 else if (ctrl->event_queue[loop].event_type == INT_POWER_FAULT) { in interrupt_event_handler() 1866 ctrl->event_queue[loop].event_type = 0; in interrupt_event_handler()
|
H A D | cpqphp.h | 288 struct event_info event_queue[10]; member
|
/linux/drivers/net/fddi/skfp/ |
H A D | queue.c | 67 struct event_queue *ev ; /* pointer into queue */ in ev_dispatcher()
|
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 3880 struct pqi_event_queue *event_queue; in pqi_process_event_intr() local 3885 event_queue = &ctrl_info->event_queue; in pqi_process_event_intr() 3887 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr() 3890 oq_pi = readl(event_queue->oq_pi); in pqi_process_event_intr() 3903 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr() 3922 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr() 3923 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr() 4220 ctrl_info->event_queue.oq_element_array = element_array; in pqi_alloc_operational_queues() 4221 ctrl_info->event_queue.oq_element_array_bus_addr = in pqi_alloc_operational_queues() 4258 ctrl_info->event_queue.oq_pi = next_queue_index; in pqi_alloc_operational_queues() [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | cw1200.h | 261 struct list_head event_queue; member
|
H A D | main.c | 367 INIT_LIST_HEAD(&priv->event_queue); in cw1200_init_common()
|
H A D | sta.c | 122 list_splice_init(&priv->event_queue, &list); in cw1200_stop() 958 list_splice_init(&priv->event_queue, &list); in cw1200_free_event_queue() 972 list_splice_init(&priv->event_queue, &list); in cw1200_event_handler()
|
H A D | wsm.c | 936 first = list_empty(&priv->event_queue); in wsm_event_indication() 937 list_add_tail(&event->link, &priv->event_queue); in wsm_event_indication()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | device.c | 1102 hdev->event_queue.ci, in hl_device_eq_heartbeat_received() 1110 hl_eq_dump(hdev, &hdev->event_queue); in hl_device_eq_heartbeat_received() 1811 hl_eq_reset(hdev, &hdev->event_queue); in hl_device_reset() 2278 rc = hl_eq_init(hdev, &hdev->event_queue); in hl_device_init() 2452 hl_eq_fini(hdev, &hdev->event_queue); in hl_device_init() 2612 hl_eq_fini(hdev, &hdev->event_queue); in hl_device_fini()
|
H A D | irq.c | 517 if ((hdev->event_queue.check_eqe_index) && in hl_irq_handler_eq()
|