Lines Matching refs:dma_port
121 ret = dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
148 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_host_dma_port()
157 if (dma_port_flash_update_auth_status(sw->dma_port, &status) > 0) in nvm_authenticate_host_dma_port()
165 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_host_dma_port()
173 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_device_dma_port()
194 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in nvm_authenticate_device_dma_port()
204 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_device_dma_port()
251 return !!sw->dma_port; in nvm_readable()
304 return dma_port_flash_read(sw->dma_port, address, buf, size); in tb_switch_nvm_read()
2162 dma_port_free(sw->dma_port); in tb_switch_release()
2619 sw->dma_port = dma_port_alloc(sw); in tb_switch_add_dma_port()
2620 if (!sw->dma_port) in tb_switch_add_dma_port()
2641 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in tb_switch_add_dma_port()
2655 dma_port_power_cycle(sw->dma_port); in tb_switch_add_dma_port()