/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_ncm.c | 508 static inline void ncm_reset_values(struct f_ncm *ncm) in ncm_reset_values() argument 510 ncm->parser_opts = &ndp16_opts; in ncm_reset_values() 511 ncm->is_crc = false; in ncm_reset_values() 512 ncm->ndp_sign = ncm->parser_opts->ndp_sign; in ncm_reset_values() 513 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values() 516 ncm->port.header_len = 0; in ncm_reset_values() 518 ncm->port.fixed_out_len = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize); in ncm_reset_values() 519 ncm->port.fixed_in_len = NTB_DEFAULT_IN_SIZE; in ncm_reset_values() 525 static void ncm_do_notify(struct f_ncm *ncm) in ncm_do_notify() argument 527 struct usb_request *req = ncm->notify_req; in ncm_do_notify() [all …]
|
/openbmc/linux/net/ncsi/ |
H A D | ncsi-rsp.c | 166 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 D | ncsi-aen.c | 50 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 D | ncsi-manage.c | 94 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()
|
/openbmc/linux/Documentation/usb/ |
H A D | gadget_configfs.rst | 144 $ 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
|
H A D | CREDITS | 167 - Nathan Myers <ncm@cantrip.org>, for his advice! (hope you
|
H A D | gadget-testing.rst | 448 The function name to use when creating the function directory is "ncm". 461 and after creating the functions/ncm.<instance name> they contain default
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/ |
H A D | 0001-libusbgx-Add-interface-name-for-NCM-Feature-Descript.patch | 40 + "ncm", 45 .name = "ncm",
|
/openbmc/linux/Documentation/networking/ |
H A D | eql.rst | 7 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>
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget-ncm | 1 What: /config/usb-gadget/gadget/functions/ncm.name
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | Makefile | 24 g_ncm-y := ncm.o
|
/openbmc/linux/net/mpls/ |
H A D | af_mpls.c | 1138 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() 1315 struct netconfmsg *ncm; in mpls_netconf_dump_devconf() local 1317 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf() 1322 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in mpls_netconf_dump_devconf()
|
/openbmc/linux/net/ipv4/ |
H A D | devinet.c | 2090 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local 2101 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf() 2102 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf() 2289 struct netconfmsg *ncm; in inet_netconf_dump_devconf() local 2291 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf() 2296 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet_netconf_dump_devconf()
|
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | 529 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() 738 struct netconfmsg *ncm; in inet6_netconf_dump_devconf() local 740 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf() 745 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet6_netconf_dump_devconf()
|