/openbmc/u-boot/arch/mips/include/asm/ |
H A D | cm.h | 50 unsigned long l2conf, line_sz; in mips_cm_l2_line_size() local 54 line_sz = l2conf >> GCR_L2_CONFIG_LINESZ_SHIFT; in mips_cm_l2_line_size() 55 line_sz &= GENMASK(GCR_L2_CONFIG_LINESZ_BITS - 1, 0); in mips_cm_l2_line_size() 56 return line_sz ? (2 << line_sz) : 0; in mips_cm_l2_line_size()
|
/openbmc/linux/arch/mips/mm/ |
H A D | sc-mips.c | 153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local 163 line_sz = cfg & CM_GCR_L2_CONFIG_LINE_SIZE; in mips_sc_probe_cm3() 164 line_sz >>= __ffs(CM_GCR_L2_CONFIG_LINE_SIZE); in mips_sc_probe_cm3() 165 if (line_sz) in mips_sc_probe_cm3() 166 c->scache.linesz = 2 << line_sz; in mips_sc_probe_cm3()
|
/openbmc/u-boot/arch/mips/lib/ |
H A D | cache_init.S | 38 .macro cache_loop curr, end, line_sz, op 40 PTR_ADDU \curr, \curr, \line_sz 44 .macro l1_info sz, line_sz, off 51 srl \line_sz, $1, \off + MIPS_CONF1_DL_SHF - MIPS_CONF1_DA_SHF 52 andi \line_sz, \line_sz, (MIPS_CONF1_DL >> MIPS_CONF1_DL_SHF) 54 beqz \line_sz, 10f 56 sllv \line_sz, \sz, \line_sz 64 mul \sz, \sz, \line_sz
|
/openbmc/linux/tools/perf/arch/s390/util/ |
H A D | header.c | 36 unsigned long line_sz; in get_cpuid() local 60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid() 103 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
H A D | d71_component.c | 359 u32 fourcc, line_sz, max_line_sz; in d71_layer_validate() local 374 max_line_sz = layer->line_sz; in d71_layer_validate() 376 max_line_sz = layer->line_sz / 2; in d71_layer_validate() 378 if (line_sz > max_line_sz) { in d71_layer_validate() 380 line_sz, max_line_sz); in d71_layer_validate() 387 line_sz); in d71_layer_validate() 393 line_sz); in d71_layer_validate() 440 layer->line_sz = d71->max_line_size; in d71_layer_init() 441 layer->yuv_line_sz = layer->line_sz / 2; in d71_layer_init() 446 layer->line_sz = d71->max_line_size * 2; in d71_layer_init() [all …]
|
/openbmc/linux/tools/perf/arch/riscv/util/ |
H A D | header.c | 44 unsigned long line_sz; in _get_cpuid() local 51 while ((read = getline(&line, &line_sz, cpuinfo)) != -1) { in _get_cpuid()
|
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gunz_test.c | 95 const int line_sz = 1<<7; variable 402 assert((fifo_in = (char *)(uintptr_t)aligned_alloc(line_sz, in decompress_file() 404 assert((fifo_out = (char *)(uintptr_t)aligned_alloc(line_sz, in decompress_file() 405 fifo_out_len + page_sz + line_sz)) != NULL); in decompress_file() 407 fifo_out = fifo_out + line_sz; in decompress_file() 434 - line_sz); in decompress_file()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline_state.c | 288 u32 line_sz, max_line_sz; in komeda_layer_check_cfg() local 319 line_sz = dflow->in_h; in komeda_layer_check_cfg() 321 line_sz = dflow->in_w; in komeda_layer_check_cfg() 326 max_line_sz = layer->line_sz; in komeda_layer_check_cfg() 328 if (line_sz > max_line_sz) { in komeda_layer_check_cfg() 330 line_sz, max_line_sz); in komeda_layer_check_cfg()
|
H A D | komeda_pipeline.h | 231 u32 line_sz; member
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 1086 int err, row, len, line_sz, line_cnt = 0; in do_flash() local 1180 line_sz = s - p; in do_flash() 1182 if (line_sz != CYACD_LINE_SIZE) { in do_flash() 1183 dev_err(dev, "Bad FW format line_sz=%d\n", line_sz); in do_flash()
|