]> Git Repo - J-linux.git/blob - drivers/soundwire/amd_init.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / soundwire / amd_init.h
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /*
3  * Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
4  */
5
6 #ifndef __AMD_INIT_H
7 #define __AMD_INIT_H
8
9 #include <linux/soundwire/sdw_amd.h>
10
11 int amd_sdw_manager_start(struct amd_sdw_manager *amd_manager);
12
13 static inline void amd_updatel(void __iomem *mmio, int offset, u32 mask, u32 val)
14 {
15         u32 tmp;
16
17         tmp = readl(mmio + offset);
18         tmp = (tmp & ~mask) | val;
19         writel(tmp, mmio + offset);
20 }
21 #endif
This page took 0.026544 seconds and 4 git commands to generate.