Lines Matching refs:card

17 static struct sd_card card;  variable
35 ret = sd_init(sdhc_dev, &card); in ZTEST()
45 ret = mmc_ioctl(&card, DISK_IOCTL_GET_SECTOR_COUNT, &sector_count); in ZTEST()
49 ret = mmc_ioctl(&card, DISK_IOCTL_GET_SECTOR_SIZE, &sector_size); in ZTEST()
62 ret = mmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
65 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
71 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
76 ret = mmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
80 ret = mmc_read_blocks(&card, buf, block_addr, 2); in ZTEST()
85 ret = mmc_read_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, SECTOR_COUNT - 1); in ZTEST()
97 ret = mmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
100 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
106 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
111 ret = mmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
115 ret = mmc_write_blocks(&card, buf, block_addr, 2); in ZTEST()
120 ret = mmc_write_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, SECTOR_COUNT - 1); in ZTEST()
133 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
136 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
145 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
149 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
156 ret = mmc_write_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, in ZTEST()
161 ret = mmc_read_blocks(&card, check_buf + MMC_UNALIGN_OFFSET, block_addr, in ZTEST()
173 switch (card.card_voltage) { in ZTEST()
189 zassert_equal(card.status, CARD_INITIALIZED, "Card status is not OK"); in ZTEST()
190 switch (card.card_speed) { in ZTEST()
206 switch (card.type) { in ZTEST()