cregit-Linux how code gets into the kernel

Release 4.12 include/linux/platform_data/s3c-hsotg.h

/* include/linux/platform_data/s3c-hsotg.h
 *
 * Copyright 2008 Openmoko, Inc.
 * Copyright 2008 Simtec Electronics
 *      Ben Dooks <ben@simtec.co.uk>
 *      http://armlinux.simtec.co.uk/
 *
 * S3C USB2.0 High-speed / OtG platform information
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#ifndef __LINUX_USB_S3C_HSOTG_H

#define __LINUX_USB_S3C_HSOTG_H

struct platform_device;


enum dwc2_hsotg_dmamode {
	
S3C_HSOTG_DMA_NONE,	/* do not use DMA at-all */
	
S3C_HSOTG_DMA_ONLY,	/* always use DMA */
	
S3C_HSOTG_DMA_DRV,	/* DMA is chosen by driver */
};

/**
 * struct dwc2_hsotg_plat - platform data for high-speed otg/udc
 * @dma: Whether to use DMA or not.
 * @is_osc: The clock source is an oscillator, not a crystal
 */

struct dwc2_hsotg_plat {
	
enum dwc2_hsotg_dmamode	dma;
	
unsigned int		is_osc:1;
	
int                     phy_type;

	
int (*phy_init)(struct platform_device *pdev, int type);
	
int (*phy_exit)(struct platform_device *pdev, int type);
};

extern void dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd);

#endif /* __LINUX_USB_S3C_HSOTG_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Joonyoung Shim3844.19%116.67%
Ben Dooks2630.23%116.67%
Sachin Kamat910.47%116.67%
Felipe Balbi66.98%116.67%
Lukasz Majewski44.65%116.67%
Arnd Bergmann33.49%116.67%
Total86100.00%6100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.