Home
last modified time | relevance | path

Searched refs:cmd_params (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw.c47 struct dpsw_cmd_open *cmd_params; in dpsw_open() local
54 cmd_params = (struct dpsw_cmd_open *)cmd.params; in dpsw_open()
55 cmd_params->dpsw_id = cpu_to_le32(dpsw_id); in dpsw_open()
185 struct dpsw_cmd_set_irq_enable *cmd_params; in dpsw_set_irq_enable() local
191 cmd_params = (struct dpsw_cmd_set_irq_enable *)cmd.params; in dpsw_set_irq_enable()
192 dpsw_set_field(cmd_params->enable_state, ENABLE, en); in dpsw_set_irq_enable()
193 cmd_params->irq_index = irq_index; in dpsw_set_irq_enable()
222 struct dpsw_cmd_set_irq_mask *cmd_params; in dpsw_set_irq_mask() local
228 cmd_params = (struct dpsw_cmd_set_irq_mask *)cmd.params; in dpsw_set_irq_mask()
229 cmd_params->mask = cpu_to_le32(mask); in dpsw_set_irq_mask()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpni.c99 struct dpni_cmd_open *cmd_params; in dpni_open() local
107 cmd_params = (struct dpni_cmd_open *)cmd.params; in dpni_open()
108 cmd_params->dpni_id = cpu_to_le32(dpni_id); in dpni_open()
165 struct dpni_cmd_set_pools *cmd_params; in dpni_set_pools() local
172 cmd_params = (struct dpni_cmd_set_pools *)cmd.params; in dpni_set_pools()
173 cmd_params->num_dpbp = cfg->num_dpbp; in dpni_set_pools()
175 cmd_params->dpbp_id[i] = cpu_to_le32(cfg->pools[i].dpbp_id); in dpni_set_pools()
176 cmd_params->buffer_size[i] = in dpni_set_pools()
178 cmd_params->backup_pool_mask |= in dpni_set_pools()
312 struct dpni_cmd_set_irq_enable *cmd_params; in dpni_set_irq_enable() local
[all …]
Ddprtc.c34 struct dprtc_cmd_open *cmd_params; in dprtc_open() local
41 cmd_params = (struct dprtc_cmd_open *)cmd.params; in dprtc_open()
42 cmd_params->dprtc_id = cpu_to_le32(dprtc_id); in dprtc_open()
97 struct dprtc_cmd_set_irq_enable *cmd_params; in dprtc_set_irq_enable() local
103 cmd_params = (struct dprtc_cmd_set_irq_enable *)cmd.params; in dprtc_set_irq_enable()
104 cmd_params->irq_index = irq_index; in dprtc_set_irq_enable()
105 cmd_params->en = en; in dprtc_set_irq_enable()
127 struct dprtc_cmd_get_irq *cmd_params; in dprtc_get_irq_enable() local
134 cmd_params = (struct dprtc_cmd_get_irq *)cmd.params; in dprtc_get_irq_enable()
135 cmd_params->irq_index = irq_index; in dprtc_get_irq_enable()
[all …]
Ddpmac.c31 struct dpmac_cmd_open *cmd_params; in dpmac_open() local
39 cmd_params = (struct dpmac_cmd_open *)cmd.params; in dpmac_open()
40 cmd_params->dpmac_id = cpu_to_le32(dpmac_id); in dpmac_open()
131 struct dpmac_cmd_set_link_state *cmd_params; in dpmac_set_link_state() local
138 cmd_params = (struct dpmac_cmd_set_link_state *)cmd.params; in dpmac_set_link_state()
139 cmd_params->options = cpu_to_le64(link_state->options); in dpmac_set_link_state()
140 cmd_params->rate = cpu_to_le32(link_state->rate); in dpmac_set_link_state()
141 dpmac_set_field(cmd_params->state, STATE, link_state->up); in dpmac_set_link_state()
142 dpmac_set_field(cmd_params->state, STATE_VALID, in dpmac_set_link_state()
144 cmd_params->supported = cpu_to_le64(link_state->supported); in dpmac_set_link_state()
[all …]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Ddprc.c36 struct dprc_cmd_open *cmd_params; in dprc_open() local
42 cmd_params = (struct dprc_cmd_open *)cmd.params; in dprc_open()
43 cmd_params->container_id = cpu_to_le32(container_id); in dprc_open()
119 struct dprc_cmd_reset_container *cmd_params; in dprc_reset_container() local
145 cmd_params = (struct dprc_cmd_reset_container *)cmd.params; in dprc_reset_container()
146 cmd_params->child_container_id = cpu_to_le32(child_container_id); in dprc_reset_container()
147 cmd_params->options = cpu_to_le32(options); in dprc_reset_container()
171 struct dprc_cmd_set_irq *cmd_params; in dprc_set_irq() local
177 cmd_params = (struct dprc_cmd_set_irq *)cmd.params; in dprc_set_irq()
178 cmd_params->irq_val = cpu_to_le32(irq_cfg->val); in dprc_set_irq()
[all …]
Ddpmcp.c34 struct dpmcp_cmd_open *cmd_params; in dpmcp_open() local
40 cmd_params = (struct dpmcp_cmd_open *)cmd.params; in dpmcp_open()
41 cmd_params->dpmcp_id = cpu_to_le32(dpmcp_id); in dpmcp_open()
Ddpbp.c34 struct dpbp_cmd_open *cmd_params; in dpbp_open() local
40 cmd_params = (struct dpbp_cmd_open *)cmd.params; in dpbp_open()
41 cmd_params->dpbp_id = cpu_to_le32(dpbp_id); in dpbp_open()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Ddpseci.c31 struct dpseci_cmd_open *cmd_params; in dpseci_open() local
37 cmd_params = (struct dpseci_cmd_open *)cmd.params; in dpseci_open()
38 cmd_params->dpseci_id = cpu_to_le32(dpseci_id); in dpseci_open()
201 struct dpseci_cmd_queue *cmd_params; in dpseci_set_rx_queue() local
206 cmd_params = (struct dpseci_cmd_queue *)cmd.params; in dpseci_set_rx_queue()
207 cmd_params->dest_id = cpu_to_le32(cfg->dest_cfg.dest_id); in dpseci_set_rx_queue()
208 cmd_params->priority = cfg->dest_cfg.priority; in dpseci_set_rx_queue()
209 cmd_params->queue = queue; in dpseci_set_rx_queue()
210 dpseci_set_field(cmd_params->dest_type, DEST_TYPE, in dpseci_set_rx_queue()
212 cmd_params->user_ctx = cpu_to_le64(cfg->user_ctx); in dpseci_set_rx_queue()
[all …]
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/
Ddpdmai.c296 struct dpdmai_cmd_queue *cmd_params; in dpdmai_set_rx_queue() local
303 cmd_params = (struct dpdmai_cmd_queue *)cmd.params; in dpdmai_set_rx_queue()
304 cmd_params->dest_id = cpu_to_le32(cfg->dest_cfg.dest_id); in dpdmai_set_rx_queue()
305 cmd_params->priority = cfg->dest_cfg.priority; in dpdmai_set_rx_queue()
306 cmd_params->queue = priority; in dpdmai_set_rx_queue()
307 cmd_params->dest_type = cfg->dest_cfg.dest_type; in dpdmai_set_rx_queue()
308 cmd_params->user_ctx = cpu_to_le64(cfg->user_ctx); in dpdmai_set_rx_queue()
309 cmd_params->options = cpu_to_le32(cfg->options); in dpdmai_set_rx_queue()
330 struct dpdmai_cmd_queue *cmd_params; in dpdmai_get_rx_queue() local
338 cmd_params = (struct dpdmai_cmd_queue *)cmd.params; in dpdmai_get_rx_queue()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/st95hf/
Dcore.c92 unsigned char cmd_params[MAX_CMD_PARAMS]; member
132 .cmd_params = {0x3A, 0x00, 0x5A, 0x04},
139 .cmd_params = {0x68, 0x01, 0x01, 0xDF},
146 .cmd_params = {0x68, 0x01, 0x01, 0x51},
153 .cmd_params = {ISO14443A_PROTOCOL_CODE, 0x00, 0x01, 0xA0},
160 .cmd_params = {ISO14443B_PROTOCOL_CODE, 0x01, 0x03, 0xFF},
167 .cmd_params = {0xF2, 0x00, TRFLAG_NFCA_STD_FRAME_CRC},
174 .cmd_params = {0x0, 0x0},
181 .cmd_params = {ISO15693_PROTOCOL_CODE, 0x0D},
265 memcpy(&spi_cmd_buffer[3], cmd_array[cmd].cmd_params, in st95hf_send_recv_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw_api.c94 struct scsi_initiator_cmd_params *cmd_params, in init_sqe() argument
143 cmd_params->extended_cdb_sge.sge_len); in init_sqe()
154 cmd_params->extended_cdb_sge.sge_len); in init_sqe()
486 struct scsi_initiator_cmd_params *cmd_params, in init_rw_iscsi_task() argument
517 cmd_params); in init_rw_iscsi_task()
518 val = cpu_to_le32(cmd_params->sense_data_buffer_phys_addr.lo); in init_rw_iscsi_task()
521 val = cpu_to_le32(cmd_params->sense_data_buffer_phys_addr.hi); in init_rw_iscsi_task()
581 cmd_params, task_type, false); in init_rw_iscsi_task()
588 struct scsi_initiator_cmd_params *cmd_params, in init_initiator_rw_iscsi_task() argument
599 tx_sgl_params, cmd_params, in init_initiator_rw_iscsi_task()
[all …]
Dqedi_fw_iscsi.h42 struct scsi_initiator_cmd_params *cmd_params,
Dqedi_fw.c2041 struct scsi_initiator_cmd_params cmd_params; in qedi_iscsi_send_ioreq() local
2076 memset(&cmd_params, 0, sizeof(cmd_params)); in qedi_iscsi_send_ioreq()
2136 cmd_params.sense_data_buffer_phys_addr.lo = (u32)cmd->sense_buffer_dma; in qedi_iscsi_send_ioreq()
2137 cmd_params.sense_data_buffer_phys_addr.hi = in qedi_iscsi_send_ioreq()
2169 &cmd_params, &cmd_pdu_header, in qedi_iscsi_send_ioreq()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c4779 struct bnx2x_queue_state_params *cmd_params, in bnx2x_q_fill_setup_data_e2() argument
4782 struct bnx2x_queue_setup_params *params = &cmd_params->params.setup; in bnx2x_q_fill_setup_data_e2()
4948 struct bnx2x_queue_state_params *cmd_params, in bnx2x_q_fill_setup_data_cmn() argument
4951 bnx2x_q_fill_init_general_data(bp, cmd_params->q_obj, in bnx2x_q_fill_setup_data_cmn()
4952 &cmd_params->params.setup.gen_params, in bnx2x_q_fill_setup_data_cmn()
4954 &cmd_params->params.setup.flags); in bnx2x_q_fill_setup_data_cmn()
4956 bnx2x_q_fill_init_tx_data(cmd_params->q_obj, in bnx2x_q_fill_setup_data_cmn()
4957 &cmd_params->params.setup.txq_params, in bnx2x_q_fill_setup_data_cmn()
4959 &cmd_params->params.setup.flags); in bnx2x_q_fill_setup_data_cmn()
4961 bnx2x_q_fill_init_rx_data(cmd_params->q_obj, in bnx2x_q_fill_setup_data_cmn()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch5099 + struct dpseci_cmd_create *cmd_params;
5105 + cmd_params = (struct dpseci_cmd_create *)cmd.params;
5107 + cmd_params->priorities[i] = cfg->priorities[i];
5109 + cmd_params->priorities2[i] = cfg->priorities[8 + i];
5110 + cmd_params->num_tx_queues = cfg->num_tx_queues;
5111 + cmd_params->num_rx_queues = cfg->num_rx_queues;
5112 + cmd_params->options = cpu_to_le32(cfg->options);
5141 + struct dpseci_cmd_destroy *cmd_params;
5146 + cmd_params = (struct dpseci_cmd_destroy *)cmd.params;
5147 + cmd_params->object_id = cpu_to_le32(object_id);
[all …]
D0014_linux_drivers_bus.patch816 + struct obj_cmd_open *cmd_params;
826 + cmd_params = (struct obj_cmd_open *)cmd.params;
827 + cmd_params->obj_id = cpu_to_le32(obj_id);
D0036_linux_drivers_staging.patch653 + struct dpdmux_cmd_open *cmd_params;
660 + cmd_params = (struct dpdmux_cmd_open *)cmd.params;
661 + cmd_params->dpdmux_id = cpu_to_le32(dpdmux_id);
729 + struct dpdmux_cmd_create *cmd_params;
736 + cmd_params = (struct dpdmux_cmd_create *)cmd.params;
737 + cmd_params->method = cfg->method;
738 + cmd_params->manip = cfg->manip;
739 + cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs);
740 + cmd_params->adv_max_dmat_entries =
742 + cmd_params->adv_max_mc_groups = cpu_to_le16(cfg->adv.max_mc_groups);
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h999 } cmd_params; member
Dbe_cmds.c1652 req->cmd_params.params.pport_num = cpu_to_le16(adapter->hba_port_num); in lancer_cmd_get_pport_stats()
1653 req->cmd_params.params.reset_stats = 0; in lancer_cmd_get_pport_stats()