cregit-Linux how code gets into the kernel

Release 4.14 arch/metag/include/asm/tcm.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_TCM_H__

#define __ASM_TCM_H__

#include <linux/ioport.h>
#include <linux/list.h>


struct tcm_allocation {
	
struct list_head list;
	
unsigned int tag;
	
unsigned long addr;
	
unsigned long size;
};

/*
 * TCM memory region descriptor.
 */

struct tcm_region {
	
unsigned int tag;
	
struct resource res;
};


#define TCM_INVALID_TAG	0xffffffff

unsigned long tcm_alloc(unsigned int tag, size_t len);
void tcm_free(unsigned int tag, unsigned long addr, size_t len);
unsigned int tcm_lookup_tag(unsigned long p);

int tcm_add_region(struct tcm_region *reg);

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
James Hogan9898.99%150.00%
Greg Kroah-Hartman11.01%150.00%
Total99100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.