cregit-Linux how code gets into the kernel

Release 4.16 include/linux/ahci-remap.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_AHCI_REMAP_H

#define _LINUX_AHCI_REMAP_H

#include <linux/sizes.h>


#define AHCI_VSCAP		0xa4

#define AHCI_REMAP_CAP		0x800

/* device class code */

#define AHCI_REMAP_N_DCC	0x880

/* remap-device base relative to ahci-bar */

#define AHCI_REMAP_N_OFFSET	SZ_16K

#define AHCI_REMAP_N_SIZE	SZ_16K


#define AHCI_MAX_REMAP		3


static inline unsigned int ahci_remap_dcc(int i) { return AHCI_REMAP_N_DCC + i * 0x80; }

Contributors

PersonTokensPropCommitsCommitProp
Dan J Williams18100.00%1100.00%
Total18100.00%1100.00%


static inline unsigned int ahci_remap_base(int i) { return AHCI_REMAP_N_OFFSET + i * AHCI_REMAP_N_SIZE; }

Contributors

PersonTokensPropCommitsCommitProp
Dan J Williams18100.00%1100.00%
Total18100.00%1100.00%

#endif /* _LINUX_AHCI_REMAP_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Dan J Williams7498.67%150.00%
Greg Kroah-Hartman11.33%150.00%
Total75100.00%2100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.