Lines Matching refs:cmd
33 struct fsl_mc_command cmd = { 0 }; in dpbp_open() local
38 cmd.header = mc_encode_cmd_header(DPBP_CMDID_OPEN, in dpbp_open()
40 cmd_params = (struct dpbp_cmd_open *)cmd.params; in dpbp_open()
44 err = mc_send_command(mc_io, &cmd); in dpbp_open()
49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
70 struct fsl_mc_command cmd = { 0 }; in dpbp_close() local
73 cmd.header = mc_encode_cmd_header(DPBP_CMDID_CLOSE, cmd_flags, in dpbp_close()
77 return mc_send_command(mc_io, &cmd); in dpbp_close()
93 struct fsl_mc_command cmd = { 0 }; in dpbp_enable() local
96 cmd.header = mc_encode_cmd_header(DPBP_CMDID_ENABLE, cmd_flags, in dpbp_enable()
100 return mc_send_command(mc_io, &cmd); in dpbp_enable()
116 struct fsl_mc_command cmd = { 0 }; in dpbp_disable() local
119 cmd.header = mc_encode_cmd_header(DPBP_CMDID_DISABLE, in dpbp_disable()
123 return mc_send_command(mc_io, &cmd); in dpbp_disable()
139 struct fsl_mc_command cmd = { 0 }; in dpbp_reset() local
142 cmd.header = mc_encode_cmd_header(DPBP_CMDID_RESET, in dpbp_reset()
146 return mc_send_command(mc_io, &cmd); in dpbp_reset()
165 struct fsl_mc_command cmd = { 0 }; in dpbp_get_attributes() local
170 cmd.header = mc_encode_cmd_header(DPBP_CMDID_GET_ATTR, in dpbp_get_attributes()
174 err = mc_send_command(mc_io, &cmd); in dpbp_get_attributes()
179 rsp_params = (struct dpbp_rsp_get_attributes *)cmd.params; in dpbp_get_attributes()