Lines Matching full:muic
3 // extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC
22 #define DEV_NAME "max8997-muic"
39 { MAX8997_MUICIRQ_ADCError, "muic-ADCERROR" },
40 { MAX8997_MUICIRQ_ADCLow, "muic-ADCLOW" },
41 { MAX8997_MUICIRQ_ADC, "muic-ADC" },
42 { MAX8997_MUICIRQ_VBVolt, "muic-VBVOLT" },
43 { MAX8997_MUICIRQ_DBChg, "muic-DBCHG" },
44 { MAX8997_MUICIRQ_DCDTmr, "muic-DCDTMR" },
45 { MAX8997_MUICIRQ_ChgDetRun, "muic-CHGDETRUN" },
46 { MAX8997_MUICIRQ_ChgTyp, "muic-CHGTYP" },
47 { MAX8997_MUICIRQ_OVP, "muic-OVP" },
112 struct i2c_client *muic; member
157 * @info: the instance including private data of max8997 MUIC
170 ret = max8997_update_reg(info->muic, in max8997_muic_set_debounce_time()
189 * @info: the instance including private data of max8997 MUIC
193 * The max8997 MUIC device share outside H/W line among a varity of cables,
208 ret = max8997_update_reg(info->muic, in max8997_muic_set_path()
211 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path()
220 ret = max8997_update_reg(info->muic, in max8997_muic_set_path()
224 dev_err(info->dev, "failed to update MUIC register\n"); in max8997_muic_set_path()
237 * @info: the instance including private data of max8997 MUIC
319 dev_err(info->dev, "failed to update muic register\n"); in max8997_muic_handle_usb()
348 dev_err(info->dev, "failed to update muic register\n"); in max8997_muic_handle_dock()
374 dev_err(info->dev, "failed to update muic register\n"); in max8997_muic_handle_jig_uart()
524 ret = max8997_bulk_read(info->muic, MAX8997_MUIC_REG_STATUS1, in max8997_muic_irq_work()
527 dev_err(info->dev, "failed to read muic register\n"); in max8997_muic_irq_work()
559 dev_err(info->dev, "failed to handle MUIC interrupt\n"); in max8997_muic_irq_work()
586 ret = max8997_bulk_read(info->muic, in max8997_muic_detect_dev()
589 dev_err(info->dev, "failed to read MUIC register\n"); in max8997_muic_detect_dev()
648 info->muic = max8997->muic; in max8997_muic_probe()
700 max8997_write_reg(info->muic, in max8997_muic_probe()
735 ret = max8997_bulk_read(info->muic, MAX8997_MUIC_REG_STATUS1, in max8997_muic_probe()
738 dev_err(info->dev, "failed to read MUIC register\n"); in max8997_muic_probe()
776 MODULE_ALIAS("platform:max8997-muic");