Lines Matching refs:DBG

54 #define	DBG(fmt, ...)	dbg_codec(0, fmt, ## __VA_ARGS__)  macro
257 DBG("%s : rk312x is NULL\n", __func__); in rk312x_codec_ctl_gpio()
264 DBG(KERN_INFO"%s set spk clt %d\n", __func__, level); in rk312x_codec_ctl_gpio()
271 DBG(KERN_INFO"%s set hp clt %d\n", __func__, level); in rk312x_codec_ctl_gpio()
282 DBG(KERN_ERR"%s : rk312x is NULL\n", __func__);
288 DBG(KERN_INFO"%s switch to spk\n", __func__);
294 DBG(KERN_INFO"%s switch to hp\n", __func__);
304 DBG("%s\n", __func__); in rk312x_reset()
635 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_codec_mute_dac()
650 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_playback_path_get()
654 DBG("%s : playback_path = %ld\n", in rk312x_playback_path_get()
668 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_playback_path_put()
674 DBG("%s : playback_path is not changed!\n", __func__); in rk312x_playback_path_put()
681 DBG("%s : set playback_path = %ld\n", __func__, in rk312x_playback_path_put()
736 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_capture_path_get()
740 DBG("%s : capture_path = %ld\n", __func__, in rk312x_capture_path_get()
754 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_capture_path_put()
759 DBG("%s : capture_path is not changed!\n", __func__); in rk312x_capture_path_put()
764 DBG("%s : set capture_path = %ld\n", __func__, in rk312x_capture_path_put()
804 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_voice_call_path_get()
808 DBG("%s : playback_path = %ld\n", __func__, in rk312x_voice_call_path_get()
822 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_voice_call_path_put()
827 DBG("%s : playback_path is not changed!\n", __func__); in rk312x_voice_call_path_put()
832 DBG("%s : set playback_path = %ld\n", __func__, in rk312x_voice_call_path_put()
1252 DBG("%s level=%d\n", __func__, level); in rk312x_set_bias_level()
1327 DBG("%s : rk312x is NULL\n", __func__); in rk312x_set_dai_sysclk()
1350 DBG("%s : set master mask failed!\n", __func__); in rk312x_set_dai_fmt()
1374 DBG("%s : set format failed!\n", __func__); in rk312x_set_dai_fmt()
1404 DBG("%s : set dai format failed!\n", __func__); in rk312x_set_dai_fmt()
1434 DBG("%s : rk312x is NULL\n", __func__); in rk312x_hw_params()
1444 DBG("%s : need PLL\n", __func__); in rk312x_hw_params()
1470 DBG("%s : MCLK = %dHz, sample rate = %dHz, div = %d\n", in rk312x_hw_params()
1497 DBG("mono\n"); in rk312x_hw_params()
1501 DBG("stero\n"); in rk312x_hw_params()
1681 DBG("%s : rk312x_priv or rk312x_priv->codec is NULL\n", in rk312x_codec_power_up()
1687 DBG("%s : power up %s%s\n", __func__, in rk312x_codec_power_up()
1731 DBG("%s : rk312x_priv or rk312x_priv->component is NULL\n", in rk312x_codec_power_down()
1737 DBG("%s : power down %s%s%s\n", __func__, in rk312x_codec_power_down()
1766 DBG("%s : rk312x_codec_work_capture_type = %d\n", __func__, in rk312x_codec_capture_work()
1799 DBG("%s : rk312x is NULL\n", __func__); in rk312x_startup()
1847 DBG("%s : rk312x is NULL\n", __func__); in rk312x_shutdown()
1864 DBG(" Warning:playback closed! return !\n"); in rk312x_shutdown()
1975 DBG("%s\n", __func__); in rk312x_suspend()
2022 DBG(KERN_INFO"%s : spk gpio disable\n",__func__); in gpio_store()
2027 DBG(KERN_INFO"%s : disable hp gpio \n",__func__); in gpio_store()
2033 DBG(KERN_INFO"%s : spk gpio enable\n",__func__); in gpio_store()
2038 DBG("%s : enable hp gpio \n",__func__); in gpio_store()
2042 DBG(KERN_ERR"--rk312x codec %s-- unknown cmd\n", __func__); in gpio_store()
2088 DBG("%s GRF_ACODEC_CON -- 0x%x\n", __func__, val); in codec_hp_det_isr()
2090 DBG("%s hp det rising\n", __func__); in codec_hp_det_isr()
2093 DBG("%s hp det falling\n", __func__); in codec_hp_det_isr()
2105 DBG("%s GRF_SOC_STATUS0 -- 0x%x\n", __func__, val); in hpdet_work_func()
2107 DBG("%s hp det high\n", __func__); in hpdet_work_func()
2108 DBG("%s no headset\n", __func__); in hpdet_work_func()
2112 DBG("%s hp det low\n", __func__); in hpdet_work_func()
2113 DBG("%s headset inserted\n", __func__); in hpdet_work_func()
2130 DBG("%s : rk312x_priv or rk312x_priv->component is NULL\n", in rk312x_delay_workq()
2151 DBG(" codec_hp_det request_irq failed %d\n", ret); in rk312x_delay_workq()
2156 DBG("GRF_ACODEC_CON 3334is 0x%x\n", val); in rk312x_delay_workq()
2160 DBG("0xa0 -- 0x%x\n", val); in rk312x_delay_workq()
2185 DBG("%s : rk312x_codec_workq is NULL!\n", __func__); in rk312x_probe()
2193 DBG("%s : codec register 0: %x is not a 0x00000003\n", in rk312x_probe()
2214 DBG(KERN_ERR"create codec-spk-ctl sysfs %d error\n", i); in rk312x_probe()
2230 DBG("%s\n", __func__); in rk312x_remove()
2232 DBG("%s : rk312x_priv is NULL\n", __func__); in rk312x_remove()
2306 DBG("%s : spk_hp_switch_gpio %d spk active_level %d \n", __func__, in rk312x_platform_probe()
2333 DBG("%s : hp-ctl-gpio %d\n", __func__, in rk312x_platform_probe()
2340 DBG(KERN_INFO "%s : spk-ctl-gpio %d\n", __func__, in rk312x_platform_probe()
2347 DBG(KERN_ERR "%s() Can not read property spk-mute-delay\n", in rk312x_platform_probe()
2355 DBG(KERN_ERR"%s() Can not read property hp-mute-delay\n", in rk312x_platform_probe()
2359 DBG("spk mute delay %dms --- hp mute delay %dms\n",rk312x->spk_mute_delay,rk312x->hp_mute_delay); in rk312x_platform_probe()
2364 DBG(KERN_ERR"%s() Can not read property rk312x_for_mid, default for mid\n", in rk312x_platform_probe()
2371 DBG(KERN_ERR"%s() Can not read property is_rk3128, default rk3126\n", in rk312x_platform_probe()
2378 DBG(KERN_ERR"%s() Can not read property spk_volume, default 25\n", in rk312x_platform_probe()
2385 DBG(KERN_ERR"%s() Can not read property hp_volume, default 25\n", in rk312x_platform_probe()
2392 DBG(KERN_ERR"%s() Can not read property capture_volume, default 26\n", in rk312x_platform_probe()
2398 DBG(KERN_ERR"%s() Can not read property gpio_debug\n", __func__); in rk312x_platform_probe()
2404 DBG(KERN_ERR"%s() Can not read property gpio_debug\n", __func__); in rk312x_platform_probe()
2458 DBG("%s\n", __func__); in rk312x_platform_remove()
2466 DBG("%s\n", __func__); in rk312x_platform_shutdown()
2468 DBG("%s : rk312x_priv or rk312x_priv->component is NULL\n", in rk312x_platform_shutdown()
2477 DBG("disable codec_hp_det GRF_ACODEC_CON is 0x%x\n", val); in rk312x_platform_shutdown()