Lines Matching refs:dma_port
155 ret = dma_port_flash_write(sw->dma_port, in nvm_validate_and_write()
167 return dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
187 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_host()
195 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_host()
203 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_device()
216 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in nvm_authenticate_device()
226 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_device()
243 ret = dma_port_flash_read(sw->dma_port, offset, val, bytes); in tb_switch_nvm_read()
317 if (!sw->dma_port) in tb_switch_nvm_add()
334 ret = dma_port_flash_read(sw->dma_port, NVM_FLASH_SIZE, &val, in tb_switch_nvm_add()
343 ret = dma_port_flash_read(sw->dma_port, NVM_VERSION, &val, in tb_switch_nvm_add()
1010 if (sw->dma_port) in switch_attr_is_visible()
1036 dma_port_free(sw->dma_port); in tb_switch_release()
1326 sw->dma_port = dma_port_alloc(sw); in tb_switch_add_dma_port()
1327 if (!sw->dma_port) in tb_switch_add_dma_port()
1335 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in tb_switch_add_dma_port()
1346 dma_port_power_cycle(sw->dma_port); in tb_switch_add_dma_port()