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

/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_minidump.c1082 static uint32_t qlcnic_temp_checksum(uint32_t *temp_buffer, u32 temp_size) qlcnic_temp_checksum() argument
1085 int count = temp_size / sizeof(uint32_t); qlcnic_temp_checksum()
1140 u32 *version, u32 *temp_size, qlcnic_fw_get_minidump_temp_size()
1158 *temp_size = cmd.rsp.arg[2]; qlcnic_fw_get_minidump_temp_size()
1162 if (!(*temp_size)) qlcnic_fw_get_minidump_temp_size()
1169 u32 *buffer, u32 temp_size) __qlcnic_fw_cmd_get_minidump_temp()
1177 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, __qlcnic_fw_cmd_get_minidump_temp()
1189 cmd.req.arg[3] = temp_size; __qlcnic_fw_cmd_get_minidump_temp()
1194 for (i = 0; i < temp_size / sizeof(u32); i++) __qlcnic_fw_cmd_get_minidump_temp()
1201 dma_free_coherent(&adapter->pdev->dev, temp_size, tmp_addr, tmp_addr_t); __qlcnic_fw_cmd_get_minidump_temp()
1212 u32 temp_size = 0; qlcnic_fw_cmd_get_minidump_temp() local
1218 err = qlcnic_fw_get_minidump_temp_size(adapter, &version, &temp_size, qlcnic_fw_cmd_get_minidump_temp()
1226 fw_dump->tmpl_hdr = vzalloc(temp_size); qlcnic_fw_cmd_get_minidump_temp()
1234 err = __qlcnic_fw_cmd_get_minidump_temp(adapter, tmp_buf, temp_size); qlcnic_fw_cmd_get_minidump_temp()
1239 temp_size); qlcnic_fw_cmd_get_minidump_temp()
1251 csum = qlcnic_temp_checksum((uint32_t *)tmp_buf, temp_size); qlcnic_fw_cmd_get_minidump_temp()
1139 qlcnic_fw_get_minidump_temp_size(struct qlcnic_adapter *adapter, u32 *version, u32 *temp_size, u8 *use_flash_temp) qlcnic_fw_get_minidump_temp_size() argument
1168 __qlcnic_fw_cmd_get_minidump_temp(struct qlcnic_adapter *adapter, u32 *buffer, u32 temp_size) __qlcnic_fw_cmd_get_minidump_temp() argument
/linux-4.4.14/drivers/char/agp/
H A Dsis-agp.c25 u8 temp_size; sis_fetch_size() local
29 pci_read_config_byte(agp_bridge->dev, SIS_APSIZE, &temp_size); sis_fetch_size()
32 if ((temp_size == values[i].size_value) || sis_fetch_size()
33 ((temp_size & ~(0x07)) == sis_fetch_size()
H A Dgeneric.c1351 u16 temp_size; agp3_generic_fetch_size() local
1355 pci_read_config_word(agp_bridge->dev, agp_bridge->capndx+AGPAPSIZE, &temp_size); agp3_generic_fetch_size()
1359 if (temp_size == values[i].size_value) { agp3_generic_fetch_size()
/linux-4.4.14/drivers/video/fbdev/
H A Dvesafb.c416 unsigned int temp_size = size_total; vesafb_probe() local
419 temp_size = roundup_pow_of_two(temp_size); vesafb_probe()
425 temp_size); vesafb_probe()
426 temp_size >>= 1; vesafb_probe()
427 } while (temp_size >= PAGE_SIZE && par->wc_cookie < 0); vesafb_probe()
H A Duvesafb.c1536 int temp_size = info->fix.smem_len; uvesafb_init_mtrr() local
1541 temp_size = roundup_pow_of_two(temp_size); uvesafb_init_mtrr()
1545 rc = arch_phys_wc_add(info->fix.smem_start, temp_size); uvesafb_init_mtrr()
1546 temp_size >>= 1; uvesafb_init_mtrr()
1547 } while (temp_size >= PAGE_SIZE && rc == -EINVAL); uvesafb_init_mtrr()
/linux-4.4.14/drivers/gpu/ipu-v3/
H A Dipu-ic.c285 u32 temp_size, temp_downsize; calc_resize_coeffs() local
308 temp_size = in_size; calc_resize_coeffs()
309 while (((temp_size > 1024) || (temp_size >= out_size * 2)) && calc_resize_coeffs()
311 temp_size >>= 1; calc_resize_coeffs()
321 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); calc_resize_coeffs()
/linux-4.4.14/drivers/staging/most/hdm-usb/
H A Dhdm_usb.c733 unsigned int temp_size; hdm_configure_channel() local
763 temp_size = conf->buffer_size; hdm_configure_channel()
780 temp_size); hdm_configure_channel()
785 temp_size += tail_space; hdm_configure_channel()
788 conf->extra_len = (CEILING(temp_size, USB_MTU) * USB_MTU) hdm_configure_channel()
/linux-4.4.14/drivers/dma/ipu/
H A Dipu_idmac.c459 uint32_t temp_size; calc_resize_coeffs() local
471 temp_size = in_size; calc_resize_coeffs()
472 while (temp_size >= out_size * 2 && temp_downsize < 2) { calc_resize_coeffs()
473 temp_size >>= 1; calc_resize_coeffs()
483 *resize_coeff = (8192L * (temp_size - 1)) / (out_size - 1); calc_resize_coeffs()

Completed in 305 milliseconds