Searched refs:dwaddress (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/thunderbolt/ |
H A D | nvm.c | 555 unsigned int dwaddress, dwords, offset; in tb_nvm_read_data() local 563 dwaddress = address / 4; in tb_nvm_read_data() 566 ret = read_block(read_block_data, dwaddress, data, dwords); in tb_nvm_read_data() 602 unsigned int offset, dwaddress; in tb_nvm_write_data() local 612 dwaddress = address / 4; in tb_nvm_write_data() 613 ret = write_block(write_block_data, dwaddress, data, nbytes / 4); in tb_nvm_write_data()
|
H A D | dma_port.c | 302 static int dma_port_flash_read_block(void *data, unsigned int dwaddress, in dma_port_flash_read_block() argument 313 in |= (dwaddress << MAIL_IN_ADDRESS_SHIFT) & MAIL_IN_ADDRESS_MASK; in dma_port_flash_read_block() 324 static int dma_port_flash_write_block(void *data, unsigned int dwaddress, in dma_port_flash_write_block() argument 341 if (dwaddress >= DMA_PORT_CSS_ADDRESS) in dma_port_flash_write_block() 345 in |= (dwaddress << MAIL_IN_ADDRESS_SHIFT) & MAIL_IN_ADDRESS_MASK; in dma_port_flash_write_block()
|