Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Df_ncm.c520 static inline void ncm_reset_values(struct f_ncm *ncm) in ncm_reset_values() argument
522 ncm->parser_opts = &ndp16_opts; in ncm_reset_values()
523 ncm->is_crc = false; in ncm_reset_values()
524 ncm->ndp_sign = ncm->parser_opts->ndp_sign; in ncm_reset_values()
525 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
528 ncm->port.header_len = 0; in ncm_reset_values()
530 ncm->port.fixed_out_len = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize); in ncm_reset_values()
531 ncm->port.fixed_in_len = NTB_DEFAULT_IN_SIZE; in ncm_reset_values()
537 static void ncm_do_notify(struct f_ncm *ncm) in ncm_do_notify() argument
539 struct usb_request *req = ncm->notify_req; in ncm_do_notify()
[all …]
/linux/net/ncsi/
H A Dncsi-rsp.c166 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ec() local
175 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_ec()
176 if (ncm->enable) in ncsi_rsp_handler_ec()
179 ncm->enable = 1; in ncsi_rsp_handler_ec()
188 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dc() local
202 ncm = &nc->modes[NCSI_MODE_ENABLE]; in ncsi_rsp_handler_dc()
203 if (!ncm->enable) in ncsi_rsp_handler_dc()
206 ncm->enable = 0; in ncsi_rsp_handler_dc()
237 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ecnt() local
246 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_rsp_handler_ecnt()
[all …]
H A 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()
177 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_hncdsc() local
[all …]
H A 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()
859 struct ncsi_channel_mode *ncm; in ncsi_channel_is_tx() local
870 ncm = &channel->modes[NCSI_MODE_TX_ENABLE]; in ncsi_channel_is_tx()
871 if (ncm->enable) in ncsi_channel_is_tx()
1240 struct ncsi_channel_mode *ncm; in ncsi_choose_active_channel() local
1277 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()
1278 if (ncm->data[2] & 0x1) { in ncsi_choose_active_channel()
1296 ncm->data[2] & 0x1 ? "up" : "down"); in ncsi_choose_active_channel()
/linux/Documentation/usb/
H A Dgadget_configfs.rst144 $ mkdir functions/ncm.usb0 # usb_f_ncm.ko gets loaded with request_module()
168 $ ln -s functions/ncm.usb0 configs/c.1
190 ./configs/c.1/ncm.usb0 -> ../../../../usb_gadget/g1/functions/ncm.usb0
197 ./functions/ncm.usb0
198 ./functions/ncm.usb0/ifname
199 ./functions/ncm.usb0/qmult
200 ./functions/ncm.usb0/host_addr
201 ./functions/ncm.usb0/dev_addr
243 $ rm configs/c.1/ncm.usb0
279 $ rmdir functions/ncm.usb0
/linux/Documentation/networking/
H A 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/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-ncm1 What: /config/usb-gadget/gadget/functions/ncm.name
/linux/drivers/usb/gadget/legacy/
H A DMakefile24 g_ncm-y := ncm.o
/linux/net/mpls/
H A Daf_mpls.c1154 struct netconfmsg *ncm; in mpls_netconf_fill_devconf() local
1165 ncm = nlmsg_data(nlh); in mpls_netconf_fill_devconf()
1166 ncm->ncm_family = AF_MPLS; in mpls_netconf_fill_devconf()
1346 struct netconfmsg *ncm; in mpls_netconf_dump_devconf() local
1348 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf()
1353 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in mpls_netconf_dump_devconf()
/linux/net/ipv4/
H A Ddevinet.c2148 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local
2159 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()
2160 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf()
2351 struct netconfmsg *ncm; in inet_netconf_dump_devconf() local
2353 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()
2358 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet_netconf_dump_devconf()
/linux/net/ipv6/
H A Daddrconf.c537 struct netconfmsg *ncm; in inet6_netconf_fill_devconf() local
548 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf()
549 ncm->ncm_family = AF_INET6; in inet6_netconf_fill_devconf()
749 struct netconfmsg *ncm; in inet6_netconf_dump_devconf() local
751 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()
756 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet6_netconf_dump_devconf()