/linux-4.4.14/drivers/staging/rtl8712/ |
H A D | rtl8712_cmd.c | 137 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_macreg_hdl() 151 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_macreg_hdl() 167 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_bbreg_hdl() 180 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_bbreg_hdl() 196 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; read_rfreg_hdl() 209 pcmd_callback = cmd_callback[pcmd->cmdcode].callback; write_rfreg_hdl() 234 switch (pcmd->cmdcode) { cmd_hdl_filter() 372 (pcmd->cmdcode << 16) | r8712_cmd_thread() 388 if (pcmd->cmdcode == GEN_CMD_CODE(_CreateBss)) { r8712_cmd_thread() 391 cmdcode].callback; r8712_cmd_thread() 396 if (pcmd->cmdcode == GEN_CMD_CODE(_SetPwrMode)) { r8712_cmd_thread()
|
H A D | rtl871x_cmd.c | 206 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() 599 pcmd->cmdcode = _JoinBss_CMD_; r8712_joinbss_cmd() 751 ph2c->cmdcode = GEN_CMD_CODE(_ReadTSSI); r8712_gettssi_cmd()
|
H A D | rtl871x_cmd.h | 43 u16 cmdcode; member in struct:cmd_obj 87 pcmd->cmdcode = code;\
|
H A D | rtl871x_mlme.c | 1221 pcmd->cmdcode = _SetAuth_CMD_; r8712_set_auth() 1293 pcmd->cmdcode = _SetKey_CMD_; r8712_set_key()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 204 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, lpfc_alloc_ct_rsp() argument 225 if (cmdcode == be16_to_cpu(SLI_CTNS_GID_FT) || lpfc_alloc_ct_rsp() 226 cmdcode == be16_to_cpu(SLI_CTNS_GFF_ID)) lpfc_alloc_ct_rsp() 384 int cmdcode = ((struct lpfc_sli_ct_request *) inmp->virt)-> lpfc_ct_cmd() local 390 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); lpfc_ct_cmd() 863 int cmdcode, rc; lpfc_cmpl_ct() local 877 cmdcode = be16_to_cpu(((struct lpfc_sli_ct_request *) inp->virt)-> lpfc_cmpl_ct() 893 irsp->ulpStatus, irsp->un.ulpWord[4], cmdcode); lpfc_cmpl_ct() 898 cmdcode, irsp->ulpStatus, irsp->un.ulpWord[4]); lpfc_cmpl_ct() 913 "0250 Retrying NS cmd %x\n", cmdcode); lpfc_cmpl_ct() 914 rc = lpfc_ns_cmd(vport, cmdcode, retry, 0); lpfc_cmpl_ct() 1126 lpfc_ns_cmd(struct lpfc_vport *vport, int cmdcode, lpfc_ns_cmd() argument 1179 cmdcode, vport->fc_flag, vport->fc_rscn_id_cnt); lpfc_ns_cmd() 1186 if (cmdcode == SLI_CTNS_GID_FT) lpfc_ns_cmd() 1188 else if (cmdcode == SLI_CTNS_GFF_ID) lpfc_ns_cmd() 1190 else if (cmdcode == SLI_CTNS_RFT_ID) lpfc_ns_cmd() 1192 else if (cmdcode == SLI_CTNS_RNN_ID) lpfc_ns_cmd() 1194 else if (cmdcode == SLI_CTNS_RSPN_ID) lpfc_ns_cmd() 1196 else if (cmdcode == SLI_CTNS_RSNN_NN) lpfc_ns_cmd() 1198 else if (cmdcode == SLI_CTNS_DA_ID) lpfc_ns_cmd() 1200 else if (cmdcode == SLI_CTNS_RFF_ID) lpfc_ns_cmd() 1213 switch (cmdcode) { lpfc_ns_cmd() 1298 cmdcode, ndlp->nlp_DID, 0); lpfc_ns_cmd() 1318 cmdcode, rc, vport->fc_flag, vport->fc_rscn_id_cnt); lpfc_ns_cmd() 1403 lpfc_fdmi_cmd(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, int cmdcode) lpfc_fdmi_cmd() argument 1454 vport->fc_flag, vport->port_state, cmdcode); lpfc_fdmi_cmd() 1465 CtReq->CommandResponse.bits.CmdRsp = cpu_to_be16(cmdcode); lpfc_fdmi_cmd() 1470 switch (cmdcode) { lpfc_fdmi_cmd() 1483 if (cmdcode == SLI_MGMT_RHBA) { lpfc_fdmi_cmd() 1738 if (cmdcode == SLI_MGMT_RPRT) { lpfc_fdmi_cmd() 2070 "0298 FDMI cmdcode x%x not supported\n", lpfc_fdmi_cmd() 2071 cmdcode); lpfc_fdmi_cmd() 2107 cmdcode); lpfc_fdmi_cmd()
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
H A D | rtw_cmd.c | 99 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 D | rtw_mlme_ext.c | 4303 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_survey_event() 4355 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_surveydone_event() 4401 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_join_res() 4454 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_del_sta_event() 4509 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_add_sta_event()
|
H A D | rtw_mlme.c | 1609 pcmd->cmdcode = _SetAuth_CMD_; rtw_set_auth() 1690 pcmd->cmdcode = _SetKey_CMD_; rtw_set_key()
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
H A D | rtw_cmd.c | 209 if (cmd_obj->cmdcode == GEN_CMD_CODE(_SetChannelPlan)) rtw_cmd_filter() 252 if (pcmd->cmdcode != _JoinBss_CMD_ && rtw_free_cmd_obj23a() 253 pcmd->cmdcode != _CreateBss_CMD_) { rtw_free_cmd_obj23a() 286 if (pcmd->cmdcode < (sizeof(wlancmds)/sizeof(struct cmd_hdl))) { rtw_cmd_work() 287 cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns; rtw_cmd_work() 298 if (pcmd->cmdcode < (sizeof(rtw_cmd_callback) / rtw_cmd_work() 300 pcmd_callback = rtw_cmd_callback[pcmd->cmdcode].callback; rtw_cmd_work() 303 "mlme_cmd_hdl(): pcmd_callback = 0x%p, cmdcode = 0x%x\n", rtw_cmd_work() 304 pcmd_callback, pcmd->cmdcode); rtw_cmd_work() 313 "%s: cmdcode = 0x%x callback not defined!\n", rtw_cmd_work() 314 __func__, pcmd->cmdcode); rtw_cmd_work() 429 pcmd->cmdcode = _CreateBss_CMD_; rtw_createbss_cmd23a() 581 pcmd->cmdcode = _JoinBss_CMD_;/* GEN_CMD_CODE(_JoinBss) */ rtw_joinbss_cmd23a()
|
H A D | rtw_mlme_ext.c | 4736 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_survey_event23a() 4787 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_surveydone_event23a() 4831 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_join_res23a() 4881 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_del_sta_event23a() 4935 pcmd_obj->cmdcode = GEN_CMD_CODE(_Set_MLME_EVT); report_add_sta_event23a()
|
H A D | rtw_mlme.c | 1761 pcmd->cmdcode = _SetAuth_CMD_; rtw_set_auth23a() 1862 pcmd->cmdcode = _SetKey_CMD_; rtw_set_key23a()
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
H A D | rtw_cmd.h | 37 u16 cmdcode; member in struct:cmd_obj 57 pcmd->cmdcode = code;\
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
H A D | rtw_cmd.h | 36 u16 cmdcode; member in struct:cmd_obj 61 pcmd->cmdcode = code;\
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-hdw.c | 3854 static int pvr2_issue_simple_cmd(struct pvr2_hdw *hdw,u32 cmdcode) pvr2_issue_simple_cmd() argument 3860 hdw->cmd_buffer[0] = cmdcode & 0xffu; pvr2_issue_simple_cmd() 3861 args = (cmdcode >> 8) & 0xffu; pvr2_issue_simple_cmd() 3865 hdw->cmd_buffer[1] = (cmdcode >> 16) & 0xffu; pvr2_issue_simple_cmd() 3867 hdw->cmd_buffer[2] = (cmdcode >> 24) & 0xffu; pvr2_issue_simple_cmd() 3874 cmdcode &= 0xffu; pvr2_issue_simple_cmd() 3878 "Sending FX2 command 0x%x",cmdcode); pvr2_issue_simple_cmd() 3881 if (pvr2_fx2cmd_desc[idx].id == cmdcode) { pvr2_issue_simple_cmd()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
H A D | ioctl_linux.c | 2196 pcmd->cmdcode = _SetKey_CMD_; set_group_key()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
H A D | ioctl_cfg80211.c | 459 pcmd->cmdcode = _SetKey_CMD_; set_group_key()
|