Lines Matching defs:msg
298 3, p_ca_message->msg);
301 command = command | p_ca_message->msg[i];
309 memcpy(p_ca_message->msg, state->messages, 128);
314 memcpy(p_ca_message->msg, state->messages, 128);
326 hw_buffer->msg[2] = p_ca_message->msg[1]; /* MSB */
327 hw_buffer->msg[3] = p_ca_message->msg[2]; /* LSB */
333 hw_buffer->msg[0] = (length & 0xff) + 7;
334 hw_buffer->msg[1] = 0x40;
335 hw_buffer->msg[2] = 0x03;
336 hw_buffer->msg[3] = 0x00;
337 hw_buffer->msg[4] = 0x03;
338 hw_buffer->msg[5] = length & 0xff;
339 hw_buffer->msg[6] = 0x00;
345 memcpy(&hw_buffer->msg[7], &p_ca_message->msg[4], length);
353 if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) {
385 static int debug_string(u8 *msg, u32 length, u32 offset)
391 dprintk(verbose, DST_CA_DEBUG, 0, "%02x ", msg[i]);
403 length = asn_1_decode(&p_ca_message->msg[3]);
405 debug_string(&p_ca_message->msg[4], length, 0); /* length is excluding tag & length */
407 memset(hw_buffer->msg, '\0', length);
409 put_checksum(hw_buffer->msg, hw_buffer->msg[0]);
411 debug_string(hw_buffer->msg, (length + tag_length), 0); /* tags too */
471 command = command | p_ca_message->msg[i];