• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/usb/serial/

Lines Matching refs:start_address

347  * @start_address: Device CPU address at which to read
352 static int TIReadDownloadMemory(struct usb_device *dev, int start_address,
359 dbg ("%s - @ %x for %d", __FUNCTION__, start_address, length);
372 start_address, read_length);
374 be_start_address = cpu_to_be16 (start_address);
393 start_address += read_length;
401 static int TIReadRam (struct usb_device *dev, int start_address, int length, __u8 *buffer)
404 start_address,
411 static int TIReadBootMemory (struct edgeport_serial *serial, int start_address, int length, __u8 * buffer)
420 (__u16)(start_address+i), // wIndex
429 dbg ("%s - start_address = %x, length = %d", __FUNCTION__, start_address, length);
438 static int TIWriteBootMemory (struct edgeport_serial *serial, int start_address, int length, __u8 *buffer)
455 (__u16)(i+start_address), // wIndex
462 dbg ("%s - start_sddr = %x, length = %d", __FUNCTION__, start_address, length);
470 static int TIWriteDownloadI2C (struct edgeport_serial *serial, int start_address, int length, __u8 address_type, __u8 *buffer)
479 write_length = EPROM_PAGE_SIZE - (start_address & (EPROM_PAGE_SIZE - 1));
484 dbg ("%s - BytesInFirstPage Addr = %x, length = %d", __FUNCTION__, start_address, write_length);
488 be_start_address = cpu_to_be16 (start_address);
501 start_address += write_length;
511 dbg ("%s - Page Write Addr = %x, length = %d", __FUNCTION__, start_address, write_length);
515 be_start_address = cpu_to_be16 (start_address);
528 start_address += write_length;
665 static int TIReadRom (struct edgeport_serial *serial, int start_address, int length, __u8 *buffer)
671 start_address,
677 start_address,
685 static int TIWriteRom (struct edgeport_serial *serial, int start_address, int length, __u8 *buffer)
689 start_address,
695 start_address,
708 int start_address;
712 start_address = 2;
715 start_address,
722 return start_address;
724 start_address = start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size;
726 } while ((start_address < TI_MAX_I2C_SIZE) && rom_desc->Type);
753 int start_address = 2;
783 start_address,
789 if ((start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size) > TI_MAX_I2C_SIZE) {
803 start_address+sizeof(struct ti_i2c_desc),
813 start_address = start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size;
815 } while ((rom_desc->Type != I2C_DESC_TYPE_ION) && (start_address < TI_MAX_I2C_SIZE));
817 if ((rom_desc->Type != I2C_DESC_TYPE_ION) || (start_address > TI_MAX_I2C_SIZE))
829 int start_address;
838 start_address = TIGetDescriptorAddress (serial, I2C_DESC_TYPE_ION, rom_desc);
840 if (!start_address) {
848 start_address+sizeof(struct ti_i2c_desc),
1031 int start_address;
1114 if ((start_address = TIGetDescriptorAddress (serial, I2C_DESC_TYPE_FIRMWARE_BASIC, rom_desc)) != 0) {
1131 start_address+sizeof(struct ti_i2c_desc),
1174 start_address,
1187 start_address,
1227 else if ((start_address = TIGetDescriptorAddress (serial, I2C_DESC_TYPE_FIRMWARE_BLANK, rom_desc)) != 0) {
1268 start_address,
1282 start_address,