Lines Matching refs:write_dcd_command

184 	len = be16_to_cpu(d->write_dcd_command.length);  in set_dcd_param_v2()
190 if ((d->write_dcd_command.tag == DCD_WRITE_DATA_COMMAND_TAG) && in set_dcd_param_v2()
191 (d->write_dcd_command.param == DCD_WRITE_DATA_PARAM)) in set_dcd_param_v2()
194 d->write_dcd_command.tag = DCD_WRITE_DATA_COMMAND_TAG; in set_dcd_param_v2()
195 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
196 d->write_dcd_command.param = DCD_WRITE_DATA_PARAM; in set_dcd_param_v2()
199 if ((d->write_dcd_command.tag == DCD_WRITE_DATA_COMMAND_TAG) && in set_dcd_param_v2()
200 (d->write_dcd_command.param == DCD_WRITE_CLR_BIT_PARAM)) in set_dcd_param_v2()
203 d->write_dcd_command.tag = DCD_WRITE_DATA_COMMAND_TAG; in set_dcd_param_v2()
204 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
205 d->write_dcd_command.param = DCD_WRITE_CLR_BIT_PARAM; in set_dcd_param_v2()
208 if ((d->write_dcd_command.tag == DCD_WRITE_DATA_COMMAND_TAG) && in set_dcd_param_v2()
209 (d->write_dcd_command.param == DCD_WRITE_SET_BIT_PARAM)) in set_dcd_param_v2()
212 d->write_dcd_command.tag = DCD_WRITE_DATA_COMMAND_TAG; in set_dcd_param_v2()
213 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
214 d->write_dcd_command.param = DCD_WRITE_SET_BIT_PARAM; in set_dcd_param_v2()
221 d->write_dcd_command.tag = DCD_CHECK_DATA_COMMAND_TAG; in set_dcd_param_v2()
222 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
223 d->write_dcd_command.param = DCD_CHECK_BITS_SET_PARAM; in set_dcd_param_v2()
227 d->write_dcd_command.tag = DCD_CHECK_DATA_COMMAND_TAG; in set_dcd_param_v2()
228 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2()
229 d->write_dcd_command.param = DCD_CHECK_BITS_CLR_PARAM; in set_dcd_param_v2()
243 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_val_v2()
253 d->write_dcd_command.length = cpu_to_be16((off << 3) + 4); in set_dcd_val_v2()
288 len = be16_to_cpu(d->write_dcd_command.length); in set_dcd_rst_v2()