Home
last modified time | relevance | path

Searched refs:ext_id (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_sbi.c208 unsigned long i, ext_id; in riscv_vcpu_set_sbi_ext_multi() local
214 ext_id = i + reg_num * BITS_PER_LONG; in riscv_vcpu_set_sbi_ext_multi()
215 if (ext_id >= KVM_RISCV_SBI_EXT_MAX) in riscv_vcpu_set_sbi_ext_multi()
218 riscv_vcpu_set_sbi_ext_single(vcpu, ext_id, enable); in riscv_vcpu_set_sbi_ext_multi()
228 unsigned long i, ext_id, ext_val; in riscv_vcpu_get_sbi_ext_multi() local
234 ext_id = i + reg_num * BITS_PER_LONG; in riscv_vcpu_get_sbi_ext_multi()
235 if (ext_id >= KVM_RISCV_SBI_EXT_MAX) in riscv_vcpu_get_sbi_ext_multi()
239 riscv_vcpu_get_sbi_ext_single(vcpu, ext_id, &ext_val); in riscv_vcpu_get_sbi_ext_multi()
241 *reg_val |= KVM_REG_RISCV_SBI_MULTI_MASK(ext_id); in riscv_vcpu_get_sbi_ext_multi()
H A Dvcpu_onereg.c516 unsigned long i, ext_id, ext_val; in riscv_vcpu_get_isa_ext_multi() local
522 ext_id = i + reg_num * BITS_PER_LONG; in riscv_vcpu_get_isa_ext_multi()
523 if (ext_id >= KVM_RISCV_ISA_EXT_MAX) in riscv_vcpu_get_isa_ext_multi()
527 riscv_vcpu_get_isa_ext_single(vcpu, ext_id, &ext_val); in riscv_vcpu_get_isa_ext_multi()
529 *reg_val |= KVM_REG_RISCV_ISA_MULTI_MASK(ext_id); in riscv_vcpu_get_isa_ext_multi()
539 unsigned long i, ext_id; in riscv_vcpu_set_isa_ext_multi() local
545 ext_id = i + reg_num * BITS_PER_LONG; in riscv_vcpu_set_isa_ext_multi()
546 if (ext_id >= KVM_RISCV_ISA_EXT_MAX) in riscv_vcpu_set_isa_ext_multi()
549 riscv_vcpu_set_isa_ext_single(vcpu, ext_id, enable); in riscv_vcpu_set_isa_ext_multi()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dce110/
H A Dirq_service_dce110.c187 __func__, info->src_id, info->ext_id); in dal_irq_service_dummy_set()
196 __func__, info->src_id, info->ext_id); in dal_irq_service_dummy_ack()
211 info->ext_id); in dce110_vblank_set()
329 uint32_t ext_id) in to_dal_irq_source_dce110() argument
371 switch (ext_id) { in to_dal_irq_source_dce110()
H A Dirq_service_dce110.h37 uint32_t ext_id);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/
H A Dirq_service.h48 uint32_t ext_id; member
63 uint32_t ext_id);
H A Dirq_service.c173 uint32_t ext_id) in dal_irq_service_to_irq_source() argument
178 ext_id); in dal_irq_service_to_irq_source()
/openbmc/linux/sound/pci/ac97/
H A Dac97_pcm.c164 if (! (ac97->ext_id & AC97_EI_SPDIF)) in set_spdif_rate()
288 if ((ac97->ext_id & AC97_EI_DRA) && reg == AC97_PCM_FRONT_DAC_RATE) in snd_ac97_set_rate()
293 if ((ac97->ext_id & AC97_EI_DRA) && reg == AC97_PCM_FRONT_DAC_RATE) { in snd_ac97_set_rate()
331 if (ac97->ext_id & AC97_EI_SPDIF) { in get_pslots()
346 if (ac97->ext_id & AC97_EI_SPDIF) { in get_pslots()
356 if (ac97->ext_id & AC97_EI_SPDIF) in get_pslots()
369 if (ac97->ext_id & AC97_EI_SPDIF) { in get_pslots()
568 if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) { in snd_ac97_pcm_open()
H A Dac97_codec.c500 (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_23 && in snd_ac97_page_save()
1046 if ((ac97->ext_id & AC97_EI_CDAC) == 0) in snd_ac97_try_volume_mix()
1050 if ((ac97->ext_id & AC97_EI_LDAC) == 0) in snd_ac97_try_volume_mix()
1056 if ((ac97->ext_id & AC97_EI_SDAC) == 0) in snd_ac97_try_volume_mix()
1661 ac97->ext_id |= AC97_EI_SPDIF; in snd_ac97_mixer_build()
1663 if ((ac97->ext_id & AC97_EI_SPDIF) && !(ac97->scaps & AC97_SCAP_NO_SPDIF)) { in snd_ac97_mixer_build()
1766 if ((ac97->ext_id & AC97_EI_DRA) && reg == AC97_PCM_FRONT_DAC_RATE) in snd_ac97_determine_rates()
2166 ac97->ext_id = snd_ac97_read(ac97, AC97_EXTENDED_ID); in snd_ac97_mixer()
2167 if (ac97->ext_id == 0xffff) /* invalid combination */ in snd_ac97_mixer()
2168 ac97->ext_id = 0; in snd_ac97_mixer()
[all …]
H A Dac97_proc.c114 if ((ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_23) { in snd_ac97_proc_read_main()
170 if (ac97->ext_id & AC97_EI_DRA) in snd_ac97_proc_read_main()
274 if ((ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_23) { in snd_ac97_proc_read_main()
H A Dac97_patch.c359 ac97->ext_id |= AC97_EI_SPDIF; /* force the detection of spdif */ in patch_yamaha_ymf743()
1327 ac97->ext_id |= AC97_EI_SPDIF; /* force the detection of spdif */ in patch_cirrus_spdif()
1374 ac97->ext_id |= AC97_EI_SPDIF; /* force the detection of spdif */ in patch_conexant()
1598 ac97->ext_id = snd_ac97_read(ac97, AC97_EXTENDED_ID); in patch_ad1881()
2239 ac97->ext_id = (ac97->ext_id & ~AC97_EI_REV_MASK) | AC97_EI_REV_23; in patch_ad1985()
2620 if (ac97->ext_id & AC97_EI_SPDIF) { in patch_alc650_specific()
2775 if (ac97->ext_id & AC97_EI_SPDIF) { in patch_alc655_specific()
2820 ac97->ext_id |= AC97_EI_SPDIF; in patch_alc655()
2889 if (ac97->ext_id & AC97_EI_SPDIF) { in patch_alc850_specific()
3112 ac97->ext_id &= ~AC97_EI_SPDIF; /* disable extended-id */ in patch_cm9739()
[all …]
/openbmc/linux/include/sound/
H A Dac97_codec.h252 unsigned short ext_id; /* extended feature identification (register 28) */ member
300 return (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_22; in ac97_is_rev22()
304 return (ac97->ext_id & AC97_EI_AMAP) != 0; in ac97_can_amap()
308 return (ac97->ext_id & AC97_EI_SPDIF) != 0; in ac97_can_spdif()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dce60/
H A Dirq_service_dce60.h34 uint32_t ext_id);
H A Dirq_service_dce60.c291 uint32_t ext_id) in to_dal_irq_source_dce60() argument
333 switch (ext_id) { in to_dal_irq_source_dce60()
/openbmc/linux/drivers/counter/
H A Dcounter-chrdev.c273 size_t ext_idx, ext_id; in counter_add_watch() local
351 err = counter_get_ext(ext, num_ext, id, &ext_idx, &ext_id); in counter_add_watch()
537 size_t ext_idx, ext_id; in counter_get_data() local
615 ret = counter_get_ext(ext, num_ext, id, &ext_idx, &ext_id); in counter_get_data()
620 comp, id - ext_id, value); in counter_get_data()
/openbmc/linux/include/sound/sof/
H A Dchannel_map.h39 uint32_t ext_id; member
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dirq_service_interface.h49 uint32_t ext_id);
/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_imx.h25 unsigned int ext_id:1; /* ID from exteranl event */ member
H A Dcore.c680 struct extcon_dev *ext_vbus, *ext_id; in ci_get_platdata() local
766 ext_id = ERR_PTR(-ENODEV); in ci_get_platdata()
774 ext_id = extcon_get_edev_by_phandle(dev, 1); in ci_get_platdata()
775 if (IS_ERR(ext_id) && PTR_ERR(ext_id) != -ENODEV) in ci_get_platdata()
776 return PTR_ERR(ext_id); in ci_get_platdata()
793 cable->edev = ext_id; in ci_get_platdata()
795 if (!IS_ERR(ext_id)) { in ci_get_platdata()
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_mixer.c41 vortex->isquad = ((vortex->codec == NULL) ? 0 : (vortex->codec->ext_id&0x80)); in snd_vortex_mixer()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn303/
H A Dirq_service_dcn303.c20 uint32_t ext_id) in to_dal_irq_source_dcn303() argument
42 switch (ext_id) { in to_dal_irq_source_dcn303()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn201/
H A Dirq_service_dcn201.c43 uint32_t ext_id) in to_dal_irq_source_dcn201() argument
64 switch (ext_id) { in to_dal_irq_source_dcn201()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn10/
H A Dirq_service_dcn10.c43 uint32_t ext_id) in to_dal_irq_source_dcn10() argument
97 switch (ext_id) { in to_dal_irq_source_dcn10()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn20/
H A Dirq_service_dcn20.c46 uint32_t ext_id) in to_dal_irq_source_dcn20() argument
100 switch (ext_id) { in to_dal_irq_source_dcn20()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn31/
H A Dirq_service_dcn31.c41 uint32_t ext_id) in to_dal_irq_source_dcn31() argument
96 switch (ext_id) { in to_dal_irq_source_dcn31()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn32/
H A Dirq_service_dcn32.c42 uint32_t ext_id) in to_dal_irq_source_dcn32() argument
97 switch (ext_id) { in to_dal_irq_source_dcn32()

12