cregit-Linux how code gets into the kernel

Release 4.12 include/linux/ahci-remap.h

Directory: include/linux
#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 Williams74100.00%1100.00%
Total74100.00%1100.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.