Home
last modified time | relevance | path

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

/Linux-v4.19/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->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()
545 struct usb_composite_dev *cdev = ncm->port.func.config->cdev; in ncm_do_notify()
[all …]
/Linux-v4.19/net/ncsi/
Dncsi-rsp.c138 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ec() local
147 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_ec()
148 if (ncm->enable) in ncsi_rsp_handler_ec()
151 ncm->enable = 1; in ncsi_rsp_handler_ec()
160 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dc() local
174 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_dc()
175 if (!ncm->enable) in ncsi_rsp_handler_dc()
178 ncm->enable = 0; in ncsi_rsp_handler_dc()
209 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ecnt() local
218 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_rsp_handler_ecnt()
[all …]
Dncsi-aen.c55 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_lsc() local
70 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_aen_handler_lsc()
71 old_data = ncm->data[2]; in ncsi_aen_handler_lsc()
73 ncm->data[2] = data; in ncsi_aen_handler_lsc()
74 ncm->data[4] = ntohl(lsc->oem_status); in ncsi_aen_handler_lsc()
137 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_hncdsc() local
147 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_aen_handler_hncdsc()
149 ncm->data[3] = ntohl(hncdsc->status); in ncsi_aen_handler_hncdsc()
153 ncm->data[3] & 0x1 ? "" : "not ", nc->id); in ncsi_aen_handler_hncdsc()
Dncsi-manage.c73 struct ncsi_channel_mode *ncm; in ncsi_channel_monitor() local
122 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_channel_monitor()
125 ncm->data[2] &= ~0x1; in ncsi_channel_monitor()
847 struct ncsi_channel_mode *ncm; in ncsi_choose_active_channel() local
861 ncm = &found->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
862 if (!(ncm->data[2] & 0x1)) in ncsi_choose_active_channel()
891 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
892 if (ncm->data[2] & 0x1) { in ncsi_choose_active_channel()
909 ncm = &found->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
912 found->id, ncm->data[2] & 0x1 ? "up" : "down"); in ncsi_choose_active_channel()
/Linux-v4.19/Documentation/usb/
Dgadget_configfs.txt134 $ 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
229 $ rm configs/c.1/ncm.usb0
265 $ rmdir functions/ncm.usb0
DCREDITS167 - Nathan Myers <ncm@cantrip.org>, for his advice! (hope you
Dgadget-testing.txt387 The function name to use when creating the function directory is "ncm".
398 and after creating the functions/ncm.<instance name> they contain default
/Linux-v4.19/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-v4.19/Documentation/ABI/testing/
Dconfigfs-usb-gadget-ncm1 What: /config/usb-gadget/gadget/functions/ncm.name
/Linux-v4.19/drivers/usb/gadget/legacy/
DMakefile24 g_ncm-y := ncm.o
/Linux-v4.19/net/ipv4/
Ddevinet.c1846 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local
1857 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()
1858 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf()
1939 struct netconfmsg *ncm; in inet_netconf_get_devconf() local
1947 err = nlmsg_parse(nlh, sizeof(*ncm), tb, NETCONFA_MAX, in inet_netconf_get_devconf()
/Linux-v4.19/net/mpls/
Daf_mpls.c1138 struct netconfmsg *ncm; in mpls_netconf_fill_devconf() local
1149 ncm = nlmsg_data(nlh); in mpls_netconf_fill_devconf()
1150 ncm->ncm_family = AF_MPLS; in mpls_netconf_fill_devconf()
1218 struct netconfmsg *ncm; in mpls_netconf_get_devconf() local
1225 err = nlmsg_parse(nlh, sizeof(*ncm), tb, NETCONFA_MAX, in mpls_netconf_get_devconf()
/Linux-v4.19/net/ipv6/
Daddrconf.c522 struct netconfmsg *ncm; in inet6_netconf_fill_devconf() local
533 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf()
534 ncm->ncm_family = AF_INET6; in inet6_netconf_fill_devconf()
608 struct netconfmsg *ncm; in inet6_netconf_get_devconf() local
614 err = nlmsg_parse(nlh, sizeof(*ncm), tb, NETCONFA_MAX, in inet6_netconf_get_devconf()