#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/firmware.h>
#include <linux/ihex.h>
Go to the source code of this file.
|
int | ezusb_writememory (struct usb_device *dev, int address, unsigned char *data, int length, __u8 request) |
|
| EXPORT_SYMBOL_GPL (ezusb_writememory) |
|
int | ezusb_set_reset (struct usb_device *dev, unsigned short cpucs_reg, unsigned char reset_bit) |
|
int | ezusb_fx1_set_reset (struct usb_device *dev, unsigned char reset_bit) |
|
| EXPORT_SYMBOL_GPL (ezusb_fx1_set_reset) |
|
int | ezusb_fx2_set_reset (struct usb_device *dev, unsigned char reset_bit) |
|
| EXPORT_SYMBOL_GPL (ezusb_fx2_set_reset) |
|
int | ezusb_fx1_ihex_firmware_download (struct usb_device *dev, const char *firmware_path) |
|
| EXPORT_SYMBOL_GPL (ezusb_fx1_ihex_firmware_download) |
|
int | ezusb_fx2_ihex_firmware_download (struct usb_device *dev, const char *firmware_path) |
|
| EXPORT_SYMBOL_GPL (ezusb_fx2_ihex_firmware_download) |
|
| MODULE_LICENSE ("GPL") |
|
#define WRITE_EXT_RAM 0xA3 |
#define WRITE_INT_RAM 0xA0 |
int ezusb_fx1_ihex_firmware_download |
( |
struct usb_device * |
dev, |
|
|
const char * |
firmware_path |
|
) |
| |
int ezusb_fx1_set_reset |
( |
struct usb_device * |
dev, |
|
|
unsigned char |
reset_bit |
|
) |
| |
int ezusb_fx2_ihex_firmware_download |
( |
struct usb_device * |
dev, |
|
|
const char * |
firmware_path |
|
) |
| |
int ezusb_fx2_set_reset |
( |
struct usb_device * |
dev, |
|
|
unsigned char |
reset_bit |
|
) |
| |
int ezusb_set_reset |
( |
struct usb_device * |
dev, |
|
|
unsigned short |
cpucs_reg, |
|
|
unsigned char |
reset_bit |
|
) |
| |
Initial value:= {
.cpucs_reg = 0x7F92,
.max_internal_adress = 0x1B3F,
}
Definition at line 25 of file ezusb.c.
Initial value:= {
.cpucs_reg = 0xE600,
.max_internal_adress = 0x3FFF,
}
Definition at line 30 of file ezusb.c.