Lines Matching refs:dma_port
122 ret = dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
149 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_host_dma_port()
158 if (dma_port_flash_update_auth_status(sw->dma_port, &status) > 0) in nvm_authenticate_host_dma_port()
166 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_host_dma_port()
174 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_device_dma_port()
195 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in nvm_authenticate_device_dma_port()
205 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_device_dma_port()
252 return !!sw->dma_port; in nvm_readable()
305 return dma_port_flash_read(sw->dma_port, address, buf, size); in tb_switch_nvm_read()
2171 dma_port_free(sw->dma_port); in tb_switch_release()
2628 sw->dma_port = dma_port_alloc(sw); in tb_switch_add_dma_port()
2629 if (!sw->dma_port) in tb_switch_add_dma_port()
2650 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in tb_switch_add_dma_port()
2664 dma_port_power_cycle(sw->dma_port); in tb_switch_add_dma_port()