| /linux/sound/aoa/core/ |
| A D | gpio-pmf.c | 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() 157 mutex_lock(¬if->mutex); in pmf_set_notify() 159 old = notif->notify; in pmf_set_notify() 176 notif->gpio_private = NULL; in pmf_set_notify() 185 irq_client->data = notif; in pmf_set_notify() 199 notif->notify = notify; in pmf_set_notify() 200 notif->data = data; in pmf_set_notify() [all …]
|
| A D | gpio-feature.c | 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() 328 notif = &rt->line_in_notify; in ftr_set_notify() 344 mutex_lock(¬if->mutex); in ftr_set_notify() 346 old = notif->notify; in ftr_set_notify() 360 free_irq(irq, notif); in ftr_set_notify() 368 notif->notify = notify; in ftr_set_notify() 369 notif->data = data; in ftr_set_notify() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | time-event.c | 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() 253 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger() 254 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger() 286 le32_to_cpu(notif->action)); in iwl_mvm_te_handle_notif() 298 if (!le32_to_cpu(notif->status)) { in iwl_mvm_te_handle_notif() 388 le32_to_cpu(notif->action), le32_to_cpu(notif->status)); in iwl_mvm_aux_roc_te_handle_notif() 862 if (!le32_to_cpu(notif->status) || !le32_to_cpu(notif->start)) { in iwl_mvm_rx_session_protect_notif() 869 le32_to_cpu(notif->conf_id))) in iwl_mvm_rx_session_protect_notif() [all …]
|
| A D | rs-fw.c | 283 struct iwl_tlc_update_notif *notif; in iwl_mvm_tlc_update_notif() local 291 notif = (void *)pkt->data; in iwl_mvm_tlc_update_notif() 292 sta = rcu_dereference(mvm->fw_id_to_mac_id[notif->sta_id]); in iwl_mvm_tlc_update_notif() 295 notif->sta_id); in iwl_mvm_tlc_update_notif() 303 notif->sta_id); in iwl_mvm_tlc_update_notif() 307 flags = le32_to_cpu(notif->flags); in iwl_mvm_tlc_update_notif() 317 le32_to_cpu(notif->rate)); in iwl_mvm_tlc_update_notif() 322 iwl_new_rate_from_v1(le32_to_cpu(notif->rate)); in iwl_mvm_tlc_update_notif() 324 lq_sta->last_rate_n_flags = le32_to_cpu(notif->rate); in iwl_mvm_tlc_update_notif() 332 u16 size = le32_to_cpu(notif->amsdu_size); in iwl_mvm_tlc_update_notif() [all …]
|
| A 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()
|
| A D | mac-ctxt.c | 1515 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_probe_resp_data_notif() local 1517 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_probe_resp_data_notif() 1522 notif->noa_active, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1534 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1538 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1544 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1555 if (notif->csa_counter != IWL_PROBE_RESP_DATA_NO_CSA && in iwl_mvm_probe_resp_data_notif() 1556 notif->csa_counter >= 1) in iwl_mvm_probe_resp_data_notif() 1557 ieee80211_beacon_set_cntdwn(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1564 struct iwl_channel_switch_start_notif *notif = (void *)pkt->data; in iwl_mvm_channel_switch_start_notif() local [all …]
|
| A D | rx.c | 874 struct iwl_ba_window_status_notif *notif = (void *)pkt->data; in iwl_mvm_window_status_notif() local 877 BUILD_BUG_ON(ARRAY_SIZE(notif->ra_tid) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 878 BUILD_BUG_ON(ARRAY_SIZE(notif->mpdu_rx_count) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 879 BUILD_BUG_ON(ARRAY_SIZE(notif->bitmap) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 880 BUILD_BUG_ON(ARRAY_SIZE(notif->start_seq_num) != BA_WINDOW_STREAMS_MAX); in iwl_mvm_window_status_notif() 891 ratid = le16_to_cpu(notif->ra_tid[i]); in iwl_mvm_window_status_notif() 896 received_mpdu = le16_to_cpu(notif->mpdu_rx_count[i]); in iwl_mvm_window_status_notif() 907 bitmap = le64_to_cpu(notif->bitmap[i]); in iwl_mvm_window_status_notif() 908 ssn = le32_to_cpu(notif->start_seq_num[i]); in iwl_mvm_window_status_notif()
|
| A 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()
|
| A D | scan.c | 338 notif->status, notif->scanned_channels); in iwl_mvm_rx_lmac_scan_iter_complete_notif() 2817 struct iwl_umac_scan_complete *notif = (void *)pkt->data; in iwl_mvm_rx_umac_scan_complete_notif() local 2818 u32 uid = __le32_to_cpu(notif->uid); in iwl_mvm_rx_umac_scan_complete_notif() 2845 notif->status == IWL_SCAN_OFFLOAD_COMPLETED ? in iwl_mvm_rx_umac_scan_complete_notif() 2847 iwl_mvm_ebs_status_str(notif->ebs_status)); in iwl_mvm_rx_umac_scan_complete_notif() 2850 notif->last_schedule, notif->last_iter, in iwl_mvm_rx_umac_scan_complete_notif() 2851 __le32_to_cpu(notif->time_from_last_iter)); in iwl_mvm_rx_umac_scan_complete_notif() 2853 if (notif->ebs_status != IWL_SCAN_EBS_SUCCESS && in iwl_mvm_rx_umac_scan_complete_notif() 2854 notif->ebs_status != IWL_SCAN_EBS_INACTIVE) in iwl_mvm_rx_umac_scan_complete_notif() 2866 mvm->scan_start = le64_to_cpu(notif->start_tsf); in iwl_mvm_rx_umac_scan_iter_complete_notif() [all …]
|
| A D | rxmq.c | 556 struct iwl_mvm_nssn_sync_data notif = { in iwl_mvm_sync_nssn() local 562 ¬if, sizeof(notif)); in iwl_mvm_sync_nssn() 800 struct iwl_rxq_sync_notification *notif; in iwl_mvm_rx_queue_notif() local 804 notif = (void *)pkt->data; in iwl_mvm_rx_queue_notif() 805 internal_notif = (void *)notif->payload; in iwl_mvm_rx_queue_notif() 807 if (WARN_ONCE(len < sizeof(*notif) + sizeof(*internal_notif), in iwl_mvm_rx_queue_notif() 809 len, (int)(sizeof(*notif) + sizeof(*internal_notif)))) in iwl_mvm_rx_queue_notif() 811 len -= sizeof(*notif) + sizeof(*internal_notif); in iwl_mvm_rx_queue_notif()
|
| A D | tdls.c | 205 struct iwl_tdls_channel_switch_notif *notif = (void *)pkt->data; in iwl_mvm_rx_tdls_notif() local 210 u32 sta_id = le32_to_cpu(notif->sta_id); in iwl_mvm_rx_tdls_notif() 215 if (!le32_to_cpu(notif->status)) { in iwl_mvm_rx_tdls_notif()
|
| /linux/drivers/power/supply/ |
| A 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 …]
|
| A 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/drivers/platform/surface/ |
| A D | surface_aggregator_registry.c | 346 struct ssam_event_notifier notif; member 425 struct ssam_base_hub *hub = container_of(nf, struct ssam_base_hub, notif); in ssam_base_hub_notif() 474 hub->notif.base.fn = ssam_base_hub_notif; in ssam_base_hub_probe() 475 hub->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in ssam_base_hub_probe() 476 hub->notif.event.id.target_category = SSAM_SSH_TC_BAS, in ssam_base_hub_probe() 477 hub->notif.event.id.instance = 0, in ssam_base_hub_probe() 478 hub->notif.event.mask = SSAM_EVENT_MASK_NONE; in ssam_base_hub_probe() 479 hub->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_base_hub_probe() 485 status = ssam_notifier_register(sdev->ctrl, &hub->notif); in ssam_base_hub_probe() 497 ssam_notifier_unregister(sdev->ctrl, &hub->notif); in ssam_base_hub_probe() [all …]
|
| A D | surface_dtx.c | 169 struct ssam_event_notifier notif; member 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() 1036 ssam_notifier_unregister(ddev->ctrl, &ddev->notif); in sdtx_device_init() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | scan.c | 254 notif->channel, in iwl_rx_scan_start_notif() 255 notif->band ? "bg" : "a", in iwl_rx_scan_start_notif() 256 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_start_notif() 257 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_start_notif() 258 notif->status, notif->beacon_timer); in iwl_rx_scan_start_notif() 274 notif->channel, in iwl_rx_scan_results_notif() 275 notif->band ? "bg" : "a", in iwl_rx_scan_results_notif() 276 notif->probe_status, notif->num_probe_not_sent, in iwl_rx_scan_results_notif() 277 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_results_notif() 278 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_results_notif() [all …]
|
| /linux/drivers/hid/surface-hid/ |
| A 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(sdev->uid.target); 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()
|
| A 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()
|
| A 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()
|
| A D | surface_hid_core.h | 66 struct ssam_event_notifier notif; member
|
| /linux/kernel/ |
| A D | seccomp.c | 224 struct notification *notif; member 1092 if (!match->notif) 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() 1479 up(&filter->notif->request); in seccomp_notify_recv() 1737 filter->notif = kzalloc(sizeof(*(filter->notif)), GFP_KERNEL); in init_listener() 1738 if (!filter->notif) in init_listener() 1775 if (!new_child->notif) in has_duplicate_listener() [all …]
|
| /linux/drivers/platform/surface/aggregator/ |
| A 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/drivers/media/v4l2-core/ |
| A D | v4l2-async.c | 658 __v4l2_async_nf_add_fwnode_remote(struct v4l2_async_notifier *notif, in __v4l2_async_nf_add_fwnode_remote() argument 669 asd = __v4l2_async_nf_add_fwnode(notif, remote, asd_struct_size); in __v4l2_async_nf_add_fwnode_remote() 836 struct v4l2_async_notifier *notif; in pending_subdevs_show() local 841 list_for_each_entry(notif, ¬ifier_list, list) { in pending_subdevs_show() 842 seq_printf(s, "%s:\n", v4l2_async_nf_name(notif)); in pending_subdevs_show() 843 list_for_each_entry(asd, ¬if->waiting, list) in pending_subdevs_show()
|
| /linux/drivers/crypto/ccree/ |
| A 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/include/media/ |
| A D | v4l2-async.h | 182 __v4l2_async_nf_add_fwnode_remote(struct v4l2_async_notifier *notif,
|