Lines Matching refs:dprintk
24 #define dprintk(args...) do { if (debug) { printk(KERN_DEBUG "DiB9000: "); printk(args); printk("\n… macro
261 dprintk("i2c read error on %d", reg); in dib9000_read16_attr()
288 dprintk("read register %x error", reg); in dib9000_i2c_read16()
443 dprintk("could not get the lock"); in dib9000_risc_mem_read()
459 dprintk("could not get the lock"); in dib9000_risc_mem_write()
482 dprintk("going to download %dB of microcode", len); in dib9000_firmware_download()
484 dprintk("error while downloading microcode for RISC %c", 'A' + risc_id); in dib9000_firmware_download()
488 dprintk("Microcode for RISC %c loaded", 'A' + risc_id); in dib9000_firmware_download()
514 dprintk("MBX: init ERROR, no response from RISC %c", 'A' + risc_id); in dib9000_mbx_host_init()
517 dprintk("MBX: initialized"); in dib9000_mbx_host_init()
534 dprintk("could not get the lock"); in dib9000_mbx_send_attr()
541 dprintk("MBX: RISC mbx full, retrying"); in dib9000_mbx_send_attr()
554 dprintk("--> %02x %d ", id, len + 1); in dib9000_mbx_send_attr()
556 dprintk("%04x ", data[i]); in dib9000_mbx_send_attr()
557 dprintk("\n"); in dib9000_mbx_send_attr()
599 dprintk("could not get the lock"); in dib9000_mbx_read()
625 dprintk("<-- "); in dib9000_mbx_read()
627 dprintk("%04x ", d[i]); in dib9000_mbx_read()
628 dprintk("\n"); in dib9000_mbx_read()
631 dprintk("MBX: message is too big for message cache (%d), flushing message", size); in dib9000_mbx_read()
652 dprintk("%s", b); in dib9000_risc_debug_buf()
654 dprintk("RISC%d: %d.%04d %s", state->fe_id, ts / 10000, ts % 10000, *b ? b : "<empty>"); in dib9000_risc_debug_buf()
689 dprintk("MBX: no free cache-slot found for new message..."); in dib9000_mbx_fetch_to_cache()
709 dprintk("could not get the lock"); in dib9000_mbx_process()
753 dprintk("waiting for message %d timed out", id); in dib9000_mbx_get_message_attr()
773 dprintk("RISC: ver: %d.%02d (IC: %d)", fw_version >> 10, fw_version & 0x3ff, (r[2] << 8) | r[3]); in dib9000_risc_check_version()
787 dprintk("RISC: invalid firmware version"); in dib9000_risc_check_version()
791 dprintk("RISC: valid firmware version"); in dib9000_risc_check_version()
853 dprintk("wrong Vendor ID (0x%x)", value); in dib9000_identify()
859 dprintk("wrong Device ID (0x%x)", value); in dib9000_identify()
865 dprintk("this driver does not work with DiB7000PC"); in dib9000_identify()
871 dprintk("found DiB7000MA/PA/MB/PB"); in dib9000_identify()
874 dprintk("found DiB7000HC"); in dib9000_identify()
877 dprintk("found DiB7000MC"); in dib9000_identify()
880 dprintk("found DiB9000A"); in dib9000_identify()
883 dprintk("found DiB9000H"); in dib9000_identify()
886 dprintk("found DiB9000M"); in dib9000_identify()
1138 …dprintk("error : firmware returned %dbytes needed but the used buffer has only %dbytes\n Firmware … in dib9000_fw_init()
1194 dprintk("could not get the lock"); in dib9000_fw_get_channel()
1537 dprintk("setting output mode for demod %p to %d", fe, mode); in dib9000_fw_set_output_mode()
1559 dprintk("Unhandled output_mode passed to be set for demod %p", &state->fe[0]); in dib9000_fw_set_output_mode()
1593 dprintk("TunerITF: read busy"); in dib9000_tuner_xfer()
1604 dprintk("TunerITF: read failed"); in dib9000_tuner_xfer()
1612 dprintk("TunerITF: read more data than expected"); in dib9000_tuner_xfer()
1618 dprintk("TunerITF: write busy"); in dib9000_tuner_xfer()
1634 dprintk("TunerITF: write failed"); in dib9000_tuner_xfer()
1679 dprintk("could not get the lock"); in dib9000_fw_component_bus_xfer()
1762 dprintk("gpio dir: %04x: gpio val: %04x", st->gpio_dir, st->gpio_val); in dib9000_cfg_gpio()
1782 dprintk("pid filter cmd postpone"); in dib9000_fw_pid_filter_ctrl()
1790 dprintk("could not get the lock"); in dib9000_fw_pid_filter_ctrl()
1797 dprintk("PID filter enabled %d", onoff); in dib9000_fw_pid_filter_ctrl()
1812 dprintk("pid filter postpone"); in dib9000_fw_pid_filter()
1820 dprintk("can not add any more pid ctrl cmd"); in dib9000_fw_pid_filter()
1825 dprintk("could not get the lock"); in dib9000_fw_pid_filter()
1828 dprintk("Index %x, PID %d, OnOff %d", id, pid, onoff); in dib9000_fw_pid_filter()
1871 dprintk("could not get the lock"); in dib9000_sleep()
1901 dprintk("could not get the lock"); in dib9000_get_frontend()
1909 dprintk("TPS lock on the slave%i", index_frontend); in dib9000_get_frontend()
1997 dprintk("dib9000: must specify frequency "); in dib9000_set_frontend()
2002 dprintk("dib9000: must specify bandwidth "); in dib9000_set_frontend()
2008 dprintk("could not get the lock"); in dib9000_set_frontend()
2075 dprintk("tune failed"); in dib9000_set_frontend()
2082 dprintk("tune success on frontend%i", index_frontend_success); in dib9000_set_frontend()
2171 dprintk("could not get the lock"); in dib9000_read_status()
2204 dprintk("could not get the lock"); in dib9000_read_ber()
2208 dprintk("could not get the lock"); in dib9000_read_ber()
2239 dprintk("could not get the lock"); in dib9000_read_signal_strength()
2252 dprintk("could not get the lock"); in dib9000_read_signal_strength()
2283 dprintk("could not get the lock"); in dib9000_get_snr()
2322 dprintk("could not get the lock"); in dib9000_read_snr()
2347 dprintk("could not get the lock"); in dib9000_read_unc_blocks()
2351 dprintk("could not get the lock"); in dib9000_read_unc_blocks()
2378 dprintk("%s: not enough memory", __func__); in dib9000_i2c_enumeration()
2383 dprintk("%s: not enough memory", __func__); in dib9000_i2c_enumeration()
2410 dprintk("DiB9000 #%d: not identified", k); in dib9000_i2c_enumeration()
2419 dprintk("IC %d initialized (to i2c_address 0x%x)", k, new_addr); in dib9000_i2c_enumeration()
2447 dprintk("set slave fe %p to index %i", fe_slave, index_frontend); in dib9000_set_slave_frontend()
2452 dprintk("too many slave frontend"); in dib9000_set_slave_frontend()
2465 dprintk("remove slave fe %p (index %i)", state->fe[index_frontend - 1], index_frontend - 1); in dib9000_remove_slave_frontend()
2470 dprintk("no frontend to be removed"); in dib9000_remove_slave_frontend()