Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dvesafb.c416 unsigned int temp_size = size_total; in vesafb_probe() local
419 temp_size = roundup_pow_of_two(temp_size); in vesafb_probe()
425 temp_size); in vesafb_probe()
426 temp_size >>= 1; in vesafb_probe()
427 } while (temp_size >= PAGE_SIZE && par->wc_cookie < 0); in vesafb_probe()
Duvesafb.c1537 int temp_size = info->fix.smem_len; in uvesafb_init_mtrr() local
1542 temp_size = roundup_pow_of_two(temp_size); in uvesafb_init_mtrr()
1546 rc = arch_phys_wc_add(info->fix.smem_start, temp_size); in uvesafb_init_mtrr()
1547 temp_size >>= 1; in uvesafb_init_mtrr()
1548 } while (temp_size >= PAGE_SIZE && rc == -EINVAL); in uvesafb_init_mtrr()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1083 static uint32_t qlcnic_temp_checksum(uint32_t *temp_buffer, u32 temp_size) in qlcnic_temp_checksum() argument
1086 int count = temp_size / sizeof(uint32_t); in qlcnic_temp_checksum()
1141 u32 *version, u32 *temp_size, in qlcnic_fw_get_minidump_temp_size() argument
1159 *temp_size = cmd.rsp.arg[2]; in qlcnic_fw_get_minidump_temp_size()
1163 if (!(*temp_size)) in qlcnic_fw_get_minidump_temp_size()
1170 u32 *buffer, u32 temp_size) in __qlcnic_fw_cmd_get_minidump_temp() argument
1178 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, in __qlcnic_fw_cmd_get_minidump_temp()
1190 cmd.req.arg[3] = temp_size; in __qlcnic_fw_cmd_get_minidump_temp()
1195 for (i = 0; i < temp_size / sizeof(u32); i++) in __qlcnic_fw_cmd_get_minidump_temp()
1202 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.c1351 u16 temp_size; in agp3_generic_fetch_size() local
1355 pci_read_config_word(agp_bridge->dev, agp_bridge->capndx+AGPAPSIZE, &temp_size); in agp3_generic_fetch_size()
1359 if (temp_size == values[i].size_value) { in agp3_generic_fetch_size()
/drivers/gpu/ipu-v3/
Dipu-ic.c285 u32 temp_size, temp_downsize; in calc_resize_coeffs() local
308 temp_size = in_size; in calc_resize_coeffs()
309 while (((temp_size > 1024) || (temp_size >= out_size * 2)) && in calc_resize_coeffs()
311 temp_size >>= 1; in calc_resize_coeffs()
321 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()
/drivers/staging/most/hdm-usb/
Dhdm_usb.c733 unsigned int temp_size; in hdm_configure_channel() local
763 temp_size = conf->buffer_size; in hdm_configure_channel()
780 temp_size); in hdm_configure_channel()
785 temp_size += tail_space; in hdm_configure_channel()
788 conf->extra_len = (CEILING(temp_size, USB_MTU) * USB_MTU) in hdm_configure_channel()
/drivers/dma/ipu/
Dipu_idmac.c459 uint32_t temp_size; in calc_resize_coeffs() local
471 temp_size = in_size; in calc_resize_coeffs()
472 while (temp_size >= out_size * 2 && temp_downsize < 2) { in calc_resize_coeffs()
473 temp_size >>= 1; in calc_resize_coeffs()
483 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); in calc_resize_coeffs()