Home
last modified time | relevance | path

Searched refs:send_cmd (Results 1 – 25 of 26) sorted by relevance

12

/drivers/cxl/
Dpci.c613 const struct cxl_send_command *send_cmd, in cxl_validate_cmd_from_user() argument
619 if (send_cmd->id == 0 || send_cmd->id >= CXL_MEM_COMMAND_ID_MAX) in cxl_validate_cmd_from_user()
627 if (send_cmd->in.size > cxlm->payload_size) in cxl_validate_cmd_from_user()
634 if (send_cmd->id == CXL_MEM_COMMAND_ID_RAW) { in cxl_validate_cmd_from_user()
639 .size_in = send_cmd->in.size, in cxl_validate_cmd_from_user()
640 .size_out = send_cmd->out.size, in cxl_validate_cmd_from_user()
642 .opcode = send_cmd->raw.opcode in cxl_validate_cmd_from_user()
645 if (send_cmd->raw.rsvd) in cxl_validate_cmd_from_user()
653 if (send_cmd->out.size > cxlm->payload_size) in cxl_validate_cmd_from_user()
656 if (!cxl_mem_raw_command_allowed(send_cmd->raw.opcode)) in cxl_validate_cmd_from_user()
[all …]
/drivers/net/ethernet/cirrus/
Dmac89x0.c108 int send_cmd; /* the propercommand used to send a packet. */ member
227 lp->send_cmd = TX_AFTER_381; in mac89x0_device_probe()
229 lp->send_cmd = TX_NOW; in mac89x0_device_probe()
231 lp->send_cmd = TX_NOW; in mac89x0_device_probe()
344 writereg(dev, PP_TxCMD, lp->send_cmd); in net_send_packet()
416 if (lp->send_underrun == 3) lp->send_cmd = TX_AFTER_381; in net_interrupt()
417 else if (lp->send_underrun == 6) lp->send_cmd = TX_AFTER_ALL; in net_interrupt()
Dcs89x0.c139 int send_cmd; /* the proper send command: TX_NOW, TX_AFTER_381, or TX_AFTER_ALL */ member
772 lp->send_cmd = TX_AFTER_381; in net_interrupt()
774 lp->send_cmd = TX_AFTER_ALL; in net_interrupt()
1161 iowrite16(lp->send_cmd, lp->virt_addr + TX_CMD_PORT); in net_send_packet()
1359 lp->send_cmd = TX_AFTER_381; in cs89x0_probe1()
1361 lp->send_cmd = TX_NOW; in cs89x0_probe1()
1363 lp->send_cmd = TX_NOW; in cs89x0_probe1()
/drivers/mtd/nand/raw/
Dmxc_nand.c129 void (*send_cmd)(struct mxc_nand_host *, uint16_t, int); member
722 host->devtype_data->send_cmd(host, NAND_CMD_READ0, false); in mxc_nand_read_page_v1()
726 host->devtype_data->send_cmd(host, NAND_CMD_READSTART, true); in mxc_nand_read_page_v1()
781 host->devtype_data->send_cmd(host, NAND_CMD_READ0, false); in mxc_nand_read_page_v2_v3()
785 host->devtype_data->send_cmd(host, in mxc_nand_read_page_v2_v3()
861 host->devtype_data->send_cmd(host, NAND_CMD_SEQIN, false); in mxc_nand_write_page()
868 host->devtype_data->send_cmd(host, NAND_CMD_PAGEPROG, true); in mxc_nand_write_page()
1350 host->devtype_data->send_cmd(host, command, false); in mxc_nand_command()
1357 host->devtype_data->send_cmd(host, command, true); in mxc_nand_command()
1365 host->devtype_data->send_cmd(host, command, true); in mxc_nand_command()
[all …]
/drivers/crypto/marvell/octeontx2/
Dcn10k_cpt.c11 .send_cmd = otx2_cpt_send_cmd,
17 .send_cmd = cn10k_cpt_send_cmd,
Dotx2_cptlf.h88 void (*send_cmd)(union otx2_cpt_inst_s *cptinst, u32 insts_num, member
Dotx2_cptvf_reqmgr.c323 lf->lfs->ops->send_cmd(&cptinst, 1, lf); in process_request()
Dotx2_cptpf_ucode.c1485 lfs->ops->send_cmd(&inst, 1, &cptpf->lfs.lf[0]); in otx2_cpt_discover_eng_capabilities()
/drivers/media/usb/as102/
Das10x_handle.h22 int (*send_cmd)(struct as10x_bus_adapter_t *bus_adap, member
/drivers/input/mouse/
Delantech.c1643 info->send_cmd = info->hw_version >= 3 ? elantech_send_cmd : in elantech_set_properties()
1704 if (info->send_cmd(psmouse, ETP_CAPABILITIES_QUERY, in elantech_query_info()
1715 if (info->send_cmd(psmouse, ETP_SAMPLE_QUERY, info->samples)) { in elantech_query_info()
1727 if (info->send_cmd(psmouse, ETP_ICBODY_QUERY, ic_body)) { in elantech_query_info()
1808 if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) in elantech_query_info()
1814 if (info->send_cmd(psmouse, ETP_SAMPLE_QUERY, param)) in elantech_query_info()
1833 if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) in elantech_query_info()
1841 if (info->send_cmd(psmouse, ETP_FW_ID_QUERY, param)) in elantech_query_info()
Delantech.h165 int (*send_cmd)(struct psmouse *psmouse, unsigned char c, member
/drivers/hwmon/occ/
Dp9_sbe.c74 occ->send_cmd = p9_sbe_occ_send_cmd; in p9_sbe_occ_probe()
Dcommon.h99 int (*send_cmd)(struct occ *occ, u8 *cmd, size_t len, void *resp, member
Dp8_i2c.c225 occ->send_cmd = p8_i2c_occ_send_cmd; in p8_i2c_occ_probe()
Dcommon.c148 rc = occ->send_cmd(occ, cmd, sizeof(cmd), &occ->resp, sizeof(occ->resp)); in occ_poll()
202 rc = occ->send_cmd(occ, cmd, sizeof(cmd), resp, sizeof(resp)); in occ_set_user_power_cap()
/drivers/media/usb/gspca/
Dkinect.c120 static int send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, in send_cmd() function
209 res = send_cmd(gspca_dev, 0x03, cmd, 4, reply, 4); in write_register()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c161 goto send_cmd; in iwl_mvm_send_bt_init_conf()
175 send_cmd: in iwl_mvm_send_bt_init_conf()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h149 struct qlcnic_bc_trans *send_cmd; member
Dqlcnic_sriov_common.c844 vf->send_cmd = NULL; in qlcnic_sriov_clear_trans()
1029 vf->send_cmd = trans; in qlcnic_sriov_send_bc_cmd()
1096 trans = vf->send_cmd; in qlcnic_sriov_handle_bc_resp()
/drivers/scsi/cxlflash/
Dcommon.h232 int (*send_cmd)(struct afu *afu, struct afu_cmd *cmd); member
Dmain.c503 rc = afu->send_cmd(afu, cmd); in send_tmf()
633 rc = afu->send_cmd(afu, cmd); in cxlflash_queuecommand()
2136 afu->send_cmd = send_cmd_sq; in init_afu()
2139 afu->send_cmd = send_cmd_ioarrin; in init_afu()
2316 rc = afu->send_cmd(afu, cmd); in send_afu_cmd()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.h1086 int (*send_cmd)(struct bnx2x *bp, member
1363 int (*send_cmd)(struct bnx2x *bp, member
Dbnx2x_sp.c4681 rc = o->send_cmd(bp, params); in bnx2x_queue_state_change()
5681 obj->send_cmd = bnx2x_queue_send_cmd_e1x; in bnx2x_init_queue_obj()
5683 obj->send_cmd = bnx2x_queue_send_cmd_e2; in bnx2x_init_queue_obj()
6482 obj->send_cmd = bnx2x_func_send_cmd; in bnx2x_init_func_obj()
6542 rc = o->send_cmd(bp, params); in bnx2x_func_state_change()
/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1727 cmd_idx = trans->ops->send_cmd(trans, cmd); in iwl_trans_txq_send_hcmd_sync()
1824 ret = trans->ops->send_cmd(trans, cmd); in iwl_trans_txq_send_hcmd()
/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h537 int (*send_cmd)(struct iwl_trans *trans, struct iwl_host_cmd *cmd); member

12