Searched refs:ncm (Results 1 – 6 of 6) sorted by relevance
166 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ec() local175 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() local202 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() local246 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_rsp_handler_ecnt()[all …]
50 struct ncsi_channel_mode *ncm; in ncsi_aen_handler_lsc() local68 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 …]
94 struct ncsi_channel_mode *ncm; in ncsi_channel_monitor() local146 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_channel_monitor()150 ncm->data[2] &= ~0x1; in ncsi_channel_monitor()813 struct ncsi_channel_mode *ncm; in ncsi_channel_is_tx() local824 ncm = &channel->modes[NCSI_MODE_TX_ENABLE]; in ncsi_channel_is_tx()825 if (ncm->enable) in ncsi_channel_is_tx()1179 struct ncsi_channel_mode *ncm; in ncsi_choose_active_channel() local1216 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_choose_active_channel()1217 if (ncm->data[2] & 0x1) { in ncsi_choose_active_channel()1235 ncm->data[2] & 0x1 ? "up" : "down"); in ncsi_choose_active_channel()
1136 struct netconfmsg *ncm; in mpls_netconf_fill_devconf() local1147 ncm = nlmsg_data(nlh); in mpls_netconf_fill_devconf()1148 ncm->ncm_family = AF_MPLS; in mpls_netconf_fill_devconf()1312 struct netconfmsg *ncm; in mpls_netconf_dump_devconf() local1314 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in mpls_netconf_dump_devconf()1319 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in mpls_netconf_dump_devconf()
2047 struct netconfmsg *ncm; in inet_netconf_fill_devconf() local2058 ncm = nlmsg_data(nlh); in inet_netconf_fill_devconf()2059 ncm->ncm_family = AF_INET; in inet_netconf_fill_devconf()2246 struct netconfmsg *ncm; in inet_netconf_dump_devconf() local2248 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet_netconf_dump_devconf()2253 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet_netconf_dump_devconf()
524 struct netconfmsg *ncm; in inet6_netconf_fill_devconf() local535 ncm = nlmsg_data(nlh); in inet6_netconf_fill_devconf()536 ncm->ncm_family = AF_INET6; in inet6_netconf_fill_devconf()734 struct netconfmsg *ncm; in inet6_netconf_dump_devconf() local736 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ncm))) { in inet6_netconf_dump_devconf()741 if (nlmsg_attrlen(nlh, sizeof(*ncm))) { in inet6_netconf_dump_devconf()