• Home
  • Raw
  • Download

Lines Matching refs:ncm

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()
247 if (ncm->enable) in ncsi_rsp_handler_ecnt()
250 ncm->enable = 1; in ncsi_rsp_handler_ecnt()
259 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dcnt() local
268 ncm = &nc->modes[NCSI_MODE_TX_ENABLE]; in ncsi_rsp_handler_dcnt()
269 if (!ncm->enable) in ncsi_rsp_handler_dcnt()
272 ncm->enable = 0; in ncsi_rsp_handler_dcnt()
282 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ae() local
292 ncm = &nc->modes[NCSI_MODE_AEN]; in ncsi_rsp_handler_ae()
293 if (ncm->enable) in ncsi_rsp_handler_ae()
298 ncm->enable = 1; in ncsi_rsp_handler_ae()
299 ncm->data[0] = cmd->mc_id; in ncsi_rsp_handler_ae()
300 ncm->data[1] = ntohl(cmd->mode); in ncsi_rsp_handler_ae()
311 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_sl() local
321 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_rsp_handler_sl()
322 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_sl()
323 ncm->data[1] = ntohl(cmd->oem_mode); in ncsi_rsp_handler_sl()
333 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_gls() local
343 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_rsp_handler_gls()
344 ncm->data[2] = ntohl(rsp->status); in ncsi_rsp_handler_gls()
345 ncm->data[3] = ntohl(rsp->other); in ncsi_rsp_handler_gls()
346 ncm->data[4] = ntohl(rsp->oem_status); in ncsi_rsp_handler_gls()
402 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ev() local
412 ncm = &nc->modes[NCSI_MODE_VLAN]; in ncsi_rsp_handler_ev()
413 if (ncm->enable) in ncsi_rsp_handler_ev()
418 ncm->enable = 1; in ncsi_rsp_handler_ev()
419 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ev()
429 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dv() local
439 ncm = &nc->modes[NCSI_MODE_VLAN]; in ncsi_rsp_handler_dv()
440 if (!ncm->enable) in ncsi_rsp_handler_dv()
444 ncm->enable = 0; in ncsi_rsp_handler_dv()
500 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_ebf() local
509 ncm = &nc->modes[NCSI_MODE_BC]; in ncsi_rsp_handler_ebf()
510 if (ncm->enable) in ncsi_rsp_handler_ebf()
515 ncm->enable = 1; in ncsi_rsp_handler_ebf()
516 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_ebf()
526 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dbf() local
535 ncm = &nc->modes[NCSI_MODE_BC]; in ncsi_rsp_handler_dbf()
536 if (!ncm->enable) in ncsi_rsp_handler_dbf()
540 ncm->enable = 0; in ncsi_rsp_handler_dbf()
541 ncm->data[0] = 0; in ncsi_rsp_handler_dbf()
552 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_egmf() local
562 ncm = &nc->modes[NCSI_MODE_MC]; in ncsi_rsp_handler_egmf()
563 if (ncm->enable) in ncsi_rsp_handler_egmf()
568 ncm->enable = 1; in ncsi_rsp_handler_egmf()
569 ncm->data[0] = ntohl(cmd->mode); in ncsi_rsp_handler_egmf()
579 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_dgmf() local
588 ncm = &nc->modes[NCSI_MODE_MC]; in ncsi_rsp_handler_dgmf()
589 if (!ncm->enable) in ncsi_rsp_handler_dgmf()
593 ncm->enable = 0; in ncsi_rsp_handler_dgmf()
594 ncm->data[0] = 0; in ncsi_rsp_handler_dgmf()
605 struct ncsi_channel_mode *ncm; in ncsi_rsp_handler_snfc() local
615 ncm = &nc->modes[NCSI_MODE_FC]; in ncsi_rsp_handler_snfc()
616 if (ncm->enable) in ncsi_rsp_handler_snfc()
621 ncm->enable = 1; in ncsi_rsp_handler_snfc()
622 ncm->data[0] = cmd->mode; in ncsi_rsp_handler_snfc()