/kernel/linux/linux-5.10/sound/sparc/ |
H A D | amd7930.c | 347 /* Idle the AMD7930 chip. The amd->lock is not held. */ 348 static __inline__ void amd7930_idle(struct snd_amd7930 *amd) in amd7930_idle() argument 352 spin_lock_irqsave(&amd->lock, flags); in amd7930_idle() 353 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_idle() 354 sbus_writeb(0, amd->regs + AMD7930_DR); in amd7930_idle() 355 spin_unlock_irqrestore(&amd->lock, flags); in amd7930_idle() 358 /* Enable chip interrupts. The amd->lock is not held. */ 359 static __inline__ void amd7930_enable_ints(struct snd_amd7930 *amd) in amd7930_enable_ints() argument 363 spin_lock_irqsave(&amd->lock, flags); in amd7930_enable_ints() 364 sbus_writeb(AMR_INIT, amd in amd7930_enable_ints() 370 amd7930_disable_ints(struct snd_amd7930 *amd) amd7930_disable_ints() argument 383 __amd7930_write_map(struct snd_amd7930 *amd) __amd7930_write_map() argument 477 __amd7930_update_map(struct snd_amd7930 *amd) __amd7930_update_map() argument 497 struct snd_amd7930 *amd = dev_id; snd_amd7930_interrupt() local 538 snd_amd7930_trigger(struct snd_amd7930 *amd, unsigned int flag, int cmd) snd_amd7930_trigger() argument 571 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_trigger() local 578 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_trigger() local 584 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_prepare() local 616 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_prepare() local 648 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_pointer() local 659 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_pointer() local 692 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_open() local 702 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_open() local 712 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_close() local 720 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_close() local 742 snd_amd7930_pcm(struct snd_amd7930 *amd) snd_amd7930_pcm() argument 784 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl); snd_amd7930_get_volume() local 808 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl); snd_amd7930_put_volume() local 870 snd_amd7930_mixer(struct snd_amd7930 *amd) snd_amd7930_mixer() argument 890 snd_amd7930_free(struct snd_amd7930 *amd) snd_amd7930_free() argument 910 struct snd_amd7930 *amd = device->device_data; snd_amd7930_dev_free() local 924 struct snd_amd7930 *amd; snd_amd7930_create() local 994 struct snd_amd7930 *amd; amd7930_sbus_probe() local [all...] |
/kernel/linux/linux-6.6/sound/sparc/ |
H A D | amd7930.c | 345 /* Idle the AMD7930 chip. The amd->lock is not held. */ 346 static __inline__ void amd7930_idle(struct snd_amd7930 *amd) in amd7930_idle() argument 350 spin_lock_irqsave(&amd->lock, flags); in amd7930_idle() 351 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_idle() 352 sbus_writeb(0, amd->regs + AMD7930_DR); in amd7930_idle() 353 spin_unlock_irqrestore(&amd->lock, flags); in amd7930_idle() 356 /* Enable chip interrupts. The amd->lock is not held. */ 357 static __inline__ void amd7930_enable_ints(struct snd_amd7930 *amd) in amd7930_enable_ints() argument 361 spin_lock_irqsave(&amd->lock, flags); in amd7930_enable_ints() 362 sbus_writeb(AMR_INIT, amd in amd7930_enable_ints() 368 amd7930_disable_ints(struct snd_amd7930 *amd) amd7930_disable_ints() argument 381 __amd7930_write_map(struct snd_amd7930 *amd) __amd7930_write_map() argument 475 __amd7930_update_map(struct snd_amd7930 *amd) __amd7930_update_map() argument 495 struct snd_amd7930 *amd = dev_id; snd_amd7930_interrupt() local 536 snd_amd7930_trigger(struct snd_amd7930 *amd, unsigned int flag, int cmd) snd_amd7930_trigger() argument 569 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_trigger() local 576 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_trigger() local 582 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_prepare() local 614 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_prepare() local 646 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_pointer() local 657 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_pointer() local 690 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_open() local 700 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_open() local 710 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_playback_close() local 718 struct snd_amd7930 *amd = snd_pcm_substream_chip(substream); snd_amd7930_capture_close() local 740 snd_amd7930_pcm(struct snd_amd7930 *amd) snd_amd7930_pcm() argument 782 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl); snd_amd7930_get_volume() local 806 struct snd_amd7930 *amd = snd_kcontrol_chip(kctl); snd_amd7930_put_volume() local 868 snd_amd7930_mixer(struct snd_amd7930 *amd) snd_amd7930_mixer() argument 888 snd_amd7930_free(struct snd_amd7930 *amd) snd_amd7930_free() argument 908 struct snd_amd7930 *amd = device->device_data; snd_amd7930_dev_free() local 922 struct snd_amd7930 *amd; snd_amd7930_create() local 993 struct snd_amd7930 *amd; amd7930_sbus_probe() local [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | Makefile | 7 snd-sof-amd-acp-objs := acp.o acp-loader.o acp-ipc.o acp-pcm.o acp-stream.o acp-trace.o acp-common.o 8 snd-sof-amd-acp-$(CONFIG_SND_SOC_SOF_ACP_PROBES) = acp-probes.o 9 snd-sof-amd-renoir-objs := pci-rn.o renoir.o 10 snd-sof-amd-rembrandt-objs := pci-rmb.o rembrandt.o 11 snd-sof-amd-vangogh-objs := pci-vangogh.o vangogh.o 13 obj-$(CONFIG_SND_SOC_SOF_AMD_COMMON) += snd-sof-amd-acp.o 14 obj-$(CONFIG_SND_SOC_SOF_AMD_RENOIR) +=snd-sof-amd-renoir.o 15 obj-$(CONFIG_SND_SOC_SOF_AMD_REMBRANDT) +=snd-sof-amd-rembrandt.o 16 obj-$(CONFIG_SND_SOC_SOF_AMD_VANGOGH) +=snd-sof-amd-vangogh.o
|
/kernel/linux/linux-5.10/drivers/tee/amdtee/ |
H A D | call.c | 16 struct tee_operation *amd) in tee_params_to_amd_params() 24 if (!tee || !amd || count > TEE_MAX_PARAMS) in tee_params_to_amd_params() 27 amd->param_types = 0; in tee_params_to_amd_params() 33 amd->param_types |= ((tee[i].attr & 0xF) << i * 4); in tee_params_to_amd_params() 37 type = TEE_PARAM_TYPE_GET(amd->param_types, i); in tee_params_to_amd_params() 50 amd->params[i].mref.buf_id = buf_id; in tee_params_to_amd_params() 51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params() 52 amd->params[i].mref.size = tee[i].u.memref.size; in tee_params_to_amd_params() 55 i, amd->params[i].mref.buf_id, in tee_params_to_amd_params() 56 i, amd in tee_params_to_amd_params() 15 tee_params_to_amd_params(struct tee_param *tee, u32 count, struct tee_operation *amd) tee_params_to_amd_params() argument 72 amd_params_to_tee_params(struct tee_param *tee, u32 count, struct tee_operation *amd) amd_params_to_tee_params() argument [all...] |
/kernel/linux/linux-6.6/drivers/tee/amdtee/ |
H A D | call.c | 16 struct tee_operation *amd) in tee_params_to_amd_params() 24 if (!tee || !amd || count > TEE_MAX_PARAMS) in tee_params_to_amd_params() 27 amd->param_types = 0; in tee_params_to_amd_params() 33 amd->param_types |= ((tee[i].attr & 0xF) << i * 4); in tee_params_to_amd_params() 37 type = TEE_PARAM_TYPE_GET(amd->param_types, i); in tee_params_to_amd_params() 50 amd->params[i].mref.buf_id = buf_id; in tee_params_to_amd_params() 51 amd->params[i].mref.offset = tee[i].u.memref.shm_offs; in tee_params_to_amd_params() 52 amd->params[i].mref.size = tee[i].u.memref.size; in tee_params_to_amd_params() 55 i, amd->params[i].mref.buf_id, in tee_params_to_amd_params() 56 i, amd in tee_params_to_amd_params() 15 tee_params_to_amd_params(struct tee_param *tee, u32 count, struct tee_operation *amd) tee_params_to_amd_params() argument 72 amd_params_to_tee_params(struct tee_param *tee, u32 count, struct tee_operation *amd) amd_params_to_tee_params() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | Makefile | 2 obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o 4 amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \ 10 amd-xgbe-$(CONFIG_PCI) += xgbe-pci.o 11 amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o 12 amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | Makefile | 2 obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o 4 amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \ 10 amd-xgbe-$(CONFIG_PCI) += xgbe-pci.o 11 amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o 12 amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o
|
/kernel/linux/linux-6.6/tools/testing/selftests/amd-pstate/ |
H A D | basic.sh | 4 # amd-pstate-ut is a test module for testing the amd-pstate driver. 6 # must be amd-pstate. 27 if ! /sbin/modprobe -q -n amd-pstate-ut; then 28 echo "amd-pstate-ut: module amd-pstate-ut is not found [SKIP]" 31 if /sbin/modprobe -q amd-pstate-ut; then 32 /sbin/modprobe -q -r amd-pstate-ut 33 echo "amd-pstate-basic: ok" 35 echo "amd [all...] |
H A D | run.sh | 15 # amd-pstate-ut only run on x86/x86_64 AMD systems. 34 CURRENT_TEST=amd-pstate 39 all_scaling_names=("acpi-cpufreq" "amd-pstate") 116 # All amd-pstate tests 131 # unit test for amd-pstate kernel driver 153 [-i <amd tracer interval>] 188 i) # --amd-tracer-interval 236 if ! echo "$VENDOR" | grep -iq amd; then
|
/kernel/linux/linux-6.6/drivers/platform/x86/amd/pmc/ |
H A D | Makefile | 3 # Makefile for linux/drivers/platform/x86/amd/pmc 7 amd-pmc-objs := pmc.o pmc-quirks.o 8 obj-$(CONFIG_AMD_PMC) += amd-pmc.o
|
/kernel/linux/linux-6.6/drivers/platform/x86/amd/pmf/ |
H A D | Makefile | 3 # Makefile for linux/drivers/platform/x86/amd/pmf 7 obj-$(CONFIG_AMD_PMF) += amd-pmf.o 8 amd-pmf-objs := core.o acpi.o sps.o \
|
/kernel/linux/linux-6.6/arch/x86/events/amd/ |
H A D | Makefile | 6 obj-$(CONFIG_PERF_EVENTS_AMD_UNCORE) += amd-uncore.o 7 amd-uncore-objs := uncore.o
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | Makefile | 29 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o \ 33 kvm-amd-y += svm/svm_onhyperv.o 38 obj-$(CONFIG_KVM_AMD) += kvm-amd.o
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | Makefile | 23 soundwire-amd-y := amd_manager.o 24 obj-$(CONFIG_SOUNDWIRE_AMD) += soundwire-amd.o
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | Makefile | 23 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o svm/sev.o 27 obj-$(CONFIG_KVM_AMD) += kvm-amd.o
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | Makefile | 22 amd_pstate-y := amd-pstate.o amd-pstate-trace.o 33 obj-$(CONFIG_X86_AMD_PSTATE_UT) += amd-pstate-ut.o
|
H A D | Kconfig.x86 | 50 <file:Documentation/admin-guide/pm/amd-pstate.rst>. 60 Select the default mode the amd-pstate driver will use on 69 <file:Documentation/admin-guide/pm/amd-pstate.rst>. 79 Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE 80 is set disabled, it can tell the users test can only run on amd-pstate 82 In the future, comparison tests will be added. It can set amd-pstate
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/ |
H A D | Makefile | 5 microcode-$(CONFIG_MICROCODE_AMD) += amd.o
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/microcode/ |
H A D | Makefile | 5 microcode-$(CONFIG_CPU_SUP_AMD) += amd.o
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
H A D | Makefile | 3 obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mtrr/ |
H A D | Makefile | 3 obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o legacy.o
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
H A D | Makefile | 6 obj-$(CONFIG_X86_MCE_AMD) += amd.o
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/ |
H A D | Makefile | 6 obj-$(CONFIG_X86_MCE_AMD) += amd.o
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | Makefile | 9 obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | Makefile | 13 obj-$(CONFIG_AGP_AMD) += amd-k7-agp.o
|