Home
last modified time | relevance | path

Searched refs:temp_size (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/hfi1/
Defivar.c29 unsigned long temp_size; in read_efi_var() local
51 temp_size = EFI_DATA_SIZE; in read_efi_var()
65 &temp_size, in read_efi_var()
86 data = kmemdup(temp_buffer, temp_size, GFP_KERNEL); in read_efi_var()
92 *size = temp_size; in read_efi_var()
/drivers/video/fbdev/
Dvesafb.c424 unsigned int temp_size = size_total; in vesafb_probe() local
427 temp_size = roundup_pow_of_two(temp_size); in vesafb_probe()
433 temp_size); in vesafb_probe()
434 temp_size >>= 1; in vesafb_probe()
435 } while (temp_size >= PAGE_SIZE && par->wc_cookie < 0); in vesafb_probe()
Duvesafb.c1523 int temp_size = info->fix.smem_len; in uvesafb_init_mtrr() local
1528 temp_size = roundup_pow_of_two(temp_size); in uvesafb_init_mtrr()
1532 rc = arch_phys_wc_add(info->fix.smem_start, temp_size); in uvesafb_init_mtrr()
1533 temp_size >>= 1; in uvesafb_init_mtrr()
1534 } while (temp_size >= PAGE_SIZE && rc == -EINVAL); in uvesafb_init_mtrr()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1082 static uint32_t qlcnic_temp_checksum(uint32_t *temp_buffer, u32 temp_size) in qlcnic_temp_checksum() argument
1085 int count = temp_size / sizeof(uint32_t); in qlcnic_temp_checksum()
1140 u32 *version, u32 *temp_size, in qlcnic_fw_get_minidump_temp_size() argument
1158 *temp_size = cmd.rsp.arg[2]; in qlcnic_fw_get_minidump_temp_size()
1162 if (!(*temp_size)) in qlcnic_fw_get_minidump_temp_size()
1169 u32 *buffer, u32 temp_size) in __qlcnic_fw_cmd_get_minidump_temp() argument
1177 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, in __qlcnic_fw_cmd_get_minidump_temp()
1189 cmd.req.arg[3] = temp_size; in __qlcnic_fw_cmd_get_minidump_temp()
1194 for (i = 0; i < temp_size / sizeof(u32); i++) in __qlcnic_fw_cmd_get_minidump_temp()
1201 dma_free_coherent(&adapter->pdev->dev, temp_size, tmp_addr, tmp_addr_t); in __qlcnic_fw_cmd_get_minidump_temp()
[all …]
/drivers/char/agp/
Dsis-agp.c25 u8 temp_size; in sis_fetch_size() local
29 pci_read_config_byte(agp_bridge->dev, SIS_APSIZE, &temp_size); in sis_fetch_size()
32 if ((temp_size == values[i].size_value) || in sis_fetch_size()
33 ((temp_size & ~(0x07)) == in sis_fetch_size()
Dgeneric.c1343 u16 temp_size; in agp3_generic_fetch_size() local
1347 pci_read_config_word(agp_bridge->dev, agp_bridge->capndx+AGPAPSIZE, &temp_size); in agp3_generic_fetch_size()
1351 if (temp_size == values[i].size_value) { in agp3_generic_fetch_size()
/drivers/gpu/ipu-v3/
Dipu-ic.c223 u32 temp_size, temp_downsize; in calc_resize_coeffs() local
246 temp_size = in_size; in calc_resize_coeffs()
247 while (((temp_size > 1024) || (temp_size >= out_size * 2)) && in calc_resize_coeffs()
249 temp_size >>= 1; in calc_resize_coeffs()
259 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
/drivers/iommu/
Dmsm_iommu.c145 int temp_size; in __flush_iotlb_range() local
153 temp_size = size; in __flush_iotlb_range()
160 } while (temp_size -= granule); in __flush_iotlb_range()
/drivers/dma/ipu/
Dipu_idmac.c456 uint32_t temp_size; in calc_resize_coeffs() local
468 temp_size = in_size; in calc_resize_coeffs()
469 while (temp_size >= out_size * 2 && temp_downsize < 2) { in calc_resize_coeffs()
470 temp_size >>= 1; in calc_resize_coeffs()
480 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
/drivers/gpu/drm/vc4/
Dvc4_gem.c833 uint32_t temp_size = exec_size + (sizeof(struct vc4_shader_state) * in vc4_get_bcl() local
842 temp_size < exec_size) { in vc4_get_bcl()
855 temp = kvmalloc_array(temp_size, 1, GFP_KERNEL); in vc4_get_bcl()