Lines Matching refs:log_debug
58 log_debug("%s: starting\n", __func__); in tps65982_wait_for_app()
75 log_debug("tps65982 mode %s\n", response); in tps65982_wait_for_app()
80 log_debug("tps65982 waited %d ms %c\n", timeout_step, response[1]); in tps65982_wait_for_app()
92 log_debug("%s: starting\n", __func__); in tps65982_clear_dead_battery()
145 log_debug("%s: starting\n", __func__); in tps65982_get_max_current()
150 log_debug("%s: No bus %d\n", __func__, 0); in tps65982_get_max_current()
156 log_debug("%s: setting chip offset failed %d\n", __func__, ret); in tps65982_get_max_current()
162 log_debug("%s: reading pwr_status failed %d\n", __func__, ret); in tps65982_get_max_current()
180 log_debug("%s: reading active contract failed %d\n", __func__, ret); in tps65982_get_max_current()
197 log_debug("Unknown contract type: %d\n", type); in tps65982_get_max_current()
203 log_debug("Unknown power mode: %d\n", mode); in tps65982_get_max_current()
210 log_debug("%s: starting\n", __func__); in init_tps65982()
249 log_debug("REG00 0x%x\n", val); in bq25895_set_iinlim()
298 log_debug("%s: No bus 3\n", __func__); in init_charger_bq25895()
304 log_debug("%s: setting chip offset failed %d\n", __func__, ret); in init_charger_bq25895()
309 log_debug("REG0B 0x%x\n", val); in init_charger_bq25895()
311 log_debug("VBUS_STAT 0x%x\n", val >> 5); in init_charger_bq25895()
314 log_debug("VBUS not detected\n"); in init_charger_bq25895()
317 log_debug("USB SDP IINLIM 500mA\n"); in init_charger_bq25895()
320 log_debug("USB CDP IINLIM 1500mA\n"); in init_charger_bq25895()
323 log_debug("USB DCP IINLIM 3500mA\n"); in init_charger_bq25895()
326 log_debug("MAXCHARGE IINLIM 1500mA\n"); in init_charger_bq25895()
329 log_debug("Unknown IINLIM 500mA\n"); in init_charger_bq25895()
332 log_debug("DIVIDER IINLIM > 1000mA\n"); in init_charger_bq25895()
335 log_debug("OTG\n"); in init_charger_bq25895()
339 log_debug("CHRG_STAT 0x%x\n", (val >> 3) & 0x3); in init_charger_bq25895()
340 log_debug("PG_STAT 0x%x\n", (val >> 2) & 1); in init_charger_bq25895()
341 log_debug("SDP_STAT 0x%x\n", (val >> 1) & 1); in init_charger_bq25895()
342 log_debug("VSYS_STAT 0x%x\n", val & 1); in init_charger_bq25895()
345 log_debug("REG00 0x%x\n", val); in init_charger_bq25895()
347 log_debug("IINLIM %d mA\n", iinlim); in init_charger_bq25895()
348 log_debug("EN_HIZ 0x%x\n", (val >> 7) & 1); in init_charger_bq25895()
349 log_debug("EN_ILIM 0x%x\n", (val >> 6) & 1); in init_charger_bq25895()
368 log_debug("%s: initializing USB clk\n", __func__); in board_init()