Lines Matching refs:cmd

33 	struct fsl_mc_command cmd = { 0 };  in dpcon_open()  local
38 cmd.header = mc_encode_cmd_header(DPCON_CMDID_OPEN, in dpcon_open()
41 dpcon_cmd = (struct dpcon_cmd_open *)cmd.params; in dpcon_open()
45 err = mc_send_command(mc_io, &cmd); in dpcon_open()
50 *token = mc_cmd_hdr_read_token(&cmd); in dpcon_open()
71 struct fsl_mc_command cmd = { 0 }; in dpcon_close() local
74 cmd.header = mc_encode_cmd_header(DPCON_CMDID_CLOSE, in dpcon_close()
79 return mc_send_command(mc_io, &cmd); in dpcon_close()
95 struct fsl_mc_command cmd = { 0 }; in dpcon_enable() local
98 cmd.header = mc_encode_cmd_header(DPCON_CMDID_ENABLE, in dpcon_enable()
103 return mc_send_command(mc_io, &cmd); in dpcon_enable()
119 struct fsl_mc_command cmd = { 0 }; in dpcon_disable() local
122 cmd.header = mc_encode_cmd_header(DPCON_CMDID_DISABLE, in dpcon_disable()
127 return mc_send_command(mc_io, &cmd); in dpcon_disable()
143 struct fsl_mc_command cmd = { 0 }; in dpcon_reset() local
146 cmd.header = mc_encode_cmd_header(DPCON_CMDID_RESET, in dpcon_reset()
150 return mc_send_command(mc_io, &cmd); in dpcon_reset()
168 struct fsl_mc_command cmd = { 0 }; in dpcon_get_attributes() local
173 cmd.header = mc_encode_cmd_header(DPCON_CMDID_GET_ATTR, in dpcon_get_attributes()
178 err = mc_send_command(mc_io, &cmd); in dpcon_get_attributes()
183 dpcon_rsp = (struct dpcon_rsp_get_attr *)cmd.params; in dpcon_get_attributes()
206 struct fsl_mc_command cmd = { 0 }; in dpcon_set_notification() local
210 cmd.header = mc_encode_cmd_header(DPCON_CMDID_SET_NOTIFICATION, in dpcon_set_notification()
213 dpcon_cmd = (struct dpcon_cmd_set_notification *)cmd.params; in dpcon_set_notification()
219 return mc_send_command(mc_io, &cmd); in dpcon_set_notification()