Lines Matching +full:0 +full:x10b0
11 * SPI 0 -> 1st AK4396 (front)
17 * GPIO 0 -> DFS0 of AK5385
25 * GPIO 6 -> S/PDIF from optical (0) or coaxial (1) input
36 * GPO 0 -> route line-in (0) or AC97 output (1) to ADC input
87 { OXYGEN_PCI_SUBID(0x10b0, 0x0216), .driver_data = MODEL_CMEDIA_REF },
88 { OXYGEN_PCI_SUBID(0x10b0, 0x0217), .driver_data = MODEL_CMEDIA_REF },
89 { OXYGEN_PCI_SUBID(0x10b0, 0x0218), .driver_data = MODEL_CMEDIA_REF },
90 { OXYGEN_PCI_SUBID(0x10b0, 0x0219), .driver_data = MODEL_CMEDIA_REF },
91 { OXYGEN_PCI_SUBID(0x13f6, 0x0001), .driver_data = MODEL_CMEDIA_REF },
92 { OXYGEN_PCI_SUBID(0x13f6, 0x0010), .driver_data = MODEL_CMEDIA_REF },
93 { OXYGEN_PCI_SUBID(0x13f6, 0x8788), .driver_data = MODEL_CMEDIA_REF },
94 { OXYGEN_PCI_SUBID(0x147a, 0xa017), .driver_data = MODEL_CMEDIA_REF },
95 { OXYGEN_PCI_SUBID(0x1a58, 0x0910), .driver_data = MODEL_CMEDIA_REF },
97 { OXYGEN_PCI_SUBID(0x1043, 0x8467), .driver_data = MODEL_XONAR_DG },
99 { OXYGEN_PCI_SUBID(0x1043, 0x8521), .driver_data = MODEL_XONAR_DGX },
101 { OXYGEN_PCI_SUBID(0x13f6, 0x8782), .driver_data = MODEL_2CH_OUTPUT },
103 { OXYGEN_PCI_SUBID(0x13f6, 0xffff), .driver_data = MODEL_HG2PCI },
105 { OXYGEN_PCI_SUBID(0x14c3, 0x1710), .driver_data = MODEL_FANTASIA },
107 { OXYGEN_PCI_SUBID(0x14c3, 0x1711), .driver_data = MODEL_SERENADE },
109 { OXYGEN_PCI_SUBID(0x415a, 0x5431), .driver_data = MODEL_MERIDIAN },
111 { OXYGEN_PCI_SUBID(0x5431, 0x017a), .driver_data = MODEL_MERIDIAN_2G },
113 { OXYGEN_PCI_SUBID(0x7284, 0x9761), .driver_data = MODEL_CLARO },
115 { OXYGEN_PCI_SUBID(0x7284, 0x9781), .driver_data = MODEL_CLARO_HALO },
121 #define GPIO_AK5385_DFS_MASK 0x0003
122 #define GPIO_AK5385_DFS_NORMAL 0x0000
123 #define GPIO_AK5385_DFS_DOUBLE 0x0001
124 #define GPIO_AK5385_DFS_QUAD 0x0002
126 #define GPIO_MERIDIAN_DIG_MASK 0x0050
127 #define GPIO_MERIDIAN_DIG_EXT 0x0010
128 #define GPIO_MERIDIAN_DIG_BOARD 0x0040
130 #define GPIO_CLARO_DIG_COAX 0x0040
131 #define GPIO_CLARO_HP 0x0100
144 0, 1, 2, 4 in ak4396_write()
185 for (i = 0; i < data->dacs; ++i) { in ak4396_registers_init()
189 data->ak4396_regs[0][AK4396_CONTROL_2]); in ak4396_registers_init()
204 data->ak4396_regs[0][AK4396_CONTROL_2] = in ak4396_init()
221 wm8785_write(chip, WM8785_R7, 0); in wm8785_registers_init()
222 wm8785_write(chip, WM8785_R0, data->wm8785_regs[0]); in wm8785_registers_init()
230 data->wm8785_regs[0] = in wm8785_init()
337 value = data->ak4396_regs[0][AK4396_CONTROL_2] & ~AK4396_DFS_MASK; in set_ak4396_params()
347 if (value != data->ak4396_regs[0][AK4396_CONTROL_2]) { in set_ak4396_params()
348 for (i = 0; i < data->dacs; ++i) { in set_ak4396_params()
363 for (i = 0; i < data->dacs; ++i) { in update_ak4396_volume()
377 value = data->ak4396_regs[0][AK4396_CONTROL_2] & ~AK4396_SMUTE; in update_ak4396_mute()
380 for (i = 0; i < data->dacs; ++i) in update_ak4396_mute()
397 if (value != data->wm8785_regs[0]) { in set_wm8785_params()
398 wm8785_write(chip, WM8785_R7, 0); in set_wm8785_params()
439 value->value.enumerated.item[0] = in rolloff_get()
440 (data->ak4396_regs[0][AK4396_CONTROL_2] & AK4396_SLOW) != 0; in rolloff_get()
441 return 0; in rolloff_get()
454 reg = data->ak4396_regs[0][AK4396_CONTROL_2]; in rolloff_put()
455 if (value->value.enumerated.item[0]) in rolloff_put()
459 changed = reg != data->ak4396_regs[0][AK4396_CONTROL_2]; in rolloff_put()
461 for (i = 0; i < data->dacs; ++i) in rolloff_put()
490 value->value.enumerated.item[0] = in hpf_get()
491 (data->wm8785_regs[WM8785_R2] & WM8785_HPFR) != 0; in hpf_get()
492 return 0; in hpf_get()
504 if (value->value.enumerated.item[0]) in hpf_put()
542 value->value.enumerated.item[0] = in meridian_dig_source_get()
545 return 0; in meridian_dig_source_get()
553 value->value.enumerated.item[0] = in claro_dig_source_get()
556 return 0; in claro_dig_source_get()
569 if (value->value.enumerated.item[0] == 0) in meridian_dig_source_put()
590 if (value->value.enumerated.item[0]) in claro_dig_source_put()
625 if (err < 0) in generic_wm8785_mixer_init()
628 if (err < 0) in generic_wm8785_mixer_init()
630 return 0; in generic_wm8785_mixer_init()
638 if (err < 0) in meridian_mixer_init()
642 if (err < 0) in meridian_mixer_init()
644 return 0; in meridian_mixer_init()
652 if (err < 0) in claro_mixer_init()
656 if (err < 0) in claro_mixer_init()
658 return 0; in claro_mixer_init()
666 if (err < 0) in claro_halo_mixer_init()
670 if (err < 0) in claro_halo_mixer_init()
672 return 0; in claro_halo_mixer_init()
681 for (dac = 0; dac < data->dacs; ++dac) { in dump_ak4396_registers()
683 for (i = 0; i < 5; ++i) in dump_ak4396_registers()
696 for (i = 0; i < 3; ++i) in dump_wm8785_registers()
708 static const DECLARE_TLV_DB_LINEAR(ak4396_db_scale, TLV_DB_GAIN_MUTE, 0);
734 .dac_volume_min = 0,
831 return 0; in get_oxygen_model()
848 if (err >= 0) in generic_oxygen_probe()