Home
last modified time | relevance | path

Searched refs:atc (Results 1 – 24 of 24) sorted by relevance

/linux/sound/pci/ctxfi/
H A Dctatc.c88 int (*create)(struct ct_atc *atc,
131 atc_pcm_release_resources(struct ct_atc *atc, struct ct_atc_pcm *apcm);
138 static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_map_audio_buffer() argument
147 vm = atc->vm; in ct_map_audio_buffer()
157 static void ct_unmap_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_unmap_audio_buffer() argument
164 vm = atc->vm; in ct_unmap_audio_buffer()
171 static unsigned long atc_get_ptp_phys(struct ct_atc *atc, int index) in atc_get_ptp_phys() argument
173 return atc->vm->get_ptp_phys(atc->vm, index); in atc_get_ptp_phys()
245 static int atc_pcm_playback_prepare(struct ct_atc *atc, struct ct_atc_pcm *apcm) in atc_pcm_playback_prepare() argument
247 struct src_mgr *src_mgr = atc->rsc_mgrs[SRC]; in atc_pcm_playback_prepare()
[all …]
H A Dctatc.h88 int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
89 void (*unmap_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
90 unsigned long (*get_ptp_phys)(struct ct_atc *atc, int index);
94 int (*pcm_playback_prepare)(struct ct_atc *atc,
96 int (*pcm_playback_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
97 int (*pcm_playback_stop)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
98 int (*pcm_playback_position)(struct ct_atc *atc,
100 int (*spdif_passthru_playback_prepare)(struct ct_atc *atc,
102 int (*pcm_capture_prepare)(struct ct_atc *atc, struct ct_atc_pcm *apcm);
103 int (*pcm_capture_start)(struct ct_atc *atc, struc
[all...]
H A Dctpcm.c106 struct ct_atc *atc = snd_pcm_substream_chip(apcm->substream); in ct_atc_pcm_free_substream() local
108 atc->pcm_release_resources(atc, apcm); in ct_atc_pcm_free_substream()
117 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_open() local
130 atc->spdif_out_passthru(atc, 1); in ct_pcm_playback_open()
148 apcm->timer = ct_timer_instance_new(atc->timer, apcm); in ct_pcm_playback_open()
165 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_playback_close() local
169 atc->spdif_out_passthru(atc, 0); in ct_pcm_playback_close()
179 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_hw_params() local
183 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_params()
189 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_hw_free() local
[all …]
H A Dctmixer.c340 struct ct_atc *atc = snd_kcontrol_chip(kcontrol);
346 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get()
362 struct ct_atc *atc = snd_kcontrol_chip(kcontrol);
363 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_volume_put()
419 struct ct_atc *atc = snd_kcontrol_chip(kcontrol);
420 ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); in output_switch_get()
427 struct ct_atc *atc = snd_kcontrol_chip(kcontrol);
430 return atc->output_switch_put(atc, ucontro in output_switch_put()
344 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); ct_alsa_mix_volume_get() local
366 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); ct_alsa_mix_volume_put() local
423 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); output_switch_get() local
431 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); output_switch_put() local
458 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); mic_source_switch_get() local
466 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); mic_source_switch_put() local
482 do_line_mic_switch(struct ct_atc * atc,enum CTALSA_MIXER_CTL type) do_line_mic_switch() argument
499 do_digit_io_switch(struct ct_atc * atc,int state) do_digit_io_switch() argument
523 do_switch(struct ct_atc * atc,enum CTALSA_MIXER_CTL type,int state) do_switch() argument
598 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); ct_alsa_mix_switch_put() local
634 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); dedicated_rca_get() local
643 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); dedicated_rca_put() local
693 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); ct_spdif_get() local
712 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); ct_spdif_put() local
794 struct ct_atc *atc = mixer->atc; ct_mixer_kcontrols_create() local
1238 ct_mixer_create(struct ct_atc * atc,struct ct_mixer ** rmixer) ct_mixer_create() argument
1277 ct_alsa_mix_create(struct ct_atc * atc,enum CTALSADEVS device,const char * device_name) ct_alsa_mix_create() argument
[all...]
H A Dxfi.c60 struct ct_atc *atc; in ct_card_probe() local
90 pci_id->driver_data, subsystem[dev], &atc); in ct_card_probe()
94 card->private_data = atc; in ct_card_probe()
97 err = ct_atc_create_alsa_devs(atc); in ct_card_probe()
104 card->shortname, atc->chip_name, atc->model_name); in ct_card_probe()
129 struct ct_atc *atc = card->private_data; in ct_card_suspend() local
131 return atc->suspend(atc); in ct_card_suspend()
137 struct ct_atc *atc = card->private_data; in ct_card_resume() local
139 return atc->resume(atc); in ct_card_resume()
H A Dcttimer.c48 struct ct_atc *atc; member
139 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_rearm()
151 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_stop()
160 struct hw *hw = atimer->atc->hw; in ct_xfitimer_get_wc()
388 struct ct_timer *ct_timer_new(struct ct_atc *atc) in ct_timer_new() argument
400 atimer->atc = atc; in ct_timer_new()
401 hw = atc->hw; in ct_timer_new()
403 dev_info(atc->card->dev, "Use xfi-native timer\n"); in ct_timer_new()
408 dev_info(atc->card->dev, "Use system timer\n"); in ct_timer_new()
416 struct hw *hw = atimer->atc->hw; in ct_timer_free()
H A Dctmixer.h44 struct ct_atc *atc;
63 int ct_alsa_mix_create(struct ct_atc *atc,
66 int ct_mixer_create(struct ct_atc *atc, struct ct_mixer **rmixer);
42 struct ct_atc *atc; global() member
H A Dctvmem.c30 get_vm_block(struct ct_vm *vm, unsigned int size, struct ct_atc *atc) in get_vm_block() argument
37 dev_err(atc->card->dev, in get_vm_block()
126 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_vm_map() local
128 block = get_vm_block(vm, size, atc); in ct_vm_map()
130 dev_err(atc->card->dev, in ct_vm_map()
H A Dctpcm.h19 int ct_alsa_pcm_create(struct ct_atc *atc,
H A Dcttimer.h20 struct ct_timer *ct_timer_new(struct ct_atc *atc);
/linux/drivers/video/fbdev/
H A Dvga16fb.c539 u8 atc[VGA_ATT_C]; in vga16fb_set_par() local
574 atc[i] = i; in vga16fb_set_par()
576 atc[VGA_ATC_MODE] = 0x04; in vga16fb_set_par()
578 atc[VGA_ATC_MODE] = 0x41; in vga16fb_set_par()
580 atc[VGA_ATC_MODE] = 0x81; in vga16fb_set_par()
581 atc[VGA_ATC_OVERSCAN] = 0x00; /* 0 for EGA, 0xFF for VGA */ in vga16fb_set_par()
582 atc[VGA_ATC_PLANE_ENABLE] = 0x0F; in vga16fb_set_par()
584 atc[VGA_ATC_PEL] = (info->var.xoffset & 3) << 1; in vga16fb_set_par()
586 atc[VGA_ATC_PEL] = info->var.xoffset & 7; in vga16fb_set_par()
587 atc[VGA_ATC_COLOR_PAGE] = 0x00; in vga16fb_set_par()
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-trimslice.dts53 atc {
54 nvidia,pins = "atc", "gmb";
203 nvidia,pins = "ata", "atc", "atd", "ate",
H A Dtegra20-tamonten.dtsi46 atc {
47 nvidia,pins = "atc";
185 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
H A Dtegra20-ventana.dts62 atc {
63 nvidia,pins = "atc";
208 nvidia,pins = "ata", "atb", "atc", "atd",
H A Dtegra20-harmony.dts60 atc {
61 nvidia,pins = "atc";
203 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
H A Dtegra20-seaboard.dts60 atc {
61 nvidia,pins = "atc";
206 nvidia,pins = "ata", "atb", "atc", "atd",
H A Dtegra20-acer-a500-picasso.dts103 atc {
104 nvidia,pins = "atc";
249 nvidia,pins = "ata", "atb", "atc", "atd",
H A Dtegra20-colibri.dtsi111 nvidia,pins = "atc", "atd", "ate", "dap1",
/linux/drivers/gpu/drm/radeon/
H A Dcik_reg.h232 uint32_t atc:1; member
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_pm4_headers_vi.h463 unsigned int atc:1; member
/linux/drivers/net/dsa/b53/
H A Db53_common.c2672 u32 atc; in b53_set_ageing_time() local
2681 atc = DIV_ROUND_CLOSEST(msecs, 500); in b53_set_ageing_time()
2683 atc = DIV_ROUND_CLOSEST(msecs, 1000); in b53_set_ageing_time()
2686 atc |= AGE_CHANGE; in b53_set_ageing_time()
2688 b53_write32(dev, B53_MGMT_PAGE, reg, atc); in b53_set_ageing_time()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_hw.h819 u8 atc; /* init gate value */ member
H A Denetc_qos.c89 gcl_config->atc = 0xff; in enetc_setup_taprio()
/linux/drivers/pinctrl/tegra/
H A Dpinctrl-tegra20.c2048 MUX_PG(atc, IDE, NAND, GMI, SDIO4, 0x14, 2, 0x80, 22, 0xa0, 4),