Lines Matching full:cable
52 /* Define supported cable type */
126 * Use delayed workqueue to detect cable state and then
127 * notify cable state to notifiee/platform through uevent.
129 * driver should notify cable state to upper layer.
188 * max8997_muic_set_path - Set hardware line according to attached cable
190 * @value: the path according to attached cable
191 * @attached: the state of cable (true:attached, false:detached)
195 * attached cable.
236 * max8997_muic_get_cable_type - Return cable type and check cable state
238 * @group: the path according to attached cable
239 * @attached: store cable state and return
241 * This function check the cable state either attached or detached,
242 * and then divide precise type of cable according to cable group.
256 * Read ADC value to check cable type and decide cable state in max8997_muic_get_cable_type()
257 * according to cable type in max8997_muic_get_cable_type()
263 * Check current cable state/cable type and store cable type in max8997_muic_get_cable_type()
264 * (info->prev_cable_type) for handling cable when cable is in max8997_muic_get_cable_type()
280 * Read charger type to check cable type and decide cable state in max8997_muic_get_cable_type()
281 * according to type of charger cable. in max8997_muic_get_cable_type()
295 * Check current cable state/cable type and store cable in max8997_muic_get_cable_type()
296 * type(info->prev_chg_type) for handling cable when in max8997_muic_get_cable_type()
297 * charger cable is detached. in max8997_muic_get_cable_type()
304 dev_err(info->dev, "Unknown cable group (%d)\n", group); in max8997_muic_get_cable_type()
333 dev_err(info->dev, "failed to detect %s usb cable\n", in max8997_muic_handle_usb()
389 /* Check cable state which is either detached or attached */ in max8997_muic_adc_handler()
443 * This cable isn't used in general case if it is specially in max8997_muic_adc_handler()
444 * needed to detect additional cable, should implement in max8997_muic_adc_handler()
445 * proper operation when this cable is attached/detached. in max8997_muic_adc_handler()
448 "cable is %s but it isn't used (type:0x%x)\n", in max8997_muic_adc_handler()
453 "failed to detect %s unknown cable (type:0x%x)\n", in max8997_muic_adc_handler()
500 "failed to detect %s unknown chg cable (type:0x%x)\n", in max8997_muic_chg_handler()
536 /* Handle all of cable except for charger cable */ in max8997_muic_irq_work()
546 /* Handle charger cable */ in max8997_muic_irq_work()
599 dev_err(info->dev, "Cannot detect ADC cable\n"); in max8997_muic_detect_dev()
610 dev_err(info->dev, "Cannot detect charger cable\n"); in max8997_muic_detect_dev()
629 dev_err(info->dev, "failed to detect cable type\n"); in max8997_muic_detect_cable_wq()
720 * Default delay time for detecting cable state in max8997_muic_probe()
752 * - Use delayed workqueue to detect cable state and then in max8997_muic_probe()
753 * notify cable state to notifiee/platform through uevent. in max8997_muic_probe()
755 * driver should notify cable state to upper layer. in max8997_muic_probe()