/linux/net/ncsi/ |
H A D | ncsi-manage.c | 33 bool ncsi_channel_is_last(struct ncsi_dev_priv *ndp, in ncsi_channel_is_last() argument 39 NCSI_FOR_EACH_PACKAGE(ndp, np) in ncsi_channel_is_last() 51 static void ncsi_report_link(struct ncsi_dev_priv *ndp, bool force_down) in ncsi_report_link() argument 53 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link() 65 NCSI_FOR_EACH_PACKAGE(ndp, np) { in ncsi_report_link() 93 struct ncsi_dev_priv *ndp = np->ndp; in ncsi_channel_monitor() local 116 netdev_warn(ndp->ndev.dev, in ncsi_channel_monitor() 128 nca.ndp = ndp; in ncsi_channel_monitor() 135 netdev_err(ndp->ndev.dev, "Error %d sending GLS\n", in ncsi_channel_monitor() 141 netdev_err(ndp->ndev.dev, "NCSI Channel %d timed out!\n", in ncsi_channel_monitor() [all …]
|
H A D | ncsi-aen.c | 46 static int ncsi_aen_handler_lsc(struct ncsi_dev_priv *ndp, in ncsi_aen_handler_lsc() argument 60 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_lsc() 77 netdev_dbg(ndp->ndev.dev, "NCSI: LSC AEN - channel %u state %s\n", in ncsi_aen_handler_lsc() 85 netdev_warn(ndp->ndev.dev, in ncsi_aen_handler_lsc() 92 if (!ndp->multi_package && !nc->package->multi_channel) { in ncsi_aen_handler_lsc() 94 ndp->flags |= NCSI_DEV_RESHUFFLE; in ncsi_aen_handler_lsc() 96 spin_lock_irqsave(&ndp->lock, flags); in ncsi_aen_handler_lsc() 97 list_add_tail_rcu(&nc->link, &ndp->channel_queue); in ncsi_aen_handler_lsc() 98 spin_unlock_irqrestore(&ndp->lock, flags); in ncsi_aen_handler_lsc() 99 return ncsi_process_next_channel(ndp); in ncsi_aen_handler_lsc() [all …]
|
H A D | ncsi-netlink.c | 36 struct ncsi_dev_priv *ndp; in ndp_from_ifindex() local 51 ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL; in ndp_from_ifindex() 54 return ndp; in ndp_from_ifindex() 58 struct ncsi_dev_priv *ndp, in ncsi_write_channel_info() argument 95 struct ncsi_dev_priv *ndp, unsigned int id) in ncsi_write_package_info() argument 103 if (id > ndp->package_num - 1) { in ncsi_write_package_info() 104 netdev_info(ndp->ndev.dev, "NCSI: No package with id %u\n", id); in ncsi_write_package_info() 109 NCSI_FOR_EACH_PACKAGE(ndp, np) { in ncsi_write_package_info() 120 if ((0x1 << np->id) == ndp->package_whitelist) in ncsi_write_package_info() 134 rc = ncsi_write_channel_info(skb, ndp, nc); in ncsi_write_package_info() [all …]
|
H A D | ncsi-rsp.c | 49 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 54 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 62 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 80 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 92 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_cis() local 98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 100 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_cis() 113 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_sp() local 139 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dp() local 164 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_ec() local 186 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dc() local 213 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_rc() local 235 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_ecnt() local 257 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dcnt() local 280 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_ae() local 309 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_sl() local 331 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gls() local 363 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_svf() local 400 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_ev() local 427 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dv() local 452 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_sma() local 498 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_ebf() local 524 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dbf() local 550 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_egmf() local 577 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_dgmf() local 603 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_snfc() local 630 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_oem_gma() local 759 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gvi() local 796 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gc() local 846 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gp() local 921 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gcps() local 982 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gns() local 1009 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gnpts() local 1038 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gps() local 1054 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gpuuid() local 1076 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_netlink() local 1096 struct ncsi_dev_priv *ndp = nr->ndp; ncsi_rsp_handler_gmcma() local 1177 struct ncsi_dev_priv *ndp; ncsi_rcv_rsp() local [all...] |
H A D | internal.h | 248 struct ncsi_dev_priv *ndp; /* NCSI device */ member 265 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member 351 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ 372 #define NCSI_FOR_EACH_DEV(ndp) \ argument 373 list_for_each_entry_rcu(ndp, &ncsi_dev_list, node) 374 #define NCSI_FOR_EACH_PACKAGE(ndp, np) \ 375 list_for_each_entry_rcu(np, &ndp->packages, node) 387 struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp, 389 struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp, 392 void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp, 349 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ global() member 370 NCSI_FOR_EACH_DEV(ndp) global() argument [all...] |
H A D | ncsi-cmd.c | 279 struct ncsi_dev_priv *ndp = nca->ndp; in ncsi_alloc_command() local 280 struct ncsi_dev *nd = &ndp->ndev; in ncsi_alloc_command() 289 nr = ncsi_alloc_request(ndp, nca->req_flags); in ncsi_alloc_command() 347 netdev_err(nca->ndp->ndev.dev, in ncsi_xmit_cmd() 387 if (nca->ndp->gma_flag == 1) in ncsi_xmit_cmd() 388 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); in ncsi_xmit_cmd()
|
/linux/net/dccp/ccids/lib/ |
H A D | packet_history.c | 99 const u64 ndp) in tfrc_rx_hist_entry_from_skb() argument 106 entry->tfrchrx_ndp = ndp; in tfrc_rx_hist_entry_from_skb() 112 const u64 ndp) in tfrc_rx_hist_add_packet() argument 116 tfrc_rx_hist_entry_from_skb(entry, skb, ndp); in tfrc_rx_hist_add_packet() 313 struct sk_buff *skb, const u64 ndp, in tfrc_rx_handle_loss() argument 319 __do_track_loss(h, skb, ndp); in tfrc_rx_handle_loss() 321 __one_after_loss(h, skb, ndp); in tfrc_rx_handle_loss() 324 } else if (__two_after_loss(h, skb, ndp)) { in tfrc_rx_handle_loss()
|
H A D | packet_history.h | 130 const u64 ndp); 136 struct sk_buff *skb, const u64 ndp,
|
/linux/net/dccp/ |
H A D | options.c | 282 static inline u8 dccp_ndp_len(const u64 ndp) in dccp_ndp_len() argument 284 if (likely(ndp <= 0xFF)) in dccp_ndp_len() 286 return likely(ndp <= USHRT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6); in dccp_ndp_len() 312 u64 ndp = dp->dccps_ndp_count; in dccp_insert_option_ndp() local 319 if (ndp > 0) { in dccp_insert_option_ndp() 321 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() 332 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()
|
H A D | dccp.h | 145 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_count() argument 150 delta -= ndp + 1; in dccp_loss_count() 158 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_free() argument 160 return dccp_loss_count(s1, s2, ndp) == 0; in dccp_loss_free()
|
/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 1211 } ndp; in cdc_ncm_fill_tx_frame() local 1311 ndp.ndp16 = cdc_ncm_ndp16(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1313 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1319 if ((ctx->is_ndp16 && !ndp.ndp16) || (!ctx->is_ndp16 && !ndp.ndp32) || in cdc_ncm_fill_tx_frame() 1343 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1347 ndp.ndp16->dpe16[index].wDatagramLength = cpu_to_le16(skb->len); in cdc_ncm_fill_tx_frame() 1348 ndp.ndp16->dpe16[index].wDatagramIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame() 1349 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1351 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1354 ndp.ndp32->dpe32[index].dwDatagramLength = cpu_to_le32(skb->len); in cdc_ncm_fill_tx_frame() [all …]
|
/linux/net/dccp/ccids/ |
H A D | ccid3.c | 711 const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; in ccid3_hc_rx_packet_recv() local 745 skb, ndp, ccid3_first_li, sk)) { in ccid3_hc_rx_packet_recv() 784 tfrc_rx_hist_add_packet(&hc->rx_hist, skb, ndp); in ccid3_hc_rx_packet_recv()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs.h | 403 int tid, struct ieee80211_tx_info *info, bool ndp);
|
H A D | rs.c | 377 int tid, bool ndp); 2054 int tid, bool ndp) in rs_rate_scale_perform() argument 2324 if (!ndp) in rs_rate_scale_perform() 3032 bool ndp) in __iwl_mvm_rs_tx_status() argument 3259 rs_rate_scale_perform(mvm, sta, lq_sta, tid, ndp); in __iwl_mvm_rs_tx_status() 3263 int tid, struct ieee80211_tx_info *info, bool ndp) in iwl_mvm_rs_tx_status() argument 3273 __iwl_mvm_rs_tx_status(mvm, sta, tid, info, ndp); in iwl_mvm_rs_tx_status()
|
/linux/Documentation/networking/ |
H A D | ip-sysctl.rst | 2266 Do proxy ndp.
|