/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_dcb.c | 274 const struct fw_port_cmd *pcmd) in cxgb4_dcb_handle_fw_update() argument 276 const union fw_port_dcb *fwdcb = &pcmd->u.dcb; in cxgb4_dcb_handle_fw_update() 277 int port = FW_PORT_CMD_PORTID_G(be32_to_cpu(pcmd->op_to_portid)); in cxgb4_dcb_handle_fw_update() 281 int dcb_type = pcmd->u.dcb.pgid.type; in cxgb4_dcb_handle_fw_update() 289 ((pcmd->u.dcb.control.all_syncd_pkd & in cxgb4_dcb_handle_fw_update() 297 pcmd->u.dcb.control.dcb_version_to_app_state)); in cxgb4_dcb_handle_fw_update() 442 struct fw_port_cmd pcmd; in cxgb4_getpgtccfg() local 450 INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg() 452 INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); in cxgb4_getpgtccfg() 454 pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; in cxgb4_getpgtccfg() [all …]
|
H A D | cxgb4_dcb.h | 39 FW_LEN16(pcmd)); \
|
H A D | cxgb4_main.c | 534 static void dcb_rpl(struct adapter *adap, const struct fw_port_cmd *pcmd) in dcb_rpl() argument 536 int port = FW_PORT_CMD_PORTID_G(ntohl(pcmd->op_to_portid)); in dcb_rpl() 541 cxgb4_dcb_handle_fw_update(adap, pcmd); in dcb_rpl() 598 const struct fw_port_cmd *pcmd = (const void *)p->data; in fwevtq_handler() local 599 unsigned int cmd = FW_CMD_OP_G(ntohl(pcmd->op_to_portid)); in fwevtq_handler() 601 FW_PORT_CMD_ACTION_G(ntohl(pcmd->action_to_len16)); in fwevtq_handler() 607 be32_to_cpu(pcmd->op_to_portid)); in fwevtq_handler() 613 ? !!(pcmd->u.info.dcbxdis_pkd & FW_PORT_CMD_DCBXDIS_F) in fwevtq_handler() 614 : !!(be32_to_cpu(pcmd->u.info32.lstatus32_to_cbllen32) in fwevtq_handler() 625 dcb_rpl(q->adap, pcmd); in fwevtq_handler()
|
/linux/drivers/media/usb/as102/ |
H 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() 34 pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); in as10x_cmd_add_PID_filter() 35 pcmd->body.add_pid_filter.req.stream_type = filter->type; in as10x_cmd_add_PID_filter() 38 pcmd->body.add_pid_filter.req.idx = filter->idx; in as10x_cmd_add_PID_filter() 40 pcmd->body.add_pid_filter.req.idx = 0xFF; in as10x_cmd_add_PID_filter() 44 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_add_PID_filter() [all …]
|
H 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() 37 pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); in as10x_cmd_get_context() 38 pcmd->body.context.req.tag = cpu_to_le16(tag); in as10x_cmd_get_context() 39 pcmd->body.context.req.type = cpu_to_le16(GET_CONTEXT_DATA); in as10x_cmd_get_context() 44 (uint8_t *) pcmd, in as10x_cmd_get_context() 45 sizeof(pcmd->body.context.req) in as10x_cmd_get_context() 83 struct as10x_cmd_t *pcmd, *prsp; in as10x_cmd_set_context() local [all …]
|
H 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() 27 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_turn_on() 28 sizeof(pcmd->body.turn_on.req)); in as10x_cmd_turn_on() 31 pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON); in as10x_cmd_turn_on() 35 error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, in as10x_cmd_turn_on() 36 sizeof(pcmd->body.turn_on.req) + 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() 68 as10x_cmd_build(pcmd, (++adap->cmd_xid), in as10x_cmd_turn_off() [all …]
|
H A D | as10x_cmd.h | 472 void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id,
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_cmd.h | 73 #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ argument 75 INIT_LIST_HEAD(&pcmd->list);\ 76 pcmd->cmdcode = code;\ 77 pcmd->parmbuf = (u8 *)(pparm);\ 78 pcmd->cmdsz = sizeof(*pparm);\ 79 pcmd->rsp = NULL;\ 80 pcmd->rspsz = 0;\ 83 #define init_h2fwcmd_w_parm_no_parm_rsp(pcmd, code) \ argument 85 INIT_LIST_HEAD(&pcmd->list);\ 86 pcmd->cmdcode = code;\ [all …]
|
/linux/arch/x86/kernel/cpu/sgx/ |
H 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 …]
|
H A D | encl.h | 83 struct page *pcmd; member
|
H A D | main.c | 170 pginfo.metadata = (unsigned long)kmap_local_page(backing->pcmd) + in __sgx_encl_ewb() 174 set_page_dirty(backing->pcmd); in __sgx_encl_ewb()
|
/linux/drivers/bluetooth/ |
H A D | btnxpuart.c | 499 struct psmode_cmd_payload pcmd; in send_ps_cmd() local 504 pcmd.ps_cmd = BT_PS_ENABLE; in send_ps_cmd() 506 pcmd.ps_cmd = BT_PS_DISABLE; in send_ps_cmd() 507 pcmd.c2h_ps_interval = __cpu_to_le16(psdata->c2h_ps_interval); in send_ps_cmd() 509 skb = nxp_drv_send_cmd(hdev, HCI_NXP_AUTO_SLEEP_MODE, sizeof(pcmd), &pcmd); in send_ps_cmd() 537 struct wakeup_cmd_payload pcmd; in send_wakeup_method_cmd() local 541 pcmd.c2h_wakeupmode = psdata->c2h_wakeupmode; in send_wakeup_method_cmd() 542 pcmd.c2h_wakeup_gpio = psdata->c2h_wakeup_gpio; in send_wakeup_method_cmd() 545 pcmd.h2c_wakeupmode = BT_CTRL_WAKEUP_METHOD_GPIO; in send_wakeup_method_cmd() 548 pcmd.h2c_wakeupmode = BT_CTRL_WAKEUP_METHOD_DSR; in send_wakeup_method_cmd() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
H 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/ |
H A D | if_plip.h | 20 unsigned short pcmd; member
|
/linux/drivers/staging/rtl8723bs/core/ |
H 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/scsi/bfa/ |
H A D | bfad_bsg.c | 408 bfad_iocmd_port_cfg_bbcr(struct bfad_s *bfad, unsigned int cmd, void *pcmd) in bfad_iocmd_port_cfg_bbcr() argument 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 433 struct bfa_bsg_bbcr_attr_s *iocmd = (struct bfa_bsg_bbcr_attr_s *) pcmd; in bfad_iocmd_port_get_bbcr_attr() 911 bfad_iocmd_qos_set_bw(struct bfad_s *bfad, void *pcmd) in bfad_iocmd_qos_set_bw() argument 913 struct bfa_bsg_qos_bw_s *iocmd = (struct bfa_bsg_qos_bw_s *)pcmd; in bfad_iocmd_qos_set_bw() 924 bfad_iocmd_ratelim(struct bfad_s *bfad, unsigned int cmd, void *pcmd) in bfad_iocmd_ratelim() argument 926 struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; in bfad_iocmd_ratelim() 953 bfad_iocmd_ratelim_speed(struct bfad_s *bfad, unsigned int cmd, void *pcmd) in bfad_iocmd_ratelim_speed() argument 955 struct bfa_bsg_trl_speed_s *iocmd = (struct bfa_bsg_trl_speed_s *)pcmd; in bfad_iocmd_ratelim_speed() [all …]
|
/linux/drivers/scsi/csiostor/ |
H 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/ |
H 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()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H 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()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fdir.h | 89 u8 pcmd; member
|
H A D | ice_fdir.c | 632 qword |= FIELD_PREP(ICE_FXD_FLTR_QW1_PCMD_M, ctx->pcmd); in ice_set_fd_desc_val() 683 fdir_fltr_ctx.pcmd = add ? ICE_FXD_FLTR_QW1_PCMD_ADD : in ice_fdir_get_prgm_desc()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H 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()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | phy.c | 2067 struct swchnlcmd *pcmd; in _rtl92d_phy_set_sw_chnl_cmdarray() local 2076 pcmd = cmdtable + cmdtableidx; in _rtl92d_phy_set_sw_chnl_cmdarray() 2077 pcmd->cmdid = cmdid; in _rtl92d_phy_set_sw_chnl_cmdarray() 2078 pcmd->para1 = para1; in _rtl92d_phy_set_sw_chnl_cmdarray() 2079 pcmd->para2 = para2; in _rtl92d_phy_set_sw_chnl_cmdarray() 2080 pcmd->msdelay = msdelay; in _rtl92d_phy_set_sw_chnl_cmdarray()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H 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()
|
/linux/drivers/scsi/arcmsr/ |
H A D | arcmsr.h | 986 struct scsi_cmnd *pcmd; /*8 bytes pointer of linux scsi command */ member
|