Searched refs:chg_type (Results 1 – 3 of 3) sorted by relevance
311 u8 adc, chg_type; in max8997_muic_irq_work() local337 chg_type = status[1] & STATUS2_CHGTYP_MASK; in max8997_muic_irq_work()338 chg_type >>= STATUS2_CHGTYP_SHIFT; in max8997_muic_irq_work()340 max8997_muic_handle_charger_type(info, chg_type); in max8997_muic_irq_work()368 u8 status[2], adc, chg_type; in max8997_muic_detect_dev() local383 chg_type = status[1] & STATUS2_CHGTYP_MASK; in max8997_muic_detect_dev()384 chg_type >>= STATUS2_CHGTYP_SHIFT; in max8997_muic_detect_dev()387 max8997_muic_handle_charger_type(info, chg_type); in max8997_muic_detect_dev()
181 enum usb_chg_type chg_type; member
641 if (motg->chg_type == USB_SDP_CHARGER) in msm_otg_set_power()1074 motg->chg_type = USB_SDP_CHARGER; in msm_chg_detect_work()1082 motg->chg_type = USB_DCP_CHARGER; in msm_chg_detect_work()1084 motg->chg_type = USB_CDP_CHARGER; in msm_chg_detect_work()1091 dev_dbg(phy->dev, "charger = %d\n", motg->chg_type); in msm_chg_detect_work()1177 switch (motg->chg_type) { in msm_otg_sm_work()1214 motg->chg_type = USB_INVALID_CHARGER; in msm_otg_sm_work()1225 motg->chg_type = USB_INVALID_CHARGER; in msm_otg_sm_work()