ndp 383 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int tid, bool ndp); ndp 2092 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int tid, bool ndp) ndp 2362 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!ndp) ndp 3066 drivers/net/wireless/intel/iwlwifi/mvm/rs.c bool ndp) ndp 3293 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_rate_scale_perform(mvm, sta, lq_sta, tid, ndp); ndp 3297 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int tid, struct ieee80211_tx_info *info, bool ndp) ndp 3307 drivers/net/wireless/intel/iwlwifi/mvm/rs.c __iwl_mvm_rs_tx_status(mvm, sta, tid, info, ndp); ndp 417 drivers/net/wireless/intel/iwlwifi/mvm/rs.h int tid, struct ieee80211_tx_info *info, bool ndp); ndp 705 net/dccp/ccids/ccid3.c const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; ndp 739 net/dccp/ccids/ccid3.c skb, ndp, ccid3_first_li, sk)) { ndp 778 net/dccp/ccids/ccid3.c tfrc_rx_hist_add_packet(&hc->rx_hist, skb, ndp); ndp 99 net/dccp/ccids/lib/packet_history.c const u64 ndp) ndp 106 net/dccp/ccids/lib/packet_history.c entry->tfrchrx_ndp = ndp; ndp 112 net/dccp/ccids/lib/packet_history.c const u64 ndp) ndp 116 net/dccp/ccids/lib/packet_history.c tfrc_rx_hist_entry_from_skb(entry, skb, ndp); ndp 313 net/dccp/ccids/lib/packet_history.c struct sk_buff *skb, const u64 ndp, ndp 319 net/dccp/ccids/lib/packet_history.c __do_track_loss(h, skb, ndp); ndp 321 net/dccp/ccids/lib/packet_history.c __one_after_loss(h, skb, ndp); ndp 324 net/dccp/ccids/lib/packet_history.c } else if (__two_after_loss(h, skb, ndp)) { ndp 130 net/dccp/ccids/lib/packet_history.h const u64 ndp); ndp 136 net/dccp/ccids/lib/packet_history.h struct sk_buff *skb, const u64 ndp, ndp 155 net/dccp/dccp.h static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) ndp 160 net/dccp/dccp.h delta -= ndp + 1; ndp 168 net/dccp/dccp.h static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) ndp 170 net/dccp/dccp.h return dccp_loss_count(s1, s2, ndp) == 0; ndp 281 net/dccp/options.c static inline u8 dccp_ndp_len(const u64 ndp) ndp 283 net/dccp/options.c if (likely(ndp <= 0xFF)) ndp 285 net/dccp/options.c return likely(ndp <= USHRT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6); ndp 311 net/dccp/options.c u64 ndp = dp->dccps_ndp_count; ndp 318 net/dccp/options.c if (ndp > 0) { ndp 320 net/dccp/options.c const int ndp_len = dccp_ndp_len(ndp); ndp 331 net/dccp/options.c dccp_encode_value_var(ndp, ptr, ndp_len); ndp 221 net/ncsi/internal.h struct ncsi_dev_priv *ndp; /* NCSI device */ ndp 238 net/ncsi/internal.h struct ncsi_dev_priv *ndp; /* Associated NCSI device */ ndp 318 net/ncsi/internal.h struct ncsi_dev_priv *ndp; /* Associated NCSI device */ ndp 339 net/ncsi/internal.h #define NCSI_FOR_EACH_DEV(ndp) \ ndp 340 net/ncsi/internal.h list_for_each_entry_rcu(ndp, &ncsi_dev_list, node) ndp 341 net/ncsi/internal.h #define NCSI_FOR_EACH_PACKAGE(ndp, np) \ ndp 342 net/ncsi/internal.h list_for_each_entry_rcu(np, &ndp->packages, node) ndp 354 net/ncsi/internal.h struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp, ndp 356 net/ncsi/internal.h struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp, ndp 359 net/ncsi/internal.h void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp, ndp 363 net/ncsi/internal.h struct ncsi_request *ncsi_alloc_request(struct ncsi_dev_priv *ndp, ndp 367 net/ncsi/internal.h int ncsi_process_next_channel(struct ncsi_dev_priv *ndp); ndp 369 net/ncsi/internal.h bool ncsi_channel_is_last(struct ncsi_dev_priv *ndp, ndp 371 net/ncsi/internal.h int ncsi_update_tx_channel(struct ncsi_dev_priv *ndp, ndp 381 net/ncsi/internal.h int ncsi_aen_handler(struct ncsi_dev_priv *ndp, struct sk_buff *skb); ndp 46 net/ncsi/ncsi-aen.c static int ncsi_aen_handler_lsc(struct ncsi_dev_priv *ndp, ndp 60 net/ncsi/ncsi-aen.c ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); ndp 77 net/ncsi/ncsi-aen.c netdev_dbg(ndp->ndev.dev, "NCSI: LSC AEN - channel %u state %s\n", ndp 85 net/ncsi/ncsi-aen.c netdev_warn(ndp->ndev.dev, ndp 92 net/ncsi/ncsi-aen.c if (!ndp->multi_package && !nc->package->multi_channel) { ndp 94 net/ncsi/ncsi-aen.c ndp->flags |= NCSI_DEV_RESHUFFLE; ndp 96 net/ncsi/ncsi-aen.c spin_lock_irqsave(&ndp->lock, flags); ndp 97 net/ncsi/ncsi-aen.c list_add_tail_rcu(&nc->link, &ndp->channel_queue); ndp 98 net/ncsi/ncsi-aen.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 99 net/ncsi/ncsi-aen.c return ncsi_process_next_channel(ndp); ndp 107 net/ncsi/ncsi-aen.c if (ncsi_channel_is_last(ndp, nc)) { ndp 109 net/ncsi/ncsi-aen.c return ncsi_reset_dev(&ndp->ndev); ndp 112 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, nc, NULL); ndp 116 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, NULL, nc); ndp 118 net/ncsi/ncsi-aen.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 126 net/ncsi/ncsi-aen.c ncsi_update_tx_channel(ndp, nc->package, ndp 140 net/ncsi/ncsi-aen.c static int ncsi_aen_handler_cr(struct ncsi_dev_priv *ndp, ndp 147 net/ncsi/ncsi-aen.c ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); ndp 164 net/ncsi/ncsi-aen.c spin_lock_irqsave(&ndp->lock, flags); ndp 166 net/ncsi/ncsi-aen.c list_add_tail_rcu(&nc->link, &ndp->channel_queue); ndp 167 net/ncsi/ncsi-aen.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 169 net/ncsi/ncsi-aen.c return ncsi_process_next_channel(ndp); ndp 172 net/ncsi/ncsi-aen.c static int ncsi_aen_handler_hncdsc(struct ncsi_dev_priv *ndp, ndp 181 net/ncsi/ncsi-aen.c ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); ndp 190 net/ncsi/ncsi-aen.c netdev_dbg(ndp->ndev.dev, ndp 200 net/ncsi/ncsi-aen.c int (*handler)(struct ncsi_dev_priv *ndp, ndp 208 net/ncsi/ncsi-aen.c int ncsi_aen_handler(struct ncsi_dev_priv *ndp, struct sk_buff *skb) ndp 224 net/ncsi/ncsi-aen.c netdev_warn(ndp->ndev.dev, "Invalid AEN (0x%x) received\n", ndp 231 net/ncsi/ncsi-aen.c netdev_warn(ndp->ndev.dev, ndp 237 net/ncsi/ncsi-aen.c ret = nah->handler(ndp, h); ndp 239 net/ncsi/ncsi-aen.c netdev_err(ndp->ndev.dev, ndp 270 net/ncsi/ncsi-cmd.c struct ncsi_dev_priv *ndp = nca->ndp; ndp 271 net/ncsi/ncsi-cmd.c struct ncsi_dev *nd = &ndp->ndev; ndp 279 net/ncsi/ncsi-cmd.c nr = ncsi_alloc_request(ndp, nca->req_flags); ndp 337 net/ncsi/ncsi-cmd.c netdev_err(nca->ndp->ndev.dev, ndp 31 net/ncsi/ncsi-manage.c bool ncsi_channel_is_last(struct ncsi_dev_priv *ndp, ndp 37 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) ndp 49 net/ncsi/ncsi-manage.c static void ncsi_report_link(struct ncsi_dev_priv *ndp, bool force_down) ndp 51 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 63 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 91 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = np->ndp; ndp 119 net/ncsi/ncsi-manage.c nca.ndp = ndp; ndp 126 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, "Error %d sending GLS\n", ndp 132 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, "NCSI Channel %d timed out!\n", ndp 134 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, true); ndp 135 net/ncsi/ncsi-manage.c ndp->flags |= NCSI_DEV_RESHUFFLE; ndp 145 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 147 net/ncsi/ncsi-manage.c list_add_tail_rcu(&nc->link, &ndp->channel_queue); ndp 148 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 149 net/ncsi/ncsi-manage.c ncsi_process_next_channel(ndp); ndp 261 net/ncsi/ncsi-manage.c struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp, ndp 266 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 274 net/ncsi/ncsi-manage.c struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp, ndp 285 net/ncsi/ncsi-manage.c np->ndp = ndp; ndp 290 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 291 net/ncsi/ncsi-manage.c tmp = ncsi_find_package(ndp, id); ndp 293 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 298 net/ncsi/ncsi-manage.c list_add_tail_rcu(&np->node, &ndp->packages); ndp 299 net/ncsi/ncsi-manage.c ndp->package_num++; ndp 300 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 307 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = np->ndp; ndp 316 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 318 net/ncsi/ncsi-manage.c ndp->package_num--; ndp 319 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 324 net/ncsi/ncsi-manage.c void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp, ndp 332 net/ncsi/ncsi-manage.c p = ncsi_find_package(ndp, NCSI_PACKAGE_INDEX(id)); ndp 345 net/ncsi/ncsi-manage.c struct ncsi_request *ncsi_alloc_request(struct ncsi_dev_priv *ndp, ndp 349 net/ncsi/ncsi-manage.c int i, limit = ARRAY_SIZE(ndp->requests); ndp 353 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 354 net/ncsi/ncsi-manage.c for (i = ndp->request_id; i < limit; i++) { ndp 355 net/ncsi/ncsi-manage.c if (ndp->requests[i].used) ndp 358 net/ncsi/ncsi-manage.c nr = &ndp->requests[i]; ndp 361 net/ncsi/ncsi-manage.c ndp->request_id = i + 1; ndp 366 net/ncsi/ncsi-manage.c for (i = NCSI_REQ_START_IDX; i < ndp->request_id; i++) { ndp 367 net/ncsi/ncsi-manage.c if (ndp->requests[i].used) ndp 370 net/ncsi/ncsi-manage.c nr = &ndp->requests[i]; ndp 373 net/ncsi/ncsi-manage.c ndp->request_id = i + 1; ndp 378 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 384 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 394 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 401 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 403 net/ncsi/ncsi-manage.c if (driven && cmd && --ndp->pending_req_num == 0) ndp 404 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 413 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp; ndp 415 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_DEV(ndp) { ndp 416 net/ncsi/ncsi-manage.c if (ndp->ndev.dev == dev) ndp 417 net/ncsi/ncsi-manage.c return &ndp->ndev; ndp 426 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 435 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 438 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 441 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 448 net/ncsi/ncsi-manage.c ncsi_find_package_and_channel(ndp, ndp 459 net/ncsi/ncsi-manage.c static void ncsi_suspend_channel(struct ncsi_dev_priv *ndp) ndp 461 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 468 net/ncsi/ncsi-manage.c np = ndp->active_package; ndp 469 net/ncsi/ncsi-manage.c nc = ndp->active_channel; ndp 470 net/ncsi/ncsi-manage.c nca.ndp = ndp; ndp 477 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 482 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_HWA) ndp 495 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_RESHUFFLE) ndp 505 net/ncsi/ncsi-manage.c ndp->pending_req_num = np->channel_num; ndp 520 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 533 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 556 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 572 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_RESET) ndp 575 net/ncsi/ncsi-manage.c ncsi_process_next_channel(ndp); ndp 590 net/ncsi/ncsi-manage.c static int clear_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc, ndp 625 net/ncsi/ncsi-manage.c static int set_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc, ndp 635 net/ncsi/ncsi-manage.c if (list_empty(&ndp->vlan_vids)) ndp 644 net/ncsi/ncsi-manage.c list_for_each_entry_rcu(vlan, &ndp->vlan_vids, list) { ndp 664 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 702 net/ncsi/ncsi-manage.c netdev_err(nca->ndp->ndev.dev, ndp 727 net/ncsi/ncsi-manage.c netdev_err(nca->ndp->ndev.dev, ndp 748 net/ncsi/ncsi-manage.c if (nca->ndp->gma_flag == 1) ndp 761 net/ncsi/ncsi-manage.c netdev_err(nca->ndp->ndev.dev, ndp 768 net/ncsi/ncsi-manage.c nca->ndp->gma_flag = 1; ndp 777 net/ncsi/ncsi-manage.c static bool ncsi_channel_is_tx(struct ncsi_dev_priv *ndp, ndp 787 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 788 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != nc->package) ndp 798 net/ncsi/ncsi-manage.c list_for_each_entry_rcu(channel, &ndp->channel_queue, link) { ndp 810 net/ncsi/ncsi-manage.c list_for_each_entry_rcu(channel, &ndp->channel_queue, link) ndp 819 net/ncsi/ncsi-manage.c int ncsi_update_tx_channel(struct ncsi_dev_priv *ndp, ndp 829 net/ncsi/ncsi-manage.c if (!package->multi_channel && !ndp->multi_package) ndp 830 net/ncsi/ncsi-manage.c netdev_warn(ndp->ndev.dev, ndp 832 net/ncsi/ncsi-manage.c nca.ndp = ndp; ndp 836 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 839 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != package) ndp 850 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 853 net/ncsi/ncsi-manage.c if (!ndp->multi_package && np != package) ndp 855 net/ncsi/ncsi-manage.c if (!(ndp->package_whitelist & (0x1 << np->id))) ndp 888 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 893 net/ncsi/ncsi-manage.c netdev_info(ndp->ndev.dev, "NCSI: channel %u enables Tx\n", enable->id); ndp 900 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 907 net/ncsi/ncsi-manage.c static void ncsi_configure_channel(struct ncsi_dev_priv *ndp) ndp 909 net/ncsi/ncsi-manage.c struct ncsi_package *np = ndp->active_package; ndp 910 net/ncsi/ncsi-manage.c struct ncsi_channel *nc = ndp->active_channel; ndp 912 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 919 net/ncsi/ncsi-manage.c nca.ndp = ndp; ndp 924 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 928 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_HWA) ndp 936 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 944 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 952 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 967 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 972 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 985 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 992 net/ncsi/ncsi-manage.c ret = clear_one_vid(ndp, nc, &nca); ndp 995 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1002 net/ncsi/ncsi-manage.c ret = set_one_vid(ndp, nc, &nca); ndp 1005 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1012 net/ncsi/ncsi-manage.c if (list_empty(&ndp->vlan_vids)) { ndp 1040 net/ncsi/ncsi-manage.c else if (ncsi_channel_is_tx(ndp, nc)) ndp 1046 net/ncsi/ncsi-manage.c if (ncsi_channel_is_tx(ndp, nc)) ndp 1053 net/ncsi/ncsi-manage.c netdev_info(ndp->ndev.dev, ndp 1076 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 1083 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, "NCSI: channel %u config done\n", ndp 1088 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_RESET) { ndp 1105 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1106 net/ncsi/ncsi-manage.c list_add_tail_rcu(&nc->link, &ndp->channel_queue); ndp 1107 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1110 net/ncsi/ncsi-manage.c ncsi_process_next_channel(ndp); ndp 1118 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, ndp 1125 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1126 net/ncsi/ncsi-manage.c ndp->hot_channel = hot_nc; ndp 1127 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1130 net/ncsi/ncsi-manage.c ncsi_process_next_channel(ndp); ndp 1140 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, true); ndp 1143 net/ncsi/ncsi-manage.c static int ncsi_choose_active_channel(struct ncsi_dev_priv *ndp) ndp 1151 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1152 net/ncsi/ncsi-manage.c hot_nc = ndp->hot_channel; ndp 1153 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1162 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 1163 net/ncsi/ncsi-manage.c if (!(ndp->package_whitelist & (0x1 << np->id))) ndp 1194 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1196 net/ncsi/ncsi-manage.c &ndp->channel_queue); ndp 1197 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1199 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, ndp 1210 net/ncsi/ncsi-manage.c if (with_link && !ndp->multi_package) ndp 1214 net/ncsi/ncsi-manage.c if (list_empty(&ndp->channel_queue) && found) { ndp 1215 net/ncsi/ncsi-manage.c netdev_info(ndp->ndev.dev, ndp 1218 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1219 net/ncsi/ncsi-manage.c list_add_tail_rcu(&found->link, &ndp->channel_queue); ndp 1220 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1222 net/ncsi/ncsi-manage.c netdev_warn(ndp->ndev.dev, ndp 1224 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, true); ndp 1228 net/ncsi/ncsi-manage.c return ncsi_process_next_channel(ndp); ndp 1231 net/ncsi/ncsi-manage.c static bool ncsi_check_hwa(struct ncsi_dev_priv *ndp) ndp 1241 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 1249 net/ncsi/ncsi-manage.c ndp->flags &= ~NCSI_DEV_HWA; ndp 1256 net/ncsi/ncsi-manage.c ndp->flags |= NCSI_DEV_HWA; ndp 1260 net/ncsi/ncsi-manage.c ndp->flags &= ~NCSI_DEV_HWA; ndp 1264 net/ncsi/ncsi-manage.c static void ncsi_probe_channel(struct ncsi_dev_priv *ndp) ndp 1266 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 1273 net/ncsi/ncsi-manage.c nca.ndp = ndp; ndp 1280 net/ncsi/ncsi-manage.c ndp->pending_req_num = 8; ndp 1295 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 1299 net/ncsi/ncsi-manage.c nca.package = ndp->package_probe_id; ndp 1307 net/ncsi/ncsi-manage.c ndp->active_package = ncsi_find_package(ndp, ndp 1308 net/ncsi/ncsi-manage.c ndp->package_probe_id); ndp 1309 net/ncsi/ncsi-manage.c if (!ndp->active_package) { ndp 1312 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1316 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1319 net/ncsi/ncsi-manage.c ndp->pending_req_num = NCSI_RESERVED_CHANNEL; ndp 1323 net/ncsi/ncsi-manage.c nca.package = ndp->active_package->id; ndp 1336 net/ncsi/ncsi-manage.c np = ndp->active_package; ndp 1337 net/ncsi/ncsi-manage.c ndp->pending_req_num = np->channel_num; ndp 1363 net/ncsi/ncsi-manage.c ndp->pending_req_num = 1; ndp 1367 net/ncsi/ncsi-manage.c nca.package = ndp->package_probe_id; ndp 1374 net/ncsi/ncsi-manage.c ndp->package_probe_id++; ndp 1375 net/ncsi/ncsi-manage.c if (ndp->package_probe_id >= 8) { ndp 1377 net/ncsi/ncsi-manage.c ndp->flags |= NCSI_DEV_PROBED; ndp 1381 net/ncsi/ncsi-manage.c ndp->active_package = NULL; ndp 1388 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_PROBED) { ndp 1390 net/ncsi/ncsi-manage.c ncsi_check_hwa(ndp); ndp 1391 net/ncsi/ncsi-manage.c ncsi_choose_active_channel(ndp); ndp 1396 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, ndp 1399 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, true); ndp 1404 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = container_of(work, ndp 1406 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 1410 net/ncsi/ncsi-manage.c ncsi_probe_channel(ndp); ndp 1413 net/ncsi/ncsi-manage.c ncsi_suspend_channel(ndp); ndp 1416 net/ncsi/ncsi-manage.c ncsi_configure_channel(ndp); ndp 1424 net/ncsi/ncsi-manage.c int ncsi_process_next_channel(struct ncsi_dev_priv *ndp) ndp 1430 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1431 net/ncsi/ncsi-manage.c nc = list_first_or_null_rcu(&ndp->channel_queue, ndp 1434 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1439 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1446 net/ncsi/ncsi-manage.c ndp->active_channel = nc; ndp 1447 net/ncsi/ncsi-manage.c ndp->active_package = nc->package; ndp 1451 net/ncsi/ncsi-manage.c ndp->ndev.state = ncsi_dev_state_config; ndp 1452 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, "NCSI: configuring channel %u\n", ndp 1454 net/ncsi/ncsi-manage.c ncsi_configure_channel(ndp); ndp 1457 net/ncsi/ncsi-manage.c ndp->ndev.state = ncsi_dev_state_suspend; ndp 1458 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, "NCSI: suspending channel %u\n", ndp 1460 net/ncsi/ncsi-manage.c ncsi_suspend_channel(ndp); ndp 1463 net/ncsi/ncsi-manage.c netdev_err(ndp->ndev.dev, "Invalid state 0x%x on %d:%d\n", ndp 1465 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, false); ndp 1472 net/ncsi/ncsi-manage.c ndp->active_channel = NULL; ndp 1473 net/ncsi/ncsi-manage.c ndp->active_package = NULL; ndp 1474 net/ncsi/ncsi-manage.c if (ndp->flags & NCSI_DEV_RESHUFFLE) { ndp 1475 net/ncsi/ncsi-manage.c ndp->flags &= ~NCSI_DEV_RESHUFFLE; ndp 1476 net/ncsi/ncsi-manage.c return ncsi_choose_active_channel(ndp); ndp 1479 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, false); ndp 1483 net/ncsi/ncsi-manage.c static int ncsi_kick_channels(struct ncsi_dev_priv *ndp) ndp 1485 net/ncsi/ncsi-manage.c struct ncsi_dev *nd = &ndp->ndev; ndp 1491 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 1502 net/ncsi/ncsi-manage.c if ((ndp->ndev.state & 0xff00) == ndp 1521 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1522 net/ncsi/ncsi-manage.c list_add_tail_rcu(&nc->link, &ndp->channel_queue); ndp 1523 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1535 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp; ndp 1550 net/ncsi/ncsi-manage.c ndp = TO_NCSI_DEV_PRIV(nd); ndp 1553 net/ncsi/ncsi-manage.c list_for_each_entry_rcu(vlan, &ndp->vlan_vids, list) { ndp 1574 net/ncsi/ncsi-manage.c list_add_rcu(&vlan->list, &ndp->vlan_vids); ndp 1578 net/ncsi/ncsi-manage.c found = ncsi_kick_channels(ndp) != 0; ndp 1580 net/ncsi/ncsi-manage.c return found ? ncsi_process_next_channel(ndp) : 0; ndp 1587 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp; ndp 1600 net/ncsi/ncsi-manage.c ndp = TO_NCSI_DEV_PRIV(nd); ndp 1603 net/ncsi/ncsi-manage.c list_for_each_entry_safe(vlan, tmp, &ndp->vlan_vids, list) ndp 1616 net/ncsi/ncsi-manage.c found = ncsi_kick_channels(ndp) != 0; ndp 1618 net/ncsi/ncsi-manage.c return found ? ncsi_process_next_channel(ndp) : 0; ndp 1625 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp; ndp 1636 net/ncsi/ncsi-manage.c ndp = kzalloc(sizeof(*ndp), GFP_ATOMIC); ndp 1637 net/ncsi/ncsi-manage.c if (!ndp) ndp 1640 net/ncsi/ncsi-manage.c nd = &ndp->ndev; ndp 1644 net/ncsi/ncsi-manage.c ndp->pending_req_num = 0; ndp 1645 net/ncsi/ncsi-manage.c INIT_LIST_HEAD(&ndp->channel_queue); ndp 1646 net/ncsi/ncsi-manage.c INIT_LIST_HEAD(&ndp->vlan_vids); ndp 1647 net/ncsi/ncsi-manage.c INIT_WORK(&ndp->work, ncsi_dev_work); ndp 1648 net/ncsi/ncsi-manage.c ndp->package_whitelist = UINT_MAX; ndp 1651 net/ncsi/ncsi-manage.c spin_lock_init(&ndp->lock); ndp 1652 net/ncsi/ncsi-manage.c INIT_LIST_HEAD(&ndp->packages); ndp 1653 net/ncsi/ncsi-manage.c ndp->request_id = NCSI_REQ_START_IDX; ndp 1654 net/ncsi/ncsi-manage.c for (i = 0; i < ARRAY_SIZE(ndp->requests); i++) { ndp 1655 net/ncsi/ncsi-manage.c ndp->requests[i].id = i; ndp 1656 net/ncsi/ncsi-manage.c ndp->requests[i].ndp = ndp; ndp 1657 net/ncsi/ncsi-manage.c timer_setup(&ndp->requests[i].timer, ncsi_request_timeout, 0); ndp 1661 net/ncsi/ncsi-manage.c list_add_tail_rcu(&ndp->node, &ncsi_dev_list); ndp 1665 net/ncsi/ncsi-manage.c ndp->ptype.type = cpu_to_be16(ETH_P_NCSI); ndp 1666 net/ncsi/ncsi-manage.c ndp->ptype.func = ncsi_rcv_rsp; ndp 1667 net/ncsi/ncsi-manage.c ndp->ptype.dev = dev; ndp 1668 net/ncsi/ncsi-manage.c dev_add_pack(&ndp->ptype); ndp 1679 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = TO_NCSI_DEV_PRIV(nd); ndp 1685 net/ncsi/ncsi-manage.c if (!(ndp->flags & NCSI_DEV_PROBED)) { ndp 1686 net/ncsi/ncsi-manage.c ndp->package_probe_id = 0; ndp 1688 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1698 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = TO_NCSI_DEV_PRIV(nd); ndp 1709 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 1723 net/ncsi/ncsi-manage.c netdev_dbg(ndp->ndev.dev, "NCSI: Stopping device\n"); ndp 1724 net/ncsi/ncsi-manage.c ncsi_report_link(ndp, true); ndp 1730 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = TO_NCSI_DEV_PRIV(nd); ndp 1735 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1737 net/ncsi/ncsi-manage.c if (!(ndp->flags & NCSI_DEV_RESET)) { ndp 1743 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1751 net/ncsi/ncsi-manage.c ndp->flags |= NCSI_DEV_RESET; ndp 1752 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1764 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1769 net/ncsi/ncsi-manage.c if (!list_empty(&ndp->channel_queue)) { ndp 1771 net/ncsi/ncsi-manage.c list_for_each_entry_safe(nc, tmp, &ndp->channel_queue, link) ndp 1774 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1777 net/ncsi/ncsi-manage.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 1797 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1798 net/ncsi/ncsi-manage.c ndp->flags &= ~NCSI_DEV_RESET; ndp 1799 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1800 net/ncsi/ncsi-manage.c return ncsi_choose_active_channel(ndp); ndp 1803 net/ncsi/ncsi-manage.c spin_lock_irqsave(&ndp->lock, flags); ndp 1804 net/ncsi/ncsi-manage.c ndp->flags |= NCSI_DEV_RESET; ndp 1805 net/ncsi/ncsi-manage.c ndp->active_channel = active; ndp 1806 net/ncsi/ncsi-manage.c ndp->active_package = active->package; ndp 1807 net/ncsi/ncsi-manage.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1810 net/ncsi/ncsi-manage.c schedule_work(&ndp->work); ndp 1816 net/ncsi/ncsi-manage.c struct ncsi_dev_priv *ndp = TO_NCSI_DEV_PRIV(nd); ndp 1820 net/ncsi/ncsi-manage.c dev_remove_pack(&ndp->ptype); ndp 1822 net/ncsi/ncsi-manage.c list_for_each_entry_safe(np, tmp, &ndp->packages, node) ndp 1826 net/ncsi/ncsi-manage.c list_del_rcu(&ndp->node); ndp 1831 net/ncsi/ncsi-manage.c kfree(ndp); ndp 36 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 51 net/ncsi/ncsi-netlink.c ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL; ndp 54 net/ncsi/ncsi-netlink.c return ndp; ndp 58 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp, ndp 95 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp, unsigned int id) ndp 103 net/ncsi/ncsi-netlink.c if (id > ndp->package_num - 1) { ndp 104 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, "NCSI: No package with id %u\n", id); ndp 109 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 116 net/ncsi/ncsi-netlink.c if ((0x1 << np->id) == ndp->package_whitelist) ndp 130 net/ncsi/ncsi-netlink.c rc = ncsi_write_channel_info(skb, ndp, nc); ndp 152 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 168 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(genl_info_net(info), ndp 170 net/ncsi/ncsi-netlink.c if (!ndp) ndp 191 net/ncsi/ncsi-netlink.c rc = ncsi_write_package_info(skb, ndp, package_id); ndp 213 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 227 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(skb->sk)), ndp 230 net/ncsi/ncsi-netlink.c if (!ndp) ndp 235 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_PACKAGE(ndp, np) ndp 254 net/ncsi/ncsi-netlink.c rc = ncsi_write_package_info(skb, ndp, package->id); ndp 276 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 288 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), ndp 290 net/ncsi/ncsi-netlink.c if (!ndp) ndp 296 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_PACKAGE(ndp, np) ndp 313 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, ndp 320 net/ncsi/ncsi-netlink.c spin_lock_irqsave(&ndp->lock, flags); ndp 321 net/ncsi/ncsi-netlink.c ndp->package_whitelist = 0x1 << package->id; ndp 322 net/ncsi/ncsi-netlink.c ndp->multi_package = false; ndp 323 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 338 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, ndp 342 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, "Set package 0x%x as preferred\n", ndp 346 net/ncsi/ncsi-netlink.c if (!(ndp->flags & NCSI_DEV_RESET)) ndp 347 net/ncsi/ncsi-netlink.c ncsi_reset_dev(&ndp->ndev); ndp 354 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 364 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), ndp 366 net/ncsi/ncsi-netlink.c if (!ndp) ndp 370 net/ncsi/ncsi-netlink.c spin_lock_irqsave(&ndp->lock, flags); ndp 371 net/ncsi/ncsi-netlink.c ndp->package_whitelist = UINT_MAX; ndp 372 net/ncsi/ncsi-netlink.c ndp->multi_package = false; ndp 373 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 375 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_PACKAGE(ndp, np) { ndp 382 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, "NCSI: Cleared preferred package/channel\n"); ndp 385 net/ncsi/ncsi-netlink.c if (!(ndp->flags & NCSI_DEV_RESET)) ndp 386 net/ncsi/ncsi-netlink.c ncsi_reset_dev(&ndp->ndev); ndp 393 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 426 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), ndp 428 net/ncsi/ncsi-netlink.c if (!ndp) { ndp 443 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, "NCSI: no command to send %u\n", ndp 453 net/ncsi/ncsi-netlink.c nca.ndp = ndp; ndp 465 net/ncsi/ncsi-netlink.c netdev_err(ndp->ndev.dev, ndp 468 net/ncsi/ncsi-netlink.c ncsi_send_netlink_err(ndp->ndev.dev, ndp 590 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 603 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), ndp 605 net/ncsi/ncsi-netlink.c if (!ndp) ndp 608 net/ncsi/ncsi-netlink.c spin_lock_irqsave(&ndp->lock, flags); ndp 610 net/ncsi/ncsi-netlink.c if (ndp->flags & NCSI_DEV_HWA) { ndp 611 net/ncsi/ncsi-netlink.c ndp->multi_package = true; ndp 614 net/ncsi/ncsi-netlink.c netdev_err(ndp->ndev.dev, ndp 619 net/ncsi/ncsi-netlink.c ndp->multi_package = false; ndp 624 net/ncsi/ncsi-netlink.c ndp->package_whitelist = ndp 626 net/ncsi/ncsi-netlink.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 630 net/ncsi/ncsi-netlink.c if (!(ndp->flags & NCSI_DEV_RESET)) ndp 631 net/ncsi/ncsi-netlink.c ncsi_reset_dev(&ndp->ndev); ndp 643 net/ncsi/ncsi-netlink.c struct ncsi_dev_priv *ndp; ndp 658 net/ncsi/ncsi-netlink.c ndp = ndp_from_ifindex(get_net(sock_net(msg->sk)), ndp 660 net/ncsi/ncsi-netlink.c if (!ndp) ndp 665 net/ncsi/ncsi-netlink.c NCSI_FOR_EACH_PACKAGE(ndp, np) ndp 687 net/ncsi/ncsi-netlink.c netdev_dbg(ndp->ndev.dev, ndp 695 net/ncsi/ncsi-netlink.c netdev_dbg(ndp->ndev.dev, ndp 703 net/ncsi/ncsi-netlink.c netdev_info(ndp->ndev.dev, ndp 713 net/ncsi/ncsi-netlink.c if (!(ndp->flags & NCSI_DEV_RESET)) ndp 714 net/ncsi/ncsi-netlink.c ncsi_reset_dev(&ndp->ndev); ndp 36 net/ncsi/ncsi-rsp.c netdev_dbg(nr->ndp->ndev.dev, ndp 41 net/ncsi/ncsi-rsp.c netdev_dbg(nr->ndp->ndev.dev, ndp 49 net/ncsi/ncsi-rsp.c netdev_dbg(nr->ndp->ndev.dev, ndp 67 net/ncsi/ncsi-rsp.c netdev_dbg(nr->ndp->ndev.dev, ndp 79 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 85 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); ndp 87 net/ncsi/ncsi-rsp.c if (ndp->flags & NCSI_DEV_PROBED) ndp 100 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 108 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 111 net/ncsi/ncsi-rsp.c if (ndp->flags & NCSI_DEV_PROBED) ndp 115 net/ncsi/ncsi-rsp.c np = ncsi_add_package(ndp, id); ndp 126 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 133 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 151 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 157 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 173 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 184 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 200 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 206 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 222 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 228 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 244 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 250 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 267 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 273 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 296 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 302 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 318 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 325 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 350 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 358 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 387 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 393 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 414 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 420 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 439 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 450 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 485 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 491 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, NULL, &nc); ndp 511 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 516 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 537 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 543 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 564 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 569 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 590 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 596 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 617 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 618 net/ncsi/ncsi-rsp.c struct net_device *ndev = ndp->ndev.dev; ndp 656 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 657 net/ncsi/ncsi-rsp.c struct net_device *ndev = ndp->ndev.dev; ndp 728 net/ncsi/ncsi-rsp.c netdev_err(nr->ndp->ndev.dev, "Received unrecognized OEM packet with MFR-ID (0x%x)\n", ndp 740 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 747 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 768 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 774 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 818 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 829 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 893 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 899 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 954 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 960 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 981 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 987 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 1010 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 1015 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 1026 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 1031 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 1048 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp = nr->ndp; ndp 1056 net/ncsi/ncsi-rsp.c ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, ndp 1110 net/ncsi/ncsi-rsp.c struct ncsi_dev_priv *ndp; ndp 1118 net/ncsi/ncsi-rsp.c ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL; ndp 1119 net/ncsi/ncsi-rsp.c if (!ndp) ndp 1125 net/ncsi/ncsi-rsp.c return ncsi_aen_handler(ndp, skb); ndp 1146 net/ncsi/ncsi-rsp.c spin_lock_irqsave(&ndp->lock, flags); ndp 1147 net/ncsi/ncsi-rsp.c nr = &ndp->requests[hdr->id]; ndp 1149 net/ncsi/ncsi-rsp.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1155 net/ncsi/ncsi-rsp.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1161 net/ncsi/ncsi-rsp.c spin_unlock_irqrestore(&ndp->lock, flags); ndp 1167 net/ncsi/ncsi-rsp.c netdev_warn(ndp->ndev.dev, ndp 1175 net/ncsi/ncsi-rsp.c ncsi_send_netlink_err(ndp->ndev.dev, ndp 1187 net/ncsi/ncsi-rsp.c netdev_err(ndp->ndev.dev, ndp 1195 net/ncsi/ncsi-rsp.c netdev_err(ndp->ndev.dev,