staging: ft1000-usb: Fix lines over 80 chars.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
03b3ac18cf
Коммит
f7e5780def
|
@ -144,28 +144,38 @@ struct dpram_blk {
|
|||
u16 *pbuffer;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
int ft1000_read_register(struct ft1000_device *ft1000dev, u16* Data, u16 nRegIndx);
|
||||
int ft1000_write_register(struct ft1000_device *ft1000dev, u16 value, u16 nRegIndx);
|
||||
int ft1000_read_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer, u16 cnt);
|
||||
int ft1000_write_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer, u16 cnt);
|
||||
int ft1000_read_dpram16(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer, u8 highlow);
|
||||
int ft1000_write_dpram16(struct ft1000_device *ft1000dev, u16 indx, u16 value, u8 highlow);
|
||||
int fix_ft1000_read_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer);
|
||||
int fix_ft1000_write_dpram32(struct ft1000_device *ft1000dev, u16 indx, u8 *buffer);
|
||||
int ft1000_read_register(struct ft1000_device *ft1000dev,
|
||||
u16* Data, u16 nRegIndx);
|
||||
int ft1000_write_register(struct ft1000_device *ft1000dev,
|
||||
u16 value, u16 nRegIndx);
|
||||
int ft1000_read_dpram32(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u8 *buffer, u16 cnt);
|
||||
int ft1000_write_dpram32(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u8 *buffer, u16 cnt);
|
||||
int ft1000_read_dpram16(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u8 *buffer, u8 highlow);
|
||||
int ft1000_write_dpram16(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u16 value, u8 highlow);
|
||||
int fix_ft1000_read_dpram32(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u8 *buffer);
|
||||
int fix_ft1000_write_dpram32(struct ft1000_device *ft1000dev,
|
||||
u16 indx, u8 *buffer);
|
||||
|
||||
extern void *pFileStart;
|
||||
extern size_t FileLength;
|
||||
extern int numofmsgbuf;
|
||||
|
||||
int ft1000_close (struct net_device *dev);
|
||||
u16 scram_dnldr(struct ft1000_device *ft1000dev, void *pFileStart, u32 FileLength);
|
||||
u16 scram_dnldr(struct ft1000_device *ft1000dev, void *pFileStart,
|
||||
u32 FileLength);
|
||||
|
||||
extern struct list_head freercvpool;
|
||||
extern spinlock_t free_buff_lock; // lock to arbitrate free buffer list for receive command data
|
||||
|
||||
int ft1000_create_dev(struct ft1000_device *dev);
|
||||
void ft1000_destroy_dev(struct net_device *dev);
|
||||
extern void card_send_command(struct ft1000_device *ft1000dev, void *ptempbuffer, int size);
|
||||
extern void card_send_command(struct ft1000_device *ft1000dev,
|
||||
void *ptempbuffer, int size);
|
||||
|
||||
struct dpram_blk *ft1000_get_buffer(struct list_head *bufflist);
|
||||
void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);
|
||||
|
@ -173,7 +183,8 @@ void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist);
|
|||
int dsp_reload(struct ft1000_device *ft1000dev);
|
||||
int init_ft1000_netdev(struct ft1000_device *ft1000dev);
|
||||
struct usb_interface;
|
||||
int reg_ft1000_netdev(struct ft1000_device *ft1000dev, struct usb_interface *intf);
|
||||
int reg_ft1000_netdev(struct ft1000_device *ft1000dev,
|
||||
struct usb_interface *intf);
|
||||
int ft1000_poll(void* dev_id);
|
||||
|
||||
int ft1000_init_proc(struct net_device *dev);
|
||||
|
|
Загрузка…
Ссылка в новой задаче