Home
last modified time | relevance | path

Searched refs:ndp (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/net/ncsi/
Dncsi-manage.c31 bool ncsi_channel_is_last(struct ncsi_dev_priv *ndp, in ncsi_channel_is_last() argument
37 NCSI_FOR_EACH_PACKAGE(ndp, np) in ncsi_channel_is_last()
49 static void ncsi_report_link(struct ncsi_dev_priv *ndp, bool force_down) in ncsi_report_link() argument
51 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link()
63 NCSI_FOR_EACH_PACKAGE(ndp, np) { in ncsi_report_link()
91 struct ncsi_dev_priv *ndp = np->ndp; in ncsi_channel_monitor() local
119 nca.ndp = ndp; in ncsi_channel_monitor()
126 netdev_err(ndp->ndev.dev, "Error %d sending GLS\n", in ncsi_channel_monitor()
132 netdev_err(ndp->ndev.dev, "NCSI Channel %d timed out!\n", in ncsi_channel_monitor()
134 ncsi_report_link(ndp, true); in ncsi_channel_monitor()
[all …]
Dncsi-aen.c46 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 …]
Dncsi-netlink.c36 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()
116 if ((0x1 << np->id) == ndp->package_whitelist) in ncsi_write_package_info()
130 rc = ncsi_write_channel_info(skb, ndp, nc); in ncsi_write_package_info()
[all …]
Dncsi-rsp.c36 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt()
41 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt()
49 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt()
67 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt()
79 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_cis() local
85 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis()
87 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_cis()
100 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_sp() local
108 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp()
111 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_sp()
[all …]
Dinternal.h221 struct ncsi_dev_priv *ndp; /* NCSI device */ member
238 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member
318 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member
339 #define NCSI_FOR_EACH_DEV(ndp) \ argument
340 list_for_each_entry_rcu(ndp, &ncsi_dev_list, node)
341 #define NCSI_FOR_EACH_PACKAGE(ndp, np) \ argument
342 list_for_each_entry_rcu(np, &ndp->packages, node)
354 struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp,
356 struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp,
359 void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp,
[all …]
Dncsi-cmd.c270 struct ncsi_dev_priv *ndp = nca->ndp; in ncsi_alloc_command() local
271 struct ncsi_dev *nd = &ndp->ndev; in ncsi_alloc_command()
279 nr = ncsi_alloc_request(ndp, nca->req_flags); in ncsi_alloc_command()
337 netdev_err(nca->ndp->ndev.dev, in ncsi_xmit_cmd()
/Linux-v5.4/net/dccp/ccids/lib/
Dpacket_history.c99 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()
Dpacket_history.h130 const u64 ndp);
136 struct sk_buff *skb, const u64 ndp,
/Linux-v5.4/net/dccp/
Doptions.c281 static inline u8 dccp_ndp_len(const u64 ndp) in dccp_ndp_len() argument
283 if (likely(ndp <= 0xFF)) in dccp_ndp_len()
285 return likely(ndp <= USHRT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6); in dccp_ndp_len()
311 u64 ndp = dp->dccps_ndp_count; in dccp_insert_option_ndp() local
318 if (ndp > 0) { in dccp_insert_option_ndp()
320 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp()
331 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()
Ddccp.h155 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_count() argument
160 delta -= ndp + 1; in dccp_loss_count()
168 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_free() argument
170 return dccp_loss_count(s1, s2, ndp) == 0; in dccp_loss_free()
/Linux-v5.4/net/dccp/ccids/
Dccid3.c705 const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; in ccid3_hc_rx_packet_recv() local
739 skb, ndp, ccid3_first_li, sk)) { in ccid3_hc_rx_packet_recv()
778 tfrc_rx_hist_add_packet(&hc->rx_hist, skb, ndp); in ccid3_hc_rx_packet_recv()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Drs.h417 int tid, struct ieee80211_tx_info *info, bool ndp);
Drs.c383 int tid, bool ndp);
2092 int tid, bool ndp) in rs_rate_scale_perform() argument
2362 if (!ndp) in rs_rate_scale_perform()
3066 bool ndp) in __iwl_mvm_rs_tx_status() argument
3293 rs_rate_scale_perform(mvm, sta, lq_sta, tid, ndp); in __iwl_mvm_rs_tx_status()
3297 int tid, struct ieee80211_tx_info *info, bool ndp) in iwl_mvm_rs_tx_status() argument
3307 __iwl_mvm_rs_tx_status(mvm, sta, tid, info, ndp); in iwl_mvm_rs_tx_status()
/Linux-v5.4/Documentation/networking/
Dip-sysctl.txt1590 Do proxy ndp.