Home
last modified time | relevance | path

Searched refs:ncs (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/net/ncsi/
H A Dncsi-rsp.c925 struct ncsi_channel_stats *ncs; in ncsi_rsp_handler_gcps() local
935 ncs = &nc->stats; in ncsi_rsp_handler_gcps()
936 ncs->hnc_cnt_hi = ntohl(rsp->cnt_hi); in ncsi_rsp_handler_gcps()
937 ncs->hnc_cnt_lo = ntohl(rsp->cnt_lo); in ncsi_rsp_handler_gcps()
946 ncs->hnc_fcs_err = ntohl(rsp->fcs_err); in ncsi_rsp_handler_gcps()
986 struct ncsi_channel_stats *ncs; in ncsi_rsp_handler_gns() local
996 ncs = &nc->stats; in ncsi_rsp_handler_gns()
1013 struct ncsi_channel_stats *ncs; in ncsi_rsp_handler_gnpts() local
1023 ncs = &nc->stats; in ncsi_rsp_handler_gnpts()
1024 ncs->pt_tx_pkts = ntohl(rsp->tx_pkts); in ncsi_rsp_handler_gnpts()
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-lock.sh22 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/net/
H A Dvhost-user.c69 s = DO_UPCAST(NetVhostUserState, nc, ncs[i]); in vhost_user_stop()
72 vhost_user_save_acked_features(ncs[i]); in vhost_user_stop()
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
255 queues = qemu_find_net_clients_except(name, ncs, in chr_closed_bh()
260 s = DO_UPCAST(NetVhostUserState, nc, ncs[0]); in chr_closed_bh()
263 vhost_user_save_acked_features(ncs[i]); in chr_closed_bh()
279 NetClientState *ncs[MAX_QUEUE_NUM]; in net_vhost_user_event() local
[all …]
H A Dnet-hmp-cmds.c138 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 Dannounce.c149 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 Dnet.c333 nic->ncs = (void *)nic + info->size; in qemu_new_nic()
341 nic->ncs[i].queue_index = i; in qemu_new_nic()
349 return nic->ncs + queue_index; in qemu_get_subqueue()
375 return ncs->peer; in qemu_get_peer()
404 NetClientState *ncs[MAX_QUEUE_NUM]; in qemu_del_net_client() local
446 qemu_cleanup_net_client(ncs[i]); in qemu_del_net_client()
447 qemu_free_net_client(ncs[i]); in qemu_del_net_client()
925 ncs[ret] = nc; in qemu_find_net_clients_except()
1451 NetClientState *ncs[MAX_QUEUE_NUM]; in qmp_set_link() local
1464 nc = ncs[0]; in qmp_set_link()
[all …]
H A Dfilter.c221 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 Dvhost-vdpa.c186 static int vhost_vdpa_add(NetClientState *ncs, void *be, in vhost_vdpa_add() argument
195 assert(ncs->info->type == NET_CLIENT_DRIVER_VHOST_VDPA); in vhost_vdpa_add()
196 s = DO_UPCAST(VhostVDPAState, nc, ncs); in vhost_vdpa_add()
197 options.net_backend = ncs; in vhost_vdpa_add()
293 NetClientState *nc0 = qemu_get_peer(nic->ncs, 0); in vhost_vdpa_net_first_nc_vdpa()
324 vhost_net_stop(vdev, n->nic->ncs, data_queue_pairs, cvq); in vhost_vdpa_net_log_global_enable()
327 r = vhost_net_start(vdev, n->nic->ncs, data_queue_pairs, cvq); in vhost_vdpa_net_log_global_enable()
1768 g_autofree NetClientState **ncs = NULL; in net_init_vhost_vdpa() local
1824 ncs = g_malloc0(sizeof(*ncs) * queue_pairs); in net_init_vhost_vdpa()
1830 if (!ncs[i]) in net_init_vhost_vdpa()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Datmel,ebi.txt54 - atmel,smc-read-mode "nrd" or "ncs".
55 Default to "ncs" when undefined.
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>;
128 atmel,smc-ncs-rd-pulse-ns = <84>;
[all …]
/openbmc/u-boot/board/compulab/cm_fx6/
H A Dspl.c129 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 Dsama5d3xcm.dtsi65 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/qemu/hw/net/
H A Dvhost_net.c351 int vhost_net_start(VirtIODevice *dev, NetClientState *ncs, in vhost_net_start() argument
376 peer = qemu_get_peer(ncs, i); in vhost_net_start()
378 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_start()
401 peer = qemu_get_peer(ncs, i); in vhost_net_start()
403 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_start()
425 peer = qemu_get_peer(ncs, i < data_queue_pairs ? in vhost_net_start()
438 void vhost_net_stop(VirtIODevice *dev, NetClientState *ncs, in vhost_net_stop() argument
452 peer = qemu_get_peer(ncs, i); in vhost_net_stop()
454 peer = qemu_get_peer(ncs, n->max_queue_pairs); in vhost_net_stop()
H A Dvhost_net-stub.c35 NetClientState *ncs, in vhost_net_start() argument
41 NetClientState *ncs, in vhost_net_stop() argument
H A Dmipsnet.c149 if (mipsnet_can_receive(s->nic->ncs)) { in mipsnet_ioport_read()
188 if (mipsnet_can_receive(s->nic->ncs)) { in mipsnet_ioport_write()
/openbmc/qemu/include/net/
H A Dvhost_net.h24 int vhost_net_start(VirtIODevice *dev, NetClientState *ncs,
26 void vhost_net_stop(VirtIODevice *dev, NetClientState *ncs,
H A Dnet.h28 NetClientState *ncs[MAX_QUEUE_NUM]; member
127 NetClientState *ncs; member
149 int qemu_find_net_clients_except(const char *id, NetClientState **ncs,
/openbmc/u-boot/board/engicam/common/
H A Dspl.c238 .ncs = 1,
270 .ncs = 1,
287 .ncs = 1,
335 .ncs = 1,
/openbmc/u-boot/board/liebherr/mccmon6/
H A Dspl.c179 .ncs = 1,
220 .ncs = 1,
237 .ncs = 1,
/openbmc/u-boot/board/wandboard/
H A Dspl.c228 .ncs = 1,
271 .ncs = 1,
290 .ncs = 1,
/openbmc/u-boot/board/gateworks/gw_ventana/
H A Dgw_ventana_spl.c494 .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 Dqdev-properties-system.c392 char *p = g_strdup(peers_ptr->ncs[0] ? peers_ptr->ncs[0]->name : ""); in get_netdev()
403 NetClientState **ncs = peers_ptr->ncs; in set_netdev() local
436 if (!check_prop_still_unset(obj, name, ncs[i], str, false, errp)) { in set_netdev()
446 ncs[i] = peers[i]; in set_netdev()
447 ncs[i]->queue_index = i; in set_netdev()
/openbmc/u-boot/board/bachmann/ot1200/
H A Dot1200_spl.c75 .ncs = 1,
/openbmc/u-boot/board/ccv/xpress/
H A Dspl.c51 .ncs = 1,
/openbmc/u-boot/board/barco/platinum/
H A Dspl_picon.c123 .ncs = 1, in spl_dram_init()
H A Dspl_titanium.c126 .ncs = 1, in spl_dram_init()

123