Home
last modified time | relevance | path

Searched refs:last_event (Results 1 – 25 of 37) sorted by relevance

12

/linux/fs/bcachefs/
H A Dtime_stats.c73 bool initted = stats->last_event != 0; in time_stats_update_one()
90 if (stats->last_event && time_after64(end, stats->last_event)) { in time_stats_update_one()
91 freq = end - stats->last_event; in time_stats_update_one()
99 stats->last_event = end; in time_stats_update_one()
H A Dtime_stats.h79 u64 last_event; member
/linux/fs/notify/inotify/
H A Dinotify_fsnotify.c53 struct fsnotify_event *last_event; in inotify_merge() local
55 last_event = list_entry(list->prev, struct fsnotify_event, list); in inotify_merge()
56 return event_compare(last_event, event); in inotify_merge()
/linux/drivers/media/usb/dvb-usb/
H A DcinergyT2-core.c161 if (d->last_event == repeatable_keys[i]) { in cinergyt2_rc_query()
163 *event = d->last_event; in cinergyt2_rc_query()
178 if (*event != d->last_event) in cinergyt2_rc_query()
H A Daf9005-remote.c86 if (d->last_event == repeatable_keys[i]) { in af9005_rc_decode()
88 *event = d->last_event; in af9005_rc_decode()
H A Ddvb-usb-remote.c134 d->last_event = event; in legacy_dvb_usb_read_remote_control()
137 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control()
144 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control()
H A Ddvb-usb.h491 u32 last_event; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c568 int last_event; in iwl_mvm_update_link_sig() local
581 last_event = link_info->bf_data.last_bt_coex_event; in iwl_mvm_update_link_sig()
583 (last_event <= link_info->bf_data.bt_coex_min_thold || in iwl_mvm_update_link_sig()
584 last_event == 0)) { in iwl_mvm_update_link_sig()
590 (last_event >= link_info->bf_data.bt_coex_max_thold || in iwl_mvm_update_link_sig()
591 last_event == 0)) { in iwl_mvm_update_link_sig()
603 last_event = link_info->bf_data.last_cqm_event; in iwl_mvm_update_link_sig()
604 if (thold && sig < thold && (last_event == 0 || in iwl_mvm_update_link_sig()
605 sig < last_event - hyst)) { in iwl_mvm_update_link_sig()
615 (last_event == 0 || sig > last_event + hyst)) { in iwl_mvm_update_link_sig()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dutil.c65 {"last_event", item_size(last_event),
66 item_addr(last_event), DBG_CMD_NUM},
218 memcpy(info->last_event, adapter->dbg.last_event, in mwifiex_get_debug_info()
219 sizeof(adapter->dbg.last_event)); in mwifiex_get_debug_info()
H A Dioctl.h226 u16 last_event[DBG_CMD_NUM]; member
H A Dcmdevt.c499 adapter->dbg.last_event[adapter->dbg.last_event_index] = in mwifiex_process_event()
995 (int)sizeof(adapter->dbg.last_event), in mwifiex_cmd_timeout_func()
996 adapter->dbg.last_event); in mwifiex_cmd_timeout_func()
/linux/drivers/usb/musb/
H A Domap2430.c123 musb->xceiv->last_event = USB_EVENT_ID; in omap_musb_set_mailbox()
137 musb->xceiv->last_event = USB_EVENT_VBUS; in omap_musb_set_mailbox()
145 musb->xceiv->last_event = USB_EVENT_NONE; in omap_musb_set_mailbox()
157 musb->xceiv->last_event, NULL); in omap_musb_set_mailbox()
/linux/drivers/power/supply/
H A Disp1704_charger.c231 switch (isp->phy->last_event) { in isp1704_charger_work()
461 if (isp->phy->last_event == USB_EVENT_NONE) in isp1704_charger_probe()
465 if (isp->phy->last_event == USB_EVENT_VBUS && in isp1704_charger_probe()
/linux/drivers/usb/phy/
H A Dphy-mxs-usb.c391 return mxs_phy->phy.last_event == USB_EVENT_ID; in mxs_phy_is_otg_host()
397 enum usb_phy_events last_event = mxs_phy->phy.last_event; in mxs_phy_disconnect_line() local
410 || (last_event == USB_EVENT_VBUS))) in mxs_phy_disconnect_line()
H A Dphy-gpio-vbus-usb.c115 gpio_vbus->phy.last_event = status; in gpio_vbus_work()
138 gpio_vbus->phy.last_event = status; in gpio_vbus_work()
H A Dphy-generic.c115 nop->phy.last_event = status; in nop_gpio_vbus_thread()
122 nop->phy.last_event = status; in nop_gpio_vbus_thread()
H A Dphy.c768 x->last_event = event; in usb_phy_set_event()
/linux/drivers/media/rc/
H A Drc-ir-raw.c109 ev.duration = ktime_to_us(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge()
140 dev->raw->last_event = now; in ir_raw_event_store_with_timeout()
561 interval = ktime_sub(ktime_get(), dev->raw->last_event); in ir_raw_edge_handle()
H A Drc-core-priv.h53 ktime_t last_event; /* when last event occurred */ member
/linux/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.h53 int last_event; member
/linux/include/linux/usb/
H A Dphy.h94 enum usb_phy_events last_event; member
/linux/tools/perf/
H A Dbuiltin-kvm.c696 struct kvm_event *last_event; member
825 vcpu_record->last_event = event; in handle_begin_event()
900 vcpu_record->last_event = event; in handle_child_event()
930 event = vcpu_record->last_event; in handle_end_event()
952 vcpu_record->last_event = NULL; in handle_end_event()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c1275 s8 last_event = common->cqm_info.last_cqm_event_rssi; in rsi_perform_cqm() local
1280 if (rssi < thold && (last_event == 0 || rssi < (last_event - hyst))) in rsi_perform_cqm()
1283 (last_event == 0 || rssi > (last_event + hyst))) in rsi_perform_cqm()
/linux/drivers/usb/host/
H A Dxhci-tegra.c1470 dev_dbg(tegra->dev, "%s(): action is %d", __func__, usbphy->last_event); in tegra_xhci_id_notify()
1472 if ((tegra->host_mode && usbphy->last_event == USB_EVENT_ID) || in tegra_xhci_id_notify()
1473 (!tegra->host_mode && usbphy->last_event != USB_EVENT_ID)) { in tegra_xhci_id_notify()
1481 tegra->host_mode = (usbphy->last_event == USB_EVENT_ID) ? true : false; in tegra_xhci_id_notify()
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.h153 enum sdma_events last_event; member

12