Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/notify/inotify/
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-6.6.21/drivers/media/usb/dvb-usb/
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()
Daf9005-remote.c86 if (d->last_event == repeatable_keys[i]) { in af9005_rc_decode()
88 *event = d->last_event; in af9005_rc_decode()
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()
Ddvb-usb.h493 u32 last_event; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c565 int last_event; in iwl_mvm_update_vif_sig() local
577 last_event = mvmvif->bf_data.last_bt_coex_event; in iwl_mvm_update_vif_sig()
579 (last_event <= mvmvif->bf_data.bt_coex_min_thold || in iwl_mvm_update_vif_sig()
580 last_event == 0)) { in iwl_mvm_update_vif_sig()
586 (last_event >= mvmvif->bf_data.bt_coex_max_thold || in iwl_mvm_update_vif_sig()
587 last_event == 0)) { in iwl_mvm_update_vif_sig()
599 last_event = mvmvif->bf_data.last_cqm_event; in iwl_mvm_update_vif_sig()
600 if (thold && sig < thold && (last_event == 0 || in iwl_mvm_update_vif_sig()
601 sig < last_event - hyst)) { in iwl_mvm_update_vif_sig()
611 (last_event == 0 || sig > last_event + hyst)) { in iwl_mvm_update_vif_sig()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
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()
Dioctl.h226 u16 last_event[DBG_CMD_NUM]; member
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-6.6.21/drivers/usb/musb/
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-6.6.21/drivers/power/supply/
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-6.6.21/drivers/usb/phy/
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()
Dphy-generic.c115 nop->phy.last_event = status; in nop_gpio_vbus_thread()
127 nop->phy.last_event = status; in nop_gpio_vbus_thread()
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()
Dphy.c768 x->last_event = event; in usb_phy_set_event()
/linux-6.6.21/drivers/media/rc/
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()
Drc-core-priv.h53 ktime_t last_event; /* when last event occurred */ member
/linux-6.6.21/drivers/net/ethernet/pasemi/
Dpasemi_mac.h53 int last_event; member
/linux-6.6.21/include/linux/usb/
Dphy.h94 enum usb_phy_events last_event; member
/linux-6.6.21/tools/perf/
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-6.6.21/drivers/net/wireless/rsi/
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-6.6.21/drivers/net/wireless/legacy/
Drndis_wlan.c3154 int thold, hyst, last_event; in rndis_do_cqm() local
3161 last_event = priv->last_cqm_event_rssi; in rndis_do_cqm()
3165 if (rssi < thold && (last_event == 0 || rssi < last_event - hyst)) in rndis_do_cqm()
3167 else if (rssi > thold && (last_event == 0 || rssi > last_event + hyst)) in rndis_do_cqm()
/linux-6.6.21/drivers/usb/host/
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-6.6.21/drivers/infiniband/hw/hfi1/
Dsdma.h153 enum sdma_events last_event; member
/linux-6.6.21/net/mac80211/
Dmlme.c5642 int last_event = link->u.mgd.last_cqm_event_signal; in ieee80211_handle_beacon_sig() local
5647 (last_event == 0 || sig < last_event - hyst)) { in ieee80211_handle_beacon_sig()
5654 (last_event == 0 || sig > last_event + hyst)) { in ieee80211_handle_beacon_sig()
5666 int last_event = link->u.mgd.last_cqm_event_signal; in ieee80211_handle_beacon_sig() local
5671 (last_event == 0 || last_event >= low)) { in ieee80211_handle_beacon_sig()
5678 (last_event == 0 || last_event <= high)) { in ieee80211_handle_beacon_sig()

12