cregit-Linux how code gets into the kernel

Release 4.11 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/bmp.h

#ifndef __NVBIOS_BMP_H__

#define __NVBIOS_BMP_H__

static inline u16 bmp_version(struct nvkm_bios *bios) { if (bios->bmp_offset) { return nvbios_rd08(bios, bios->bmp_offset + 5) << 8 | nvbios_rd08(bios, bios->bmp_offset + 6); } return 0x0000; }

Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs48100.00%3100.00%
Total48100.00%3100.00%


static inline u16 bmp_mem_init_table(struct nvkm_bios *bios) { if (bmp_version(bios) >= 0x0300) return nvbios_rd16(bios, bios->bmp_offset + 24); return 0x0000; }

Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs36100.00%3100.00%
Total36100.00%3100.00%


static inline u16 bmp_sdr_seq_table(struct nvkm_bios *bios) { if (bmp_version(bios) >= 0x0300) return nvbios_rd16(bios, bios->bmp_offset + 26); return 0x0000; }

Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs36100.00%3100.00%
Total36100.00%3100.00%


static inline u16 bmp_ddr_seq_table(struct nvkm_bios *bios) { if (bmp_version(bios) >= 0x0300) return nvbios_rd16(bios, bios->bmp_offset + 28); return 0x0000; }

Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs36100.00%3100.00%
Total36100.00%3100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Ben Skeggs164100.00%3100.00%
Total164100.00%3100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.