Loading drivers/power/supply/qti_battery_charger.c +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #define BC_USB_STATUS_SET 0x33 #define BC_WLS_STATUS_GET 0x34 #define BC_WLS_STATUS_SET 0x35 #define BC_GENERIC_NOTIFY 0x80 /* Generic definitions */ #define MAX_STR_LEN 128 Loading Loading @@ -410,6 +411,7 @@ static void handle_notification(struct battery_chg_dev *bcdev, void *data, switch (notify_msg->notification) { case BC_BATTERY_STATUS_GET: case BC_GENERIC_NOTIFY: pst = &bcdev->psy_list[PSY_TYPE_BATTERY]; break; case BC_USB_STATUS_GET: Loading drivers/soc/qcom/qti_battery_debug.c +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ #define BD_QBG_DUMP_REQ 0x36 /* Generic definitions */ #define MAX_BUF_LEN (560 * sizeof(u32)) #define MAX_BUF_LEN SZ_4K #define BD_WAIT_TIME_MS 1000 struct qbg_context_req_msg { Loading Loading
drivers/power/supply/qti_battery_charger.c +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #define BC_USB_STATUS_SET 0x33 #define BC_WLS_STATUS_GET 0x34 #define BC_WLS_STATUS_SET 0x35 #define BC_GENERIC_NOTIFY 0x80 /* Generic definitions */ #define MAX_STR_LEN 128 Loading Loading @@ -410,6 +411,7 @@ static void handle_notification(struct battery_chg_dev *bcdev, void *data, switch (notify_msg->notification) { case BC_BATTERY_STATUS_GET: case BC_GENERIC_NOTIFY: pst = &bcdev->psy_list[PSY_TYPE_BATTERY]; break; case BC_USB_STATUS_GET: Loading
drivers/soc/qcom/qti_battery_debug.c +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ #define BD_QBG_DUMP_REQ 0x36 /* Generic definitions */ #define MAX_BUF_LEN (560 * sizeof(u32)) #define MAX_BUF_LEN SZ_4K #define BD_WAIT_TIME_MS 1000 struct qbg_context_req_msg { Loading