| /linux/drivers/staging/rtl8712/ |
| A D | rtl8712_cmd.c | 175 if (pcmd->rsp && pcmd->rspsz > 0) in read_rfreg_hdl() 176 memcpy(pcmd->rsp, (u8 *)&val, pcmd->rspsz); in read_rfreg_hdl() 211 if (!pcmd) in cmd_hdl_filter() 212 return pcmd; in cmd_hdl_filter() 218 pcmd_r = pcmd; in cmd_hdl_filter() 222 pcmd_r = pcmd; in cmd_hdl_filter() 252 pcmd_r = pcmd; in cmd_hdl_filter() 260 pcmd_r = pcmd; in cmd_hdl_filter() 320 pcmd = cmd_hdl_filter(padapter, pcmd); in r8712_cmd_thread() 356 memcpy((u8 *)pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); in r8712_cmd_thread() [all …]
|
| A D | rtl871x_cmd.c | 164 if (pcmd->rsp) { in r8712_free_cmd_obj() 168 kfree(pcmd); in r8712_free_cmd_obj() 301 kfree(pcmd); in r8712_getbbrfreg_cmdrsp_callback() 309 kfree(pcmd); in r8712_readtssi_cmdrsp_callback() 322 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_createbss_cmd() 323 if (!pcmd) in r8712_createbss_cmd() 329 pcmd->rsp = NULL; in r8712_createbss_cmd() 330 pcmd->rspsz = 0; in r8712_createbss_cmd() 352 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_joinbss_cmd() 353 if (!pcmd) in r8712_joinbss_cmd() [all …]
|
| A D | rtl871x_cmd.h | 74 INIT_LIST_HEAD(&pcmd->list);\ 75 pcmd->cmdcode = code;\ 76 pcmd->parmbuf = (u8 *)(pparm);\ 77 pcmd->cmdsz = sizeof(*pparm);\ 78 pcmd->rsp = NULL;\ 79 pcmd->rspsz = 0;\ 740 struct cmd_obj *pcmd); 742 struct cmd_obj *pcmd); 744 struct cmd_obj *pcmd); 748 struct cmd_obj *pcmd); [all …]
|
| A D | rtl871x_mlme.c | 1148 struct cmd_obj *pcmd; in r8712_set_auth() local 1151 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_set_auth() 1152 if (!pcmd) in r8712_set_auth() 1157 kfree(pcmd); in r8712_set_auth() 1164 pcmd->rsp = NULL; in r8712_set_auth() 1165 pcmd->rspsz = 0; in r8712_set_auth() 1181 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_set_key() 1182 if (!pcmd) in r8712_set_key() 1236 pcmd->rsp = NULL; in r8712_set_key() 1237 pcmd->rspsz = 0; in r8712_set_key() [all …]
|
| A D | rtl871x_mp.c | 264 struct cmd_obj *pcmd = NULL; in r8712_SetChannel() local 268 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_SetChannel() 269 if (!pcmd) in r8712_SetChannel() 273 kfree(pcmd); in r8712_SetChannel() 277 init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code); in r8712_SetChannel() 278 r8712_enqueue_cmd(pcmdpriv, pcmd); in r8712_SetChannel()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_dcb.c | 455 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_getpgtccfg() 467 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_getpgtccfg() 520 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgtccfg_tx() 533 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgtccfg_tx() 545 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgtccfg_tx() 558 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgtccfg_tx() 578 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_getpgbwgcfg() 609 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgbwgcfg_tx() 622 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpgbwgcfg_tx() 670 err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); in cxgb4_setpfccfg() [all …]
|
| /linux/drivers/media/usb/as102/ |
| A D | as10x_cmd_stream.c | 22 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_add_PID_filter() local 24 pcmd = adap->cmd; in as10x_cmd_add_PID_filter() 28 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_add_PID_filter() 29 sizeof(pcmd->body.add_pid_filter.req)); in as10x_cmd_add_PID_filter() 32 pcmd->body.add_pid_filter.req.proc_id = in as10x_cmd_add_PID_filter() 79 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_del_PID_filter() local 81 pcmd = adap->cmd; in as10x_cmd_del_PID_filter() 123 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_start_streaming() local 125 pcmd = adap->cmd; in as10x_cmd_start_streaming() 166 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_stop_streaming() local [all …]
|
| A D | as10x_cmd_cfg.c | 27 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_get_context() local 29 pcmd = adap->cmd; in as10x_cmd_get_context() 33 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_get_context() 34 sizeof(pcmd->body.context.req)); in as10x_cmd_get_context() 44 (uint8_t *) pcmd, in as10x_cmd_get_context() 83 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_set_context() local 85 pcmd = adap->cmd; in as10x_cmd_set_context() 90 sizeof(pcmd->body.context.req)); in as10x_cmd_set_context() 102 (uint8_t *) pcmd, in as10x_cmd_set_context() 137 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_eLNA_change_mode() local [all …]
|
| A D | as10x_cmd.c | 21 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_on() local 23 pcmd = adap->cmd; in as10x_cmd_turn_on() 62 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_turn_off() local 64 pcmd = adap->cmd; in as10x_cmd_turn_off() 77 adap, (uint8_t *) pcmd, in as10x_cmd_turn_off() 213 pcmd = adap->cmd; in as10x_cmd_get_tps() 227 (uint8_t *) pcmd, in as10x_cmd_get_tps() 272 pcmd = adap->cmd; in as10x_cmd_get_demod_stats() 286 (uint8_t *) pcmd, in as10x_cmd_get_demod_stats() 332 pcmd = adap->cmd; in as10x_cmd_get_impulse_resp() [all …]
|
| /linux/drivers/staging/r8188eu/core/ |
| A D | rtw_cmd.c | 225 if (pcmd->rsp) { in rtw_free_cmd_obj() 233 kfree(pcmd); in rtw_free_cmd_obj() 264 if (!pcmd) in rtw_cmd_thread() 274 pcmd->cmdsz = _RND4((pcmd->cmdsz));/* _RND4 */ in rtw_cmd_thread() 276 memcpy(pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); in rtw_cmd_thread() 316 if (!pcmd) in rtw_cmd_thread() 443 kfree(pcmd); in rtw_getbbrfreg_cmdrsp_callback() 456 if (!pcmd) { in rtw_createbss_cmd() 466 pcmd->rspsz = 0; in rtw_createbss_cmd() 493 if (!pcmd) { in rtw_joinbss_cmd() [all …]
|
| A D | rtw_mlme.c | 1561 struct cmd_obj *pcmd; in rtw_set_auth() local 1567 if (!pcmd) { in rtw_set_auth() 1574 kfree(pcmd); in rtw_set_auth() 1583 pcmd->rsp = NULL; in rtw_set_auth() 1584 pcmd->rspsz = 0; in rtw_set_auth() 1595 struct cmd_obj *pcmd; in rtw_set_key() local 1602 if (!pcmd) { in rtw_set_key() 1608 kfree(pcmd); in rtw_set_key() 1644 kfree(pcmd); in rtw_set_key() 1651 pcmd->rsp = NULL; in rtw_set_key() [all …]
|
| /linux/drivers/staging/rtl8723bs/core/ |
| A D | rtw_cmd.c | 357 if (pcmd->rsp) { in rtw_free_cmd_obj() 365 kfree(pcmd); in rtw_free_cmd_obj() 438 if (!pcmd) { in rtw_cmd_thread() 450 pcmd->cmdsz = round_up((pcmd->cmdsz), 4); in rtw_cmd_thread() 452 memcpy(pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); in rtw_cmd_thread() 504 if (!pcmd) { in rtw_cmd_thread() 629 kfree(pcmd); in rtw_getbbrfreg_cmdrsp_callback() 640 if (!pcmd) { in rtw_createbss_cmd() 650 pcmd->rspsz = 0; in rtw_createbss_cmd() 673 if (!pcmd) { in rtw_startbss_cmd() [all …]
|
| A D | rtw_mlme.c | 1888 struct cmd_obj *pcmd; in rtw_set_auth() local 1894 if (!pcmd) { in rtw_set_auth() 1901 kfree(pcmd); in rtw_set_auth() 1911 pcmd->rsp = NULL; in rtw_set_auth() 1912 pcmd->rspsz = 0; in rtw_set_auth() 1914 INIT_LIST_HEAD(&pcmd->list); in rtw_set_auth() 1925 struct cmd_obj *pcmd; in rtw_set_key() local 1974 if (!pcmd) { in rtw_set_key() 1983 pcmd->rsp = NULL; in rtw_set_key() 1984 pcmd->rspsz = 0; in rtw_set_key() [all …]
|
| A D | rtw_ap.c | 1309 struct cmd_obj *pcmd; in rtw_ap_set_key() local 1314 pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_ap_set_key() 1315 if (!pcmd) { in rtw_ap_set_key() 1321 kfree(pcmd); in rtw_ap_set_key() 1350 pcmd->cmdcode = _SetKey_CMD_; in rtw_ap_set_key() 1351 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key() 1352 pcmd->cmdsz = (sizeof(struct setkey_parm)); in rtw_ap_set_key() 1353 pcmd->rsp = NULL; in rtw_ap_set_key() 1354 pcmd->rspsz = 0; in rtw_ap_set_key() 1356 INIT_LIST_HEAD(&pcmd->list); in rtw_ap_set_key() [all …]
|
| /linux/drivers/staging/rtl8723bs/include/ |
| A D | rtw_cmd.h | 75 INIT_LIST_HEAD(&pcmd->list);\ 76 pcmd->cmdcode = code;\ 78 pcmd->cmdsz = sizeof(*pparm);\ 79 pcmd->rsp = NULL;\ 80 pcmd->rspsz = 0;\ 85 INIT_LIST_HEAD(&pcmd->list);\ 86 pcmd->cmdcode = code;\ 87 pcmd->parmbuf = NULL;\ 88 pcmd->cmdsz = 0;\ 89 pcmd->rsp = NULL;\ [all …]
|
| /linux/drivers/scsi/lpfc/ |
| A D | lpfc_els.c | 218 if (pcmd) in lpfc_prep_els_iocb() 220 if (!pcmd || !pcmd->virt) in lpfc_prep_els_iocb() 349 lpfc_mbuf_free(phba, pcmd->virt, pcmd->phys); in lpfc_prep_els_iocb() 353 kfree(pcmd); in lpfc_prep_els_iocb() 3280 if (!pcmd) in lpfc_cmpl_els_disc_cmd() 3923 if (!pcmd) in lpfc_cmpl_els_edc() 4484 if (pcmd && pcmd->virt) { in lpfc_els_retry() 9252 lsrjt_event.command = (pcmd != NULL) ? *pcmd : 0; in lpfc_send_els_failure_event() 11679 u8 *pcmd; in lpfc_issue_els_qfpa() local 11723 u8 *pcmd; in lpfc_vmid_uvem() local [all …]
|
| A D | lpfc_nportdisc.c | 171 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_check_elscmpl_iocb() local 177 pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; in lpfc_check_elscmpl_iocb() 182 if (pcmd) { in lpfc_check_elscmpl_iocb() 324 struct lpfc_dmabuf *pcmd; in lpfc_rcv_plogi() local 339 lp = (uint32_t *) pcmd->virt; in lpfc_rcv_plogi() 678 struct lpfc_dmabuf *pcmd; in lpfc_rcv_padisc() local 688 lp = (uint32_t *) pcmd->virt; in lpfc_rcv_padisc() 927 struct lpfc_dmabuf *pcmd; in lpfc_rcv_prli() local 934 lp = (uint32_t *) pcmd->virt; in lpfc_rcv_prli() 1197 uint32_t *lp = (uint32_t *) pcmd->virt; in lpfc_rcv_plogi_plogi_issue() [all …]
|
| /linux/drivers/staging/r8188eu/include/ |
| A D | rtw_cmd.h | 63 #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ argument 65 INIT_LIST_HEAD(&pcmd->list);\ 66 pcmd->cmdcode = code;\ 67 pcmd->parmbuf = (u8 *)(pparm);\ 68 pcmd->cmdsz = sizeof(*pparm);\ 69 pcmd->rsp = NULL;\ 70 pcmd->rspsz = 0;\ 84 void rtw_free_cmd_obj(struct cmd_obj *pcmd); 782 void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); 784 void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); [all …]
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| A D | encl.c | 41 pginfo.metadata = (unsigned long)kmap_atomic(b.pcmd) + in __sgx_encl_eldu() 582 struct page *pcmd; in sgx_encl_get_backing() local 588 pcmd = sgx_encl_get_backing_page(encl, pcmd_index); in sgx_encl_get_backing() 589 if (IS_ERR(pcmd)) { in sgx_encl_get_backing() 591 return PTR_ERR(pcmd); in sgx_encl_get_backing() 596 backing->pcmd = pcmd; in sgx_encl_get_backing() 612 set_page_dirty(backing->pcmd); in sgx_encl_put_backing() 616 put_page(backing->pcmd); in sgx_encl_put_backing()
|
| A D | encl.h | 83 struct page *pcmd; member
|
| /linux/drivers/scsi/arcmsr/ |
| A D | arcmsr_hba.c | 1305 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_pci_unmap_dma() local 1307 scsi_dma_unmap(pcmd); in arcmsr_pci_unmap_dma() 1313 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_ccb_complete() local 1321 scsi_done(pcmd); in arcmsr_ccb_complete() 1326 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_report_sense_info() local 1329 if (pcmd->sense_buffer) { in arcmsr_report_sense_info() 1390 id = ccb->pcmd->device->id; in arcmsr_report_ccb_state() 1601 scsi_done(ccb->pcmd); in arcmsr_remove_scsi_devices() 1799 ccb->pcmd = pcmd; in arcmsr_build_ccb() 1805 memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); in arcmsr_build_ccb() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
| A D | phy_common.c | 255 struct swchnlcmd *pcmd; in rtl8723_phy_set_sw_chnl_cmdarray() local 265 pcmd = cmdtable + cmdtableidx; in rtl8723_phy_set_sw_chnl_cmdarray() 266 pcmd->cmdid = cmdid; in rtl8723_phy_set_sw_chnl_cmdarray() 267 pcmd->para1 = para1; in rtl8723_phy_set_sw_chnl_cmdarray() 268 pcmd->para2 = para2; in rtl8723_phy_set_sw_chnl_cmdarray() 269 pcmd->msdelay = msdelay; in rtl8723_phy_set_sw_chnl_cmdarray()
|
| /linux/include/uapi/linux/ |
| A D | if_plip.h | 20 unsigned short pcmd; member
|
| /linux/drivers/scsi/bfa/ |
| A D | bfad_bsg.c | 411 (struct bfa_bsg_bbcr_enable_s *)pcmd; in bfad_iocmd_port_cfg_bbcr() 431 bfad_iocmd_port_get_bbcr_attr(struct bfad_s *bfad, void *pcmd) in bfad_iocmd_port_get_bbcr_attr() argument 911 bfad_iocmd_qos_set_bw(struct bfad_s *bfad, void *pcmd) in bfad_iocmd_qos_set_bw() argument 926 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; in bfad_iocmd_ratelim() 1330 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; in bfad_iocmd_ablk_optrom() 1794 (struct bfa_bsg_dport_enable_s *)pcmd; in bfad_iocmd_diag_dport_enable() 1815 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; in bfad_iocmd_diag_dport_disable() 1833 bfad_iocmd_diag_dport_start(struct bfad_s *bfad, void *pcmd) in bfad_iocmd_diag_dport_start() argument 1836 (struct bfa_bsg_dport_enable_s *)pcmd; in bfad_iocmd_diag_dport_start() 1858 bfad_iocmd_diag_dport_show(struct bfad_s *bfad, void *pcmd) in bfad_iocmd_diag_dport_show() argument [all …]
|
| /linux/drivers/scsi/csiostor/ |
| A D | csio_mb.c | 1408 struct fw_port_cmd *pcmd; in csio_mb_fwevt_handler() local 1416 pcmd = (struct fw_port_cmd *)cmd; in csio_mb_fwevt_handler() 1418 ntohl(pcmd->op_to_portid)); in csio_mb_fwevt_handler() 1420 ntohl(pcmd->action_to_len16)); in csio_mb_fwevt_handler() 1429 link_status = ntohl(pcmd->u.info.lstatus_to_modtype); in csio_mb_fwevt_handler() 1437 ntohl(pcmd->u.info32.lstatus32_to_cbllen32); in csio_mb_fwevt_handler() 1439 linkattr = ntohl(pcmd->u.info32.linkattr32); in csio_mb_fwevt_handler()
|