Lines Matching refs:dma_port
118 ret = dma_port_flash_write(sw->dma_port, 0, buf, image_size); in nvm_validate_and_write()
145 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_host_dma_port()
154 if (dma_port_flash_update_auth_status(sw->dma_port, &status) > 0) in nvm_authenticate_host_dma_port()
162 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_host_dma_port()
170 ret = dma_port_flash_update_auth(sw->dma_port); in nvm_authenticate_device_dma_port()
191 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in nvm_authenticate_device_dma_port()
201 dma_port_power_cycle(sw->dma_port); in nvm_authenticate_device_dma_port()
248 return !!sw->dma_port; in nvm_readable()
301 return dma_port_flash_read(sw->dma_port, address, buf, size); in tb_switch_nvm_read()
2102 dma_port_free(sw->dma_port); in tb_switch_release()
2581 sw->dma_port = dma_port_alloc(sw); in tb_switch_add_dma_port()
2582 if (!sw->dma_port) in tb_switch_add_dma_port()
2603 ret = dma_port_flash_update_auth_status(sw->dma_port, &status); in tb_switch_add_dma_port()
2617 dma_port_power_cycle(sw->dma_port); in tb_switch_add_dma_port()