Searched refs:tmp_size (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/via/ |
D | via_dma.c | 684 uint32_t tmp_size, count; in via_cmdbuf_size() local 698 tmp_size = d_siz->size; in via_cmdbuf_size() 701 while (((tmp_size = via_cmdbuf_space(dev_priv)) < d_siz->size) in via_cmdbuf_size() 712 while (((tmp_size = via_cmdbuf_lag(dev_priv)) > d_siz->size) in via_cmdbuf_size() 725 d_siz->size = tmp_size; in via_cmdbuf_size()
|
/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 674 size_t tmp_size = 4; in ttm_round_pot() local 676 while (tmp_size < size) in ttm_round_pot() 677 tmp_size <<= 1; in ttm_round_pot() 679 return tmp_size; in ttm_round_pot()
|
/drivers/scsi/ |
D | mvumi.c | 912 unsigned int tmp_size, offset, i; in mvumi_init_data() local 919 tmp_size = mhba->ib_max_size * mhba->max_io; in mvumi_init_data() 921 tmp_size += sizeof(struct mvumi_dyn_list_entry) * mhba->max_io; in mvumi_init_data() 923 tmp_size += 128 + mhba->ob_max_size * mhba->max_io; in mvumi_init_data() 924 tmp_size += 8 + sizeof(u32)*2 + 16; in mvumi_init_data() 927 RESOURCE_UNCACHED_MEMORY, tmp_size); in mvumi_init_data() 987 tmp_size = mhba->max_io * (mhba->ob_max_size + sizeof(*ob_pool)); in mvumi_init_data() 988 tmp_size = round_up(tmp_size, 8); in mvumi_init_data() 991 RESOURCE_CACHED_MEMORY, tmp_size); in mvumi_init_data() 1005 tmp_size = sizeof(unsigned short) * mhba->max_io + in mvumi_init_data() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 4119 u32 tmp_size = size, *p_header, *p_payload; in qed_mcp_send_debug_data() local 4138 while (tmp_size > QED_MCP_DBG_DATA_MAX_PAYLOAD_SIZE) { in qed_mcp_send_debug_data() 4153 tmp_size -= QED_MCP_DBG_DATA_MAX_PAYLOAD_SIZE; in qed_mcp_send_debug_data() 4159 memcpy(p_payload, p_tmp_buf, tmp_size); in qed_mcp_send_debug_data() 4164 tmp_size)); in qed_mcp_send_debug_data()
|