Lines Matching refs:cmd
35 static int ncsi_send_command(unsigned int np, unsigned int nc, unsigned int cmd,
107 static unsigned int cmd_payload(int cmd) in cmd_payload() argument
109 switch (cmd) { in cmd_payload()
165 printf("NCSI: Unknown command 0x%02x\n", cmd); in cmd_payload()
517 static int ncsi_send_command(unsigned int np, unsigned int nc, unsigned int cmd, in ncsi_send_command() argument
541 hdr->type = cmd; in ncsi_send_command()
740 struct ncsi_cmd_ae_pkt cmd; in ncsi_send_ae() local
742 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_ae()
743 cmd.mode = htonl(ncsi_priv->packages[np].channels[nc].cap_aen); in ncsi_send_ae()
746 ((unsigned char *)&cmd) in ncsi_send_ae()
753 struct ncsi_cmd_ebf_pkt cmd; in ncsi_send_ebf() local
755 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_ebf()
756 cmd.mode = htonl(ncsi_priv->packages[np].channels[nc].cap_bc); in ncsi_send_ebf()
759 ((unsigned char *)&cmd) in ncsi_send_ebf()
766 struct ncsi_cmd_sma_pkt cmd; in ncsi_send_sma() local
775 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_sma()
777 cmd.mac[i] = addr[i]; in ncsi_send_sma()
778 cmd.index = 1; in ncsi_send_sma()
779 cmd.at_e = 1; in ncsi_send_sma()
782 ((unsigned char *)&cmd) in ncsi_send_sma()