| /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)); \
|
| /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() 28 sizeof(pcmd->body.turn_on.req)); in as10x_cmd_turn_on() 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 …]
|
| A D | as10x_cmd.h | 472 void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id,
|
| /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 | 1807 struct cmd_obj *pcmd; in rtw_set_auth() local 1813 if (!pcmd) { in rtw_set_auth() 1820 kfree(pcmd); in rtw_set_auth() 1830 pcmd->rsp = NULL; in rtw_set_auth() 1831 pcmd->rspsz = 0; in rtw_set_auth() 1833 INIT_LIST_HEAD(&pcmd->list); in rtw_set_auth() 1844 struct cmd_obj *pcmd; in rtw_set_key() local 1893 if (!pcmd) { in rtw_set_key() 1902 pcmd->rsp = NULL; in rtw_set_key() 1903 pcmd->rspsz = 0; in rtw_set_key() [all …]
|
| A D | rtw_ap.c | 1304 struct cmd_obj *pcmd; in rtw_ap_set_key() local 1309 pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); in rtw_ap_set_key() 1310 if (!pcmd) { in rtw_ap_set_key() 1316 kfree(pcmd); in rtw_ap_set_key() 1345 pcmd->cmdcode = _SetKey_CMD_; in rtw_ap_set_key() 1346 pcmd->parmbuf = (u8 *)psetkeyparm; in rtw_ap_set_key() 1347 pcmd->cmdsz = (sizeof(struct setkey_parm)); in rtw_ap_set_key() 1348 pcmd->rsp = NULL; in rtw_ap_set_key() 1349 pcmd->rspsz = 0; in rtw_ap_set_key() 1351 INIT_LIST_HEAD(&pcmd->list); in rtw_ap_set_key() [all …]
|
| /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 …]
|
| /drivers/net/wireless/mediatek/mt76/mt7925/ |
| A D | testmode.c | 38 struct mt7925_rftest_cmd *pcmd = &cmd; in mt7925_tm_set() local 44 memset(pcmd, 0, sizeof(*pcmd)); in mt7925_tm_set() 45 memcpy(pcmd, req, sizeof(struct mt7925_tm_cmd)); in mt7925_tm_set() 49 if (pcmd->ctrl.action == CMD_TEST_CTRL_ACT_SWITCH_MODE) { in mt7925_tm_set() 50 if (pcmd->ctrl.data.op_mode == CMD_TEST_CTRL_ACT_SWITCH_MODE_NORMAL) in mt7925_tm_set() 91 char *pcmd = (char *)&cmd; in mt7925_tm_query() local 95 memset(pcmd, 0, sizeof(*pcmd)); in mt7925_tm_query() 96 memcpy(pcmd + 4, (char *)&req->c, sizeof(struct uni_cmd_testmode_ctrl)); in mt7925_tm_query()
|
| /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() 221 pcmd->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &pcmd->phys); 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() 3348 if (!pcmd) in lpfc_cmpl_els_disc_cmd() 4577 if (pcmd && pcmd->virt) { in lpfc_els_retry() 9761 lsrjt_event.command = (pcmd != NULL) ? *pcmd : 0; in lpfc_send_els_failure_event() [all …]
|
| A D | lpfc_nportdisc.c | 185 pcmd = cmdiocb->cmd_dmabuf; in lpfc_check_elscmpl_iocb() 190 if (pcmd) { in lpfc_check_elscmpl_iocb() 349 struct lpfc_dmabuf *pcmd; in lpfc_rcv_plogi() local 365 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_plogi() 366 lp = (uint32_t *) pcmd->virt; in lpfc_rcv_plogi() 728 struct lpfc_dmabuf *pcmd; in lpfc_rcv_padisc() local 737 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_padisc() 992 struct lpfc_dmabuf *pcmd; in lpfc_rcv_prli() local 998 pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_prli() 999 lp = (uint32_t *)pcmd->virt; in lpfc_rcv_prli() [all …]
|
| A D | lpfc_sli.c | 19371 if (pcmd && pcmd->virt) in lpfc_sli4_mds_loopback_cmpl() 19373 kfree(pcmd); in lpfc_sli4_mds_loopback_cmpl() 19409 if (pcmd) in lpfc_sli4_handle_mds_loopback() 19412 if (!pcmd || !pcmd->virt) in lpfc_sli4_handle_mds_loopback() 19470 if (pcmd && pcmd->virt) in lpfc_sli4_handle_mds_loopback() 22264 pcmd = kmalloc(sizeof(*pcmd), GFP_KERNEL); in lpfc_read_object() 22265 if (pcmd) in lpfc_read_object() 22267 if (!pcmd || !pcmd->virt) { in lpfc_read_object() 22320 lpfc_mbuf_free(phba, pcmd->virt, pcmd->phys); in lpfc_read_object() 22631 u32 *pcmd; in lpfc_sli_prep_wqe() local [all …]
|
| /drivers/bluetooth/ |
| A D | btnxpuart.c | 607 pcmd.ps_cmd = BT_PS_ENABLE; in send_ps_cmd() 609 pcmd.ps_cmd = BT_PS_DISABLE; in send_ps_cmd() 613 &pcmd, true); in send_ps_cmd() 647 pcmd.h2c_wakeup_gpio = 0xff; in send_wakeup_method_cmd() 663 &pcmd, true); in send_wakeup_method_cmd() 1346 u8 pcmd = 2; in nxp_coredump() local 1415 pcmd.data.param_id = 0xfe; in nxp_set_bdaddr() 1416 pcmd.data.param_len = 6; in nxp_set_bdaddr() 1510 u8 pcmd = 0; in nxp_shutdown() local 1516 &pcmd, false); in nxp_shutdown() [all …]
|
| /drivers/scsi/arcmsr/ |
| A D | arcmsr_hba.c | 1368 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_ccb_complete() local 1371 scsi_dma_unmap(ccb->pcmd); in arcmsr_ccb_complete() 1376 scsi_done(pcmd); in arcmsr_ccb_complete() 1381 struct scsi_cmnd *pcmd = ccb->pcmd; in arcmsr_report_sense_info() local 1384 if (pcmd->sense_buffer) { in arcmsr_report_sense_info() 1445 id = ccb->pcmd->device->id; in arcmsr_report_ccb_state() 1656 scsi_done(ccb->pcmd); in arcmsr_remove_scsi_devices() 1854 ccb->pcmd = pcmd; in arcmsr_build_ccb() 1860 memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); in arcmsr_build_ccb() 1862 nseg = scsi_dma_map(pcmd); in arcmsr_build_ccb() [all …]
|
| /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()
|
| /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 …]
|
| /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()
|
| /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()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
| A D | phy_common.c | 759 struct swchnlcmd *pcmd; in _rtl92c_phy_set_sw_chnl_cmdarray() local 769 pcmd = cmdtable + cmdtableidx; in _rtl92c_phy_set_sw_chnl_cmdarray() 770 pcmd->cmdid = cmdid; in _rtl92c_phy_set_sw_chnl_cmdarray() 771 pcmd->para1 = para1; in _rtl92c_phy_set_sw_chnl_cmdarray() 772 pcmd->para2 = para2; in _rtl92c_phy_set_sw_chnl_cmdarray() 773 pcmd->msdelay = msdelay; in _rtl92c_phy_set_sw_chnl_cmdarray()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_fdir.h | 89 u8 pcmd; member
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| A D | phy.c | 1325 struct swchnlcmd *pcmd; in _rtl88e_phy_set_sw_chnl_cmdarray() local 1335 pcmd = cmdtable + cmdtableidx; in _rtl88e_phy_set_sw_chnl_cmdarray() 1336 pcmd->cmdid = cmdid; in _rtl88e_phy_set_sw_chnl_cmdarray() 1337 pcmd->para1 = para1; in _rtl88e_phy_set_sw_chnl_cmdarray() 1338 pcmd->para2 = para2; in _rtl88e_phy_set_sw_chnl_cmdarray() 1339 pcmd->msdelay = msdelay; in _rtl88e_phy_set_sw_chnl_cmdarray()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| A D | phy.c | 2062 struct swchnlcmd *pcmd; in _rtl92d_phy_set_sw_chnl_cmdarray() local 2071 pcmd = cmdtable + cmdtableidx; in _rtl92d_phy_set_sw_chnl_cmdarray() 2072 pcmd->cmdid = cmdid; in _rtl92d_phy_set_sw_chnl_cmdarray() 2073 pcmd->para1 = para1; in _rtl92d_phy_set_sw_chnl_cmdarray() 2074 pcmd->para2 = para2; in _rtl92d_phy_set_sw_chnl_cmdarray() 2075 pcmd->msdelay = msdelay; in _rtl92d_phy_set_sw_chnl_cmdarray()
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| A D | phy.c | 1910 struct swchnlcmd *pcmd; in _rtl92ee_phy_set_sw_chnl_cmdarray() local 1920 pcmd = cmdtable + cmdtableidx; in _rtl92ee_phy_set_sw_chnl_cmdarray() 1921 pcmd->cmdid = cmdid; in _rtl92ee_phy_set_sw_chnl_cmdarray() 1922 pcmd->para1 = para1; in _rtl92ee_phy_set_sw_chnl_cmdarray() 1923 pcmd->para2 = para2; in _rtl92ee_phy_set_sw_chnl_cmdarray() 1924 pcmd->msdelay = msdelay; in _rtl92ee_phy_set_sw_chnl_cmdarray()
|