Searched refs:fx_type (Results 1 – 3 of 3) sorted by relevance
/external/libusb/examples/ |
D | fxload.c | 91 int fx_type = FX_TYPE_UNDEFINED, img_type[ARRAYSIZE(path)]; in main() local 165 fx_type = i; in main() 213 …((type != NULL) && (device_id == NULL) && (device_path == NULL) && (fx_type == known_device[j].typ… in main() 214 fx_type = known_device[j].type; in main() 262 logerror("microcontroller type: %s\n", fx_name[fx_type]); in main() 288 status = ezusb_load_ram(device, path[FIRMWARE], fx_type, img_type[FIRMWARE], 0); in main() 293 status = ezusb_load_ram(device, path[LOADER], fx_type, img_type[LOADER], 0); in main() 298 status = ezusb_load_ram(device, path[FIRMWARE], fx_type, img_type[FIRMWARE], 1); in main()
|
D | ezusb.c | 718 int ezusb_load_ram(libusb_device_handle *device, const char *path, int fx_type, int img_type, int s… in ezusb_load_ram() argument 728 if (fx_type == FX_TYPE_FX3) in ezusb_load_ram() 740 || (((fx_type == FX_TYPE_FX2LP) || (fx_type == FX_TYPE_FX2)) && (iic_header[0] != 0xC2)) in ezusb_load_ram() 741 || ((fx_type == FX_TYPE_AN21) && (iic_header[0] != 0xB2)) in ezusb_load_ram() 742 || ((fx_type == FX_TYPE_FX1) && (iic_header[0] != 0xB6)) ) { in ezusb_load_ram() 750 switch(fx_type) { in ezusb_load_ram()
|
D | ezusb.h | 97 const char *path, int fx_type, int img_type, int stage); 111 const char *path, int fx_type, int img_type, int config);
|