@@ -24,7 +24,7 @@ int dprc_open(struct fsl_mc_io *mc_io,
2424 int container_id ,
2525 u16 * token )
2626{
27- struct mc_command cmd = { 0 };
27+ struct fsl_mc_command cmd = { 0 };
2828 struct dprc_cmd_open * cmd_params ;
2929 int err ;
3030
@@ -61,7 +61,7 @@ int dprc_close(struct fsl_mc_io *mc_io,
6161 u32 cmd_flags ,
6262 u16 token )
6363{
64- struct mc_command cmd = { 0 };
64+ struct fsl_mc_command cmd = { 0 };
6565
6666 /* prepare command */
6767 cmd .header = mc_encode_cmd_header (DPRC_CMDID_CLOSE , cmd_flags ,
@@ -88,7 +88,7 @@ int dprc_set_irq(struct fsl_mc_io *mc_io,
8888 u8 irq_index ,
8989 struct dprc_irq_cfg * irq_cfg )
9090{
91- struct mc_command cmd = { 0 };
91+ struct fsl_mc_command cmd = { 0 };
9292 struct dprc_cmd_set_irq * cmd_params ;
9393
9494 /* prepare command */
@@ -126,7 +126,7 @@ int dprc_set_irq_enable(struct fsl_mc_io *mc_io,
126126 u8 irq_index ,
127127 u8 en )
128128{
129- struct mc_command cmd = { 0 };
129+ struct fsl_mc_command cmd = { 0 };
130130 struct dprc_cmd_set_irq_enable * cmd_params ;
131131
132132 /* prepare command */
@@ -162,7 +162,7 @@ int dprc_set_irq_mask(struct fsl_mc_io *mc_io,
162162 u8 irq_index ,
163163 u32 mask )
164164{
165- struct mc_command cmd = { 0 };
165+ struct fsl_mc_command cmd = { 0 };
166166 struct dprc_cmd_set_irq_mask * cmd_params ;
167167
168168 /* prepare command */
@@ -194,7 +194,7 @@ int dprc_get_irq_status(struct fsl_mc_io *mc_io,
194194 u8 irq_index ,
195195 u32 * status )
196196{
197- struct mc_command cmd = { 0 };
197+ struct fsl_mc_command cmd = { 0 };
198198 struct dprc_cmd_get_irq_status * cmd_params ;
199199 struct dprc_rsp_get_irq_status * rsp_params ;
200200 int err ;
@@ -236,7 +236,7 @@ int dprc_clear_irq_status(struct fsl_mc_io *mc_io,
236236 u8 irq_index ,
237237 u32 status )
238238{
239- struct mc_command cmd = { 0 };
239+ struct fsl_mc_command cmd = { 0 };
240240 struct dprc_cmd_clear_irq_status * cmd_params ;
241241
242242 /* prepare command */
@@ -264,7 +264,7 @@ int dprc_get_attributes(struct fsl_mc_io *mc_io,
264264 u16 token ,
265265 struct dprc_attributes * attr )
266266{
267- struct mc_command cmd = { 0 };
267+ struct fsl_mc_command cmd = { 0 };
268268 struct dprc_rsp_get_attributes * rsp_params ;
269269 int err ;
270270
@@ -302,7 +302,7 @@ int dprc_get_obj_count(struct fsl_mc_io *mc_io,
302302 u16 token ,
303303 int * obj_count )
304304{
305- struct mc_command cmd = { 0 };
305+ struct fsl_mc_command cmd = { 0 };
306306 struct dprc_rsp_get_obj_count * rsp_params ;
307307 int err ;
308308
@@ -344,7 +344,7 @@ int dprc_get_obj(struct fsl_mc_io *mc_io,
344344 int obj_index ,
345345 struct fsl_mc_obj_desc * obj_desc )
346346{
347- struct mc_command cmd = { 0 };
347+ struct fsl_mc_command cmd = { 0 };
348348 struct dprc_cmd_get_obj * cmd_params ;
349349 struct dprc_rsp_get_obj * rsp_params ;
350350 int err ;
@@ -399,7 +399,7 @@ int dprc_set_obj_irq(struct fsl_mc_io *mc_io,
399399 u8 irq_index ,
400400 struct dprc_irq_cfg * irq_cfg )
401401{
402- struct mc_command cmd = { 0 };
402+ struct fsl_mc_command cmd = { 0 };
403403 struct dprc_cmd_set_obj_irq * cmd_params ;
404404
405405 /* prepare command */
@@ -440,7 +440,7 @@ int dprc_get_obj_region(struct fsl_mc_io *mc_io,
440440 u8 region_index ,
441441 struct dprc_region_desc * region_desc )
442442{
443- struct mc_command cmd = { 0 };
443+ struct fsl_mc_command cmd = { 0 };
444444 struct dprc_cmd_get_obj_region * cmd_params ;
445445 struct dprc_rsp_get_obj_region * rsp_params ;
446446 int err ;
@@ -482,7 +482,7 @@ int dprc_get_api_version(struct fsl_mc_io *mc_io,
482482 u16 * major_ver ,
483483 u16 * minor_ver )
484484{
485- struct mc_command cmd = { 0 };
485+ struct fsl_mc_command cmd = { 0 };
486486 int err ;
487487
488488 /* prepare command */
@@ -512,7 +512,7 @@ int dprc_get_container_id(struct fsl_mc_io *mc_io,
512512 u32 cmd_flags ,
513513 int * container_id )
514514{
515- struct mc_command cmd = { 0 };
515+ struct fsl_mc_command cmd = { 0 };
516516 int err ;
517517
518518 /* prepare command */
0 commit comments