Lines Matching refs:data
35 struct xonar_generic *data = chip->model_data; in xonar_enable_output() local
37 oxygen_set_bits16(chip, OXYGEN_GPIO_CONTROL, data->output_enable_bit); in xonar_enable_output()
38 msleep(data->anti_pop_delay); in xonar_enable_output()
39 oxygen_set_bits16(chip, OXYGEN_GPIO_DATA, data->output_enable_bit); in xonar_enable_output()
44 struct xonar_generic *data = chip->model_data; in xonar_disable_output() local
46 oxygen_clear_bits16(chip, OXYGEN_GPIO_DATA, data->output_enable_bit); in xonar_disable_output()
51 struct xonar_generic *data = chip->model_data; in xonar_ext_power_gpio_changed() local
54 has_power = !!(oxygen_read8(chip, data->ext_power_reg) in xonar_ext_power_gpio_changed()
55 & data->ext_power_bit); in xonar_ext_power_gpio_changed()
56 if (has_power != data->has_power) { in xonar_ext_power_gpio_changed()
57 data->has_power = has_power; in xonar_ext_power_gpio_changed()
70 struct xonar_generic *data = chip->model_data; in xonar_init_ext_power() local
72 oxygen_set_bits8(chip, data->ext_power_int_reg, in xonar_init_ext_power()
73 data->ext_power_bit); in xonar_init_ext_power()
76 data->has_power = !!(oxygen_read8(chip, data->ext_power_reg) in xonar_init_ext_power()
77 & data->ext_power_bit); in xonar_init_ext_power()