Lines Matching refs:msg

324 		3, p_ca_message->msg);  in ca_get_message()
327 command = command | p_ca_message->msg[i]; in ca_get_message()
335 memcpy(p_ca_message->msg, state->messages, 128); in ca_get_message()
340 memcpy(p_ca_message->msg, state->messages, 128); in ca_get_message()
352 hw_buffer->msg[2] = p_ca_message->msg[1]; /* MSB */ in handle_dst_tag()
353 hw_buffer->msg[3] = p_ca_message->msg[2]; /* LSB */ in handle_dst_tag()
359 hw_buffer->msg[0] = (length & 0xff) + 7; in handle_dst_tag()
360 hw_buffer->msg[1] = 0x40; in handle_dst_tag()
361 hw_buffer->msg[2] = 0x03; in handle_dst_tag()
362 hw_buffer->msg[3] = 0x00; in handle_dst_tag()
363 hw_buffer->msg[4] = 0x03; in handle_dst_tag()
364 hw_buffer->msg[5] = length & 0xff; in handle_dst_tag()
365 hw_buffer->msg[6] = 0x00; in handle_dst_tag()
371 memcpy(&hw_buffer->msg[7], &p_ca_message->msg[4], length); in handle_dst_tag()
379 if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) { in write_to_8820()
411 static int debug_string(u8 *msg, u32 length, u32 offset) in debug_string() argument
417 dprintk(verbose, DST_CA_DEBUG, 0, "%02x ", msg[i]); in debug_string()
429 length = asn_1_decode(&p_ca_message->msg[3]); in ca_set_pmt()
431 debug_string(&p_ca_message->msg[4], length, 0); /* length is excluding tag & length */ in ca_set_pmt()
433 memset(hw_buffer->msg, '\0', length); in ca_set_pmt()
435 put_checksum(hw_buffer->msg, hw_buffer->msg[0]); in ca_set_pmt()
437 debug_string(hw_buffer->msg, (length + tag_length), 0); /* tags too */ in ca_set_pmt()
499 command = command | p_ca_message->msg[i]; in ca_send_message()