/openbmc/linux/net/ncsi/ |
H A D | ncsi-rsp.c | 918 struct ncsi_channel_stats *ncs; in ncsi_rsp_handler_gcps() local 928 ncs = &nc->stats; in ncsi_rsp_handler_gcps() 929 ncs->hnc_cnt_hi = ntohl(rsp->cnt_hi); in ncsi_rsp_handler_gcps() 930 ncs->hnc_cnt_lo = ntohl(rsp->cnt_lo); in ncsi_rsp_handler_gcps() 931 ncs->hnc_rx_bytes = ntohl(rsp->rx_bytes); in ncsi_rsp_handler_gcps() 932 ncs->hnc_tx_bytes = ntohl(rsp->tx_bytes); in ncsi_rsp_handler_gcps() 933 ncs->hnc_rx_uc_pkts = ntohl(rsp->rx_uc_pkts); in ncsi_rsp_handler_gcps() 934 ncs->hnc_rx_mc_pkts = ntohl(rsp->rx_mc_pkts); in ncsi_rsp_handler_gcps() 935 ncs->hnc_rx_bc_pkts = ntohl(rsp->rx_bc_pkts); in ncsi_rsp_handler_gcps() 936 ncs->hnc_tx_uc_pkts = ntohl(rsp->tx_uc_pkts); in ncsi_rsp_handler_gcps() [all …]
|
/openbmc/qemu/net/ |
H A D | vhost-user.c | 61 static void vhost_user_stop(int queues, NetClientState *ncs[]) in vhost_user_stop() argument 67 assert(ncs[i]->info->type == NET_CLIENT_DRIVER_VHOST_USER); in vhost_user_stop() 69 s = DO_UPCAST(NetVhostUserState, nc, ncs[i]); in vhost_user_stop() 72 vhost_user_save_acked_features(ncs[i]); in vhost_user_stop() 78 static int vhost_user_start(int queues, NetClientState *ncs[], in vhost_user_start() argument 90 assert(ncs[i]->info->type == NET_CLIENT_DRIVER_VHOST_USER); in vhost_user_start() 92 s = DO_UPCAST(NetVhostUserState, nc, ncs[i]); in vhost_user_start() 94 options.net_backend = ncs[i]; in vhost_user_start() 127 vhost_user_stop(i, ncs); in vhost_user_start() 250 NetClientState *ncs[MAX_QUEUE_NUM]; in chr_closed_bh() local [all …]
|
H A D | net-hmp-cmds.c | 138 NetClientState *ncs[MAX_QUEUE_NUM]; in set_link_completion() local 140 count = qemu_find_net_clients_except(NULL, ncs, in set_link_completion() 144 readline_add_completion_of(rs, str, ncs[i]->name); in set_link_completion() 155 NetClientState *ncs[MAX_QUEUE_NUM]; in netdev_del_completion() local 163 count = qemu_find_net_clients_except(NULL, ncs, NET_CLIENT_DRIVER_NIC, in netdev_del_completion() 166 if (ncs[i]->is_netdev) { in netdev_del_completion() 167 readline_add_completion_of(rs, str, ncs[i]->name); in netdev_del_completion()
|
H A D | announce.c | 149 if (!strcmp(entry->value, nic->ncs->name)) { in qemu_announce_self_iter() 161 nic->ncs->name, in qemu_announce_self_iter() 170 if (nic->ncs->info->announce) { in qemu_announce_self_iter() 171 nic->ncs->info->announce(nic->ncs); in qemu_announce_self_iter()
|
H A D | net.c | 331 NetClientState **peers = conf->peers.ncs; in qemu_new_nic() 339 nic->ncs = (void *)nic + info->size; in qemu_new_nic() 345 qemu_net_client_setup(&nic->ncs[i], info, peers[i], model, name, in qemu_new_nic() 347 nic->ncs[i].queue_index = i; in qemu_new_nic() 355 return nic->ncs + queue_index; in qemu_get_subqueue() 380 NetClientState *ncs = nc + queue_index; in qemu_get_peer() local 381 return ncs->peer; in qemu_get_peer() 410 NetClientState *ncs[MAX_QUEUE_NUM]; in qemu_del_net_client() local 419 queues = qemu_find_net_clients_except(nc->name, ncs, in qemu_del_net_client() 437 ncs[i]->peer->link_down = true; in qemu_del_net_client() [all …]
|
H A D | filter.c | 221 NetClientState *ncs[MAX_QUEUE_NUM]; in netfilter_complete() local 231 queues = qemu_find_net_clients_except(nf->netdev_id, ncs, in netfilter_complete() 243 if (get_vhost_net(ncs[0])) { in netfilter_complete() 273 if (position->netdev != ncs[0]) { in netfilter_complete() 283 nf->netdev = ncs[0]; in netfilter_complete()
|
H A D | vhost-vdpa.c | 189 static int vhost_vdpa_add(NetClientState *ncs, void *be, in vhost_vdpa_add() argument 198 assert(ncs->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); in vhost_vdpa_add() 199 s = DO_UPCAST(VhostVDPAState, nc, ncs); in vhost_vdpa_add() 200 options.net_backend = ncs; in vhost_vdpa_add() 298 NetClientState *nc_i = qemu_get_peer(nic->ncs, i); in vhost_vdpa_net_get_nc_vdpa() 336 vhost_net_stop(vdev, n->nic->ncs, data_queue_pairs, cvq); in vhost_vdpa_net_log_global_enable() 339 r = vhost_net_start(vdev, n->nic->ncs, data_queue_pairs, cvq); in vhost_vdpa_net_log_global_enable() 1793 g_autofree NetClientState **ncs = NULL; in net_init_vhost_vdpa() local 1849 ncs = g_malloc0(sizeof(*ncs) * queue_pairs); in net_init_vhost_vdpa() 1855 shared = DO_UPCAST(VhostVDPAState, nc, ncs[0])->vhost_vdpa.shared; in net_init_vhost_vdpa() [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck-lock.sh | 22 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/… 23 if test -z "$ncs" 27 title="$configfile ------- $ncs acquisitions/releases" 33 ncsps=`awk -v ncs=$ncs -v dur=$dur '
|
/openbmc/qemu/hw/net/ |
H A D | vhost_net.c | 166 NetClientState *ncs, int data_queue_pairs, int nvhosts) in vhost_net_disable_notifiers_nvhosts() argument 183 peer = qemu_get_peer(ncs, i); in vhost_net_disable_notifiers_nvhosts() 185 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_disable_notifiers_nvhosts() 209 peer = qemu_get_peer(ncs, i); in vhost_net_disable_notifiers_nvhosts() 211 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_disable_notifiers_nvhosts() 225 NetClientState *ncs, int data_queue_pairs, int cvq) in vhost_net_enable_notifiers() argument 258 peer = qemu_get_peer(ncs, i); in vhost_net_enable_notifiers() 260 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_enable_notifiers() 284 vhost_net_disable_notifiers_nvhosts(dev, ncs, data_queue_pairs, i); in vhost_net_enable_notifiers() 301 NetClientState *ncs, int data_queue_pairs, int cvq) in vhost_net_disable_notifiers() argument [all …]
|
H A D | vhost_net-stub.c | 35 NetClientState *ncs, in vhost_net_start() argument 41 NetClientState *ncs, in vhost_net_stop() argument
|
H A D | mipsnet.c | 149 if (mipsnet_can_receive(s->nic->ncs)) { in mipsnet_ioport_read() 188 if (mipsnet_can_receive(s->nic->ncs)) { in mipsnet_ioport_write()
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | atmel,ebi.txt | 54 - atmel,smc-read-mode "nrd" or "ncs". 55 Default to "ncs" when undefined. 57 - atmel,smc-write-mode "nwe" or "ncs". 58 Default to "ncs" when undefined. 83 - atmel,smc-ncs-rd-setup-ns 85 - atmel,smc-ncs-wr-setup-ns 87 - atmel,smc-ncs-rd-pulse-ns 89 - atmel,smc-ncs-wr-pulse-ns 124 atmel,smc-ncs-rd-setup-ns = <0>; 125 atmel,smc-ncs-wr-setup-ns = <0>; [all …]
|
/openbmc/u-boot/board/compulab/cm_fx6/ |
H A D | spl.c | 129 cm_fx6_sysinfo_s.ncs = 1; in spl_mx6s_dram_init() 133 cm_fx6_sysinfo_s.ncs = 1; in spl_mx6s_dram_init() 137 cm_fx6_sysinfo_s.ncs = 2; in spl_mx6s_dram_init() 199 cm_fx6_sysinfo_q.ncs = 1; in spl_mx6q_dram_init() 203 cm_fx6_sysinfo_q.ncs = 1; in spl_mx6q_dram_init() 207 cm_fx6_sysinfo_q.ncs = 1; in spl_mx6q_dram_init() 211 cm_fx6_sysinfo_q.ncs = 2; in spl_mx6q_dram_init() 215 cm_fx6_sysinfo_q.ncs = 2; in spl_mx6q_dram_init()
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | sama5d3xcm.dtsi | 65 atmel,smc-ncs-rd-setup-ns = <0>; 66 atmel,smc-ncs-wr-setup-ns = <0>; 69 atmel,smc-ncs-rd-pulse-ns = <84>; 70 atmel,smc-ncs-wr-pulse-ns = <84>;
|
/openbmc/u-boot/board/engicam/common/ |
H A D | spl.c | 238 .ncs = 1, 270 .ncs = 1, 287 .ncs = 1, 335 .ncs = 1,
|
/openbmc/qemu/include/net/ |
H A D | vhost_net.h | 21 int vhost_net_start(VirtIODevice *dev, NetClientState *ncs, 23 void vhost_net_stop(VirtIODevice *dev, NetClientState *ncs,
|
H A D | net.h | 28 NetClientState *ncs[MAX_QUEUE_NUM]; member 121 NetClientState *ncs; member 143 int qemu_find_net_clients_except(const char *id, NetClientState **ncs,
|
/openbmc/u-boot/board/liebherr/mccmon6/ |
H A D | spl.c | 179 .ncs = 1, 220 .ncs = 1, 237 .ncs = 1,
|
/openbmc/u-boot/board/wandboard/ |
H A D | spl.c | 228 .ncs = 1, 271 .ncs = 1, 290 .ncs = 1,
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gw_ventana_spl.c | 494 .ncs = 1, in spl_dram_init() 597 sysinfo.ncs = 2; in spl_dram_init() 619 sysinfo.ncs = 2; in spl_dram_init()
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 411 char *p = g_strdup(peers_ptr->ncs[0] ? peers_ptr->ncs[0]->name : ""); in get_netdev() 422 NetClientState **ncs = peers_ptr->ncs; in set_netdev() local 455 if (!check_prop_still_unset(obj, name, ncs[i], str, false, errp)) { in set_netdev() 465 ncs[i] = peers[i]; in set_netdev() 466 ncs[i]->queue_index = i; in set_netdev()
|
/openbmc/u-boot/board/bachmann/ot1200/ |
H A D | ot1200_spl.c | 75 .ncs = 1,
|
/openbmc/u-boot/board/ccv/xpress/ |
H A D | spl.c | 51 .ncs = 1,
|
/openbmc/u-boot/board/barco/platinum/ |
H A D | spl_picon.c | 123 .ncs = 1, in spl_dram_init()
|
H A D | spl_titanium.c | 126 .ncs = 1, in spl_dram_init()
|