Lines Matching refs:NULL

61 	if ((ret == 0) && (r_data != NULL)) {  in mmc_send_cmd()
118 MMC_RESPONSE_R1B, NULL); in mmc_send_part_switch_cmd()
145 MMC_RESPONSE_R1B, NULL); in mmc_set_ext_csd()
173 MMC_RESPONSE_R5, NULL); in mmc_sd_switch()
180 ret = mmc_send_cmd(MMC_ACMD(51), 0, MMC_RESPONSE_R1, NULL); in mmc_sd_switch()
202 MMC_RESPONSE_R5, NULL); in mmc_sd_switch()
208 ret = mmc_send_cmd(MMC_ACMD(6), bus_width_arg, MMC_RESPONSE_R1, NULL); in mmc_sd_switch()
270 ret = mmc_send_cmd(MMC_CMD(8), 0, MMC_RESPONSE_R1, NULL); in mmc_fill_device_info()
369 ret = mmc_send_cmd(MMC_CMD(55), 0, MMC_RESPONSE_R1, NULL); in sd_send_op_cond()
407 ret = mmc_send_cmd(MMC_CMD(0), 0, 0, NULL); in mmc_reset_to_idle()
476 ret = mmc_send_cmd(MMC_CMD(2), 0, MMC_RESPONSE_R2, NULL); in mmc_enumerate()
485 MMC_RESPONSE_R1, NULL); in mmc_enumerate()
510 MMC_RESPONSE_R1, NULL); in mmc_enumerate()
535 assert((ops != NULL) && in mmc_read_blocks()
536 (ops->read != NULL) && in mmc_read_blocks()
548 MMC_RESPONSE_R1, NULL); in mmc_read_blocks()
569 ret = mmc_send_cmd(cmd_idx, cmd_arg, MMC_RESPONSE_R1, NULL); in mmc_read_blocks()
588 ret = mmc_send_cmd(MMC_CMD(12), 0, MMC_RESPONSE_R1B, NULL); in mmc_read_blocks()
602 assert((ops != NULL) && in mmc_write_blocks()
603 (ops->write != NULL) && in mmc_write_blocks()
616 MMC_RESPONSE_R1, NULL); in mmc_write_blocks()
636 ret = mmc_send_cmd(cmd_idx, cmd_arg, MMC_RESPONSE_R1, NULL); in mmc_write_blocks()
655 ret = mmc_send_cmd(MMC_CMD(12), 0, MMC_RESPONSE_R1B, NULL); in mmc_write_blocks()
668 assert(ops != NULL); in mmc_erase_blocks()
671 ret = mmc_send_cmd(MMC_CMD(35), lba, MMC_RESPONSE_R1, NULL); in mmc_erase_blocks()
677 MMC_RESPONSE_R1, NULL); in mmc_erase_blocks()
682 ret = mmc_send_cmd(MMC_CMD(38), lba, MMC_RESPONSE_R1B, NULL); in mmc_erase_blocks()
791 assert((ops_ptr != NULL) && in mmc_init()
792 (ops_ptr->init != NULL) && in mmc_init()
793 (ops_ptr->send_cmd != NULL) && in mmc_init()
794 (ops_ptr->set_ios != NULL) && in mmc_init()
795 (ops_ptr->prepare != NULL) && in mmc_init()
796 (ops_ptr->read != NULL) && in mmc_init()
797 (ops_ptr->write != NULL) && in mmc_init()
798 (device_info != NULL) && in mmc_init()