Home
last modified time | relevance | path

Searched refs:ncm (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/usb/gadget/function/
Df_ncm.c524 static inline void ncm_reset_values(struct f_ncm *ncm) in ncm_reset_values() argument
526 ncm->parser_opts = &ndp16_opts; in ncm_reset_values()
527 ncm->is_crc = false; in ncm_reset_values()
528 ncm->ndp_sign = ncm->parser_opts->ndp_sign; in ncm_reset_values()
529 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
532 ncm->port.header_len = 0; in ncm_reset_values()
534 ncm->port.fixed_out_len = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize); in ncm_reset_values()
535 ncm->port.fixed_in_len = NTB_DEFAULT_IN_SIZE; in ncm_reset_values()
541 static void ncm_do_notify(struct f_ncm *ncm) in ncm_do_notify() argument
543 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
[all …]
/Linux-v5.4/net/ncsi/
Dncsi-rsp.c153 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ec() local
162 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_ec()
163 if (ncm->enable) in ncsi_rsp_handler_ec()
166 ncm->enable = 1; in ncsi_rsp_handler_ec()
175 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dc() local
189 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_dc()
190 if (!ncm->enable) in ncsi_rsp_handler_dc()
193 ncm->enable = 0; in ncsi_rsp_handler_dc()
224 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ecnt() local
233 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_rsp_handler_ecnt()
[all …]
Dncsi-aen.c50 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_lsc() local
68 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_aen_handler_lsc()
69 old_data = ncm->data[2]; in ncsi_aen_handler_lsc()
71 ncm->data[2] = data; in ncsi_aen_handler_lsc()
72 ncm->data[4] = ntohl(lsc->oem_status); in ncsi_aen_handler_lsc()
106 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_aen_handler_lsc()
110 } else if (ncm->enable) { in ncsi_aen_handler_lsc()
123 ncm = &tmp->modes[NCSI_MODE_TX_ENABLE]; in ncsi_aen_handler_lsc()
124 if (ncm->enable && in ncsi_aen_handler_lsc()
176 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_hncdsc() local
[all …]
Dncsi-manage.c92 struct ncsi_channel_mode *ncm; in ncsi_channel_monitor() local
139 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_channel_monitor()
142 ncm->data[2] &= ~0x1; in ncsi_channel_monitor()
780 struct ncsi_channel_mode *ncm; in ncsi_channel_is_tx() local
791 ncm = &channel->modes[NCSI_MODE_TX_ENABLE]; in ncsi_channel_is_tx()
792 if (ncm->enable) in ncsi_channel_is_tx()
1146 struct ncsi_channel_mode *ncm; in ncsi_choose_active_channel() local
1183 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
1184 if (ncm->data[2] & 0x1) { in ncsi_choose_active_channel()
1202 ncm->data[2] & 0x1 ? "up" : "down"); in ncsi_choose_active_channel()
/Linux-v5.4/Documentation/usb/
Dgadget_configfs.rst134 $ mkdir functions/ncm.usb0 # usb_f_ncm.ko gets loaded with request_module()
158 $ ln -s functions/ncm.usb0 configs/c.1
180 ./configs/c.1/ncm.usb0 -> ../../../../usb_gadget/g1/functions/ncm.usb0
187 ./functions/ncm.usb0
188 ./functions/ncm.usb0/ifname
189 ./functions/ncm.usb0/qmult
190 ./functions/ncm.usb0/host_addr
191 ./functions/ncm.usb0/dev_addr
233 $ rm configs/c.1/ncm.usb0
269 $ rmdir functions/ncm.usb0
DCREDITS167 - Nathan Myers <ncm@cantrip.org>, for his advice! (hope you
Dgadget-testing.rst441 The function name to use when creating the function directory is "ncm".
454 and after creating the functions/ncm.<instance name> they contain default
/Linux-v5.4/Documentation/networking/
Deql.txt2 Simon "Guru Aleph-Null" Janes, simon@ncm.com
54 ftp://slaughter.ncm.com/pub/Linux/LOAD_BALANCING/eql-1.1.tar.gz.
61 -rw-r--r-- guru/ncm 198 Jan 19 18:53 1995 eql-1.1/NO-WARRANTY
62 -rw-r--r-- guru/ncm 30620 Feb 27 21:40 1995 eql-1.1/eql-1.1.patch
63 -rwxr-xr-x guru/ncm 16111 Jan 12 22:29 1995 eql-1.1/eql_enslave
64 -rw-r--r-- guru/ncm 2195 Jan 10 21:48 1995 eql-1.1/eql_enslave.c
334 To: guru@ncm.com
465 To: Simon Janes <guru@ncm.com>
/Linux-v5.4/Documentation/ABI/testing/
Dconfigfs-usb-gadget-ncm1 What: /config/usb-gadget/gadget/functions/ncm.name
/Linux-v5.4/drivers/usb/gadget/legacy/
DMakefile24 g_ncm-y := ncm.o
/Linux-v5.4/net/ipv4/
Ddevinet.c2032 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local
2043 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()
2044 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf()
2231 struct netconfmsg *ncm; in inet_netconf_dump_devconf() local
2233 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
2238 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet_netconf_dump_devconf()
/Linux-v5.4/net/mpls/
Daf_mpls.c1137 struct netconfmsg *ncm; in mpls_netconf_fill_devconf() local
1148 ncm = nlmsg_data(nlh); in mpls_netconf_fill_devconf()
1149 ncm->ncm_family = AF_MPLS; in mpls_netconf_fill_devconf()
1313 struct netconfmsg *ncm; in mpls_netconf_dump_devconf() local
1315 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf()
1320 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in mpls_netconf_dump_devconf()
/Linux-v5.4/net/ipv6/
Daddrconf.c519 struct netconfmsg *ncm; in inet6_netconf_fill_devconf() local
530 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf()
531 ncm->ncm_family = AF_INET6; in inet6_netconf_fill_devconf()
713 struct netconfmsg *ncm; in inet6_netconf_dump_devconf() local
715 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()
720 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet6_netconf_dump_devconf()