Lines Matching refs:partition
672 int partition, enh_attr, ext_attr; in do_create_gp_partition() local
683 partition = strtol(argv[3], NULL, 10); in do_create_gp_partition()
688 if (partition < 0 || partition > 4) { in do_create_gp_partition()
728 address = EXT_CSD_GP_SIZE_MULT_1_2 + (partition - 1) * 3; in do_create_gp_partition()
736 address = EXT_CSD_GP_SIZE_MULT_1_1 + (partition - 1) * 3; in do_create_gp_partition()
744 address = EXT_CSD_GP_SIZE_MULT_1_0 + (partition - 1) * 3; in do_create_gp_partition()
754 value |= (1 << partition); in do_create_gp_partition()
756 value &= ~(1 << partition); in do_create_gp_partition()
761 partition, EXT_CSD_PARTITIONS_ATTRIBUTE, device); in do_create_gp_partition()
765 address = EXT_CSD_EXT_PARTITIONS_ATTRIBUTE_0 + (partition - 1) / 2; in do_create_gp_partition()
768 value |= (ext_attr << (4 * ((partition - 1) % 2))); in do_create_gp_partition()
770 value &= (0xF << (4 * ((partition % 2)))); in do_create_gp_partition()
938 int partition; in do_write_reliability_set() local
947 partition = strtol(argv[2], NULL, 10); in do_write_reliability_set()
976 value = ext_csd[EXT_CSD_WR_REL_SET] | (1<<partition); in do_write_reliability_set()