| /Linux-v5.15/sound/aoa/core/ |
| D | gpio-pmf.c | 74 struct gpio_notification *notif = in pmf_handle_notify() local 77 mutex_lock(¬if->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(¬if->mutex); in pmf_handle_notify() 124 struct gpio_notification *notif = data; in pmf_handle_notify_irq() local 126 schedule_delayed_work(¬if->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 …]
|
| D | gpio-feature.c | 212 struct gpio_notification *notif = in ftr_handle_notify() local 215 mutex_lock(¬if->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(¬if->mutex); in ftr_handle_notify() 303 struct gpio_notification *notif = data; in ftr_handle_notify_irq() local 305 schedule_delayed_work(¬if->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.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | time-event.c | 188 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notify_csa() argument 193 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 198 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 203 if (!notif->status) { in iwl_mvm_te_handle_notify_csa() 223 struct iwl_time_event_notif *notif, in iwl_mvm_te_check_trigger() argument 246 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger() 247 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger() 253 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger() 254 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger() 280 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notif() argument [all …]
|
| D | rs-fw.c | 287 struct iwl_tlc_update_notif *notif; in iwl_mvm_tlc_update_notif() local 295 notif = (void *)pkt->data; in iwl_mvm_tlc_update_notif() 296 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 299 notif->sta_id); in iwl_mvm_tlc_update_notif() 307 notif->sta_id); in iwl_mvm_tlc_update_notif() 311 flags = le32_to_cpu(notif->flags); in iwl_mvm_tlc_update_notif() 317 lq_sta->last_rate_n_flags = le32_to_cpu(notif->rate); in iwl_mvm_tlc_update_notif() 324 u16 size = le32_to_cpu(notif->amsdu_size); in iwl_mvm_tlc_update_notif() 337 mvmsta->amsdu_enabled = le32_to_cpu(notif->amsdu_enabled); in iwl_mvm_tlc_update_notif() 355 le32_to_cpu(notif->amsdu_size), size, in iwl_mvm_tlc_update_notif()
|
| D | coex.c | 213 struct iwl_bt_coex_profile_notif *notif; member 307 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_iterator() 414 .notif = &mvm->last_bt_notif, in iwl_mvm_bt_coex_notif_handle() 491 struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; in iwl_mvm_rx_bt_coex_notif() local 494 IWL_DEBUG_COEX(mvm, "\tBT ci compliance %d\n", notif->bt_ci_compliance); in iwl_mvm_rx_bt_coex_notif() 496 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_rx_bt_coex_notif() 498 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_rx_bt_coex_notif() 500 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_rx_bt_coex_notif() 503 memcpy(&mvm->last_bt_notif, notif, sizeof(mvm->last_bt_notif)); in iwl_mvm_rx_bt_coex_notif()
|
| D | rx.c | 879 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; in iwl_mvm_window_status_notif() local 882 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 883 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 884 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 885 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 896 ratid = le16_to_cpu(notif->ra_tid[i]); in iwl_mvm_window_status_notif() 901 received_mpdu = le16_to_cpu(notif->mpdu_rx_count[i]); in iwl_mvm_window_status_notif() 912 bitmap = le64_to_cpu(notif->bitmap[i]); in iwl_mvm_window_status_notif() 913 ssn = le32_to_cpu(notif->start_seq_num[i]); in iwl_mvm_window_status_notif()
|
| D | mac-ctxt.c | 1493 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_probe_resp_data_notif() local 1495 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_probe_resp_data_notif() 1500 notif->noa_active, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1512 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1516 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1522 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1533 if (notif->csa_counter != IWL_PROBE_RESP_DATA_NO_CSA && in iwl_mvm_probe_resp_data_notif() 1534 notif->csa_counter >= 1) in iwl_mvm_probe_resp_data_notif() 1535 ieee80211_beacon_set_cntdwn(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1542 struct iwl_channel_switch_noa_notif *notif = (void *)pkt->data; in iwl_mvm_channel_switch_noa_notif() local [all …]
|
| D | nvm.c | 557 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; in iwl_mvm_rx_chub_update_mcc() local 565 if (iwl_mvm_is_vif_assoc(mvm) && notif->source_id == MCC_SOURCE_WIFI) { in iwl_mvm_rx_chub_update_mcc() 573 mcc[0] = le16_to_cpu(notif->mcc) >> 8; in iwl_mvm_rx_chub_update_mcc() 574 mcc[1] = le16_to_cpu(notif->mcc) & 0xff; in iwl_mvm_rx_chub_update_mcc() 576 src = notif->source_id; in iwl_mvm_rx_chub_update_mcc()
|
| D | scan.c | 334 struct iwl_lmac_scan_complete_notif *notif = (void *)pkt->data; in iwl_mvm_rx_lmac_scan_iter_complete_notif() local 338 notif->status, notif->scanned_channels); in iwl_mvm_rx_lmac_scan_iter_complete_notif() 2809 struct iwl_umac_scan_complete *notif = (void *)pkt->data; in iwl_mvm_rx_umac_scan_complete_notif() local 2810 u32 uid = __le32_to_cpu(notif->uid); in iwl_mvm_rx_umac_scan_complete_notif() 2811 bool aborted = (notif->status == IWL_SCAN_OFFLOAD_ABORTED); in iwl_mvm_rx_umac_scan_complete_notif() 2837 notif->status == IWL_SCAN_OFFLOAD_COMPLETED ? in iwl_mvm_rx_umac_scan_complete_notif() 2839 iwl_mvm_ebs_status_str(notif->ebs_status)); in iwl_mvm_rx_umac_scan_complete_notif() 2842 notif->last_schedule, notif->last_iter, in iwl_mvm_rx_umac_scan_complete_notif() 2843 __le32_to_cpu(notif->time_from_last_iter)); in iwl_mvm_rx_umac_scan_complete_notif() 2845 if (notif->ebs_status != IWL_SCAN_EBS_SUCCESS && in iwl_mvm_rx_umac_scan_complete_notif() [all …]
|
| D | rxmq.c | 558 struct iwl_mvm_nssn_sync_data notif = { in iwl_mvm_sync_nssn() local 564 ¬if, sizeof(notif)); in iwl_mvm_sync_nssn() 802 struct iwl_rxq_sync_notification *notif; in iwl_mvm_rx_queue_notif() local 806 notif = (void *)pkt->data; in iwl_mvm_rx_queue_notif() 807 internal_notif = (void *)notif->payload; in iwl_mvm_rx_queue_notif() 809 if (WARN_ONCE(len < sizeof(*notif) + sizeof(*internal_notif), in iwl_mvm_rx_queue_notif() 811 len, (int)(sizeof(*notif) + sizeof(*internal_notif)))) in iwl_mvm_rx_queue_notif() 813 len -= sizeof(*notif) + sizeof(*internal_notif); in iwl_mvm_rx_queue_notif()
|
| /Linux-v5.15/drivers/power/supply/ |
| D | surface_charger.c | 57 struct ssam_event_notifier notif; member 108 ac = container_of(nf, struct spwr_ac_device, notif); in spwr_notify_ac() 182 ac->notif.base.priority = 1; in spwr_ac_init() 183 ac->notif.base.fn = spwr_notify_ac; in spwr_ac_init() 184 ac->notif.event.reg = registry; in spwr_ac_init() 185 ac->notif.event.id.target_category = sdev->uid.category; in spwr_ac_init() 186 ac->notif.event.id.instance = 0; in spwr_ac_init() 187 ac->notif.event.mask = SSAM_EVENT_MASK_NONE; in spwr_ac_init() 188 ac->notif.event.flags = SSAM_EVENT_SEQUENCED; in spwr_ac_init() 219 return ssam_notifier_register(ac->sdev->ctrl, &ac->notif); in spwr_ac_register() [all …]
|
| D | surface_battery.c | 128 struct ssam_event_notifier notif; member 345 struct spwr_battery_device *bat = container_of(nf, struct spwr_battery_device, notif); in spwr_notify_bat() 729 bat->notif.base.priority = 1; in spwr_battery_init() 730 bat->notif.base.fn = spwr_notify_bat; in spwr_battery_init() 731 bat->notif.event.reg = registry; in spwr_battery_init() 732 bat->notif.event.id.target_category = sdev->uid.category; in spwr_battery_init() 733 bat->notif.event.id.instance = 0; /* need to register with instance 0 */ in spwr_battery_init() 734 bat->notif.event.mask = SSAM_EVENT_MASK_TARGET; in spwr_battery_init() 735 bat->notif.event.flags = SSAM_EVENT_SEQUENCED; in spwr_battery_init() 805 return ssam_notifier_register(bat->sdev->ctrl, &bat->notif); in spwr_battery_register() [all …]
|
| /Linux-v5.15/drivers/platform/surface/ |
| D | surface_aggregator_registry.c | 286 struct ssam_event_notifier notif; member 365 struct ssam_base_hub *hub = container_of(nf, struct ssam_base_hub, notif); in ssam_base_hub_notif() 413 hub->notif.base.priority = INT_MAX; /* This notifier should run first. */ in ssam_base_hub_probe() 414 hub->notif.base.fn = ssam_base_hub_notif; in ssam_base_hub_probe() 415 hub->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in ssam_base_hub_probe() 416 hub->notif.event.id.target_category = SSAM_SSH_TC_BAS, in ssam_base_hub_probe() 417 hub->notif.event.id.instance = 0, in ssam_base_hub_probe() 418 hub->notif.event.mask = SSAM_EVENT_MASK_NONE; in ssam_base_hub_probe() 419 hub->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_base_hub_probe() 425 status = ssam_notifier_register(sdev->ctrl, &hub->notif); in ssam_base_hub_probe() [all …]
|
| D | surface_dtx.c | 169 struct ssam_event_notifier notif; member 623 struct sdtx_device *ddev = container_of(nf, struct sdtx_device, notif); in sdtx_notifier() 959 ddev->notif.base.priority = 1; in sdtx_device_init() 960 ddev->notif.base.fn = sdtx_notifier; in sdtx_device_init() 961 ddev->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in sdtx_device_init() 962 ddev->notif.event.id.target_category = SSAM_SSH_TC_BAS; in sdtx_device_init() 963 ddev->notif.event.id.instance = 0; in sdtx_device_init() 964 ddev->notif.event.mask = SSAM_EVENT_MASK_NONE; in sdtx_device_init() 965 ddev->notif.event.flags = SSAM_EVENT_SEQUENCED; in sdtx_device_init() 1019 status = ssam_notifier_register(ddev->ctrl, &ddev->notif); in sdtx_device_init() [all …]
|
| /Linux-v5.15/drivers/hid/surface-hid/ |
| D | surface_hid.c | 159 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_hid_event_fn() 210 shid->notif.base.priority = 1; in surface_hid_probe() 211 shid->notif.base.fn = ssam_hid_event_fn; in surface_hid_probe() 212 shid->notif.event.reg = SSAM_EVENT_REGISTRY_REG; in surface_hid_probe() 213 shid->notif.event.id.target_category = sdev->uid.category; in surface_hid_probe() 214 shid->notif.event.id.instance = sdev->uid.instance; in surface_hid_probe() 215 shid->notif.event.mask = SSAM_EVENT_MASK_STRICT; in surface_hid_probe() 216 shid->notif.event.flags = 0; in surface_hid_probe()
|
| D | surface_kbd.c | 126 struct surface_hid_device *shid = container_of(nf, struct surface_hid_device, notif); in ssam_kbd_event_fn() 257 shid->notif.base.priority = 1; in surface_kbd_probe() 258 shid->notif.base.fn = ssam_kbd_event_fn; in surface_kbd_probe() 259 shid->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in surface_kbd_probe() 260 shid->notif.event.id.target_category = shid->uid.category; in surface_kbd_probe() 261 shid->notif.event.id.instance = shid->uid.instance; in surface_kbd_probe() 262 shid->notif.event.mask = SSAM_EVENT_MASK_NONE; in surface_kbd_probe() 263 shid->notif.event.flags = 0; in surface_kbd_probe()
|
| D | surface_hid_core.h | 66 struct ssam_event_notifier notif; member
|
| D | surface_hid_core.c | 85 return ssam_notifier_register(shid->ctrl, &shid->notif); in surface_hid_start() 93 ssam_notifier_unregister(shid->ctrl, &shid->notif); in surface_hid_stop()
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/ |
| D | scan.c | 241 struct iwl_scanreq_notification *notif = (void *)pkt->data; in iwl_rx_reply_scan() local 243 IWL_DEBUG_SCAN(priv, "Scan request status = 0x%x\n", notif->status); in iwl_rx_reply_scan() 252 struct iwl_scanstart_notification *notif = (void *)pkt->data; in iwl_rx_scan_start_notif() local 254 priv->scan_start_tsf = le32_to_cpu(notif->tsf_low); in iwl_rx_scan_start_notif() 258 notif->channel, in iwl_rx_scan_start_notif() 259 notif->band ? "bg" : "a", in iwl_rx_scan_start_notif() 260 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_start_notif() 261 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_start_notif() 262 notif->status, notif->beacon_timer); in iwl_rx_scan_start_notif() 271 struct iwl_scanresults_notification *notif = (void *)pkt->data; in iwl_rx_scan_results_notif() local [all …]
|
| /Linux-v5.15/kernel/ |
| D | seccomp.c | 224 struct notification *notif; member 1043 return filter->notif->next_id++; in seccomp_next_notify_id() 1092 if (!match->notif) in seccomp_do_user_notification() 1100 list_add(&n.list, &match->notif->notifications); in seccomp_do_user_notification() 1103 up(&match->notif->request); in seccomp_do_user_notification() 1147 if (match->notif) in seccomp_do_user_notification() 1355 kfree(filter->notif); in seccomp_notify_free() 1356 filter->notif = NULL; in seccomp_notify_free() 1372 list_for_each_entry(knotif, &filter->notif->notifications, list) { in seccomp_notify_detach() 1409 list_for_each_entry(cur, &filter->notif->notifications, list) { in find_notification() [all …]
|
| /Linux-v5.15/drivers/media/v4l2-core/ |
| D | v4l2-async.c | 660 __v4l2_async_notifier_add_fwnode_remote_subdev(struct v4l2_async_notifier *notif, in __v4l2_async_notifier_add_fwnode_remote_subdev() argument 671 asd = __v4l2_async_notifier_add_fwnode_subdev(notif, remote, in __v4l2_async_notifier_add_fwnode_remote_subdev() 840 struct v4l2_async_notifier *notif; in pending_subdevs_show() local 845 list_for_each_entry(notif, ¬ifier_list, list) { in pending_subdevs_show() 846 seq_printf(s, "%s:\n", v4l2_async_notifier_name(notif)); in pending_subdevs_show() 847 list_for_each_entry(asd, ¬if->waiting, list) in pending_subdevs_show()
|
| /Linux-v5.15/drivers/platform/surface/aggregator/ |
| D | controller.c | 785 nf = &queue->cplt->event.notif; in ssam_event_queue_work_fn() 839 status = ssam_nf_init(&cplt->event.notif); in ssam_cplt_init() 862 ssam_nf_destroy(&cplt->event.notif); in ssam_cplt_destroy() 2176 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_enable() 2230 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_disable_free() 2286 nf = &ctrl->cplt.event.notif; in ssam_notifier_register() 2349 nf = &ctrl->cplt.event.notif; in ssam_notifier_unregister() 2414 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_enable() 2465 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_disable() 2510 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_notifier_disable_registered() [all …]
|
| /Linux-v5.15/drivers/crypto/ccree/ |
| D | cc_request_mgr.c | 51 bool notif; member 370 if (!bli->notif) { in cc_proc_backlog() 372 bli->notif = true; in cc_proc_backlog() 439 bli->notif = false; in cc_send_request()
|
| /Linux-v5.15/include/media/ |
| D | v4l2-async.h | 183 __v4l2_async_notifier_add_fwnode_remote_subdev(struct v4l2_async_notifier *notif,
|
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/ |
| D | Makefile | 18 iwlwifi-objs += fw/img.o fw/notif-wait.o
|