| /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 …]
|
| A D | cxgb4_dcb.h | 39 FW_LEN16(pcmd)); \
|
| /linux/drivers/staging/rtl8712/ |
| A D | rtl8712_cmd.c | 147 if (pcmd->rsp && pcmd->rspsz > 0) in read_rfreg_hdl() 148 memcpy(pcmd->rsp, (u8 *)&val, pcmd->rspsz); in read_rfreg_hdl() 183 if (!pcmd) in cmd_hdl_filter() 184 return pcmd; in cmd_hdl_filter() 216 pcmd_r = pcmd; in cmd_hdl_filter() 224 pcmd_r = pcmd; in cmd_hdl_filter() 256 struct cmd_obj *pcmd; in r8712_cmd_thread() local 277 if (!(pcmd)) { in r8712_cmd_thread() 284 pcmd = cmd_hdl_filter(padapter, pcmd); in r8712_cmd_thread() 320 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() 300 kfree(pcmd); in r8712_getbbrfreg_cmdrsp_callback() 307 kfree(pcmd); in r8712_readtssi_cmdrsp_callback() 320 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_createbss_cmd() 321 if (!pcmd) in r8712_createbss_cmd() 327 pcmd->rsp = NULL; in r8712_createbss_cmd() 328 pcmd->rspsz = 0; in r8712_createbss_cmd() 350 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_joinbss_cmd() 351 if (!pcmd) in r8712_joinbss_cmd() [all …]
|
| A D | rtl871x_cmd.h | 71 #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ argument 73 INIT_LIST_HEAD(&pcmd->list);\ 74 pcmd->cmdcode = code;\ 75 pcmd->parmbuf = (u8 *)(pparm);\ 76 pcmd->cmdsz = sizeof(*pparm);\ 77 pcmd->rsp = NULL;\ 78 pcmd->rspsz = 0;\ 84 void r8712_free_cmd_obj(struct cmd_obj *pcmd); 731 void r8712_survey_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd); 732 void r8712_disassoc_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd); [all …]
|
| A D | rtl871x_mlme.c | 1122 struct cmd_obj *pcmd; in r8712_set_auth() local 1125 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_set_auth() 1126 if (!pcmd) in r8712_set_auth() 1131 kfree(pcmd); in r8712_set_auth() 1138 pcmd->rsp = NULL; in r8712_set_auth() 1139 pcmd->rspsz = 0; in r8712_set_auth() 1155 pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); in r8712_set_key() 1156 if (!pcmd) in r8712_set_key() 1210 pcmd->rsp = NULL; in r8712_set_key() 1211 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/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/rtl8723bs/core/ |
| A D | rtw_cmd.c | 352 if (pcmd->rsp) { in rtw_free_cmd_obj() 360 kfree(pcmd); in rtw_free_cmd_obj() 433 if (!pcmd) { in rtw_cmd_thread() 445 pcmd->cmdsz = round_up((pcmd->cmdsz), 4); in rtw_cmd_thread() 447 memcpy(pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); in rtw_cmd_thread() 499 if (!pcmd) { in rtw_cmd_thread() 595 kfree(pcmd); in rtw_getbbrfreg_cmdrsp_callback() 606 if (!pcmd) { in rtw_createbss_cmd() 616 pcmd->rspsz = 0; in rtw_createbss_cmd() 639 if (!pcmd) { in rtw_startbss_cmd() [all …]
|
| A D | rtw_mlme.c | 1811 struct cmd_obj *pcmd; in rtw_set_auth() local 1817 if (!pcmd) { in rtw_set_auth() 1824 kfree(pcmd); in rtw_set_auth() 1834 pcmd->rsp = NULL; in rtw_set_auth() 1835 pcmd->rspsz = 0; in rtw_set_auth() 1837 INIT_LIST_HEAD(&pcmd->list); in rtw_set_auth() 1848 struct cmd_obj *pcmd; in rtw_set_key() local 1897 if (!pcmd) { in rtw_set_key() 1906 pcmd->rsp = NULL; in rtw_set_key() 1907 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 | 219 pcmd = kmalloc(sizeof(*pcmd), GFP_KERNEL); in lpfc_prep_els_iocb() 220 if (pcmd) in lpfc_prep_els_iocb() 222 if (!pcmd || !pcmd->virt) in lpfc_prep_els_iocb() 267 bmp = pcmd; in lpfc_prep_els_iocb() 324 lpfc_mbuf_free(phba, pcmd->virt, pcmd->phys); in lpfc_prep_els_iocb() 328 kfree(pcmd); in lpfc_prep_els_iocb() 3401 if (!pcmd) in lpfc_cmpl_els_disc_cmd() 4637 if (pcmd && pcmd->virt) { in lpfc_els_retry() 12292 u8 *pcmd; in lpfc_issue_els_qfpa() local 12336 u8 *pcmd; in lpfc_vmid_uvem() local [all …]
|
| A D | lpfc_nportdisc.c | 188 pcmd = cmdiocb->cmd_dmabuf; in lpfc_check_elscmpl_iocb() 193 if (pcmd) { in lpfc_check_elscmpl_iocb() 352 struct lpfc_dmabuf *pcmd; in lpfc_rcv_plogi() local 368 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_plogi() 369 lp = (uint32_t *) pcmd->virt; in lpfc_rcv_plogi() 733 struct lpfc_dmabuf *pcmd; in lpfc_rcv_padisc() local 741 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_padisc() 999 struct lpfc_dmabuf *pcmd; in lpfc_rcv_prli() local 1005 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_prli() 1006 lp = (uint32_t *)pcmd->virt; in lpfc_rcv_prli() [all …]
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| A D | encl.c | 164 pcmd_page = kmap_local_page(b.pcmd); in __sgx_encl_eldu() 182 set_page_dirty(b.pcmd); in __sgx_encl_eldu() 193 get_page(b.pcmd); in __sgx_encl_eldu() 200 pcmd_page = kmap_local_page(b.pcmd); in __sgx_encl_eldu() 206 put_page(b.pcmd); in __sgx_encl_eldu() 976 struct page *pcmd; in __sgx_encl_get_backing() local 982 pcmd = sgx_encl_get_backing_page(encl, PFN_DOWN(page_pcmd_off)); in __sgx_encl_get_backing() 983 if (IS_ERR(pcmd)) { in __sgx_encl_get_backing() 985 return PTR_ERR(pcmd); in __sgx_encl_get_backing() 989 backing->pcmd = pcmd; in __sgx_encl_get_backing() [all …]
|
| A D | encl.h | 83 struct page *pcmd; member
|
| /linux/drivers/scsi/arcmsr/ |
| A D | arcmsr_hba.c | 1367 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_ccb_complete() local 1370 scsi_dma_unmap(ccb->pcmd); in arcmsr_ccb_complete() 1375 scsi_done(pcmd); in arcmsr_ccb_complete() 1380 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_report_sense_info() local 1383 if (pcmd->sense_buffer) { in arcmsr_report_sense_info() 1444 id = ccb->pcmd->device->id; in arcmsr_report_ccb_state() 1655 scsi_done(ccb->pcmd); in arcmsr_remove_scsi_devices() 1853 ccb->pcmd = pcmd; in arcmsr_build_ccb() 1859 memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); in arcmsr_build_ccb() 1861 nseg = scsi_dma_map(pcmd); in arcmsr_build_ccb() [all …]
|
| /linux/drivers/bluetooth/ |
| A D | btnxpuart.c | 473 struct psmode_cmd_payload pcmd; in send_ps_cmd() local 478 pcmd.ps_cmd = BT_PS_ENABLE; in send_ps_cmd() 480 pcmd.ps_cmd = BT_PS_DISABLE; in send_ps_cmd() 483 skb = nxp_drv_send_cmd(hdev, HCI_NXP_AUTO_SLEEP_MODE, sizeof(pcmd), &pcmd); in send_ps_cmd() 511 struct wakeup_cmd_payload pcmd; in send_wakeup_method_cmd() local 515 pcmd.c2h_wakeupmode = psdata->c2h_wakeupmode; in send_wakeup_method_cmd() 516 pcmd.c2h_wakeup_gpio = psdata->c2h_wakeup_gpio; in send_wakeup_method_cmd() 519 pcmd.h2c_wakeupmode = BT_CTRL_WAKEUP_METHOD_DSR; in send_wakeup_method_cmd() 526 pcmd.h2c_wakeup_gpio = 0xff; in send_wakeup_method_cmd() 528 skb = nxp_drv_send_cmd(hdev, HCI_NXP_WAKEUP_METHOD, sizeof(pcmd), &pcmd); in send_wakeup_method_cmd() [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
| A D | phy_common.c | 247 struct swchnlcmd *pcmd; in rtl8723_phy_set_sw_chnl_cmdarray() local 257 pcmd = cmdtable + cmdtableidx; in rtl8723_phy_set_sw_chnl_cmdarray() 258 pcmd->cmdid = cmdid; in rtl8723_phy_set_sw_chnl_cmdarray() 259 pcmd->para1 = para1; in rtl8723_phy_set_sw_chnl_cmdarray() 260 pcmd->para2 = para2; in rtl8723_phy_set_sw_chnl_cmdarray() 261 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()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| A D | phy.c | 291 struct swchnlcmd *pcmd; in _rtl92s_phy_set_sw_chnl_cmdarray() local 301 pcmd = cmdtable + cmdtableidx; in _rtl92s_phy_set_sw_chnl_cmdarray() 302 pcmd->cmdid = cmdid; in _rtl92s_phy_set_sw_chnl_cmdarray() 303 pcmd->para1 = para1; in _rtl92s_phy_set_sw_chnl_cmdarray() 304 pcmd->para2 = para2; in _rtl92s_phy_set_sw_chnl_cmdarray() 305 pcmd->msdelay = msdelay; in _rtl92s_phy_set_sw_chnl_cmdarray()
|