Searched refs:ref_count (Results 1 – 6 of 6) sorted by relevance
163 u32 ref_count; in stm32_sdram_init() local174 ref_count = params->bank_params[i].sdram_ref_count; in stm32_sdram_init()242 writel(ref_count << 1, ®s->sdrtr); in stm32_sdram_init()
294 ubi_assert(ubi->ref_count >= 0); in ubi_get_device()295 ubi->ref_count += 1; in ubi_get_device()310 ubi->ref_count -= 1; in ubi_put_device()331 ubi_assert(ubi->ref_count >= 0); in ubi_get_by_major()332 ubi->ref_count += 1; in ubi_get_by_major()1118 ubi->ref_count -= 1; in ubi_detach_mtd_dev()1119 if (ubi->ref_count) { in ubi_detach_mtd_dev()1126 ubi->ubi_name, ubi->ref_count); in ubi_detach_mtd_dev()
80 vol->ref_count += 1; in vol_attribute_show()111 vol->ref_count -= 1; in vol_attribute_show()112 ubi_assert(vol->ref_count >= 0); in vol_attribute_show()369 if (vol->ref_count > 1) { in ubi_remove_volume()459 if (vol->ref_count > 1) { in ubi_resize_volume()
193 vol->ref_count += 1; in ubi_open_volume()355 vol->ref_count -= 1; in ubi_close_volume()
317 int ref_count; member538 int ref_count; member
636 vol->ref_count = 1;