Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 255) sorted by relevance

1234567891011

/drivers/net/fsl-mc/
A Ddpbp.c32 struct mc_command cmd = { 0 }; in dpbp_open() local
42 err = mc_send_command(mc_io, &cmd); in dpbp_open()
65 struct mc_command cmd = { 0 }; in dpbp_close() local
96 struct mc_command cmd = { 0 }; in dpbp_create() local
106 err = mc_send_command(mc_io, &cmd); in dpbp_create()
129 struct mc_command cmd = { 0 }; in dpbp_destroy() local
152 struct mc_command cmd = { 0 }; in dpbp_enable() local
172 struct mc_command cmd = { 0 }; in dpbp_disable() local
192 struct mc_command cmd = { 0 }; in dpbp_reset() local
216 struct mc_command cmd = { 0 }; in dpbp_get_attributes() local
[all …]
A Ddpni.c31 struct mc_command cmd = { 0 }; in dpni_open() local
66 struct mc_command cmd = { 0 }; in dpni_close() local
103 struct mc_command cmd = { 0 }; in dpni_create() local
154 struct mc_command cmd = { 0 }; in dpni_destroy() local
183 struct mc_command cmd = { 0 }; in dpni_set_pools() local
219 struct mc_command cmd = { 0 }; in dpni_enable() local
240 struct mc_command cmd = { 0 }; in dpni_disable() local
261 struct mc_command cmd = { 0 }; in dpni_reset() local
284 struct mc_command cmd = { 0 }; in dpni_get_attributes() local
336 struct mc_command cmd = { 0 }; in dpni_set_buffer_layout() local
[all …]
A Ddpmac.c34 struct mc_command cmd = { 0 }; in dpmac_open() local
43 err = mc_send_command(mc_io, &cmd); in dpmac_open()
48 *token = mc_cmd_hdr_read_token(&cmd); in dpmac_open()
66 struct mc_command cmd = { 0 }; in dpmac_close() local
72 return mc_send_command(mc_io, &cmd); in dpmac_close()
98 struct mc_command cmd = { 0 }; in dpmac_create() local
107 err = mc_send_command(mc_io, &cmd); in dpmac_create()
136 struct mc_command cmd = { 0 }; in dpmac_destroy() local
162 struct mc_command cmd = { 0 }; in dpmac_set_link_state() local
193 struct mc_command cmd = { 0 }; in dpmac_get_counter() local
[all …]
A Ddpsparser.c29 struct mc_command cmd = { 0 }; in dpsparser_open() local
38 err = mc_send_command(mc_io, &cmd); in dpsparser_open()
43 *token = mc_cmd_hdr_read_token(&cmd); in dpsparser_open()
61 struct mc_command cmd = { 0 }; in dpsparser_close() local
68 return mc_send_command(mc_io, &cmd); in dpsparser_close()
94 struct mc_command cmd = { 0 }; in dpsparser_create() local
103 err = mc_send_command(mc_io, &cmd); in dpsparser_create()
125 struct mc_command cmd = { 0 }; in dpsparser_destroy() local
153 struct mc_command cmd = { 0 }; in dpsparser_apply_spb() local
164 err = mc_send_command(mc_io, &cmd); in dpsparser_apply_spb()
[all …]
A Ddprc.c23 struct mc_command cmd = { 0 }; in dprc_get_container_id() local
32 err = mc_send_command(mc_io, &cmd); in dprc_get_container_id()
56 struct mc_command cmd = { 0 }; in dprc_open() local
66 err = mc_send_command(mc_io, &cmd); in dprc_open()
89 struct mc_command cmd = { 0 }; in dprc_close() local
116 struct mc_command cmd = { 0 }; in dprc_create_container() local
168 struct mc_command cmd = { 0 }; in dprc_destroy_container() local
199 struct mc_command cmd = { 0 }; in dprc_connect() local
235 struct mc_command cmd = { 0 }; in dprc_disconnect() local
273 struct mc_command cmd = { 0 }; in dprc_get_connection() local
[all …]
A Dmc_sys.c15 static u16 mc_cmd_hdr_read_cmdid(struct mc_command *cmd) in mc_cmd_hdr_read_cmdid() argument
17 struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; in mc_cmd_hdr_read_cmdid()
36 struct mc_command *cmd) in mc_send_command() argument
41 mc_write_command(mc_io->mmio_regs, cmd); in mc_send_command()
44 status = mc_read_response(mc_io->mmio_regs, cmd); in mc_send_command()
59 (unsigned int)mc_cmd_hdr_read_token(cmd), in mc_send_command()
60 (unsigned int)mc_cmd_hdr_read_cmdid(cmd), in mc_send_command()
/drivers/scsi/
A Dscsi.c63 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read16()
64 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read16()
65 pccb->cmd[6], pccb->cmd[7], pccb->cmd[8], pccb->cmd[9], in scsi_setup_read16()
66 pccb->cmd[11], pccb->cmd[12], pccb->cmd[13], pccb->cmd[14]); in scsi_setup_read16()
118 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read_ext()
119 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read_ext()
120 pccb->cmd[7], pccb->cmd[8]); in scsi_setup_read_ext()
140 pccb->cmd[0], pccb->cmd[1], in scsi_setup_write_ext()
141 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_write_ext()
185 pccb->cmd[0], pccb->cmd[1], in scsi_setup_erase_ext()
[all …]
/drivers/net/octeontx2/
A Dcgx_intf.c114 u8 cmd = cmd_args.cmd.id; in cgx_intf_req() local
125 scr1.s.cmd.id = cmd; in cgx_intf_req()
189 cmd.cmd.id = CGX_CMD_GET_MAC_ADDR; in cgx_intf_get_mac_addr()
207 cmd.cmd.id = CGX_CMD_GET_FW_VER; in cgx_intf_get_ver()
225 cmd.cmd.id = CGX_CMD_GET_LINK_STS; in cgx_intf_get_link_sts()
264 cmd.cmd.id = CGX_CMD_INTF_SHUTDOWN; in cgx_intf_shutdown()
275 cmd.cmd.id = CGX_CMD_PRBS; in cgx_intf_prbs()
360 cmd.cmd.id = CGX_CMD_MODE_CHANGE; in cgx_intf_set_mode()
371 cmd.cmd.id = CGX_CMD_GET_LINK_STS; in cgx_intf_set_mode()
511 cmd.cmd.id = CGX_CMD_SET_FEC; in cgx_intf_set_fec()
[all …]
/drivers/net/fsl-mc/dpio/
A Ddpio.c32 struct mc_command cmd = { 0 }; in dpio_open() local
43 err = mc_send_command(mc_io, &cmd); in dpio_open()
48 *token = mc_cmd_hdr_read_token(&cmd); in dpio_open()
63 struct mc_command cmd = { 0 }; in dpio_close() local
71 return mc_send_command(mc_io, &cmd); in dpio_close()
100 struct mc_command cmd = { 0 }; in dpio_create() local
143 struct mc_command cmd = { 0 }; in dpio_destroy() local
168 struct mc_command cmd = { 0 }; in dpio_enable() local
189 struct mc_command cmd = { 0 }; in dpio_disable() local
213 struct mc_command cmd = { 0 }; in dpio_get_attributes() local
[all …]
/drivers/mmc/
A Dmmc_boot.c64 struct mmc_cmd cmd; in mmc_resize_boot_sandisk() local
78 cmd.resp_type = MMC_RSP_R1b; in mmc_resize_boot_sandisk()
87 cmd.resp_type = MMC_RSP_R1b; in mmc_resize_boot_sandisk()
88 cmd.cmdarg = bootsize; in mmc_resize_boot_sandisk()
96 cmd.resp_type = MMC_RSP_R1b; in mmc_resize_boot_sandisk()
97 cmd.cmdarg = rpmbsize; in mmc_resize_boot_sandisk()
114 struct mmc_cmd cmd; in mmc_resize_boot_samsung() local
118 cmd.resp_type = MMC_RSP_R1b; in mmc_resize_boot_samsung()
119 cmd.cmdarg = MMC_CMD62_ARG1; in mmc_resize_boot_samsung()
140 cmd.cmdarg = bootsize; in mmc_resize_boot_samsung()
[all …]
A Dmmc.c363 cmd.cmdarg = len; in mmc_set_blocklen()
420 cmd.cmdarg = 0; in mmc_send_tuning()
444 cmd.cmdarg = 0; in mmc_send_stop_transmission()
574 cmd.cmdarg = 0; in mmc_go_idle()
601 cmd.cmdarg = 0; in mmc_switch_voltage()
658 cmd.cmdarg = 0; in sd_send_op_cond()
704 cmd.cmdarg = 0; in sd_send_op_cond()
736 cmd.cmdarg = 0; in mmc_send_op_cond_iter()
833 cmd.cmdarg = 0; in mmc_send_ext_csd()
1394 cmd.cmdarg = 0; in sd_get_capabilities()
[all …]
A Dsandbox_mmc.c47 switch (cmd->cmdidx) { in sandbox_mmc_send_cmd()
49 memset(cmd->response, '\0', sizeof(cmd->response)); in sandbox_mmc_send_cmd()
56 cmd->response[0] = 0xaa; in sandbox_mmc_send_cmd()
64 cmd->response[0] = 0; in sandbox_mmc_send_cmd()
68 cmd->response[3] = 0; in sandbox_mmc_send_cmd()
77 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd()
93 erase_start = cmd->cmdarg; in sandbox_mmc_send_cmd()
96 erase_end = cmd->cmdarg; in sandbox_mmc_send_cmd()
109 cmd->response[1] = 0; in sandbox_mmc_send_cmd()
110 cmd->response[2] = 0; in sandbox_mmc_send_cmd()
[all …]
A Dmmc_write.c19 struct mmc_cmd cmd; in mmc_erase_t() local
38 cmd.cmdidx = start_cmd; in mmc_erase_t()
39 cmd.cmdarg = start; in mmc_erase_t()
40 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t()
46 cmd.cmdidx = end_cmd; in mmc_erase_t()
47 cmd.cmdarg = end; in mmc_erase_t()
53 cmd.cmdidx = MMC_CMD_ERASE; in mmc_erase_t()
55 cmd.resp_type = MMC_RSP_R1b; in mmc_erase_t()
155 struct mmc_cmd cmd; in mmc_write_blocks() local
174 cmd.cmdarg = start; in mmc_write_blocks()
[all …]
A Dmvebu_mmc.c85 cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd()
123 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd()
132 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd()
178 cmd->cmdidx, in mvebu_mmc_send_cmd()
196 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd()
223 cmd->response[2] = 0; in mvebu_mmc_send_cmd()
224 cmd->response[3] = 0; in mvebu_mmc_send_cmd()
226 cmd->response[0] = 0; in mvebu_mmc_send_cmd()
227 cmd->response[1] = 0; in mvebu_mmc_send_cmd()
228 cmd->response[2] = 0; in mvebu_mmc_send_cmd()
[all …]
A Dsunxi_mmc.c184 unsigned int cmd; in mmc_update_clk() local
188 cmd = SUNXI_MMC_CMD_START | in mmc_update_clk()
192 writel(cmd, &priv->reg->cmd); in mmc_update_clk()
360 if (cmd->cmdidx == 12) in sunxi_mmc_send_cmd_common()
363 if (!cmd->cmdidx) in sunxi_mmc_send_cmd_common()
367 if (cmd->resp_type & MMC_RSP_136) in sunxi_mmc_send_cmd_common()
388 cmd->cmdidx, cmdval | cmd->cmdidx, cmd->cmdarg); in sunxi_mmc_send_cmd_common()
392 writel(cmdval | cmd->cmdidx, &priv->reg->cmd); in sunxi_mmc_send_cmd_common()
404 writel(cmdval | cmd->cmdidx, &priv->reg->cmd); in sunxi_mmc_send_cmd_common()
451 cmd->response[3], cmd->response[2], in sunxi_mmc_send_cmd_common()
[all …]
A Darm_pl180_mmci.c42 if ((cmd->resp_type & MMC_RSP_PRESENT)) in wait_for_command_end()
56 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end()
68 cmd->cmdidx, cmd->response[0], cmd->response[1], in wait_for_command_end()
69 cmd->response[2], cmd->response[3]); in wait_for_command_end()
84 if (cmd->resp_type) { in do_command()
86 if (cmd->resp_type & MMC_RSP_136) in do_command()
223 struct mmc_cmd *cmd, in do_data_transfer() argument
250 error = do_command(dev, cmd); in do_data_transfer()
257 error = do_command(dev, cmd); in do_data_transfer()
270 struct mmc_cmd *cmd, in host_request() argument
[all …]
A Dmmc_spi.c330 cmd->response[i] = 0; in dm_mmc_spi_request()
332 switch (cmd->cmdidx) { in dm_mmc_spi_request()
337 cmd->cmdarg = 0x40000000; in dm_mmc_spi_request()
386 ret = mmc_spi_sendcmd(dev, cmd->cmdidx, cmd->cmdarg, cmd->resp_type, in dm_mmc_spi_request()
391 switch (cmd->cmdidx) { in dm_mmc_spi_request()
398 cmd->response[0] = resp40[4]; in dm_mmc_spi_request()
415 cmd->response[i] = in dm_mmc_spi_request()
416 cpu_to_be32(cmd->response[i]); in dm_mmc_spi_request()
419 cmd->response[0] = resp8; in dm_mmc_spi_request()
424 __func__, cmd->cmdidx, cmd->response[0], cmd->response[1], in dm_mmc_spi_request()
[all …]
A Dsh_mmcif.c317 struct mmc_cmd *cmd) in sh_mmcif_get_response() argument
325 cmd->response[1], cmd->response[2], cmd->response[3]); in sh_mmcif_get_response()
332 struct mmc_cmd *cmd) in sh_mmcif_get_cmd12response() argument
341 u32 opc = cmd->cmdidx; in sh_mmcif_set_cmd()
344 switch (cmd->resp_type) { in sh_mmcif_set_cmd()
440 u32 opc = cmd->cmdidx; in sh_mmcif_start_cmd()
477 debug("CMD%d ARG:%08x\n", cmd->cmdidx, cmd->cmdarg); in sh_mmcif_start_cmd()
489 switch (cmd->cmdidx) { in sh_mmcif_start_cmd()
510 sh_mmcif_get_response(host, cmd); in sh_mmcif_start_cmd()
515 host->last_cmd = cmd->cmdidx; in sh_mmcif_start_cmd()
[all …]
A Dstm32_sdmmc2.c262 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd()
301 struct mmc_cmd *cmd, in stm32_sdmmc2_end_cmd() argument
311 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd()
330 status, cmd->cmdidx); in stm32_sdmmc2_end_cmd()
337 status, cmd->cmdidx); in stm32_sdmmc2_end_cmd()
380 struct mmc_cmd *cmd, in stm32_sdmmc2_end_data() argument
407 status, cmd->cmdidx); in stm32_sdmmc2_end_data()
415 status, cmd->cmdidx); in stm32_sdmmc2_end_data()
422 status, cmd->cmdidx); in stm32_sdmmc2_end_data()
429 status, cmd->cmdidx); in stm32_sdmmc2_end_data()
[all …]
A Dmeson_gx_mmc.c122 struct mmc_cmd *cmd) in meson_mmc_setup_cmd() argument
126 meson_mmc_cmd |= cmd->cmdidx << CMD_CFG_CMD_INDEX_SHIFT; in meson_mmc_setup_cmd()
128 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd()
129 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd()
132 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd()
135 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd()
186 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response()
190 cmd->response[3] = meson_read(mmc, MESON_SD_EMMC_CMD_RSP); in meson_mmc_read_response()
209 meson_mmc_setup_cmd(mmc, data, cmd); in meson_dm_mmc_send_cmd()
212 meson_write(mmc, cmd->cmdarg, MESON_SD_EMMC_CMD_ARG); in meson_dm_mmc_send_cmd()
[all …]
A Dtegra_mmc.c133 struct mmc_cmd *cmd, in tegra_mmc_wait_inhibit() argument
182 debug("cmd->arg: %08x\n", cmd->cmdarg); in tegra_mmc_send_cmd_bounced()
188 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_send_cmd_bounced()
205 else if (cmd->resp_type & MMC_RSP_136) in tegra_mmc_send_cmd_bounced()
207 else if (cmd->resp_type & MMC_RSP_BUSY) in tegra_mmc_send_cmd_bounced()
212 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced()
214 if (cmd->resp_type & MMC_RSP_OPCODE) in tegra_mmc_send_cmd_bounced()
219 debug("cmd: %d\n", cmd->cmdidx); in tegra_mmc_send_cmd_bounced()
252 if (cmd->resp_type & MMC_RSP_136) { in tegra_mmc_send_cmd_bounced()
260 cmd->response[i] |= in tegra_mmc_send_cmd_bounced()
[all …]
/drivers/soc/qcom/
A Drpmh.c23 .cmds = name.cmd, \
26 .cmd = { { 0 } }, \
70 const struct tcs_cmd *cmd, u32 n) in __fill_rpmh_msg() argument
72 if (!cmd || !n || n > MAX_RPMH_PAYLOAD) in __fill_rpmh_msg()
75 memcpy(req->cmd, cmd, n * sizeof(*cmd)); in __fill_rpmh_msg()
78 req->msg.cmds = req->cmd; in __fill_rpmh_msg()
81 debug("rpmh_msg: %d, %d cmds [first %#x/%#x]\n", state, n, cmd->addr, cmd->data); in __fill_rpmh_msg()
97 const struct tcs_cmd *cmd, u32 n) in rpmh_write() argument
102 ret = __fill_rpmh_msg(&rpm_msg, state, cmd, n); in rpmh_write()
/drivers/crypto/fsl/
A Ddesc_constr.h135 u32 *cmd = desc_end(desc); in append_cmd() local
137 *cmd = command; in append_cmd()
186 #define APPEND_CMD_RET(cmd, op) \ argument
189 u32 *cmd = desc_end(desc); \
192 return cmd; \
209 #define APPEND_CMD(cmd, op) \ argument
217 #define APPEND_CMD_LEN(cmd, op) \ in APPEND_CMD() argument
227 #define APPEND_CMD_PTR(cmd, op) \ argument
256 #define APPEND_SEQ_PTR_INTLEN(cmd, op) \ argument
270 #define APPEND_CMD_PTR_TO_IMM(cmd, op) \ argument
[all …]
/drivers/sm/
A Dmeson-sm.c34 struct meson_sm_cmd cmd[]; member
43 static unsigned long __meson_sm_call(u32 cmd, const struct pt_regs *args) in __meson_sm_call() argument
47 r.regs[0] = cmd; in __meson_sm_call()
56 struct meson_sm_cmd cmd; in meson_sm_get_cmd() local
61 cmd = data->cmd[cmd_index]; in meson_sm_get_cmd()
62 return cmd.smc_id; in meson_sm_get_cmd()
69 u32 cmd, ret; in meson_sm_call() local
71 cmd = meson_sm_get_cmd(priv->data, cmd_index); in meson_sm_call()
72 if (!cmd) in meson_sm_call()
75 ret = __meson_sm_call(cmd, args); in meson_sm_call()
[all …]
/drivers/i3c/master/
A Ddw-i3c-master.c46 if (cmd->ndests > 1) in dw_i3c_master_supports_ccc_cmd()
49 switch (cmd->id) { in dw_i3c_master_supports_ccc_cmd()
175 dw_i3c_master_wr_tx_fifo(master, cmd->tx_buf, cmd->tx_len); in dw_i3c_master_start_xfer_locked()
268 struct dw_i3c_cmd *cmd; in dw_i3c_master_end_xfer_locked() local
276 if (cmd->rx_len && !cmd->error) in dw_i3c_master_end_xfer_locked()
278 cmd->rx_len); in dw_i3c_master_end_xfer_locked()
531 cmd = xfer->cmds; in dw_i3c_ccc_set()
575 cmd = xfer->cmds; in dw_i3c_ccc_get()
657 cmd = &xfer->cmds[0]; in dw_i3c_master_daa()
658 cmd->cmd_hi = 0x1; in dw_i3c_master_daa()
[all …]

Completed in 86 milliseconds

1234567891011