MCPcopy Create free account
hub / github.com/F-Stack/f-stack / aw_mmc_print_error

Function aw_mmc_print_error

freebsd/arm/allwinner/aw_mmc.c:990–1010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988}
989
990static void
991aw_mmc_print_error(uint32_t err)
992{
993 if(err & AW_MMC_INT_RESP_ERR)
994 printf("AW_MMC_INT_RESP_ERR ");
995 if (err & AW_MMC_INT_RESP_CRC_ERR)
996 printf("AW_MMC_INT_RESP_CRC_ERR ");
997 if (err & AW_MMC_INT_DATA_CRC_ERR)
998 printf("AW_MMC_INT_DATA_CRC_ERR ");
999 if (err & AW_MMC_INT_RESP_TIMEOUT)
1000 printf("AW_MMC_INT_RESP_TIMEOUT ");
1001 if (err & AW_MMC_INT_FIFO_RUN_ERR)
1002 printf("AW_MMC_INT_FIFO_RUN_ERR ");
1003 if (err & AW_MMC_INT_CMD_BUSY)
1004 printf("AW_MMC_INT_CMD_BUSY ");
1005 if (err & AW_MMC_INT_DATA_START_ERR)
1006 printf("AW_MMC_INT_DATA_START_ERR ");
1007 if (err & AW_MMC_INT_DATA_END_BIT_ERR)
1008 printf("AW_MMC_INT_DATA_END_BIT_ERR");
1009 printf("\n");
1010}
1011
1012static void
1013aw_mmc_intr(void *arg)

Callers 1

aw_mmc.cFile · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected