Lines Matching +full:cs +full:- +full:setup
2 * Command for mmc_spi setup.
5 * Licensed under the GPL-2 or later.
35 uint cs = CONFIG_MMC_SPI_CS; in do_mmc_spi() local
44 cs = simple_strtoul(argv[1], &endp, 0); in do_mmc_spi()
50 bus = cs; in do_mmc_spi()
51 cs = simple_strtoul(endp + 1, &endp, 0); in do_mmc_spi()
65 if (!spi_cs_is_valid(bus, cs)) { in do_mmc_spi()
66 printf("Invalid SPI bus %u cs %u\n", bus, cs); in do_mmc_spi()
70 mmc = mmc_spi_init(bus, cs, speed, mode); in do_mmc_spi()
75 printf("%s: %d at %u:%u hz %u mode %u\n", mmc->cfg->name, in do_mmc_spi()
76 mmc->block_dev.devnum, bus, cs, speed, mode); in do_mmc_spi()
86 "mmc_spi setup",
87 "[bus:]cs [hz] [mode] - setup mmc_spi device"