Lines Matching refs:dma_port
119 ret = dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
146 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_host_dma_port()
155 if (dma_port_flash_update_auth_status(sw->dma_port, &status) > 0) in nvm_authenticate_host_dma_port()
163 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_host_dma_port()
171 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_device_dma_port()
192 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in nvm_authenticate_device_dma_port()
202 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_device_dma_port()
249 return !!sw->dma_port; in nvm_readable()
303 return dma_port_flash_read(sw->dma_port, address, buf, size); in tb_switch_nvm_read()
2298 dma_port_free(sw->dma_port); in tb_switch_release()
2775 sw->dma_port = dma_port_alloc(sw); in tb_switch_add_dma_port()
2776 if (!sw->dma_port) in tb_switch_add_dma_port()
2797 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in tb_switch_add_dma_port()
2811 dma_port_power_cycle(sw->dma_port); in tb_switch_add_dma_port()