/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-vbi.c | 111 u32 line_size = vbi_active_samples; in compress_raw_buf() local 121 p = buf + i * line_size; in compress_raw_buf() 130 memcpy(q, p + 4, line_size - 4 - hdr_size); in compress_raw_buf() 131 q += line_size - 4 - hdr_size; in compress_raw_buf() 132 p += line_size - hdr_size - 1; in compress_raw_buf() 135 memcpy(q, p + 4, line_size - 4); in compress_raw_buf() 136 q += line_size - 4; in compress_raw_buf() 139 return lines * (line_size - 4); in compress_raw_buf() 148 u32 line_size = cx->is_60hz ? vbi_hblank_samples_60Hz in compress_sliced_buf() local 165 if (size < line_size) in compress_sliced_buf() [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | cache-uniphier.c | 102 u32 line_size; member 215 start = start & ~(data->line_size - 1); in __uniphier_cache_maint_range() 219 if (unlikely(size >= (unsigned long)(-data->line_size))) { in __uniphier_cache_maint_range() 229 size = ALIGN(size, data->line_size); in __uniphier_cache_maint_range() 425 if (of_property_read_u32(np, "cache-line-size", &data->line_size) || in __uniphier_cache_init() 426 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 442 cache_size == 0 || cache_size % (data->nsets * data->line_size)) { in __uniphier_cache_init() 450 ((u32)1 << cache_size / data->nsets / data->line_size) - 1; in __uniphier_cache_init() 483 data->range_op_max_size -= data->line_size; in __uniphier_cache_init()
|
D | cache-l2x0.c | 958 u32 line_size = 0; in l2x0_cache_size_of_parse() local 963 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse() 969 if (!line_size) { in l2x0_cache_size_of_parse() 972 line_size = block_size; in l2x0_cache_size_of_parse() 978 line_size = CACHE_LINE_SIZE; in l2x0_cache_size_of_parse() 982 if (line_size != CACHE_LINE_SIZE) in l2x0_cache_size_of_parse() 985 line_size, in l2x0_cache_size_of_parse() 996 way_size = sets * line_size; in l2x0_cache_size_of_parse() 1006 pr_info("L2C OF: override line size: %d bytes\n", line_size); in l2x0_cache_size_of_parse()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | cacheinfo.c | 234 const __be32 *line_size; in cache_get_line_size() local 243 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size() 244 if (line_size) in cache_get_line_size() 248 if (!line_size) in cache_get_line_size() 251 *ret = of_read_number(line_size, 1); in cache_get_line_size() 272 unsigned int line_size; in cache_associativity() local 287 if (cache_get_line_size(cache, &line_size)) in cache_associativity() 292 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 295 *ret = (size / nr_sets) / line_size; in cache_associativity() 558 unsigned int line_size; in line_size_show() local [all …]
|
/linux-4.4.14/arch/metag/include/asm/ |
D | l2cache.h | 75 unsigned int line_size; in meta_l2c_linesize() local 78 line_size = (meta_l2c_config() & METAC_CORECFG3_L2C_LINE_SIZE_BITS) in meta_l2c_linesize() 80 switch (line_size) { in meta_l2c_linesize()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 170 unsigned line_size:8; member 180 unsigned line_size:8; member 190 unsigned line_size:8; member 229 unsigned line_size, lines_per_tag, assoc, size_in_kb; in amd_cpuid4() local 249 line_size = l1->line_size; in amd_cpuid4() 257 line_size = l2.line_size; in amd_cpuid4() 266 line_size = l3.line_size; in amd_cpuid4() 287 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4() 290 ecx->split.number_of_sets = (size_in_kb * 1024) / line_size / in amd_cpuid4()
|
/linux-4.4.14/Documentation/spi/ |
D | spidev_test.c | 52 static void hex_dump(const void *src, size_t length, size_t line_size, char *prefix) in hex_dump() argument 62 if (!(++i % line_size) || (length == 0 && i % line_size)) { in hex_dump() 64 while (i++ % line_size) in hex_dump()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-vbi.c | 313 u32 line_size = itv->vbi.raw_decoder_line_size; in compress_raw_buf() local 322 p = buf + i * line_size; in compress_raw_buf() 328 memcpy(q, p + 4, line_size - 4); in compress_raw_buf() 329 q += line_size - 4; in compress_raw_buf() 331 return lines * (line_size - 4); in compress_raw_buf() 339 u32 line_size = itv->vbi.sliced_decoder_line_size; in compress_sliced_buf() local 351 if (size < line_size) { in compress_sliced_buf() 354 for (i = 0; i < size / line_size; i++) { in compress_sliced_buf() 355 u8 *p = buf + i * line_size; in compress_sliced_buf()
|
/linux-4.4.14/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.h | 32 unsigned int line_size; member
|
D | shmob_drm_crtc.c | 223 lcdc_write(sdev, LDMLSR, scrtc->line_size); in shmob_drm_crtc_start() 394 scrtc->line_size = crtc->primary->fb->pitches[0]; in shmob_drm_crtc_mode_set() 409 &scrtc->line_size); in shmob_drm_crtc_mode_set()
|
/linux-4.4.14/arch/mips/kernel/ |
D | pm-cps.c | 246 unsigned line_size = cpu_info->dcache.linesz; in cps_gen_flush_fsb() local 303 uasm_i_lw(pp, zero, i * line_size * line_stride, t0); in cps_gen_flush_fsb() 311 i * line_size * line_stride, t0); in cps_gen_flush_fsb() 313 i * line_size * line_stride, t0); in cps_gen_flush_fsb()
|
/linux-4.4.14/drivers/acpi/ |
D | nfit.c | 1044 line_no = div_u64_rem(offset, mmio->line_size, &sub_line_offset); in to_interleave_offset() 1047 * mmio->line_size; in to_interleave_offset() 1132 div_u64_rem(offset, mmio->line_size, &line_offset); in acpi_nfit_blk_single_io() 1133 c = min_t(size_t, len, mmio->line_size - line_offset); in acpi_nfit_blk_single_io() 1312 mmio->line_size = idt->line_size; in nfit_blk_init_interleave() 1316 * mmio->line_size; in nfit_blk_init_interleave() 1436 if (mmio->line_size == 0) in acpi_nfit_blk_region_enable() 1439 if ((u32) nfit_blk->cmd_offset % mmio->line_size in acpi_nfit_blk_region_enable() 1440 + 8 > mmio->line_size) { in acpi_nfit_blk_region_enable() 1443 } else if ((u32) nfit_blk->stat_offset % mmio->line_size in acpi_nfit_blk_region_enable() [all …]
|
D | nfit.h | 136 u32 line_size; member
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.h | 88 unsigned int line_size; member
|
D | mxsfb.c | 414 int line_size, fb_size; in mxsfb_set_par() local 417 line_size = fb_info->var.xres * (fb_info->var.bits_per_pixel >> 3); in mxsfb_set_par() 418 fb_size = fb_info->var.yres_virtual * line_size; in mxsfb_set_par() 423 fb_info->fix.line_length = line_size; in mxsfb_set_par()
|
D | da8xx-fb.c | 956 unsigned long line_size = var->xres_virtual * bpp; in fb_check_var() local 1025 if (line_size * var->yres_virtual > par->vram_size) in fb_check_var() 1026 var->yres_virtual = par->vram_size / line_size; in fb_check_var()
|
D | sh_mobile_lcdcfb.c | 1029 lcdc_write_chan(ch, LDMLSR, ch->line_size); in __sh_mobile_lcdc_start() 1119 ch->line_size = ch->pitch; in sh_mobile_lcdc_start() 1152 &ch->line_size); in sh_mobile_lcdc_start()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | setup.c | 845 unsigned long line_size, max = 1; in get_cache_info() local 879 line_size = 1 << cci.pcci_line_size; in get_cache_info() 880 if (line_size > max) in get_cache_info() 881 max = line_size; in get_cache_info()
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 309 int line_size = (out->_pixel_format == PIXEL_FRMT_411) ? in cx25821_write_frame() local 316 frame_size = (line_size == Y411_LINE_SZ) ? in cx25821_write_frame() 319 frame_size = (line_size == Y411_LINE_SZ) ? in cx25821_write_frame()
|
/linux-4.4.14/arch/arm/kernel/ |
D | setup.c | 282 unsigned int id_reg, num_sets, line_size; in cpu_has_aliasing_icache() local 297 line_size = 4 << ((id_reg & 0x7) + 2); in cpu_has_aliasing_icache() 299 aliasing_icache = (line_size * num_sets) > PAGE_SIZE; in cpu_has_aliasing_icache()
|
/linux-4.4.14/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 481 unsigned long line_size; in set_fb_var() local 536 line_size = var->xres_virtual * bpp / 8; in set_fb_var() 537 if (line_size * var->yres_virtual > max_frame_size) { in set_fb_var() 539 line_size = max_frame_size / var->yres_virtual; in set_fb_var() 540 var->xres_virtual = line_size * 8 / bpp; in set_fb_var() 544 line_size = var->xres * bpp / 8; in set_fb_var() 545 var->yres_virtual = max_frame_size / line_size; in set_fb_var()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_fimd.c | 647 unsigned int last_x, last_y, buf_offsize, line_size; in fimd_update_plane() local 675 line_size = plane->crtc_w * bpp; in fimd_update_plane() 677 VIDW_BUF_SIZE_PAGEWIDTH(line_size) | in fimd_update_plane() 679 VIDW_BUF_SIZE_PAGEWIDTH_E(line_size); in fimd_update_plane()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | mdesc.c | 578 const u64 *line_size = mdesc_get_property(hp, mp, "line-size", NULL); in fill_in_one_cache() local 588 c->icache_line_size = *line_size; in fill_in_one_cache() 591 c->dcache_line_size = *line_size; in fill_in_one_cache() 597 c->ecache_line_size = *line_size; in fill_in_one_cache()
|
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-main.c | 459 unsigned long line_size = var->xres_virtual * bytespp; in check_fb_size() local 466 line_size, var); in check_fb_size() 476 DBG("max frame size %lu, line size %lu\n", max_frame_size, line_size); in check_fb_size() 478 if (line_size * var->yres_virtual > max_frame_size) in check_fb_size() 481 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size() 483 line_size = var->xres_virtual * bytespp; in check_fb_size() 486 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pal.h | 159 line_size : 8, /* 23-17 Line size */ member 198 #define pcci_line_size pcci_info_1.pcci1_bits.line_size
|
/linux-4.4.14/include/acpi/ |
D | actbl1.h | 1026 u32 line_size; member
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_debugfs.c | 466 int line_size = 0; in field_desc_show() local 473 if (line_size + len >= 79) { in field_desc_show() 474 line_size = 8; in field_desc_show() 478 line_size += len + 1; in field_desc_show()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_pm.c | 779 int line_count, line_size; in g4x_compute_srwm() local 797 line_size = hdisplay * pixel_size; in g4x_compute_srwm() 801 large = line_count * line_size; in g4x_compute_srwm()
|