Lines Matching refs:nargs

133 int do_writeprotect_get(int nargs, char **argv)  in do_writeprotect_get()  argument
139 CHECK(nargs != 2, "Usage: mmc writeprotect get </path/to/mmcblkX>\n", in do_writeprotect_get()
161 int do_writeprotect_set(int nargs, char **argv) in do_writeprotect_set() argument
167 CHECK(nargs != 2, "Usage: mmc writeprotect set </path/to/mmcblkX>\n", in do_writeprotect_set()
197 int do_disable_512B_emulation(int nargs, char **argv) in do_disable_512B_emulation() argument
203 CHECK(nargs != 2, "Usage: mmc disable 512B emulation </path/to/mmcblkX>\n", exit(1)); in do_disable_512B_emulation()
241 int do_write_boot_en(int nargs, char **argv) in do_write_boot_en() argument
249 CHECK(nargs != 4, "Usage: mmc bootpart enable <partition_number> " in do_write_boot_en()
307 int do_boot_bus_conditions_set(int nargs, char **argv) in do_boot_bus_conditions_set() argument
314 CHECK(nargs != 5, "Usage: mmc: bootbus set <boot_mode> " in do_boot_bus_conditions_set()
376 int do_hwreset(int value, int nargs, char **argv) in do_hwreset() argument
382 CHECK(nargs != 2, "Usage: mmc hwreset enable </path/to/mmcblkX>\n", in do_hwreset()
425 int do_hwreset_en(int nargs, char **argv) in do_hwreset_en() argument
427 return do_hwreset(EXT_CSD_HW_RESET_EN, nargs, argv); in do_hwreset_en()
430 int do_hwreset_dis(int nargs, char **argv) in do_hwreset_dis() argument
432 return do_hwreset(EXT_CSD_HW_RESET_DIS, nargs, argv); in do_hwreset_dis()
435 int do_write_bkops_en(int nargs, char **argv) in do_write_bkops_en() argument
441 CHECK(nargs != 2, "Usage: mmc bkops enable </path/to/mmcblkX>\n", in do_write_bkops_en()
473 int do_status_get(int nargs, char **argv) in do_status_get() argument
479 CHECK(nargs != 2, "Usage: mmc status get </path/to/mmcblkX>\n", in do_status_get()
664 int do_create_gp_partition(int nargs, char **argv) in do_create_gp_partition() argument
676 CHECK(nargs != 7, "Usage: mmc gp create <-y|-n> <length KiB> " in do_create_gp_partition()
789 int do_enh_area_set(int nargs, char **argv) in do_enh_area_set() argument
799 CHECK(nargs != 5, "Usage: mmc enh_area set <-y|-n> <start KiB> <length KiB> " in do_enh_area_set()
931 int do_write_reliability_set(int nargs, char **argv) in do_write_reliability_set() argument
941 CHECK(nargs != 4, "Usage: mmc write_reliability set <-y|-n> " in do_write_reliability_set()
993 int do_read_extcsd(int nargs, char **argv) in do_read_extcsd() argument
1001 CHECK(nargs != 2, "Usage: mmc extcsd read </path/to/mmcblkX>\n", in do_read_extcsd()
1438 int do_sanitize(int nargs, char **argv) in do_sanitize() argument
1443 CHECK(nargs != 2, "Usage: mmc sanitize </path/to/mmcblkX>\n", in do_sanitize()
1608 int do_rpmb_write_key(int nargs, char **argv) in do_rpmb_write_key() argument
1615 CHECK(nargs != 3, "Usage: mmc rpmb write-key </path/to/mmcblkXrpmb> </path/to/key>\n", in do_rpmb_write_key()
1690 int do_rpmb_read_counter(int nargs, char **argv) in do_rpmb_read_counter() argument
1695 CHECK(nargs != 2, "Usage: mmc rpmb read-counter </path/to/mmcblkXrpmb>\n", in do_rpmb_read_counter()
1719 int do_rpmb_read_block(int nargs, char **argv) in do_rpmb_read_block() argument
1728 …CHECK(nargs != 5 && nargs != 6, "Usage: mmc rpmb read-block </path/to/mmcblkXrpmb> <address> <bloc… in do_rpmb_read_block()
1778 if (nargs == 6) { in do_rpmb_read_block()
1816 if (nargs == 6) { in do_rpmb_read_block()
1866 int do_rpmb_write_block(int nargs, char **argv) in do_rpmb_write_block() argument
1877 …CHECK(nargs != 5, "Usage: mmc rpmb write-block </path/to/mmcblkXrpmb> <address> </path/to/input_fi… in do_rpmb_write_block()
1976 int do_cache_ctrl(int value, int nargs, char **argv) in do_cache_ctrl() argument
1982 CHECK(nargs != 2, "Usage: mmc cache enable </path/to/mmcblkX>\n", in do_cache_ctrl()
2027 int do_cache_en(int nargs, char **argv) in do_cache_en() argument
2029 return do_cache_ctrl(1, nargs, argv); in do_cache_en()
2032 int do_cache_dis(int nargs, char **argv) in do_cache_dis() argument
2034 return do_cache_ctrl(0, nargs, argv); in do_cache_dis()