Lines Matching full:cable

49 /* Define supported cable type */
123 * Use delayed workqueue to detect cable state and then
124 * notify cable state to notifiee/platform through uevent.
126 * driver should notify cable state to upper layer.
185 * max8997_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
233 * max8997_muic_get_cable_type - Return cable type and check cable state
235 * @group: the path according to attached cable
236 * @attached: store cable state and return
238 * This function check the cable state either attached or detached,
239 * and then divide precise type of cable according to cable group.
253 * Read ADC value to check cable type and decide cable state in max8997_muic_get_cable_type()
254 * according to cable type in max8997_muic_get_cable_type()
260 * Check current cable state/cable type and store cable type in max8997_muic_get_cable_type()
261 * (info->prev_cable_type) for handling cable when cable is in max8997_muic_get_cable_type()
277 * Read charger type to check cable type and decide cable state in max8997_muic_get_cable_type()
278 * according to type of charger cable. in max8997_muic_get_cable_type()
292 * Check current cable state/cable type and store cable in max8997_muic_get_cable_type()
293 * type(info->prev_chg_type) for handling cable when in max8997_muic_get_cable_type()
294 * charger cable is detached. in max8997_muic_get_cable_type()
301 dev_err(info->dev, "Unknown cable group (%d)\n", group); in max8997_muic_get_cable_type()
330 dev_err(info->dev, "failed to detect %s usb cable\n", in max8997_muic_handle_usb()
386 /* Check cable state which is either detached or attached */ in max8997_muic_adc_handler()
440 * This cable isn't used in general case if it is specially in max8997_muic_adc_handler()
441 * needed to detect additional cable, should implement in max8997_muic_adc_handler()
442 * proper operation when this cable is attached/detached. in max8997_muic_adc_handler()
445 "cable is %s but it isn't used (type:0x%x)\n", in max8997_muic_adc_handler()
450 "failed to detect %s unknown cable (type:0x%x)\n", in max8997_muic_adc_handler()
497 "failed to detect %s unknown chg cable (type:0x%x)\n", in max8997_muic_chg_handler()
533 /* Handle all of cable except for charger cable */ in max8997_muic_irq_work()
541 /* Handle charger cable */ in max8997_muic_irq_work()
594 dev_err(info->dev, "Cannot detect ADC cable\n"); in max8997_muic_detect_dev()
605 dev_err(info->dev, "Cannot detect charger cable\n"); in max8997_muic_detect_dev()
624 dev_err(info->dev, "failed to detect cable type\n"); in max8997_muic_detect_cable_wq()
713 * Default delay time for detecting cable state in max8997_muic_probe()
745 * - Use delayed workqueue to detect cable state and then in max8997_muic_probe()
746 * notify cable state to notifiee/platform through uevent. in max8997_muic_probe()
748 * driver should notify cable state to upper layer. in max8997_muic_probe()