| /linux/drivers/tee/optee/ |
| H A D | notif.c | 25 list_for_each_entry(entry, &optee->notif.db, link) in have_key() 38 if (key > optee->notif.max_key) in optee_notif_wait() 47 spin_lock_irqsave(&optee->notif.lock, flags); in optee_notif_wait() 53 if (test_bit(key, optee->notif.bitmap)) { in optee_notif_wait() 54 clear_bit(key, optee->notif.bitmap); in optee_notif_wait() 67 list_add_tail(&entry->link, &optee->notif.db); in optee_notif_wait() 72 spin_unlock_irqrestore(&optee->notif.lock, flags); in optee_notif_wait() 79 spin_lock_irqsave(&optee->notif.lock, flags); in optee_notif_wait() 83 spin_unlock_irqrestore(&optee->notif.lock, flags); in optee_notif_wait() 95 if (key > optee->notif.max_key) in optee_notif_send() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | time-sync.c | 62 struct iwl_time_msmt_notify *notif = (void *)pkt->data; in iwl_mvm_time_sync_msmt_event() local 67 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_event() 68 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_event() 76 ts_10ns = iwl_mvm_get_64_bit(notif->t2_hi, notif->t2_lo); in iwl_mvm_time_sync_msmt_event() 81 ts_10ns = iwl_mvm_get_64_bit(notif->t3_hi, notif->t3_lo); in iwl_mvm_time_sync_msmt_event() 97 struct iwl_time_msmt_cfm_notify *notif = (void *)pkt->data; in iwl_mvm_time_sync_msmt_confirm_event() local 103 iwl_mvm_time_sync_find_skb(mvm, notif->peer_addr, in iwl_mvm_time_sync_msmt_confirm_event() 104 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_confirm_event() 111 ts_10ns = iwl_mvm_get_64_bit(notif->t1_hi, notif->t1_lo); in iwl_mvm_time_sync_msmt_confirm_event() 116 ts_10ns = iwl_mvm_get_64_bit(notif->t4_hi, notif->t4_lo); in iwl_mvm_time_sync_msmt_confirm_event()
|
| H A D | time-event.c | 231 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notify_csa() argument 236 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 241 if (!notif->status) in iwl_mvm_te_handle_notify_csa() 246 if (!notif->status) { in iwl_mvm_te_handle_notify_csa() 266 struct iwl_time_event_notif *notif, in iwl_mvm_te_check_trigger() argument 289 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger() 290 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger() 296 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger() 297 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger() 311 struct iwl_time_event_notif *notif) in iwl_mvm_te_handle_notif() argument [all …]
|
| H A D | mac-ctxt.c | 1749 struct iwl_probe_resp_data_notif *notif = (void *)pkt->data; in iwl_mvm_probe_resp_data_notif() local 1751 u32 id = le32_to_cpu(notif->mac_id); in iwl_mvm_probe_resp_data_notif() 1756 notif->noa_active, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1768 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1772 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1778 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1789 if (notif->csa_counter != IWL_PROBE_RESP_DATA_NO_CSA && in iwl_mvm_probe_resp_data_notif() 1790 notif->csa_counter >= 1) in iwl_mvm_probe_resp_data_notif() 1791 ieee80211_beacon_set_cntdwn(vif, notif->csa_counter); in iwl_mvm_probe_resp_data_notif() 1811 struct iwl_channel_switch_start_notif_v1 *notif = (void *)pkt->data; in iwl_mvm_channel_switch_start_notif() local [all …]
|
| H A D | rfi.c | 154 struct iwl_rfi_deactivate_notif *notif = (void *)pkt->data; in iwl_rfi_deactivate_notif_handler() local 156 IWL_INFO(mvm, "RFIm is deactivated, reason = %d\n", notif->reason); in iwl_rfi_deactivate_notif_handler()
|
| /linux/io_uring/ |
| H A D | notif.h | 30 static inline struct io_notif_data *io_notif_to_data(struct io_kiocb *notif) in io_notif_to_data() argument 32 return io_kiocb_to_cmd(notif, struct io_notif_data); in io_notif_to_data() 35 static inline void io_notif_flush(struct io_kiocb *notif) in io_notif_flush() argument 36 __must_hold(¬if->ctx->uring_lock) in io_notif_flush() 38 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_flush() 43 static inline int io_notif_account_mem(struct io_kiocb *notif, unsigned len) in io_notif_account_mem() argument 45 struct io_ring_ctx *ctx = notif->ctx; in io_notif_account_mem() 46 struct io_notif_data *nd = io_notif_to_data(notif); in io_notif_account_mem()
|
| H A D | net.c | 85 struct io_kiocb *notif; member 1310 if (zc->notif) { in io_send_zc_cleanup() 1311 io_notif_flush(zc->notif); in io_send_zc_cleanup() 1312 zc->notif = NULL; in io_send_zc_cleanup() 1325 struct io_kiocb *notif; in io_send_zc_prep() local 1336 notif = zc->notif = io_alloc_notif(ctx); in io_send_zc_prep() 1337 if (!notif) in io_send_zc_prep() 1339 notif->cqe.user_data = req->cqe.user_data; in io_send_zc_prep() 1340 notif->cqe.res = 0; in io_send_zc_prep() 1341 notif->cqe.flags = IORING_CQE_F_NOTIF; in io_send_zc_prep() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | time_sync.c | 175 struct iwl_time_msmt_notify *notif = (void *)pkt->data; in iwl_mld_handle_time_msmt_notif() local 180 iwl_mld_time_sync_find_skb(mld, notif->peer_addr, in iwl_mld_handle_time_msmt_notif() 181 le32_to_cpu(notif->dialog_token)); in iwl_mld_handle_time_msmt_notif() 188 ts_10ns = iwl_mld_get_64_bit(notif->t2_hi, notif->t2_lo); in iwl_mld_handle_time_msmt_notif() 193 ts_10ns = iwl_mld_get_64_bit(notif->t3_hi, notif->t3_lo); in iwl_mld_handle_time_msmt_notif() 210 struct iwl_time_msmt_cfm_notify *notif = (void *)pkt->data; in iwl_mld_handle_time_sync_confirm_notif() local 216 iwl_mld_time_sync_find_skb(mld, notif->peer_addr, in iwl_mld_handle_time_sync_confirm_notif() 217 le32_to_cpu(notif->dialog_token)); in iwl_mld_handle_time_sync_confirm_notif() 224 ts_10ns = iwl_mld_get_64_bit(notif->t1_hi, notif->t1_lo); in iwl_mld_handle_time_sync_confirm_notif() 229 ts_10ns = iwl_mld_get_64_bit(notif->t4_hi, notif->t4_lo); in iwl_mld_handle_time_sync_confirm_notif()
|
| H A D | session-protect.c | 14 struct iwl_session_prot_notif *notif = (void *)pkt->data; in iwl_mld_handle_session_prot_notif() local 15 int fw_link_id = le32_to_cpu(notif->mac_link_id); in iwl_mld_handle_session_prot_notif() 29 if (!le32_to_cpu(notif->status)) { in iwl_mld_handle_session_prot_notif() 31 } else if (le32_to_cpu(notif->start)) { in iwl_mld_handle_session_prot_notif() 117 struct iwl_session_prot_notif *notif = (void *)pkt->data; in iwl_mld_session_start_fn() local 124 if (IWL_FW_CHECK(mld, pkt_len < sizeof(*notif), in iwl_mld_session_start_fn() 129 fw_link_id = le32_to_cpu(notif->mac_link_id); in iwl_mld_session_start_fn() 135 if (!le32_to_cpu(notif->status)) in iwl_mld_session_start_fn() 138 if (notif->start) { in iwl_mld_session_start_fn()
|
| H A D | coex.c | 27 const struct iwl_bt_coex_profile_notif *notif = (void *)pkt->data; in iwl_mld_handle_bt_coex_notif() local 30 bool bt_is_active = memcmp(notif, &zero_notif, sizeof(*notif)); in iwl_mld_handle_bt_coex_notif()
|
| H A D | link.c | 529 const struct iwl_missed_beacons_notif *notif = (const void *)pkt->data; in iwl_mld_handle_missed_beacon_notif() local 531 u32 fw_link_id = le32_to_cpu(notif->link_id); in iwl_mld_handle_missed_beacon_notif() 532 u32 missed_bcon = le32_to_cpu(notif->consec_missed_beacons); in iwl_mld_handle_missed_beacon_notif() 534 le32_to_cpu(notif->consec_missed_beacons_since_last_rx); in iwl_mld_handle_missed_beacon_notif() 536 le32_to_cpu(notif->consec_missed_beacons_other_link); in iwl_mld_handle_missed_beacon_notif() 591 if (le32_to_cpu(notif->other_link_id) == FW_CTXT_ID_INVALID) in iwl_mld_handle_missed_beacon_notif() 594 other_link_fw_id = le32_to_cpu(notif->other_link_id); in iwl_mld_handle_missed_beacon_notif() 629 struct iwl_missed_beacons_notif *notif = (void *)pkt->data; in iwl_mld_cancel_missed_beacon_notif() local 631 if (le32_to_cpu(notif->other_link_id) == removed_link_id) { in iwl_mld_cancel_missed_beacon_notif() 635 notif->other_link_id = cpu_to_le32(FW_CTXT_ID_INVALID); in iwl_mld_cancel_missed_beacon_notif() [all …]
|
| H A D | mcc.c | 256 struct iwl_mcc_chub_notif *notif = (void *)pkt->data; in iwl_mld_handle_update_mcc() local 265 notif->source_id == MCC_SOURCE_WIFI) { in iwl_mld_handle_update_mcc() 270 mcc[0] = le16_to_cpu(notif->mcc) >> 8; in iwl_mld_handle_update_mcc() 271 mcc[1] = le16_to_cpu(notif->mcc) & 0xff; in iwl_mld_handle_update_mcc() 273 src = notif->source_id; in iwl_mld_handle_update_mcc()
|
| /linux/drivers/power/supply/ |
| H 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_device_notifier_register(ac->sdev, &ac->notif); in spwr_ac_register() [all …]
|
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_hub.c | 48 struct ssam_event_notifier notif; member 174 hub->notif.base.priority = INT_MAX; /* This notifier should run first. */ in ssam_hub_probe() 175 hub->notif.base.fn = desc->ops.notify; in ssam_hub_probe() 176 hub->notif.event.reg = desc->event.reg; in ssam_hub_probe() 177 hub->notif.event.id = desc->event.id; in ssam_hub_probe() 178 hub->notif.event.mask = desc->event.mask; in ssam_hub_probe() 179 hub->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_hub_probe() 188 status = ssam_device_notifier_register(sdev, &hub->notif); in ssam_hub_probe() 200 ssam_device_notifier_unregister(sdev, &hub->notif); in ssam_hub_remove() 246 struct ssam_hub *hub = container_of(nf, struct ssam_hub, notif); in ssam_base_hub_notif() [all …]
|
| H A D | surface_aggregator_tabletsw.c | 44 struct ssam_event_notifier notif; member 167 sw->notif.base.priority = 0; in ssam_tablet_sw_probe() 168 sw->notif.base.fn = desc->ops.notify; in ssam_tablet_sw_probe() 169 sw->notif.event.reg = desc->event.reg; in ssam_tablet_sw_probe() 170 sw->notif.event.id = desc->event.id; in ssam_tablet_sw_probe() 171 sw->notif.event.mask = desc->event.mask; in ssam_tablet_sw_probe() 172 sw->notif.event.flags = SSAM_EVENT_SEQUENCED; in ssam_tablet_sw_probe() 174 status = ssam_device_notifier_register(sdev, &sw->notif); in ssam_tablet_sw_probe() 187 ssam_device_notifier_unregister(sdev, &sw->notif); in ssam_tablet_sw_probe() 198 ssam_device_notifier_unregister(sdev, &sw->notif); in ssam_tablet_sw_remove() [all …]
|
| H A D | surface_dtx.c | 169 struct ssam_event_notifier notif; member 622 struct sdtx_device *ddev = container_of(nf, struct sdtx_device, notif); in sdtx_notifier() 958 ddev->notif.base.priority = 1; in sdtx_device_init() 959 ddev->notif.base.fn = sdtx_notifier; in sdtx_device_init() 960 ddev->notif.event.reg = SSAM_EVENT_REGISTRY_SAM; in sdtx_device_init() 961 ddev->notif.event.id.target_category = SSAM_SSH_TC_BAS; in sdtx_device_init() 962 ddev->notif.event.id.instance = 0; in sdtx_device_init() 963 ddev->notif.event.mask = SSAM_EVENT_MASK_NONE; in sdtx_device_init() 964 ddev->notif.event.flags = SSAM_EVENT_SEQUENCED; in sdtx_device_init() 1018 status = ssam_notifier_register(ddev->ctrl, &ddev->notif); in sdtx_device_init() [all …]
|
| /linux/drivers/hid/surface-hid/ |
| H 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()
|
| H 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()
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | scan.c | 237 struct iwl_scanreq_notification *notif = (void *)pkt->data; in iwl_rx_reply_scan() local 239 IWL_DEBUG_SCAN(priv, "Scan request status = 0x%x\n", notif->status); in iwl_rx_reply_scan() 248 struct iwl_scanstart_notification *notif = (void *)pkt->data; in iwl_rx_scan_start_notif() local 250 priv->scan_start_tsf = le32_to_cpu(notif->tsf_low); in iwl_rx_scan_start_notif() 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() 267 struct iwl_scanresults_notification *notif = (void *)pkt->data; in iwl_rx_scan_results_notif() local [all …]
|
| /linux/kernel/ |
| H A D | seccomp.c | 232 struct notification *notif; member 1120 return filter->notif->next_id++; in seccomp_next_notify_id() 1175 if (!match->notif) in seccomp_do_user_notification() 1183 list_add_tail(&n.list, &match->notif->notifications); in seccomp_do_user_notification() 1186 atomic_inc(&match->notif->requests); in seccomp_do_user_notification() 1187 if (match->notif->flags & SECCOMP_USER_NOTIF_FD_SYNC_WAKE_UP) in seccomp_do_user_notification() 1245 if (match->notif) in seccomp_do_user_notification() 1453 kfree(filter->notif); in seccomp_notify_free() 1454 filter->notif = NULL; in seccomp_notify_free() 1470 list_for_each_entry(knotif, &filter->notif->notifications, list) { in seccomp_notify_detach() [all …]
|
| /linux/drivers/platform/surface/aggregator/ |
| H 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() 2217 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_enable() 2281 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_nf_refcount_disable_free() 2338 nf = &ctrl->cplt.event.notif; in ssam_notifier_register() 2407 nf = &ctrl->cplt.event.notif; in __ssam_notifier_unregister() 2472 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_enable() 2523 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_controller_event_disable() 2568 struct ssam_nf *nf = &ctrl->cplt.event.notif; in ssam_notifier_disable_registered() [all …]
|
| /linux/include/linux/ |
| H A D | ethtool_netlink.h | 46 void ethnl_pse_send_ntf(struct net_device *netdev, unsigned long notif); 126 unsigned long notif) in ethnl_pse_send_ntf() argument
|
| /linux/drivers/net/ethernet/marvell/octeon_ep/ |
| H A D | octep_pfvf_mbox.c | 391 union octep_pfvf_mbox_word notif = { 0 }; in octep_pfvf_notify() local 397 notif.s_link_status.opcode = OCTEP_PFVF_MBOX_NOTIF_LINK_STATUS; in octep_pfvf_notify() 398 notif.s_link_status.status = req->link.state; in octep_pfvf_notify() 406 notif.s.type = OCTEP_PFVF_MBOX_TYPE_CMD; in octep_pfvf_notify() 407 octep_send_notification(oct, msg->hdr.s.vf_idx, notif); in octep_pfvf_notify()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-async.c | 723 __v4l2_async_nf_add_fwnode_remote(struct v4l2_async_notifier *notif, in __v4l2_async_nf_add_fwnode_remote() argument 734 asc = __v4l2_async_nf_add_fwnode(notif, remote, asc_struct_size); in __v4l2_async_nf_add_fwnode_remote() 935 struct v4l2_async_notifier *notif; in pending_subdevs_show() local 940 list_for_each_entry(notif, ¬ifier_list, notifier_entry) { in pending_subdevs_show() 941 seq_printf(s, "%s:\n", v4l2_async_nf_name(notif)); in pending_subdevs_show() 942 list_for_each_entry(asc, ¬if->waiting_list, asc_entry) in pending_subdevs_show()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_request_mgr.c | 51 bool notif; member 369 if (!bli->notif) { in cc_proc_backlog() 371 bli->notif = true; in cc_proc_backlog() 438 bli->notif = false; in cc_send_request()
|