/linux/sound/pci/ctxfi/ |
A D | ctatc.c | 168 return atc->vm->get_ptp_phys(atc->vm, index); in atc_get_ptp_phys() 265 (atc->rsr * atc->msr)); in atc_pcm_playback_prepare() 465 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf() 526 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources() 602 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources() 1132 if (atc->pll_rate != atc->rsr) in atc_spdif_out_passthru() 1133 err = atc_pll_init(atc, atc->rsr); in atc_spdif_out_passthru() 1298 atc->chip_name, atc->model_name, in atc_identify_card() 1332 err = create_hw_obj(atc->pci, atc->chip_type, atc->model, &hw); in atc_create_hw_devs() 1683 atc = kzalloc(sizeof(*atc), GFP_KERNEL); in ct_atc_create() [all …]
|
A D | ctatc.h | 92 int (*pcm_playback_prepare)(struct ct_atc *atc, 96 int (*pcm_playback_position)(struct ct_atc *atc, 103 int (*pcm_capture_position)(struct ct_atc *atc, 105 int (*pcm_release_resources)(struct ct_atc *atc, 107 int (*select_line_in)(struct ct_atc *atc); 108 int (*select_mic_in)(struct ct_atc *atc); 109 int (*select_digit_io)(struct ct_atc *atc); 122 int (*output_switch_get)(struct ct_atc *atc); 143 int (*suspend)(struct ct_atc *atc); 144 int (*resume)(struct ct_atc *atc); [all …]
|
A D | ctpcm.c | 108 atc->pcm_release_resources(atc, apcm); in ct_atc_pcm_free_substream() 130 atc->spdif_out_passthru(atc, 1); in ct_pcm_playback_open() 169 atc->spdif_out_passthru(atc, 0); in ct_pcm_playback_close() 183 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_params() 193 atc->pcm_release_resources(atc, apcm); in ct_pcm_hw_free() 230 atc->pcm_playback_start(atc, apcm); in ct_pcm_playback_trigger() 235 atc->pcm_playback_stop(atc, apcm); in ct_pcm_playback_trigger() 318 err = atc->pcm_capture_prepare(atc, apcm); in ct_pcm_capture_prepare() 337 atc->pcm_capture_start(atc, apcm); in ct_pcm_capture_trigger() 340 atc->pcm_capture_stop(atc, apcm); in ct_pcm_capture_trigger() [all …]
|
A D | ctmixer.c | 486 atc->select_line_in(atc); in do_line_mic_switch() 491 atc->select_mic_in(atc); in do_line_mic_switch() 504 atc->select_digit_io(atc); in do_digit_io_switch() 505 atc->spdif_out_unmute(atc, in do_digit_io_switch() 508 atc->line_in_unmute(atc, 0); in do_digit_io_switch() 513 atc->select_line_in(atc); in do_digit_io_switch() 515 atc->select_mic_in(atc); in do_digit_io_switch() 518 atc->spdif_in_unmute(atc, 0); in do_digit_io_switch() 519 atc->line_in_unmute(atc, 1); in do_digit_io_switch() 799 atc->mic_unmute(atc, 0); in ct_mixer_kcontrols_create() [all …]
|
A D | xfi.c | 60 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()
|
A 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()
|
A 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);
|
A 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()
|
A D | ctpcm.h | 19 int ct_alsa_pcm_create(struct ct_atc *atc,
|
A D | cttimer.h | 20 struct ct_timer *ct_timer_new(struct ct_atc *atc);
|
/linux/drivers/base/ |
A D | transport_class.c | 91 int anon_transport_class_register(struct anon_transport_class *atc) in anon_transport_class_register() argument 94 atc->container.class = &atc->tclass.class; in anon_transport_class_register() 95 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register() 96 error = attribute_container_register(&atc->container); in anon_transport_class_register() 99 atc->tclass.setup = anon_transport_dummy_function; in anon_transport_class_register() 100 atc->tclass.remove = anon_transport_dummy_function; in anon_transport_class_register() 113 void anon_transport_class_unregister(struct anon_transport_class *atc) in anon_transport_class_unregister() argument 115 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
|
/linux/include/linux/ |
A 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/drivers/video/fbdev/ |
A 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 …]
|
A 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/arch/arm/boot/dts/ |
A D | tegra20-trimslice.dts | 52 atc { 53 nvidia,pins = "atc", "gmb"; 202 nvidia,pins = "ata", "atc", "atd", "ate",
|
A D | tegra20-tamonten.dtsi | 46 atc { 47 nvidia,pins = "atc"; 185 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
|
A D | tegra20-ventana.dts | 62 atc { 63 nvidia,pins = "atc"; 208 nvidia,pins = "ata", "atb", "atc", "atd",
|
A D | tegra20-harmony.dts | 60 atc { 61 nvidia,pins = "atc"; 203 nvidia,pins = "ata", "atb", "atc", "atd", "ate",
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_pm4_headers_diq.h | 136 unsigned int atc:1; member
|
A D | kfd_dbgdev.h | 200 uint32_t atc:1; member
|
A 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()
|
A D | kfd_pm4_headers_vi.h | 462 unsigned int atc:1; member
|
/linux/drivers/gpu/drm/radeon/ |
A D | cik_reg.h | 232 uint32_t atc:1; member
|
/linux/drivers/iommu/arm/arm-smmu-v3/ |
A D | arm-smmu-v3.c | 295 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_GLOBAL, ent->atc.global); in arm_smmu_cmdq_build_cmd() 296 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SSID, ent->atc.ssid); in arm_smmu_cmdq_build_cmd() 297 cmd[0] |= FIELD_PREP(CMDQ_ATC_0_SID, ent->atc.sid); in arm_smmu_cmdq_build_cmd() 298 cmd[1] |= FIELD_PREP(CMDQ_ATC_1_SIZE, ent->atc.size); in arm_smmu_cmdq_build_cmd() 299 cmd[1] |= ent->atc.addr & CMDQ_ATC_1_ADDR_MASK; in arm_smmu_cmdq_build_cmd() 1729 .atc.ssid = ssid, in arm_smmu_atc_inv_to_cmd() 1733 cmd->atc.size = ATC_INV_SIZE_ALL; in arm_smmu_atc_inv_to_cmd() 1765 cmd->atc.addr = page_start << inval_grain_shift; in arm_smmu_atc_inv_to_cmd() 1766 cmd->atc.size = log2_span; in arm_smmu_atc_inv_to_cmd() 1779 cmd.atc.sid = master->streams[i].id; in arm_smmu_atc_inv_master() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_amdkfd_gfx_v7.c | 76 uint32_t atc:1; member 564 cntl.bitfields.atc = 1; in kgd_address_watch_disable()
|