Lines Matching refs:dprintk
26 #define dprintk(x, y, z, format, arg...) do { \ macro
58 dprintk(verbose, DST_CA_DEBUG, 1, " Computing string checksum."); in put_checksum()
59 dprintk(verbose, DST_CA_DEBUG, 1, " -> string length : 0x%02x", length); in put_checksum()
61 dprintk(verbose, DST_CA_DEBUG, 1, " -> checksum : 0x%02x", check_string[length]); in put_checksum()
73 dprintk(verbose, DST_CA_INFO, 1, " Write not successful, trying to recover"); in dst_ci_command()
78 dprintk(verbose, DST_CA_ERROR, 1, " DST PIO disable failed."); in dst_ci_command()
82 dprintk(verbose, DST_CA_INFO, 1, " Read not successful, trying to recover"); in dst_ci_command()
88 dprintk(verbose, DST_CA_NOTICE, 1, " 8820 not ready"); in dst_ci_command()
92 dprintk(verbose, DST_CA_INFO, 1, " Read not successful, trying to recover"); in dst_ci_command()
111 dprintk(verbose, DST_CA_NOTICE, 1, " Put Command"); in dst_put_ci()
135 dprintk(verbose, DST_CA_ERROR, 1, " -->dst_put_ci FAILED !"); in ca_get_app_info()
138 dprintk(verbose, DST_CA_INFO, 1, " -->dst_put_ci SUCCESS !"); in ca_get_app_info()
139 …dprintk(verbose, DST_CA_INFO, 1, " ================================ CI Module Application Info ===… in ca_get_app_info()
140 …dprintk(verbose, DST_CA_INFO, 1, " Application Type=[%d], Application Vendor=[%d], Vendor Code=[%d… in ca_get_app_info()
143 …dprintk(verbose, DST_CA_INFO, 1, " ===============================================================… in ca_get_app_info()
150 …dprintk(verbose, DST_CA_ERROR, 1, "Invalid string length returned in ca_get_app_info(). Recovering… in ca_get_app_info()
174 dprintk(verbose, DST_CA_ERROR, 1, " -->dst_put_ci FAILED !"); in ca_get_ca_info()
177 dprintk(verbose, DST_CA_INFO, 1, " -->dst_put_ci SUCCESS !"); in ca_get_ca_info()
180 dprintk(verbose, DST_CA_INFO, 0, " DST data = ["); in ca_get_ca_info()
182 dprintk(verbose, DST_CA_INFO, 0, " 0x%02x", state->messages[i]); in ca_get_ca_info()
184 dprintk(verbose, DST_CA_INFO, 0, "]\n"); in ca_get_ca_info()
190 dprintk(verbose, DST_CA_ERROR, 1, "Invalid number of ids (>100). Recovering."); in ca_get_ca_info()
194 dprintk(verbose, DST_CA_INFO, 0, " CA_INFO = ["); in ca_get_ca_info()
198 …dprintk(verbose, DST_CA_INFO, 0, " 0x%02x%02x", state->messages[srcPtr + 0], state->messages[srcPt… in ca_get_ca_info()
205 dprintk(verbose, DST_CA_INFO, 0, "]\n"); in ca_get_ca_info()
218 dprintk(verbose, DST_CA_ERROR, 1, " -->dst_put_ci FAILED !"); in ca_get_slot_caps()
221 dprintk(verbose, DST_CA_NOTICE, 1, " -->dst_put_ci SUCCESS !"); in ca_get_slot_caps()
225 dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]); in ca_get_slot_caps()
226 dprintk(verbose, DST_CA_INFO, 0, "===================================\n"); in ca_get_slot_caps()
228 dprintk(verbose, DST_CA_INFO, 0, " %d", slot_cap[i]); in ca_get_slot_caps()
229 dprintk(verbose, DST_CA_INFO, 0, "\n"); in ca_get_slot_caps()
258 dprintk(verbose, DST_CA_ERROR, 1, " -->dst_put_ci FAILED !"); in ca_get_slot_info()
261 dprintk(verbose, DST_CA_INFO, 1, " -->dst_put_ci SUCCESS !"); in ca_get_slot_info()
265 dprintk(verbose, DST_CA_INFO, 1, " Slot info = [%d]", slot_info[3]); in ca_get_slot_info()
266 dprintk(verbose, DST_CA_INFO, 0, "===================================\n"); in ca_get_slot_info()
268 dprintk(verbose, DST_CA_INFO, 0, " %d", slot_info[i]); in ca_get_slot_info()
269 dprintk(verbose, DST_CA_INFO, 0, "\n"); in ca_get_slot_info()
297 dprintk(verbose, DST_CA_NOTICE, 1, " Message = [%*ph]", in ca_get_message()
305 dprintk(verbose, DST_CA_NOTICE, 1, " Command=[0x%x]", command); in ca_get_message()
330 dprintk(verbose, DST_CA_ERROR, 1, " Message too long ! *** Bailing Out *** !"); in handle_dst_tag()
354 dprintk(verbose, DST_CA_ERROR, 1, " DST-CI Command failed."); in write_to_8820()
355 dprintk(verbose, DST_CA_NOTICE, 1, " Resetting DST."); in write_to_8820()
359 dprintk(verbose, DST_CA_NOTICE, 1, " DST-CI Command success."); in write_to_8820()
370 dprintk(verbose, DST_CA_DEBUG, 1, " Length field=[%02x]", length_field); in asn_1_decode()
373 dprintk(verbose, DST_CA_DEBUG, 1, " Length=[%02x]\n", length); in asn_1_decode()
379 dprintk(verbose, DST_CA_DEBUG, 1, " Length=[%04x]", length); in asn_1_decode()
389 dprintk(verbose, DST_CA_DEBUG, 0, " String=[ "); in debug_string()
391 dprintk(verbose, DST_CA_DEBUG, 0, "%02x ", msg[i]); in debug_string()
392 dprintk(verbose, DST_CA_DEBUG, 0, "]\n"); in debug_string()
404 dprintk(verbose, DST_CA_DEBUG, 1, " CA Message length=[%d]", length); in ca_set_pmt()
429 dprintk(verbose, DST_CA_ERROR, 1, " ca_set_pmt.. failed !"); in dst_check_ca_pmt()
435 dprintk(verbose, DST_CA_ERROR, 1, " Not there yet"); in dst_check_ca_pmt()
440 dprintk(verbose, DST_CA_ERROR, 1, " ca_set_pmt.. failed !"); in dst_check_ca_pmt()
443 dprintk(verbose, DST_CA_NOTICE, 1, " ca_set_pmt.. success !"); in dst_check_ca_pmt()
460 dprintk(verbose, DST_CA_DEBUG, 1, " "); in ca_send_message()
475 dprintk(verbose, DST_CA_DEBUG, 1, " Command=[0x%x]\n", command); in ca_send_message()
479 dprintk(verbose, DST_CA_DEBUG, 1, "Command = SEND_CA_PMT"); in ca_send_message()
481 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_PMT Failed !"); in ca_send_message()
485 dprintk(verbose, DST_CA_INFO, 1, " -->CA_PMT Success !"); in ca_send_message()
488 dprintk(verbose, DST_CA_INFO, 1, "Command = CA_PMT_REPLY"); in ca_send_message()
491 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_PMT_REPLY Failed !"); in ca_send_message()
495 dprintk(verbose, DST_CA_INFO, 1, " -->CA_PMT_REPLY Success !"); in ca_send_message()
498 dprintk(verbose, DST_CA_INFO, 1, " Getting Cam Application information"); in ca_send_message()
501 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_APP_INFO_ENQUIRY Failed !"); in ca_send_message()
505 dprintk(verbose, DST_CA_INFO, 1, " -->CA_APP_INFO_ENQUIRY Success !"); in ca_send_message()
508 dprintk(verbose, DST_CA_INFO, 1, " Getting CA Information"); in ca_send_message()
511 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_INFO_ENQUIRY Failed !"); in ca_send_message()
515 dprintk(verbose, DST_CA_INFO, 1, " -->CA_INFO_ENQUIRY Success !"); in ca_send_message()
549 dprintk(verbose, DST_CA_INFO, 1, " Sending message"); in dst_ca_ioctl()
553 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_SEND_MSG Failed !"); in dst_ca_ioctl()
558 dprintk(verbose, DST_CA_INFO, 1, " Getting message"); in dst_ca_ioctl()
561 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_GET_MSG Failed !"); in dst_ca_ioctl()
564 dprintk(verbose, DST_CA_INFO, 1, " -->CA_GET_MSG Success !"); in dst_ca_ioctl()
567 dprintk(verbose, DST_CA_ERROR, 1, " Resetting DST"); in dst_ca_ioctl()
572 dprintk(verbose, DST_CA_INFO, 1, " Getting Slot info"); in dst_ca_ioctl()
575 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_GET_SLOT_INFO Failed !"); in dst_ca_ioctl()
579 dprintk(verbose, DST_CA_INFO, 1, " -->CA_GET_SLOT_INFO Success !"); in dst_ca_ioctl()
582 dprintk(verbose, DST_CA_INFO, 1, " Getting Slot capabilities"); in dst_ca_ioctl()
585 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_GET_CAP Failed !"); in dst_ca_ioctl()
588 dprintk(verbose, DST_CA_INFO, 1, " -->CA_GET_CAP Success !"); in dst_ca_ioctl()
591 dprintk(verbose, DST_CA_INFO, 1, " Getting descrambler description"); in dst_ca_ioctl()
594 dprintk(verbose, DST_CA_ERROR, 1, " -->CA_GET_DESCR_INFO Failed !"); in dst_ca_ioctl()
597 dprintk(verbose, DST_CA_INFO, 1, " -->CA_GET_DESCR_INFO Success !"); in dst_ca_ioctl()
613 dprintk(verbose, DST_CA_DEBUG, 1, " Device opened [%p] ", file); in dst_ca_open()
620 dprintk(verbose, DST_CA_DEBUG, 1, " Device closed."); in dst_ca_release()
627 dprintk(verbose, DST_CA_DEBUG, 1, " Device read."); in dst_ca_read()
634 dprintk(verbose, DST_CA_DEBUG, 1, " Device write."); in dst_ca_write()
661 dprintk(verbose, DST_CA_ERROR, 1, "registering DST-CA device"); in dst_ca_attach()