Searched refs:cmdcode (Results 1 - 16 of 16) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl8712_cmd.c134 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_macreg_hdl()
148 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_macreg_hdl()
164 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_bbreg_hdl()
177 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_bbreg_hdl()
193 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_rfreg_hdl()
206 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_rfreg_hdl()
231 switch (pcmd->cmdcode) { cmd_hdl_filter()
370 (pcmd->cmdcode << 16) | r8712_cmd_thread()
386 if (pcmd->cmdcode == GEN_CMD_CODE(_CreateBss)) { r8712_cmd_thread()
389 cmdcode].callback; r8712_cmd_thread()
394 if (pcmd->cmdcode == GEN_CMD_CODE(_SetPwrMode)) { r8712_cmd_thread()
H A Drtl871x_cmd.c206 if ((pcmd->cmdcode != _JoinBss_CMD_) && r8712_free_cmd_obj()
207 (pcmd->cmdcode != _CreateBss_CMD_)) r8712_free_cmd_obj()
418 ph2c->cmdcode = GEN_CMD_CODE(_GetRFReg); r8712_getrfreg_cmd()
457 pcmd->cmdcode = _CreateBss_CMD_; r8712_createbss_cmd()
609 pcmd->cmdcode = _JoinBss_CMD_; r8712_joinbss_cmd()
761 ph2c->cmdcode = GEN_CMD_CODE(_ReadTSSI); r8712_gettssi_cmd()
H A Drtl871x_cmd.h43 u16 cmdcode; member in struct:cmd_obj
87 pcmd->cmdcode = code;\
H A Drtl871x_mlme.c1225 pcmd->cmdcode = _SetAuth_CMD_; r8712_set_auth()
1297 pcmd->cmdcode = _SetKey_CMD_; r8712_set_key()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_ct.c203 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, lpfc_alloc_ct_rsp() argument
224 if (cmdcode == be16_to_cpu(SLI_CTNS_GID_FT) || lpfc_alloc_ct_rsp()
225 cmdcode == be16_to_cpu(SLI_CTNS_GFF_ID)) lpfc_alloc_ct_rsp()
383 int cmdcode = ((struct lpfc_sli_ct_request *) inmp->virt)-> lpfc_ct_cmd() local
389 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); lpfc_ct_cmd()
864 int cmdcode, rc; lpfc_cmpl_ct() local
878 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> lpfc_cmpl_ct()
894 irsp->ulpStatus, irsp->un.ulpWord[4], cmdcode); lpfc_cmpl_ct()
899 cmdcode, irsp->ulpStatus, irsp->un.ulpWord[4]); lpfc_cmpl_ct()
914 "0250 Retrying NS cmd %x\n", cmdcode); lpfc_cmpl_ct()
915 rc = lpfc_ns_cmd(vport, cmdcode, retry, 0); lpfc_cmpl_ct()
1127 lpfc_ns_cmd(struct lpfc_vport *vport, int cmdcode, lpfc_ns_cmd() argument
1180 cmdcode, vport->fc_flag, vport->fc_rscn_id_cnt); lpfc_ns_cmd()
1187 if (cmdcode == SLI_CTNS_GID_FT) lpfc_ns_cmd()
1189 else if (cmdcode == SLI_CTNS_GFF_ID) lpfc_ns_cmd()
1191 else if (cmdcode == SLI_CTNS_RFT_ID) lpfc_ns_cmd()
1193 else if (cmdcode == SLI_CTNS_RNN_ID) lpfc_ns_cmd()
1195 else if (cmdcode == SLI_CTNS_RSPN_ID) lpfc_ns_cmd()
1197 else if (cmdcode == SLI_CTNS_RSNN_NN) lpfc_ns_cmd()
1199 else if (cmdcode == SLI_CTNS_DA_ID) lpfc_ns_cmd()
1201 else if (cmdcode == SLI_CTNS_RFF_ID) lpfc_ns_cmd()
1214 switch (cmdcode) { lpfc_ns_cmd()
1299 cmdcode, ndlp->nlp_DID, 0); lpfc_ns_cmd()
1319 cmdcode, rc, vport->fc_flag, vport->fc_rscn_id_cnt); lpfc_ns_cmd()
1404 lpfc_fdmi_cmd(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int cmdcode) lpfc_fdmi_cmd() argument
1455 vport->fc_flag, vport->port_state, cmdcode); lpfc_fdmi_cmd()
1466 CtReq->CommandResponse.bits.CmdRsp = cpu_to_be16(cmdcode); lpfc_fdmi_cmd()
1471 switch (cmdcode) { lpfc_fdmi_cmd()
1484 if (cmdcode == SLI_MGMT_RHBA) { lpfc_fdmi_cmd()
1742 if (cmdcode == SLI_MGMT_RPRT) { lpfc_fdmi_cmd()
2069 "0298 FDMI cmdcode x%x not supported\n", lpfc_fdmi_cmd()
2070 cmdcode); lpfc_fdmi_cmd()
2106 cmdcode); lpfc_fdmi_cmd()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_cmd.c99 if (cmd_obj->cmdcode == GEN_CMD_CODE(_Set_Drv_Extra)) { rtw_cmd_filter()
107 if (cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan)) rtw_cmd_filter()
147 if ((pcmd->cmdcode != _JoinBss_CMD_) && (pcmd->cmdcode != _CreateBss_CMD_)) { rtw_free_cmd_obj()
207 if (pcmd->cmdcode < ARRAY_SIZE(wlancmds)) { rtw_cmd_thread()
208 cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns; rtw_cmd_thread()
223 if (pcmd->cmdcode < ARRAY_SIZE(rtw_cmd_callback)) { rtw_cmd_thread()
224 pcmd_callback = rtw_cmd_callback[pcmd->cmdcode].callback; rtw_cmd_thread()
226 RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("mlme_cmd_hdl(): pcmd_callback = 0x%p, cmdcode = 0x%x\n", pcmd_callback, pcmd->cmdcode)); rtw_cmd_thread()
233 RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("%s: cmdcode = 0x%x callback not defined!\n", __func__, pcmd->cmdcode)); rtw_cmd_thread()
250 /* DBG_88E("%s: leaving... drop cmdcode:%u\n", __func__, pcmd->cmdcode); */ rtw_cmd_thread()
372 pcmd->cmdcode = _CreateBss_CMD_; rtw_createbss_cmd()
513 pcmd->cmdcode = _JoinBss_CMD_;/* GEN_CMD_CODE(_JoinBss) */ rtw_joinbss_cmd()
H A Drtw_mlme_ext.c4259 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_survey_event()
4311 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_surveydone_event()
4357 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_join_res()
4410 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_del_sta_event()
4465 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_add_sta_event()
H A Drtw_mlme.c1603 pcmd->cmdcode = _SetAuth_CMD_; rtw_set_auth()
1684 pcmd->cmdcode = _SetKey_CMD_; rtw_set_key()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_cmd.c209 if (cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan)) rtw_cmd_filter()
251 if (pcmd->cmdcode != _JoinBss_CMD_ && rtw_free_cmd_obj23a()
252 pcmd->cmdcode != _CreateBss_CMD_) { rtw_free_cmd_obj23a()
285 if (pcmd->cmdcode < (sizeof(wlancmds)/sizeof(struct cmd_hdl))) { rtw_cmd_work()
286 cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns; rtw_cmd_work()
297 if (pcmd->cmdcode < (sizeof(rtw_cmd_callback) / rtw_cmd_work()
299 pcmd_callback = rtw_cmd_callback[pcmd->cmdcode].callback; rtw_cmd_work()
302 "mlme_cmd_hdl(): pcmd_callback = 0x%p, cmdcode = 0x%x\n", rtw_cmd_work()
303 pcmd_callback, pcmd->cmdcode); rtw_cmd_work()
312 "%s: cmdcode = 0x%x callback not defined!\n", rtw_cmd_work()
313 __func__, pcmd->cmdcode); rtw_cmd_work()
428 pcmd->cmdcode = _CreateBss_CMD_; rtw_createbss_cmd23a()
580 pcmd->cmdcode = _JoinBss_CMD_;/* GEN_CMD_CODE(_JoinBss) */ rtw_joinbss_cmd23a()
H A Drtw_mlme_ext.c4746 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_survey_event23a()
4797 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_surveydone_event23a()
4841 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_join_res23a()
4891 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_del_sta_event23a()
4945 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_add_sta_event23a()
H A Drtw_mlme.c1761 pcmd->cmdcode = _SetAuth_CMD_; rtw_set_auth23a()
1862 pcmd->cmdcode = _SetKey_CMD_; rtw_set_key23a()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Drtw_cmd.h37 u16 cmdcode; member in struct:cmd_obj
57 pcmd->cmdcode = code;\
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Drtw_cmd.h36 u16 cmdcode; member in struct:cmd_obj
61 pcmd->cmdcode = code;\
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c3845 static int pvr2_issue_simple_cmd(struct pvr2_hdw *hdw,u32 cmdcode) pvr2_issue_simple_cmd() argument
3851 hdw->cmd_buffer[0] = cmdcode & 0xffu; pvr2_issue_simple_cmd()
3852 args = (cmdcode >> 8) & 0xffu; pvr2_issue_simple_cmd()
3856 hdw->cmd_buffer[1] = (cmdcode >> 16) & 0xffu; pvr2_issue_simple_cmd()
3858 hdw->cmd_buffer[2] = (cmdcode >> 24) & 0xffu; pvr2_issue_simple_cmd()
3865 cmdcode &= 0xffu; pvr2_issue_simple_cmd()
3869 "Sending FX2 command 0x%x",cmdcode); pvr2_issue_simple_cmd()
3872 if (pvr2_fx2cmd_desc[idx].id == cmdcode) { pvr2_issue_simple_cmd()
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
H A Dioctl_cfg80211.c459 pcmd->cmdcode = _SetKey_CMD_; set_group_key()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
H A Dioctl_linux.c2194 pcmd->cmdcode = _SetKey_CMD_; set_group_key()

Completed in 422 milliseconds