Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/gadget/function/
Df_ncm.c525 static inline void ncm_reset_values(struct f_ncm *ncm) in ncm_reset_values() argument
527 ncm->parser_opts = &ndp16_opts; in ncm_reset_values()
528 ncm->is_crc = false; in ncm_reset_values()
529 ncm->ndp_sign = ncm->parser_opts->ndp_sign; in ncm_reset_values()
530 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
533 ncm->port.header_len = 0; in ncm_reset_values()
535 ncm->port.fixed_out_len = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize); in ncm_reset_values()
536 ncm->port.fixed_in_len = NTB_DEFAULT_IN_SIZE; in ncm_reset_values()
542 static void ncm_do_notify(struct f_ncm *ncm) in ncm_do_notify() argument
544 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
[all …]
/Linux-v5.15/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.c94 struct ncsi_channel_mode *ncm; in ncsi_channel_monitor() local
146 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_channel_monitor()
150 ncm->data[2] &= ~0x1; in ncsi_channel_monitor()
865 struct ncsi_channel_mode *ncm; in ncsi_channel_is_tx() local
876 ncm = &channel->modes[NCSI_MODE_TX_ENABLE]; in ncsi_channel_is_tx()
877 if (ncm->enable) in ncsi_channel_is_tx()
1231 struct ncsi_channel_mode *ncm; in ncsi_choose_active_channel() local
1268 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
1269 if (ncm->data[2] & 0x1) { in ncsi_choose_active_channel()
1287 ncm->data[2] & 0x1 ? "up" : "down"); in ncsi_choose_active_channel()
/Linux-v5.15/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.15/Documentation/networking/
Deql.rst7 Simon "Guru Aleph-Null" Janes, simon@ncm.com
63 ftp://slaughter.ncm.com/pub/Linux/LOAD_BALANCING/eql-1.1.tar.gz.
67 -rw-r--r-- guru/ncm 198 Jan 19 18:53 1995 eql-1.1/NO-WARRANTY
68 -rw-r--r-- guru/ncm 30620 Feb 27 21:40 1995 eql-1.1/eql-1.1.patch
69 -rwxr-xr-x guru/ncm 16111 Jan 12 22:29 1995 eql-1.1/eql_enslave
70 -rw-r--r-- guru/ncm 2195 Jan 10 21:48 1995 eql-1.1/eql_enslave.c
238 To: guru@ncm.com
365 To: Simon Janes <guru@ncm.com>
/Linux-v5.15/Documentation/ABI/testing/
Dconfigfs-usb-gadget-ncm1 What: /config/usb-gadget/gadget/functions/ncm.name
/Linux-v5.15/drivers/usb/gadget/legacy/
DMakefile24 g_ncm-y := ncm.o
/Linux-v5.15/net/ipv4/
Ddevinet.c2034 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local
2045 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()
2046 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf()
2233 struct netconfmsg *ncm; in inet_netconf_dump_devconf() local
2235 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
2240 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet_netconf_dump_devconf()
/Linux-v5.15/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.15/net/ipv6/
Daddrconf.c529 struct netconfmsg *ncm; in inet6_netconf_fill_devconf() local
540 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf()
541 ncm->ncm_family = AF_INET6; in inet6_netconf_fill_devconf()
722 struct netconfmsg *ncm; in inet6_netconf_dump_devconf() local
724 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()
729 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet6_netconf_dump_devconf()