| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_state_monitor.c | 59 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_register() local 62 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register() 63 list_add_tail(¬ifier->entry, &ctl->notifier_list); in t7xx_fsm_notifier_register() 64 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register() 70 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in t7xx_fsm_notifier_unregister() local 73 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister() 74 list_for_each_entry_safe(notifier_cur, notifier_next, &ctl->notifier_list, entry) { in t7xx_fsm_notifier_unregister() 78 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister() 83 struct t7xx_fsm_ctl *ctl = md->fsm_ctl; in fsm_state_notify() local 87 spin_lock_irqsave(&ctl->notifier_lock, flags); in fsm_state_notify() [all …]
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | mixer-test.c | 64 int card, ctl, err; in find_controls() local 132 for (ctl = 0; ctl < card_data->num_ctls; ctl++) { in find_controls() 139 ctl_data->elem = ctl; in find_controls() 141 ctl); in find_controls() 155 snd_ctl_elem_list_get_id(card_data->ctls, ctl, in find_controls() 207 static int wait_for_event(struct ctl_data *ctl, int timeout) in wait_for_event() argument 218 err = poll(&(ctl->card->pollfd), 1, timeout); in wait_for_event() 221 ctl in wait_for_event() 276 ctl_value_index_valid(struct ctl_data * ctl,snd_ctl_elem_value_t * val,int index) ctl_value_index_valid() argument 389 ctl_value_valid(struct ctl_data * ctl,snd_ctl_elem_value_t * val) ctl_value_valid() argument 405 test_ctl_get_value(struct ctl_data * ctl) test_ctl_get_value() argument 450 test_ctl_name(struct ctl_data * ctl) test_ctl_name() argument 480 show_values(struct ctl_data * ctl,snd_ctl_elem_value_t * orig_val,snd_ctl_elem_value_t * read_val) show_values() argument 522 show_mismatch(struct ctl_data * ctl,int index,snd_ctl_elem_value_t * read_val,snd_ctl_elem_value_t * expected_val) show_mismatch() argument 587 write_and_verify(struct ctl_data * ctl,snd_ctl_elem_value_t * write_val,snd_ctl_elem_value_t * expected_val) write_and_verify() argument 711 test_ctl_write_default(struct ctl_data * ctl) test_ctl_write_default() argument 744 test_ctl_write_valid_boolean(struct ctl_data * ctl) test_ctl_write_valid_boolean() argument 765 test_ctl_write_valid_integer(struct ctl_data * ctl) test_ctl_write_valid_integer() argument 795 test_ctl_write_valid_integer64(struct ctl_data * ctl) test_ctl_write_valid_integer64() argument 823 test_ctl_write_valid_enumerated(struct ctl_data * ctl) test_ctl_write_valid_enumerated() argument 844 test_ctl_write_valid(struct ctl_data * ctl) test_ctl_write_valid() argument 894 test_ctl_write_invalid_value(struct ctl_data * ctl,snd_ctl_elem_value_t * val) test_ctl_write_invalid_value() argument 915 test_ctl_write_invalid_boolean(struct ctl_data * ctl) test_ctl_write_invalid_boolean() argument 933 test_ctl_write_invalid_integer(struct ctl_data * ctl) test_ctl_write_invalid_integer() argument 979 test_ctl_write_invalid_integer64(struct ctl_data * ctl) test_ctl_write_invalid_integer64() argument 1025 test_ctl_write_invalid_enumerated(struct ctl_data * ctl) test_ctl_write_invalid_enumerated() argument 1056 test_ctl_write_invalid(struct ctl_data * ctl) test_ctl_write_invalid() argument 1106 test_ctl_event_missing(struct ctl_data * ctl) test_ctl_event_missing() argument 1112 test_ctl_event_spurious(struct ctl_data * ctl) test_ctl_event_spurious() argument 1120 struct ctl_data *ctl; main() local [all...] |
| /linux/sound/pci/ice1712/ |
| H A D | wm8766.c | 147 memcpy(wm->ctl, snd_wm8766_default_ctl, sizeof(wm->ctl)); in snd_wm8766_init() 188 uinfo->count = (wm->ctl[n].flags & WM8766_FLAG_STEREO) ? 2 : 1; in snd_wm8766_volume_info() 189 uinfo->value.integer.min = wm->ctl[n].min; in snd_wm8766_volume_info() 190 uinfo->value.integer.max = wm->ctl[n].max; in snd_wm8766_volume_info() 201 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, in snd_wm8766_enum_info() 202 wm->ctl[n].enum_names); in snd_wm8766_enum_info() 212 if (wm->ctl[n].get) in snd_wm8766_ctl_get() 213 wm->ctl[n].get(wm, &val1, &val2); in snd_wm8766_ctl_get() 215 val1 = wm->regs[wm->ctl[n].reg1] & wm->ctl[n].mask1; in snd_wm8766_ctl_get() 216 val1 >>= __ffs(wm->ctl[n].mask1); in snd_wm8766_ctl_get() [all …]
|
| H A D | wm8776.c | 72 if (wm->ctl[i].flags & flags_off) in snd_wm8776_update_agc_ctl() 73 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); in snd_wm8776_update_agc_ctl() 74 else if (wm->ctl[i].flags & flags_on) in snd_wm8776_update_agc_ctl() 75 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, true); in snd_wm8776_update_agc_ctl() 420 memcpy(wm->ctl, snd_wm8776_default_ctl, sizeof(wm->ctl)); in snd_wm8776_init() 458 uinfo->count = (wm->ctl[n].flags & WM8776_FLAG_STEREO) ? 2 : 1; in snd_wm8776_volume_info() 459 uinfo->value.integer.min = wm->ctl[n].min; in snd_wm8776_volume_info() 460 uinfo->value.integer.max = wm->ctl[n].max; in snd_wm8776_volume_info() 471 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, in snd_wm8776_enum_info() 472 wm->ctl[n].enum_names); in snd_wm8776_enum_info() [all …]
|
| H A D | psc724.c | 195 spec->wm8776.ctl[WM8776_CTL_HP_SW].name); in psc724_set_jack_state() 305 struct snd_kcontrol *ctl; in psc724_add_controls() local 309 spec->wm8776.ctl[WM8776_CTL_DAC_VOL].name = front_volume; in psc724_add_controls() 310 spec->wm8776.ctl[WM8776_CTL_DAC_SW].name = front_switch; in psc724_add_controls() 311 spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; in psc724_add_controls() 312 spec->wm8776.ctl[WM8776_CTL_AUX_SW].name = NULL; in psc724_add_controls() 313 spec->wm8776.ctl[WM8776_CTL_DAC_IZD_SW].name = front_izd; in psc724_add_controls() 314 spec->wm8776.ctl[WM8776_CTL_PHASE_SW].name = front_phase; in psc724_add_controls() 315 spec->wm8776.ctl[WM8776_CTL_DEEMPH_SW].name = front_deemph; in psc724_add_controls() 316 spec->wm8776.ctl[WM8776_CTL_INPUT1_SW].name = ain1_switch; in psc724_add_controls() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-meson-gpio.c | 47 static void meson8_gpio_irq_sel_pin(struct meson_gpio_irq_controller *ctl, 49 static void meson_gpio_irq_init_dummy(struct meson_gpio_irq_controller *ctl); 50 static void meson_a1_gpio_irq_sel_pin(struct meson_gpio_irq_controller *ctl, 53 static void meson_a1_gpio_irq_init(struct meson_gpio_irq_controller *ctl); 54 static int meson8_gpio_irq_set_type(struct meson_gpio_irq_controller *ctl, 56 static int meson_s4_gpio_irq_set_type(struct meson_gpio_irq_controller *ctl, 60 void (*gpio_irq_sel_pin)(struct meson_gpio_irq_controller *ctl, 62 void (*gpio_irq_init)(struct meson_gpio_irq_controller *ctl); 63 int (*gpio_irq_set_type)(struct meson_gpio_irq_controller *ctl, 211 static void meson_gpio_irq_update_bits(struct meson_gpio_irq_controller *ctl, in meson_gpio_irq_update_bits() argument [all …]
|
| /linux/sound/pci/ctxfi/ |
| H A D | cthw20k1.c | 82 u16 ctl:1; member 95 unsigned int ctl; member 178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() local 180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state() 181 ctl->dirty.bf.ctl = 1; in src_set_state() 187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() local 189 set_field(&ctl->ctl, SRCCTL_B in src_set_bm() 196 struct src_rsc_ctrl_blk *ctl = blk; src_set_rsr() local 205 struct src_rsc_ctrl_blk *ctl = blk; src_set_sf() local 214 struct src_rsc_ctrl_blk *ctl = blk; src_set_wr() local 223 struct src_rsc_ctrl_blk *ctl = blk; src_set_pm() local 232 struct src_rsc_ctrl_blk *ctl = blk; src_set_rom() local 241 struct src_rsc_ctrl_blk *ctl = blk; src_set_vo() local 250 struct src_rsc_ctrl_blk *ctl = blk; src_set_st() local 259 struct src_rsc_ctrl_blk *ctl = blk; src_set_ie() local 268 struct src_rsc_ctrl_blk *ctl = blk; src_set_ilsz() local 277 struct src_rsc_ctrl_blk *ctl = blk; src_set_bp() local 286 struct src_rsc_ctrl_blk *ctl = blk; src_set_cisz() local 295 struct src_rsc_ctrl_blk *ctl = blk; src_set_ca() local 304 struct src_rsc_ctrl_blk *ctl = blk; src_set_sa() local 313 struct src_rsc_ctrl_blk *ctl = blk; src_set_la() local 322 struct src_rsc_ctrl_blk *ctl = blk; src_set_pitch() local 361 struct src_rsc_ctrl_blk *ctl = blk; src_commit_write() local 418 struct src_rsc_ctrl_blk *ctl = blk; src_get_ca() local 460 struct src_mgr_ctrl_blk *ctl = blk; src_mgr_commit_write() local 525 struct srcimp_mgr_ctrl_blk *ctl = blk; srcimp_mgr_set_imaparc() local 534 struct srcimp_mgr_ctrl_blk *ctl = blk; srcimp_mgr_set_imapuser() local 543 struct srcimp_mgr_ctrl_blk *ctl = blk; srcimp_mgr_set_imapnxt() local 552 struct srcimp_mgr_ctrl_blk *ctl = blk; srcimp_mgr_set_imapaddr() local 561 struct srcimp_mgr_ctrl_blk *ctl = blk; srcimp_mgr_commit_write() local 602 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_set_mode() local 617 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_set_x() local 626 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_set_y() local 635 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_set_sadr() local 644 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_set_se() local 665 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_commit_write() local 679 struct amixer_rsc_ctrl_blk *ctl = blk; amixer_get_y() local 826 struct dai_ctrl_blk *ctl = blk; dai_srt_set_srcr() local 835 struct dai_ctrl_blk *ctl = blk; dai_srt_set_srcl() local 844 struct dai_ctrl_blk *ctl = blk; dai_srt_set_rsr() local 853 struct dai_ctrl_blk *ctl = blk; dai_srt_set_drat() local 862 struct dai_ctrl_blk *ctl = blk; dai_srt_set_ec() local 871 struct dai_ctrl_blk *ctl = blk; dai_srt_set_et() local 880 struct dai_ctrl_blk *ctl = blk; dai_commit_write() local 926 struct dao_ctrl_blk *ctl = blk; dao_commit_write() local 968 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_enb_dai() local 985 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_dsb_dai() local 1002 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_enb_dao() local 1019 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_dsb_dao() local 1036 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_dao_init() local 1073 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_set_imaparc() local 1082 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_set_imapnxt() local 1091 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_set_imapaddr() local 1100 struct daio_mgr_ctrl_blk *ctl = blk; daio_mgr_commit_write() local [all...] |
| H A D | cthw20k2.c | 82 u16 ctl:1; member 95 unsigned int ctl; member 178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() local 180 set_field(&ctl->ctl, SRCCTL_STATE, state); in src_set_state() 181 ctl->dirty.bf.ctl = 1; in src_set_state() 187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() local 189 set_field(&ctl->ctl, SRCCTL_BM, bm); in src_set_bm() 190 ctl->dirty.bf.ctl = 1; in src_set_bm() 196 struct src_rsc_ctrl_blk *ctl = blk; in src_set_rsr() local 198 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr() [all …]
|
| /linux/fs/btrfs/ |
| H A D | free-space-cache.c | 46 static int link_free_space(struct btrfs_free_space_ctl *ctl, 48 static void unlink_free_space(struct btrfs_free_space_ctl *ctl, 50 static int search_bitmap(struct btrfs_free_space_ctl *ctl, 53 static void free_bitmap(struct btrfs_free_space_ctl *ctl, 55 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl, 64 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache() argument 69 while ((node = rb_last(&ctl->free_space_offset)) != NULL) { in __btrfs_remove_free_space_cache() 72 unlink_free_space(ctl, info, true); in __btrfs_remove_free_space_cache() 75 free_bitmap(ctl, info); in __btrfs_remove_free_space_cache() 78 cond_resched_lock(&ctl->tree_lock); in __btrfs_remove_free_space_cache() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | cs35l35.h | 21 #define CS35L35_PWRCTL1 0x06 /* Power Ctl 1 */ 22 #define CS35L35_PWRCTL2 0x07 /* Power Ctl 2 */ 23 #define CS35L35_PWRCTL3 0x08 /* Power Ctl 3 */ 24 #define CS35L35_CLK_CTL1 0x0A /* Clocking Ctl 1 */ 25 #define CS35L35_CLK_CTL2 0x0B /* Clocking Ctl 2 */ 26 #define CS35L35_CLK_CTL3 0x0C /* Clocking Ctl 3 */ 30 #define CS35L35_MAG_COMP_CTL 0x13 /* Magnitude Comp CTL */ 31 #define CS35L35_AMP_INP_DRV_CTL 0x14 /* Amp Input Drive Ctl */ 32 #define CS35L35_AMP_DIG_VOL_CTL 0x15 /* Amplifier Dig Volume Ctl */ 35 #define CS35L35_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */ [all …]
|
| H A D | cs35l34.h | 19 #define CS35L34_PWRCTL1 0x06 /* Power Ctl 1 */ 20 #define CS35L34_PWRCTL2 0x07 /* Power Ctl 2 */ 21 #define CS35L34_PWRCTL3 0x08 /* Power Ctl 3 */ 22 #define CS35L34_ADSP_CLK_CTL 0x0A /* (ADSP) Clock Ctl */ 23 #define CS35L34_MCLK_CTL 0x0B /* Master Clocking Ctl */ 24 #define CS35L34_AMP_INP_DRV_CTL 0x14 /* Amp Input Drive Ctl */ 25 #define CS35L34_AMP_DIG_VOL_CTL 0x15 /* Amplifier Dig Volume Ctl */ 27 #define CS35L34_AMP_ANLG_GAIN_CTL 0x17 /* Amplifier Analog Gain Ctl */ 28 #define CS35L34_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */ 29 #define CS35L34_AMP_KEEP_ALIVE_CTL 0x1A /* Amplifier Keep Alive Ctl */ [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9003_eeprom.c | 30 /* Local defines to distinguish between extension and control CTL's */ 39 #define CTL(_tpower, _flag) ((_tpower) | ((_flag) << 6)) macro 284 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } }, 285 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } }, 286 { { CTL(60, 1), CTL(60, 0), CTL(60, 0), CTL(60, 1) } }, 288 { { CTL(60, 1), CTL(60, 0), CTL(60, 0), CTL(60, 0) } }, 289 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } }, 290 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } }, 292 { { CTL(60, 0), CTL(60, 1), CTL(60, 1), CTL(60, 0) } }, 293 { { CTL(60, 0), CTL(60, 1), CTL(60, 0), CTL(60, 0) } }, [all …]
|
| /linux/sound/pci/oxygen/ |
| H A D | oxygen_mixer.c | 16 static int dac_volume_info(struct snd_kcontrol *ctl, in dac_volume_info() argument 19 struct oxygen *chip = ctl->private_data; in dac_volume_info() 28 static int dac_volume_get(struct snd_kcontrol *ctl, in dac_volume_get() argument 31 struct oxygen *chip = ctl->private_data; in dac_volume_get() 40 static int dac_volume_put(struct snd_kcontrol *ctl, 43 struct oxygen *chip = ctl->private_data; in dac_volume_put() 59 static int dac_mute_get(struct snd_kcontrol *ctl, in dac_volume_put() 62 struct oxygen *chip = ctl->private_data; in dac_mute_get() 69 static int dac_mute_put(struct snd_kcontrol *ctl, in dac_mute_get() 72 struct oxygen *chip = ctl argument 41 dac_volume_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) dac_volume_put() argument 61 dac_mute_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) dac_mute_get() argument 98 upmix_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) upmix_info() argument 113 upmix_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) upmix_get() argument 183 upmix_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) upmix_put() argument 201 spdif_switch_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_switch_get() argument 276 spdif_switch_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_switch_put() argument 294 spdif_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) spdif_info() argument 334 spdif_default_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_default_get() argument 345 spdif_default_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_default_put() argument 364 spdif_mask_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_mask_get() argument 374 spdif_pcm_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_pcm_get() argument 385 spdif_pcm_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_pcm_put() argument 404 spdif_input_mask_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_input_mask_get() argument 414 spdif_input_default_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_input_default_get() argument 428 spdif_bit_switch_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_bit_switch_get() argument 439 spdif_bit_switch_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) spdif_bit_switch_put() argument 460 monitor_volume_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) monitor_volume_info() argument 470 monitor_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) monitor_get() argument 482 monitor_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) monitor_put() argument 504 ac97_switch_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_switch_get() argument 542 ac97_switch_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_switch_put() argument 586 ac97_volume_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) ac97_volume_info() argument 598 ac97_volume_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_volume_get() argument 619 ac97_volume_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_volume_put() argument 646 mic_fmic_source_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) mic_fmic_source_info() argument 654 mic_fmic_source_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) mic_fmic_source_get() argument 666 mic_fmic_source_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) mic_fmic_source_put() argument 686 ac97_fp_rec_volume_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) ac97_fp_rec_volume_info() argument 696 ac97_fp_rec_volume_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_fp_rec_volume_get() argument 710 ac97_fp_rec_volume_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) ac97_fp_rec_volume_put() argument 1019 oxygen_any_ctl_free(struct snd_kcontrol * ctl) oxygen_any_ctl_free() argument 1045 struct snd_kcontrol *ctl; add_controls() local [all...] |
| H A D | xonar_wm87x6.c | 497 static int wm8776_bit_switch_get(struct snd_kcontrol *ctl, in xonar_ds_gpio_changed() 500 struct oxygen *chip = ctl->private_data; in wm8776_bit_switch_get() 502 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get() 503 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_get() 504 bool invert = (ctl->private_value >> 24) & 1; in wm8776_bit_switch_get() 511 static int wm8776_bit_switch_put(struct snd_kcontrol *ctl, in wm8776_bit_switch_get() 514 struct oxygen *chip = ctl->private_data; in wm8776_bit_switch_put() 516 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put() 518 unsigned int reg_index = (ctl->private_value >> 16) & 0xff; in wm8776_bit_switch_put() 519 bool invert = (ctl in wm8776_bit_switch_put() 499 wm8776_bit_switch_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_bit_switch_get() argument 513 wm8776_bit_switch_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_bit_switch_put() argument 535 wm8776_field_enum_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) wm8776_field_enum_info() argument 598 wm8776_field_volume_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) wm8776_field_volume_info() argument 608 wm8776_field_set_from_ctl(struct snd_kcontrol * ctl) wm8776_field_set_from_ctl() argument 641 wm8776_field_set(struct snd_kcontrol * ctl,unsigned int value) wm8776_field_set() argument 661 wm8776_field_enum_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_field_enum_get() argument 668 wm8776_field_volume_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_field_volume_get() argument 675 wm8776_field_enum_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_field_enum_put() argument 681 wm8776_field_volume_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_field_volume_put() argument 687 wm8776_hp_vol_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) wm8776_hp_vol_info() argument 697 wm8776_hp_vol_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_hp_vol_get() argument 712 wm8776_hp_vol_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_hp_vol_put() argument 751 wm8776_input_mux_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_input_mux_get() argument 763 wm8776_input_mux_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_input_mux_put() argument 801 wm8776_input_vol_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) wm8776_input_vol_info() argument 811 wm8776_input_vol_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_input_vol_get() argument 826 wm8776_input_vol_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_input_vol_put() argument 846 wm8776_level_control_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) wm8776_level_control_info() argument 856 wm8776_level_control_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_level_control_get() argument 873 activate_control(struct oxygen * chip,struct snd_kcontrol * ctl,unsigned int mode) activate_control() argument 887 wm8776_level_control_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) wm8776_level_control_put() argument 933 hpf_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) hpf_info() argument 942 hpf_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) hpf_get() argument 952 hpf_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) hpf_put() argument 1161 struct snd_kcontrol *ctl; add_lc_controls() local 1181 struct snd_kcontrol *ctl; xonar_ds_mixer_init() local 1205 struct snd_kcontrol *ctl; xonar_hdav_slim_mixer_init() local [all...] |
| H A D | xonar_dg_mixer.c | 47 static int output_select_info(struct snd_kcontrol *ctl, in output_select_info() argument 59 static int output_select_get(struct snd_kcontrol *ctl, in output_select_get() argument 62 struct oxygen *chip = ctl->private_data; in output_select_get() 70 static int output_select_put(struct snd_kcontrol *ctl, 73 struct oxygen *chip = ctl->private_data; in output_select_put() 92 static int hp_stereo_volume_info(struct snd_kcontrol *ctl, 102 static int hp_stereo_volume_get(struct snd_kcontrol *ctl, in hp_stereo_volume_info() 105 struct oxygen *chip = ctl->private_data; in hp_stereo_volume_get() 117 static int hp_stereo_volume_put(struct snd_kcontrol *ctl, in hp_stereo_volume_get() 120 struct oxygen *chip = ctl argument 71 output_select_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) output_select_put() argument 94 hp_stereo_volume_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) hp_stereo_volume_info() argument 104 hp_stereo_volume_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * val) hp_stereo_volume_get() argument 150 hp_mute_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * val) hp_mute_get() argument 163 hp_mute_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * val) hp_mute_put() argument 198 input_vol_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) input_vol_info() argument 208 input_vol_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) input_vol_get() argument 222 input_vol_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) input_vol_put() argument 269 input_sel_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) input_sel_info() argument 279 input_sel_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) input_sel_get() argument 291 input_sel_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) input_sel_put() argument 320 hpf_info(struct snd_kcontrol * ctl,struct snd_ctl_elem_info * info) hpf_info() argument 327 hpf_get(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) hpf_get() argument 337 hpf_put(struct snd_kcontrol * ctl,struct snd_ctl_elem_value * value) hpf_put() argument [all...] |
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_ctl.h | 12 * CTL Manager prototypes: 13 * mdp5_ctlm_init() returns a ctlm (CTL Manager) handler, 22 * CTL prototypes: 23 * mdp5_ctl_request(ctlm, ...) returns a ctl (CTL resource) handler, 24 * which is then used to call the other mdp5_ctl_*(ctl, ...) functions. 28 int mdp5_ctl_get_ctl_id(struct mdp5_ctl *ctl); 32 int mdp5_ctl_set_pipeline(struct mdp5_ctl *ctl, struct mdp5_pipeline *p); 33 int mdp5_ctl_set_encoder_state(struct mdp5_ctl *ctl, struct mdp5_pipeline *p, 36 int mdp5_ctl_set_cursor(struct mdp5_ctl *ctl, struct mdp5_pipeline *pipeline, 50 * CTL registers need to be flushed after calling this function [all …]
|
| /linux/drivers/accel/habanalabs/include/gaudi2/ |
| H A D | gaudi2_packets.h | 67 __le32 ctl; member 72 __le32 ctl; member 77 __le32 ctl; member 82 __le32 ctl; member 88 __le32 ctl; member 118 __le32 ctl; member 123 __le32 ctl; member 141 __le32 ctl; member 158 __le32 ctl; member 165 __le32 ctl; member [all …]
|
| /linux/drivers/accel/habanalabs/include/gaudi/ |
| H A D | gaudi_packets.h | 62 __le32 ctl; member 67 __le32 ctl; member 72 __le32 ctl; member 77 __le32 ctl; member 86 __le32 ctl; member 119 __le32 ctl; member 124 __le32 ctl; member 142 __le32 ctl; member 159 __le32 ctl; member 166 __le32 ctl; member [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-milbeaut.c | 89 u32 ctl; in sdhci_milbeaut_reset() local 118 ctl = sdhci_readl(host, F_SDH30_ESD_CONTROL); in sdhci_milbeaut_reset() 119 ctl |= F_SDH30_CMD_DAT_DELAY; in sdhci_milbeaut_reset() 120 sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL); in sdhci_milbeaut_reset() 179 u32 ctl; in sdhci_milbeaut_vendor_init() local 181 ctl = sdhci_readl(host, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() 182 ctl |= F_SDH30_CRES_O_DN; in sdhci_milbeaut_vendor_init() 183 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() 184 ctl &= ~F_SDH30_MSEL_O_1_8; in sdhci_milbeaut_vendor_init() 185 sdhci_writel(host, ctl, F_SDH30_IO_CONTROL2); in sdhci_milbeaut_vendor_init() [all …]
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_control_cache.c | 152 struct cs_dsp_coeff_ctl *ctl; in cs_dsp_ctl_v2_cache_alloc() local 190 list_for_each_entry(ctl, &dsp->ctl_list, list) in cs_dsp_ctl_v2_cache_alloc() 191 KUNIT_EXPECT_GE(test, ksize(ctl->cache), ctl->len); in cs_dsp_ctl_v2_cache_alloc() 207 struct cs_dsp_coeff_ctl *ctl; in cs_dsp_ctl_cache_init() local 240 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_init() 241 KUNIT_ASSERT_NOT_NULL(test, ctl); in cs_dsp_ctl_cache_init() 248 cs_dsp_coeff_lock_and_read_ctrl(ctl, 0, readback, param->len_bytes), in cs_dsp_ctl_cache_init() 265 struct cs_dsp_coeff_ctl *ctl; in cs_dsp_ctl_cache_init_write_only() local 290 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_cache_init_write_only() 291 KUNIT_ASSERT_NOT_NULL(test, ctl); in cs_dsp_ctl_cache_init_write_only() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | pio.c | 318 u16 ctl, in tx_write_2byte_queue() argument 326 ctl |= B43_PIO_TXCTL_WRITELO | B43_PIO_TXCTL_WRITEHI; in tx_write_2byte_queue() 327 b43_piotx_write16(q, B43_PIO_TXCTL, ctl); in tx_write_2byte_queue() 337 ctl &= ~B43_PIO_TXCTL_WRITEHI; in tx_write_2byte_queue() 338 b43_piotx_write16(q, B43_PIO_TXCTL, ctl); in tx_write_2byte_queue() 346 return ctl; in tx_write_2byte_queue() 355 u16 ctl; in pio_tx_frame_2byte_queue() local 357 ctl = b43_piotx_read16(q, B43_PIO_TXCTL); in pio_tx_frame_2byte_queue() 358 ctl |= B43_PIO_TXCTL_FREADY; in pio_tx_frame_2byte_queue() 359 ctl &= ~B43_PIO_TXCTL_EOF; in pio_tx_frame_2byte_queue() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb/ |
| H A D | mv88e1xxx.c | 50 u32 ctl; in mv88e1xxx_reset() local 56 (void) simple_mdio_read(cphy, MII_BMCR, &ctl); in mv88e1xxx_reset() 57 ctl &= BMCR_RESET; in mv88e1xxx_reset() 58 if (ctl) in mv88e1xxx_reset() 60 } while (ctl && --time_out); in mv88e1xxx_reset() 62 return ctl ? -1 : 0; in mv88e1xxx_reset() 127 u32 ctl; in mv88e1xxx_set_speed_duplex() local 129 (void) simple_mdio_read(phy, MII_BMCR, &ctl); in mv88e1xxx_set_speed_duplex() 131 ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 133 ctl |= BMCR_SPEED100; in mv88e1xxx_set_speed_duplex() [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | ipu6-isys.rst | 90 media-ctl [#f1]_ and yavta [#f2]_ to transmit frames to IPU6 ISYS. 98 # Establish the link for the media devices using media-ctl 99 media-ctl -d $MDEV -l "\"ov01a10 3-0036\":0 -> \"Intel IPU6 CSI2 2\":0[1]" 102 media-ctl -d $MDEV -V "ov01a10:0 [fmt:SBGGR10/1280x800]" 103 media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:0 [fmt:SBGGR10/1280x800]" 104 media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:1 [fmt:SBGGR10/1280x800]" 114 export SDEV=$(media-ctl -d $MDEV -e "ov01a10 3-0036") 127 -f SBGGR10 $(media-ctl -d $MDEV -e "Intel IPU6 ISYS Capture 0") 137 media-ctl -l "\"ov2740 14-0036\":0 -> \"Intel IPU6 CSI2 1\":0[1]" 138 media-ctl -l "\"Intel IPU6 CSI2 1\":1 -> \"Intel IPU6 ISYS Capture 0\":0[1]" [all …]
|
| /linux/drivers/misc/ |
| H A D | vmw_balloon.c | 642 * @ctl: pointer for the %struct vmballoon_ctl, which defines the operation. 646 * @ctl.pages and updates @ctl.n_pages to reflect the number of pages. 651 struct vmballoon_ctl *ctl, in vmballoon_alloc_page_list() argument 663 if (!list_empty(&ctl->prealloc_pages)) { in vmballoon_alloc_page_list() 664 page = list_first_entry(&ctl->prealloc_pages, in vmballoon_alloc_page_list() 668 if (ctl->page_size == VMW_BALLOON_2M_PAGE) in vmballoon_alloc_page_list() 675 ctl->page_size); in vmballoon_alloc_page_list() 680 list_add(&page->lru, &ctl->pages); in vmballoon_alloc_page_list() 686 ctl->page_size); in vmballoon_alloc_page_list() 690 ctl->n_pages = i; in vmballoon_alloc_page_list() [all …]
|
| /linux/drivers/firmware/cirrus/ |
| H A D | cs_dsp.c | 473 static int cs_dsp_coeff_base_reg(struct cs_dsp_coeff_ctl *ctl, unsigned int *reg, 479 struct cs_dsp_coeff_ctl *ctl; in cs_dsp_debugfs_read_controls_show() local 482 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_debugfs_read_controls_show() 483 cs_dsp_coeff_base_reg(ctl, ®, 0); in cs_dsp_debugfs_read_controls_show() 485 ctl->subname_len, ctl->subname, ctl->len, in cs_dsp_debugfs_read_controls_show() 486 cs_dsp_mem_region_name(ctl->alg_region.type), in cs_dsp_debugfs_read_controls_show() 487 ctl->offset, reg, ctl->fw_name, ctl->alg_region.alg, ctl->type, in cs_dsp_debugfs_read_controls_show() 488 ctl->flags & WMFW_CTL_FLAG_VOLATILE ? 'V' : '-', in cs_dsp_debugfs_read_controls_show() 489 ctl->flags & WMFW_CTL_FLAG_SYS ? 'S' : '-', in cs_dsp_debugfs_read_controls_show() 490 ctl->flags & WMFW_CTL_FLAG_READABLE ? 'R' : '-', in cs_dsp_debugfs_read_controls_show() [all …]
|