Home
last modified time | relevance | path

Searched refs:notif (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.4/sound/aoa/core/
Dgpio-pmf.c74 struct gpio_notification *notif = in pmf_handle_notify() local
77 mutex_lock(&notif->mutex); in pmf_handle_notify()
78 if (notif->notify) in pmf_handle_notify()
79 notif->notify(notif->data); in pmf_handle_notify()
80 mutex_unlock(&notif->mutex); in pmf_handle_notify()
124 struct gpio_notification *notif = data; in pmf_handle_notify_irq() local
126 schedule_delayed_work(&notif->work, 0); in pmf_handle_notify_irq()
134 struct gpio_notification *notif; in pmf_set_notify() local
142 notif = &rt->headphone_notify; in pmf_set_notify()
146 notif = &rt->line_in_notify; in pmf_set_notify()
[all …]
Dgpio-feature.c212 struct gpio_notification *notif = in ftr_handle_notify() local
215 mutex_lock(&notif->mutex); in ftr_handle_notify()
216 if (notif->notify) in ftr_handle_notify()
217 notif->notify(notif->data); in ftr_handle_notify()
218 mutex_unlock(&notif->mutex); in ftr_handle_notify()
303 struct gpio_notification *notif = data; in ftr_handle_notify_irq() local
305 schedule_delayed_work(&notif->work, 0); in ftr_handle_notify_irq()
315 struct gpio_notification *notif; in ftr_set_notify() local
323 notif = &rt->headphone_notify; in ftr_set_notify()
328 notif = &rt->line_in_notify; in ftr_set_notify()
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.c214 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notify_csa() argument
219 if (!notif->status) in iwl_mvm_te_handle_notify_csa()
224 if (!notif->status) in iwl_mvm_te_handle_notify_csa()
229 if (!notif->status) { in iwl_mvm_te_handle_notify_csa()
249 struct iwl_time_event_notif *notif, in iwl_mvm_te_check_trigger() argument
272 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger()
273 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger()
279 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger()
280 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger()
294 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notif() argument
[all …]
Drs-fw.c315 struct iwl_tlc_update_notif *notif; in iwl_mvm_tlc_update_notif() local
323 notif = (void *)pkt->data; in iwl_mvm_tlc_update_notif()
324 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif()
327 notif->sta_id); in iwl_mvm_tlc_update_notif()
335 notif->sta_id); in iwl_mvm_tlc_update_notif()
339 flags = le32_to_cpu(notif->flags); in iwl_mvm_tlc_update_notif()
344 lq_sta->last_rate_n_flags = le32_to_cpu(notif->rate); in iwl_mvm_tlc_update_notif()
350 u16 size = le32_to_cpu(notif->amsdu_size); in iwl_mvm_tlc_update_notif()
356 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif()
374 le32_to_cpu(notif->amsdu_size), size, in iwl_mvm_tlc_update_notif()
Dcoex.c269 struct iwl_bt_coex_profile_notif *notif; member
363 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_iterator()
470 .notif = &mvm->last_bt_notif, in iwl_mvm_bt_coex_notif_handle()
547 struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; in iwl_mvm_rx_bt_coex_notif() local
550 IWL_DEBUG_COEX(mvm, "\tBT ci compliance %d\n", notif->bt_ci_compliance); in iwl_mvm_rx_bt_coex_notif()
552 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_rx_bt_coex_notif()
554 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_rx_bt_coex_notif()
556 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_rx_bt_coex_notif()
559 memcpy(&mvm->last_bt_notif, notif, sizeof(mvm->last_bt_notif)); in iwl_mvm_rx_bt_coex_notif()
Dmac-ctxt.c1500 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_probe_resp_data_notif() local
1503 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_probe_resp_data_notif()
1507 if (WARN_ON_ONCE(len < sizeof(*notif))) in iwl_mvm_probe_resp_data_notif()
1511 notif->noa_active, notif->csa_counter); in iwl_mvm_probe_resp_data_notif()
1523 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif()
1527 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif()
1533 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif()
1544 if (notif->csa_counter != IWL_PROBE_RESP_DATA_NO_CSA && in iwl_mvm_probe_resp_data_notif()
1545 notif->csa_counter >= 1) in iwl_mvm_probe_resp_data_notif()
1546 ieee80211_csa_set_counter(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif()
[all …]
Dscan.c412 struct iwl_lmac_scan_complete_notif *notif = (void *)pkt->data; in iwl_mvm_rx_lmac_scan_iter_complete_notif() local
416 notif->status, notif->scanned_channels); in iwl_mvm_rx_lmac_scan_iter_complete_notif()
1925 struct iwl_umac_scan_complete *notif = (void *)pkt->data; in iwl_mvm_rx_umac_scan_complete_notif() local
1926 u32 uid = __le32_to_cpu(notif->uid); in iwl_mvm_rx_umac_scan_complete_notif()
1927 bool aborted = (notif->status == IWL_SCAN_OFFLOAD_ABORTED); in iwl_mvm_rx_umac_scan_complete_notif()
1953 notif->status == IWL_SCAN_OFFLOAD_COMPLETED ? in iwl_mvm_rx_umac_scan_complete_notif()
1955 iwl_mvm_ebs_status_str(notif->ebs_status)); in iwl_mvm_rx_umac_scan_complete_notif()
1958 notif->last_schedule, notif->last_iter, in iwl_mvm_rx_umac_scan_complete_notif()
1959 __le32_to_cpu(notif->time_from_last_iter)); in iwl_mvm_rx_umac_scan_complete_notif()
1961 if (notif->ebs_status != IWL_SCAN_EBS_SUCCESS && in iwl_mvm_rx_umac_scan_complete_notif()
[all …]
Dnvm.c619 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; in iwl_mvm_rx_chub_update_mcc() local
627 if (iwl_mvm_is_vif_assoc(mvm) && notif->source_id == MCC_SOURCE_WIFI) { in iwl_mvm_rx_chub_update_mcc()
635 mcc[0] = le16_to_cpu(notif->mcc) >> 8; in iwl_mvm_rx_chub_update_mcc()
636 mcc[1] = le16_to_cpu(notif->mcc) & 0xff; in iwl_mvm_rx_chub_update_mcc()
638 src = notif->source_id; in iwl_mvm_rx_chub_update_mcc()
Drx.c840 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; in iwl_mvm_window_status_notif() local
844 if (WARN_ONCE(pkt_len != sizeof(*notif), in iwl_mvm_window_status_notif()
858 ratid = le16_to_cpu(notif->ra_tid[i]); in iwl_mvm_window_status_notif()
863 received_mpdu = le16_to_cpu(notif->mpdu_rx_count[i]); in iwl_mvm_window_status_notif()
874 bitmap = le64_to_cpu(notif->bitmap[i]); in iwl_mvm_window_status_notif()
875 ssn = le32_to_cpu(notif->start_seq_num[i]); in iwl_mvm_window_status_notif()
Dtt.c214 struct ct_kill_notif *notif; in iwl_mvm_ct_kill_notif() local
217 if (WARN_ON_ONCE(len != sizeof(*notif))) { in iwl_mvm_ct_kill_notif()
222 notif = (struct ct_kill_notif *)pkt->data; in iwl_mvm_ct_kill_notif()
224 notif->temperature); in iwl_mvm_ct_kill_notif()
Dtdls.c255 struct iwl_tdls_channel_switch_notif *notif = (void *)pkt->data; in iwl_mvm_rx_tdls_notif() local
260 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif()
265 if (!le32_to_cpu(notif->status)) { in iwl_mvm_rx_tdls_notif()
/Linux-v5.4/kernel/
Dseccomp.c133 struct notification *notif; member
732 return filter->notif->next_id++; in seccomp_next_notify_id()
745 if (!match->notif) in seccomp_do_user_notification()
753 list_add(&n.list, &match->notif->notifications); in seccomp_do_user_notification()
755 up(&match->notif->request); in seccomp_do_user_notification()
756 wake_up_poll(&match->notif->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification()
779 if (match->notif) in seccomp_do_user_notification()
993 list_for_each_entry(knotif, &filter->notif->notifications, list) { in seccomp_notify_release()
1004 kfree(filter->notif); in seccomp_notify_release()
1005 filter->notif = NULL; in seccomp_notify_release()
[all …]
/Linux-v5.4/drivers/staging/uwb/
Die-rcv.c25 if (evt->notif.size < sizeof(*iercv)) { in uwbd_evt_handle_rc_ie_rcv()
28 evt->notif.size, sizeof(*iercv)); in uwbd_evt_handle_rc_ie_rcv()
31 iercv = container_of(evt->notif.rceb, struct uwb_rc_evt_ie_rcv, rceb); in uwbd_evt_handle_rc_ie_rcv()
Duwbd.c173 type = evt->notif.rceb->bEventType; in uwbd_event_handle_urc()
174 event = le16_to_cpu(evt->notif.rceb->wEvent); in uwbd_event_handle_urc()
175 context = evt->notif.rceb->bEventContext; in uwbd_event_handle_urc()
227 kfree(evt->notif.rceb); in uwbd_event_handle()
334 kfree(evt->notif.rceb); in uwbd_event_queue()
351 kfree(evt->notif.rceb); in uwbd_flush()
Dbeacon.c355 if (evt->notif.size < sizeof(*be) + sizeof(*bf)) { in uwb_verify_beacon()
357 "(%zu vs %zu bytes needed)\n", evt->notif.size, in uwb_verify_beacon()
388 be = container_of(evt->notif.rceb, struct uwb_rc_evt_beacon, rceb); in uwbd_evt_handle_rc_beacon()
462 if (evt->notif.size < sizeof(*bs)) { in uwbd_evt_handle_rc_beacon_size()
465 evt->notif.size, sizeof(*bs)); in uwbd_evt_handle_rc_beacon_size()
468 bs = container_of(evt->notif.rceb, struct uwb_rc_evt_beacon_size, rceb); in uwbd_evt_handle_rc_beacon_size()
498 if (evt->notif.size < sizeof(*bpsc)) { in uwbd_evt_handle_rc_bp_slot_change()
502 bpsc = container_of(evt->notif.rceb, struct uwb_rc_evt_bp_slot_change, rceb); in uwbd_evt_handle_rc_bp_slot_change()
536 if (evt->notif.size < sizeof(*bpoiec)) { in uwbd_evt_handle_rc_bpoie_change()
539 evt->notif.size, sizeof(*bpoiec)); in uwbd_evt_handle_rc_bpoie_change()
[all …]
Dneh.c386 uwb_evt->notif.size = size; in uwb_rc_notif()
387 uwb_evt->notif.rceb = rceb; in uwb_rc_notif()
396 struct uwb_rceb *notif; in uwb_rc_neh_grok_event() local
400 notif = kmalloc(size, GFP_ATOMIC); in uwb_rc_neh_grok_event()
401 if (notif) { in uwb_rc_neh_grok_event()
402 memcpy(notif, rceb, size); in uwb_rc_neh_grok_event()
403 uwb_rc_notif(rc, notif, size); in uwb_rc_neh_grok_event()
Ddrp-avail.c222 if (evt->notif.size < sizeof(*drp_evt)) { in uwbd_evt_get_drp_avail()
225 "needed]\n", evt->notif.size, sizeof(*drp_evt)); in uwbd_evt_get_drp_avail()
228 drp_evt = container_of(evt->notif.rceb, struct uwb_rc_evt_drp_avail, rceb); in uwbd_evt_get_drp_avail()
Ddrp.c803 if (evt->notif.size < sizeof(*drp_evt)) { in uwbd_evt_handle_rc_drp()
806 evt->notif.size, sizeof(*drp_evt)); in uwbd_evt_handle_rc_drp()
809 bytes_left = evt->notif.size - sizeof(*drp_evt); in uwbd_evt_handle_rc_drp()
810 drp_evt = container_of(evt->notif.rceb, struct uwb_rc_evt_drp, rceb); in uwbd_evt_handle_rc_drp()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c242 struct iwl_scanreq_notification *notif = (void *)pkt->data; in iwl_rx_reply_scan() local
244 IWL_DEBUG_SCAN(priv, "Scan request status = 0x%x\n", notif->status); in iwl_rx_reply_scan()
253 struct iwl_scanstart_notification *notif = (void *)pkt->data; in iwl_rx_scan_start_notif() local
255 priv->scan_start_tsf = le32_to_cpu(notif->tsf_low); in iwl_rx_scan_start_notif()
259 notif->channel, in iwl_rx_scan_start_notif()
260 notif->band ? "bg" : "a", in iwl_rx_scan_start_notif()
261 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_start_notif()
262 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_start_notif()
263 notif->status, notif->beacon_timer); in iwl_rx_scan_start_notif()
272 struct iwl_scanresults_notification *notif = (void *)pkt->data; in iwl_rx_scan_results_notif() local
[all …]
/Linux-v5.4/drivers/net/wimax/i2400m/
Dusb-debug-levels.h22 D_SUBMODULE_DECLARE(notif),
DMakefile20 usb-notif.o \
/Linux-v5.4/drivers/crypto/ccree/
Dcc_request_mgr.c52 bool notif; member
375 if (!bli->notif) { in cc_proc_backlog()
377 bli->notif = true; in cc_proc_backlog()
449 bli->notif = false; in cc_send_request()
/Linux-v5.4/include/media/
Dv4l2-async.h205 v4l2_async_notifier_add_fwnode_remote_subdev(struct v4l2_async_notifier *notif,
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/
DMakefile16 iwlwifi-objs += fw/notif-wait.o
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h201 BT_MBOX_MSG(notif, _num, _field), \

12