Lines Matching defs:status
264 static int status_to_errno(u32 status)
266 switch (status & MAIL_OUT_STATUS_MASK) {
455 * dma_port_flash_update_auth_status() to get status of this command.
470 * dma_port_flash_update_auth_status() - Reads status of update auth command
472 * @status: Status code of the operation
474 * The function checks if there is status available from the last update
475 * auth command. Returns %0 if there is no status and no further
476 * action is required. If there is status, %1 is returned instead and
477 * @status holds the failure code.
479 * Negative return means there was an error reading status from the
482 int dma_port_flash_update_auth_status(struct tb_dma_port *dma, u32 *status)
493 /* Check if the status relates to flash update auth */
496 if (status)
497 *status = out & MAIL_OUT_STATUS_MASK;