/Linux-v5.4/sound/pci/ctxfi/ |
D | ctatc.c | 80 int (*create)(struct ct_atc *atc, 126 atc_pcm_release_resources(struct ct_atc *atc, struct ct_atc_pcm *apcm); 133 static int ct_map_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_map_audio_buffer() argument 142 vm = atc->vm; in ct_map_audio_buffer() 152 static void ct_unmap_audio_buffer(struct ct_atc *atc, struct ct_atc_pcm *apcm) in ct_unmap_audio_buffer() argument 159 vm = atc->vm; in ct_unmap_audio_buffer() 166 static unsigned long atc_get_ptp_phys(struct ct_atc *atc, int index) in atc_get_ptp_phys() argument 168 return atc->vm->get_ptp_phys(atc->vm, index); in atc_get_ptp_phys() 240 static int atc_pcm_playback_prepare(struct ct_atc *atc, struct ct_atc_pcm *apcm) in atc_pcm_playback_prepare() argument 242 struct src_mgr *src_mgr = atc->rsc_mgrs[SRC]; in atc_pcm_playback_prepare() [all …]
|
D | ctatc.h | 86 int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 87 void (*unmap_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 88 unsigned long (*get_ptp_phys)(struct ct_atc *atc, int index); 92 int (*pcm_playback_prepare)(struct ct_atc *atc, 94 int (*pcm_playback_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 95 int (*pcm_playback_stop)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 96 int (*pcm_playback_position)(struct ct_atc *atc, 98 int (*spdif_passthru_playback_prepare)(struct ct_atc *atc, 100 int (*pcm_capture_prepare)(struct ct_atc *atc, struct ct_atc_pcm *apcm); 101 int (*pcm_capture_start)(struct ct_atc *atc, struct ct_atc_pcm *apcm); [all …]
|
D | ctpcm.c | 106 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 188 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_params() 194 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_pcm_hw_free() local [all …]
|
D | ctmixer.c | 344 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in ct_alsa_mix_volume_get() local 350 amixer = ((struct ct_mixer *)atc->mixer)-> in ct_alsa_mix_volume_get() 366 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in ct_alsa_mix_volume_put() local 367 struct ct_mixer *mixer = atc->mixer; in ct_alsa_mix_volume_put() 423 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in output_switch_get() local 424 ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); in output_switch_get() 431 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in output_switch_put() local 434 return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); in output_switch_put() 458 struct ct_atc *atc = snd_kcontrol_chip(kcontrol); in mic_source_switch_get() local 459 ucontrol->value.enumerated.item[0] = atc->mic_source_switch_get(atc); in mic_source_switch_get() [all …]
|
D | xfi.c | 61 struct ct_atc *atc; in ct_card_probe() local 91 pci_id->driver_data, subsystem[dev], &atc); in ct_card_probe() 95 card->private_data = atc; in ct_card_probe() 98 err = ct_atc_create_alsa_devs(atc); in ct_card_probe() 105 card->shortname, atc->chip_name, atc->model_name); in ct_card_probe() 130 struct ct_atc *atc = card->private_data; in ct_card_suspend() local 132 return atc->suspend(atc); in ct_card_suspend() 138 struct ct_atc *atc = card->private_data; in ct_card_resume() local 140 return atc->resume(atc); in ct_card_resume()
|
D | cttimer.c | 48 struct ct_atc *atc; member 146 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_rearm() 158 struct hw *hw = atimer->atc->hw; in ct_xfitimer_irq_stop() 167 struct hw *hw = atimer->atc->hw; in ct_xfitimer_get_wc() 405 struct ct_timer *ct_timer_new(struct ct_atc *atc) in ct_timer_new() argument 417 atimer->atc = atc; in ct_timer_new() 418 hw = atc->hw; in ct_timer_new() 420 dev_info(atc->card->dev, "Use xfi-native timer\n"); in ct_timer_new() 425 dev_info(atc->card->dev, "Use system timer\n"); in ct_timer_new() 433 struct hw *hw = atimer->atc->hw; in ct_timer_free()
|
D | ctmixer.h | 42 struct ct_atc *atc; member 60 int ct_alsa_mix_create(struct ct_atc *atc, 63 int ct_mixer_create(struct ct_atc *atc, struct ct_mixer **rmixer);
|
D | ctvmem.c | 30 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() 130 struct ct_atc *atc = snd_pcm_substream_chip(substream); in ct_vm_map() local 132 block = get_vm_block(vm, size, atc); in ct_vm_map() 134 dev_err(atc->card->dev, in ct_vm_map()
|
D | ctpcm.h | 19 int ct_alsa_pcm_create(struct ct_atc *atc,
|
D | cttimer.h | 20 struct ct_timer *ct_timer_new(struct ct_atc *atc);
|
/Linux-v5.4/drivers/base/ |
D | transport_class.c | 87 int anon_transport_class_register(struct anon_transport_class *atc) in anon_transport_class_register() argument 90 atc->container.class = &atc->tclass.class; in anon_transport_class_register() 91 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register() 92 error = attribute_container_register(&atc->container); in anon_transport_class_register() 95 atc->tclass.setup = anon_transport_dummy_function; in anon_transport_class_register() 96 atc->tclass.remove = anon_transport_dummy_function; in anon_transport_class_register() 109 void anon_transport_class_unregister(struct anon_transport_class *atc) in anon_transport_class_unregister() argument 111 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
|
/Linux-v5.4/include/linux/ |
D | attribute_container.h | 28 attribute_container_no_classdevs(struct attribute_container *atc) in attribute_container_no_classdevs() argument 30 return atc->flags & ATTRIBUTE_CONTAINER_NO_CLASSDEVS; in attribute_container_no_classdevs() 34 attribute_container_set_no_classdevs(struct attribute_container *atc) in attribute_container_set_no_classdevs() argument 36 atc->flags |= ATTRIBUTE_CONTAINER_NO_CLASSDEVS; in attribute_container_set_no_classdevs()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | vga16fb.c | 523 u8 atc[VGA_ATT_C]; in vga16fb_set_par() local 558 atc[i] = i; in vga16fb_set_par() 560 atc[VGA_ATC_MODE] = 0x04; in vga16fb_set_par() 562 atc[VGA_ATC_MODE] = 0x41; in vga16fb_set_par() 564 atc[VGA_ATC_MODE] = 0x81; in vga16fb_set_par() 565 atc[VGA_ATC_OVERSCAN] = 0x00; /* 0 for EGA, 0xFF for VGA */ in vga16fb_set_par() 566 atc[VGA_ATC_PLANE_ENABLE] = 0x0F; in vga16fb_set_par() 568 atc[VGA_ATC_PEL] = (info->var.xoffset & 3) << 1; in vga16fb_set_par() 570 atc[VGA_ATC_PEL] = info->var.xoffset & 7; in vga16fb_set_par() 571 atc[VGA_ATC_COLOR_PAGE] = 0x00; in vga16fb_set_par() [all …]
|
D | i740fb.c | 48 u8 atc[VGA_ATT_C]; member 555 par->atc[i] = i; in i740fb_decode_var() 556 par->atc[VGA_ATC_MODE] = 0x81; in i740fb_decode_var() 557 par->atc[VGA_ATC_OVERSCAN] = 0x00; /* 0 for EGA, 0xFF for VGA */ in i740fb_decode_var() 558 par->atc[VGA_ATC_PLANE_ENABLE] = 0x0F; in i740fb_decode_var() 559 par->atc[VGA_ATC_COLOR_PAGE] = 0x00; in i740fb_decode_var() 643 par->atc[VGA_ATC_OVERSCAN] = 0; in i740fb_decode_var() 792 i740outb(par, VGA_ATT_IW, par->atc[i]); in i740fb_set_par()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_pm4_headers_diq.h | 136 unsigned int atc:1; member
|
D | kfd_dbgdev.h | 200 uint32_t atc:1; member
|
D | kfd_dbgdev.c | 135 rm_packet->bitfields2.atc = 0; in dbgdev_diq_submit_ib() 321 cntl.bitfields.atc); in dbgdev_address_watch_nodiq() 418 cntl.bitfields.atc); in dbgdev_address_watch_diq()
|
D | kfd_pm4_headers_vi.h | 462 unsigned int atc:1; member
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | tegra20-trimslice.dts | 51 atc { 52 nvidia,pins = "atc", "gmb"; 201 nvidia,pins = "ata", "atc", "atd", "ate",
|
D | tegra20-tamonten.dtsi | 46 atc { 47 nvidia,pins = "atc"; 185 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
|
D | tegra20-ventana.dts | 59 atc { 60 nvidia,pins = "atc"; 205 nvidia,pins = "ata", "atb", "atc", "atd",
|
D | tegra20-harmony.dts | 60 atc { 61 nvidia,pins = "atc"; 203 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
|
D | tegra20-paz00.dts | 53 nvidia,pins = "ata", "atc", "atd", "ate", 195 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | cik_reg.h | 232 uint32_t atc:1; member
|
/Linux-v5.4/drivers/iommu/ |
D | arm-smmu-v3.c | 472 } atc; member 876 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_GLOBAL, ent->atc.global); in arm_smmu_cmdq_build_cmd() 877 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SSID, ent->atc.ssid); in arm_smmu_cmdq_build_cmd() 878 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SID, ent->atc.sid); in arm_smmu_cmdq_build_cmd() 879 cmd[1] |= FIELD_PREP(CMDQ_ATC_1_SIZE, ent->atc.size); in arm_smmu_cmdq_build_cmd() 880 cmd[1] |= ent->atc.addr & CMDQ_ATC_1_ADDR_MASK; in arm_smmu_cmdq_build_cmd() 1863 .atc.ssid = ssid, in arm_smmu_atc_inv_to_cmd() 1867 cmd->atc.size = ATC_INV_SIZE_ALL; in arm_smmu_atc_inv_to_cmd() 1899 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd() 1900 cmd->atc.size = log2_span; in arm_smmu_atc_inv_to_cmd() [all …]
|