Searched refs:tmp_size (Results 1 – 3 of 3) sorted by relevance
678 uint32_t tmp_size, count; in via_cmdbuf_size() local692 tmp_size = d_siz->size; in via_cmdbuf_size()695 while (((tmp_size = via_cmdbuf_space(dev_priv)) < d_siz->size) in via_cmdbuf_size()706 while (((tmp_size = via_cmdbuf_lag(dev_priv)) > d_siz->size) in via_cmdbuf_size()719 d_siz->size = tmp_size; in via_cmdbuf_size()
769 unsigned int tmp_size, offset, i; in mvumi_init_data() local776 tmp_size = mhba->ib_max_size * mhba->max_io; in mvumi_init_data()777 tmp_size += 128 + mhba->ob_max_size * mhba->max_io; in mvumi_init_data()778 tmp_size += 8 + sizeof(u32) + 16; in mvumi_init_data()781 RESOURCE_UNCACHED_MEMORY, tmp_size); in mvumi_init_data()824 tmp_size = mhba->max_io * (mhba->ob_max_size + sizeof(*ob_pool)); in mvumi_init_data()825 tmp_size = round_up(tmp_size, 8); in mvumi_init_data()828 RESOURCE_CACHED_MEMORY, tmp_size); in mvumi_init_data()842 tmp_size = sizeof(unsigned short) * mhba->max_io + in mvumi_init_data()844 tmp_size += round_up(mhba->max_target_id, sizeof(unsigned char) * 8) / in mvumi_init_data()[all …]
593 size_t tmp_size = 4; in ttm_round_pot() local595 while (tmp_size < size) in ttm_round_pot()596 tmp_size <<= 1; in ttm_round_pot()598 return tmp_size; in ttm_round_pot()