Lines Matching refs:msg

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