Searched refs:nca (Results 1 – 4 of 4) sorted by relevance
39 struct ncsi_cmd_arg *nca) in ncsi_cmd_build_header() argument47 h->id = nca->id; in ncsi_cmd_build_header()48 h->type = nca->type; in ncsi_cmd_build_header()49 h->channel = NCSI_TO_CHANNEL(nca->package, in ncsi_cmd_build_header()50 nca->channel); in ncsi_cmd_build_header()51 h->length = htons(nca->payload); in ncsi_cmd_build_header()57 sizeof(*h) + nca->payload); in ncsi_cmd_build_header()59 ALIGN(nca->payload, 4)); in ncsi_cmd_build_header()64 struct ncsi_cmd_arg *nca) in ncsi_cmd_handler_default() argument69 ncsi_cmd_build_header(&cmd->cmd.common, nca); in ncsi_cmd_handler_default()[all …]
95 struct ncsi_cmd_arg nca; in ncsi_channel_monitor() local128 nca.ndp = ndp; in ncsi_channel_monitor()129 nca.package = np->id; in ncsi_channel_monitor()130 nca.channel = nc->id; in ncsi_channel_monitor()131 nca.type = NCSI_PKT_CMD_GLS; in ncsi_channel_monitor()132 nca.req_flags = 0; in ncsi_channel_monitor()133 ret = ncsi_xmit_cmd(&nca); in ncsi_channel_monitor()472 struct ncsi_cmd_arg nca; in ncsi_suspend_channel() local478 nca.ndp = ndp; in ncsi_suspend_channel()479 nca.req_flags = NCSI_REQ_FLAG_EVENT_DRIVEN; in ncsi_suspend_channel()[all …]
399 struct ncsi_cmd_arg nca; in ncsi_send_cmd_nl() local457 nca.ndp = ndp; in ncsi_send_cmd_nl()458 nca.package = (unsigned char)package_id; in ncsi_send_cmd_nl()459 nca.channel = (unsigned char)channel_id; in ncsi_send_cmd_nl()460 nca.type = hdr->type; in ncsi_send_cmd_nl()461 nca.req_flags = NCSI_REQ_FLAG_NETLINK_DRIVEN; in ncsi_send_cmd_nl()462 nca.info = info; in ncsi_send_cmd_nl()463 nca.payload = ntohs(hdr->length); in ncsi_send_cmd_nl()464 nca.data = data + sizeof(*hdr); in ncsi_send_cmd_nl()466 ret = ncsi_xmit_cmd(&nca); in ncsi_send_cmd_nl()
406 int ncsi_xmit_cmd(struct ncsi_cmd_arg *nca);