Lines Matching refs:current_length
2310 __u16 current_length; in sram_write() local
2325 current_length = 64; in sram_write()
2327 current_length = length; in sram_write()
2330 memcpy (transfer_buffer, data, current_length); in sram_write()
2332 0x40, addr, extAddr, transfer_buffer, current_length, 300); in sram_write()
2335 length -= current_length; in sram_write()
2336 addr += current_length; in sram_write()
2337 data += current_length; in sram_write()
2355 __u16 current_length; in rom_write() local
2370 current_length = 64; in rom_write()
2372 current_length = length; in rom_write()
2375 memcpy (transfer_buffer, data, current_length); in rom_write()
2377 0x40, addr, extAddr, transfer_buffer, current_length, 300); in rom_write()
2380 length -= current_length; in rom_write()
2381 addr += current_length; in rom_write()
2382 data += current_length; in rom_write()
2400 __u16 current_length; in rom_read() local
2415 current_length = 64; in rom_read()
2417 current_length = length; in rom_read()
2421 0xC0, addr, extAddr, transfer_buffer, current_length, 300); in rom_read()
2424 memcpy (data, transfer_buffer, current_length); in rom_read()
2425 length -= current_length; in rom_read()
2426 addr += current_length; in rom_read()
2427 data += current_length; in rom_read()