Searched refs:plug_type (Results 1 – 5 of 5) sorted by relevance
452 enum wcd_mbhc_plug_type plug_type) in wcd_mbhc_find_plug_and_report() argument454 if (mbhc->current_plug == plug_type) in wcd_mbhc_find_plug_and_report()459 switch (plug_type) { in wcd_mbhc_find_plug_and_report()477 mbhc->current_plug, plug_type); in wcd_mbhc_find_plug_and_report()984 enum wcd_mbhc_plug_type plug_type) in wcd_mbhc_adc_update_fsm_source() argument988 switch (plug_type) { in wcd_mbhc_adc_update_fsm_source()1007 static void wcd_mbhc_bcs_enable(struct wcd_mbhc *mbhc, int plug_type, bool enable) in wcd_mbhc_bcs_enable() argument1009 switch (plug_type) { in wcd_mbhc_bcs_enable()1023 enum wcd_mbhc_plug_type plug_type; in wcd_mbhc_get_plug_from_adc() local1030 plug_type = MBHC_PLUG_TYPE_HEADPHONE; in wcd_mbhc_get_plug_from_adc()[all …]
482 u32 plug_type = 0; in pm8916_wcd_setup_mbhc() local492 plug_type |= CDC_A_HPHL_PLUG_TYPE_NO; in pm8916_wcd_setup_mbhc()495 plug_type |= CDC_A_GND_PLUG_TYPE_NO; in pm8916_wcd_setup_mbhc()500 plug_type | in pm8916_wcd_setup_mbhc()
778 enum avc_bridgeco_plug_type plug_type; in fill_stream_formations() local785 err = avc_bridgeco_get_plug_type(bebob->unit, addr, &plug_type); in fill_stream_formations()790 } else if (plug_type != AVC_BRIDGECO_PLUG_TYPE_ISOC) in fill_stream_formations()841 enum avc_bridgeco_plug_type plug_type; in detect_midi_ports() local846 err = avc_bridgeco_get_plug_type(bebob->unit, addr, &plug_type); in detect_midi_ports()852 } else if (plug_type != AVC_BRIDGECO_PLUG_TYPE_MIDI) { in detect_midi_ports()
242 What: /sys/class/typec/<port>-cable/plug_type
1022 static DEVICE_ATTR_RO(plug_type);