Home
last modified time | relevance | path

Searched refs:line_size (Results 1 – 22 of 22) sorted by relevance

/drivers/media/pci/cx18/
Dcx18-vbi.c97 u32 line_size = VBI_ACTIVE_SAMPLES; in compress_raw_buf() local
107 p = buf + i * line_size; in compress_raw_buf()
116 memcpy(q, p + 4, line_size - 4 - hdr_size); in compress_raw_buf()
117 q += line_size - 4 - hdr_size; in compress_raw_buf()
118 p += line_size - hdr_size - 1; in compress_raw_buf()
121 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
122 q += line_size - 4; in compress_raw_buf()
125 return lines * (line_size - 4); in compress_raw_buf()
134 u32 line_size = cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in compress_sliced_buf() local
151 if (size < line_size) in compress_sliced_buf()
[all …]
/drivers/media/pci/ivtv/
Divtv-vbi.c301 u32 line_size = itv->vbi.raw_decoder_line_size; in compress_raw_buf() local
310 p = buf + i * line_size; in compress_raw_buf()
316 memcpy(q, p + 4, line_size - 4); in compress_raw_buf()
317 q += line_size - 4; in compress_raw_buf()
319 return lines * (line_size - 4); in compress_raw_buf()
327 u32 line_size = itv->vbi.sliced_decoder_line_size; in compress_sliced_buf() local
339 if (size < line_size) { in compress_sliced_buf()
342 for (i = 0; i < size / line_size; i++) { in compress_sliced_buf()
343 u8 *p = buf + i * line_size; in compress_sliced_buf()
/drivers/base/
Dcacheinfo.c96 u32 line_size; in cache_get_line_size() local
100 ret = of_property_read_u32(np, propname, &line_size); in cache_get_line_size()
102 this_leaf->coherency_line_size = line_size; in cache_get_line_size()
121 unsigned int line_size = this_leaf->coherency_line_size; in cache_associativity() local
129 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity()
130 this_leaf->ways_of_associativity = (size / nr_sets) / line_size; in cache_associativity()
Dnode.c233 CACHE_ATTR(line_size, "%u")
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c273 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions() local
278 if (line_size == 0) in dscl2_calc_lb_num_partitions()
279 line_size = 1; in dscl2_calc_lb_num_partitions()
284 memory_line_size_y = (line_size + 5) / 6; /* +5 to ceil */ in dscl2_calc_lb_num_partitions()
286 memory_line_size_a = (line_size + 5) / 6; /* +5 to ceil */ in dscl2_calc_lb_num_partitions()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c420 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions() local
425 if (line_size == 0) in dpp1_dscl_calc_lb_num_partitions()
426 line_size = 1; in dpp1_dscl_calc_lb_num_partitions()
433 memory_line_size_y = (line_size * lb_bpc + 71) / 72; /* +71 to ceil */ in dpp1_dscl_calc_lb_num_partitions()
435 memory_line_size_a = (line_size + 5) / 6; /* +5 to ceil */ in dpp1_dscl_calc_lb_num_partitions()
/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.h30 unsigned int line_size; member
Dshmob_drm_crtc.c211 lcdc_write(sdev, LDMLSR, scrtc->line_size); in shmob_drm_crtc_start()
361 scrtc->line_size = crtc->primary->fb->pitches[0]; in shmob_drm_crtc_mode_set()
/drivers/video/fbdev/
Dsh_mobile_lcdcfb.h88 unsigned int line_size; member
Dda8xx-fb.c944 unsigned long line_size = var->xres_virtual * bpp; in fb_check_var() local
1013 if (line_size * var->yres_virtual > par->vram_size) in fb_check_var()
1014 var->yres_virtual = par->vram_size / line_size; in fb_check_var()
Dsh_mobile_lcdcfb.c943 lcdc_write_chan(ch, LDMLSR, ch->line_size); in __sh_mobile_lcdc_start()
1029 ch->line_size = ch->pitch; in sh_mobile_lcdc_start()
/drivers/gpu/drm/vboxvideo/
Dmodesetting.c43 p->line_size = pitch; in hgsmi_process_display_info()
Dvboxvideo.h277 u32 line_size; member
Dvbox_mode.c372 size_t line_size = (width + 7) / 8; in copy_cursor_image() local
379 dst[i * line_size + j / 8] |= (0x80 >> (j % 8)); in copy_cursor_image()
/drivers/video/fbdev/omap/
Domapfb_main.c471 unsigned long line_size; in set_fb_var() local
526 line_size = var->xres_virtual * bpp / 8; in set_fb_var()
527 if (line_size * var->yres_virtual > max_frame_size) { in set_fb_var()
529 line_size = max_frame_size / var->yres_virtual; in set_fb_var()
530 var->xres_virtual = line_size * 8 / bpp; in set_fb_var()
534 line_size = var->xres * bpp / 8; in set_fb_var()
535 var->yres_virtual = max_frame_size / line_size; in set_fb_var()
/drivers/acpi/nfit/
Dcore.c2385 line_no = div_u64_rem(offset, mmio->line_size, &sub_line_offset); in to_interleave_offset()
2388 * mmio->line_size; in to_interleave_offset()
2456 div_u64_rem(offset, mmio->line_size, &line_offset); in acpi_nfit_blk_single_io()
2457 c = min_t(size_t, len, mmio->line_size - line_offset); in acpi_nfit_blk_single_io()
2515 mmio->line_size = idt->line_size; in nfit_blk_init_interleave()
2519 * mmio->line_size; in nfit_blk_init_interleave()
2629 if (mmio->line_size == 0) in acpi_nfit_blk_region_enable()
2632 if ((u32) nfit_blk->cmd_offset % mmio->line_size in acpi_nfit_blk_region_enable()
2633 + 8 > mmio->line_size) { in acpi_nfit_blk_region_enable()
2636 } else if ((u32) nfit_blk->stat_offset % mmio->line_size in acpi_nfit_blk_region_enable()
[all …]
Dnfit.h269 u32 line_size; member
/drivers/gpu/drm/exynos/
Dexynos_drm_fimd.c796 unsigned int last_x, last_y, buf_offsize, line_size; in fimd_update_plane() local
825 line_size = state->crtc.w * cpp; in fimd_update_plane()
827 VIDW_BUF_SIZE_PAGEWIDTH(line_size) | in fimd_update_plane()
829 VIDW_BUF_SIZE_PAGEWIDTH_E(line_size); in fimd_update_plane()
/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c448 unsigned long line_size = var->xres_virtual * bytespp; in check_fb_size() local
455 line_size, var); in check_fb_size()
465 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size); in check_fb_size()
467 if (line_size * var->yres_virtual > max_frame_size) in check_fb_size()
470 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size()
472 line_size = var->xres_virtual * bytespp; in check_fb_size()
475 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size()
/drivers/acpi/
Dpptt.c364 this_leaf->coherency_line_size = found_cache->line_size; in update_cache_properties()
/drivers/acpi/hmat/
Dhmat.c354 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c458 int line_size = 0; in field_desc_show() local
465 if (line_size + len >= 79) { in field_desc_show()
466 line_size = 8; in field_desc_show()
470 line_size += len + 1; in field_desc_show()