/openbmc/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 121 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp() 124 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_sp() [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 353 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member 374 #define NCSI_FOR_EACH_DEV(ndp) \ argument 375 list_for_each_entry_rcu(ndp, &ncsi_dev_list, node) 376 #define NCSI_FOR_EACH_PACKAGE(ndp, np) \ argument 377 list_for_each_entry_rcu(np, &ndp->packages, node) 389 struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp, 391 struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp, 394 void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp, [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()
|
/openbmc/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,
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_device_path.c | 260 struct efi_device_path *ndp; in efi_dp_dup() local 266 ndp = dp_alloc(sz); in efi_dp_dup() 267 if (!ndp) in efi_dp_dup() 269 memcpy(ndp, dp, sz); in efi_dp_dup() 271 return ndp; in efi_dp_dup() 848 struct efi_device_path_mac_addr *ndp; in efi_dp_from_eth() local 859 dpsize += sizeof(*ndp); in efi_dp_from_eth() 872 ndp = buf; in efi_dp_from_eth() 873 ndp->dp.type = DEVICE_PATH_TYPE_MESSAGING_DEVICE; in efi_dp_from_eth() 874 ndp->dp.sub_type = DEVICE_PATH_SUB_TYPE_MSG_MAC_ADDR; in efi_dp_from_eth() [all …]
|
/openbmc/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()
|
/openbmc/linux/drivers/net/usb/ |
H A D | cdc_ncm.c | 1210 } ndp; in cdc_ncm_fill_tx_frame() local 1310 ndp.ndp16 = cdc_ncm_ndp16(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1312 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1318 if ((ctx->is_ndp16 && !ndp.ndp16) || (!ctx->is_ndp16 && !ndp.ndp32) || in cdc_ncm_fill_tx_frame() 1342 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1346 ndp.ndp16->dpe16[index].wDatagramLength = cpu_to_le16(skb->len); in cdc_ncm_fill_tx_frame() 1347 ndp.ndp16->dpe16[index].wDatagramIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame() 1348 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1350 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1353 ndp.ndp32->dpe32[index].dwDatagramLength = cpu_to_le32(skb->len); in cdc_ncm_fill_tx_frame() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ohci-hcd.c | 430 __u32 temp, ndp, i; in ohci_dump_roothub() local 433 ndp = (temp & RH_A_NDP); in ohci_dump_roothub() 435 ndp = (ndp == 2) ? 1:0; in ohci_dump_roothub() 445 ndp in ohci_dump_roothub() 465 for (i = 0; i < ndp; i++) { in ohci_dump_roothub() 1219 __u32 temp, ndp, i; in rh_check_port_status() local 1224 ndp = (temp & RH_A_NDP); in rh_check_port_status() 1226 ndp = (ndp == 2) ? 1:0; in rh_check_port_status() 1228 for (i = 0; i < ndp; i++) { in rh_check_port_status()
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-kernel/linux/linux-aspeed/ |
H A D | 0001-Add-NCSI-channel-selector.patch | 121 if (ndp->flags & NCSI_DEV_PROBED) 125 + id = ncsi_select_channel(ndp->ndev.dev);
|
/openbmc/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()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | tunnel.c | 101 size_t ndp; in tb_available_credits() local 121 ndp = (credits - (usb3 + pcie + spare)) / in tb_available_credits() 124 ndp = 0; in tb_available_credits() 126 ndp = 0; in tb_available_credits() 128 credits -= ndp * (sw->min_dp_aux_credits + sw->min_dp_main_credits); in tb_available_credits() 132 *max_dp_streams = ndp; in tb_available_credits()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | Makefile | 100 dhcpv6.o ethernet.o ipv4.o ndp.o tftp.o pxelinux.o
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs.h | 401 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()
|
/openbmc/linux/Documentation/networking/ |
H A D | ip-sysctl.rst | 2213 Do proxy ndp.
|