Home
last modified time | relevance | path

Searched refs:hs_type (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dcs42l42.c575 switch (cs42l42->hs_type) { in cs42l42_set_jack()
1213 cs42l42->hs_type = CS42L42_PLUG_CTIA; in cs42l42_manual_hs_type_detect()
1217 cs42l42->hs_type = CS42L42_PLUG_OMTP; in cs42l42_manual_hs_type_detect()
1224 cs42l42->hs_type = CS42L42_PLUG_CTIA; in cs42l42_manual_hs_type_detect()
1228 cs42l42->hs_type = CS42L42_PLUG_OMTP; in cs42l42_manual_hs_type_detect()
1233 cs42l42->hs_type = CS42L42_PLUG_HEADPHONE; in cs42l42_manual_hs_type_detect()
1280 cs42l42->hs_type = (hs_det_status & CS42L42_HSDET_TYPE_MASK) >> in cs42l42_process_hs_type_detect()
1299 if (cs42l42->hs_type == CS42L42_PLUG_INVALID || in cs42l42_process_hs_type_detect()
1300 cs42l42->hs_type == CS42L42_PLUG_HEADPHONE) { in cs42l42_process_hs_type_detect()
1306 if ((cs42l42->hs_type == CS42L42_PLUG_CTIA) || in cs42l42_process_hs_type_detect()
[all …]
H A Dcs42l42.h43 u8 hs_type; member
/openbmc/linux/sound/pci/hda/
H A Dpatch_cs8409.c676 unsigned int hs_type; in cs42l42_manual_hs_det() local
717 hs_type = CS42L42_PLUG_CTIA; in cs42l42_manual_hs_det()
721 hs_type = CS42L42_PLUG_OMTP; in cs42l42_manual_hs_det()
728 hs_type = CS42L42_PLUG_CTIA; in cs42l42_manual_hs_det()
732 hs_type = CS42L42_PLUG_OMTP; in cs42l42_manual_hs_det()
736 hs_type = CS42L42_PLUG_HEADPHONE; in cs42l42_manual_hs_det()
740 hs_type = CS42L42_PLUG_INVALID; in cs42l42_manual_hs_det()
761 return hs_type; in cs42l42_manual_hs_det()