Home
last modified time | relevance | path

Searched refs:length_bytes (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_control_rw.c86 .length_bytes = 4,
171 def.length_bytes = param->len_bytes; in cs_dsp_ctl_write_running()
242 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_running()
309 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_not_started()
359 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_stopped()
413 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_stopped_powered_down()
470 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_not_current_loaded_fw()
528 def.length_bytes = param->len_bytes; in cs_dsp_ctl_read_volatile_not_current_running_fw()
588 def.length_bytes = param->len_bytes; in cs_dsp_ctl_write_volatile_not_started()
645 def.length_bytes = param->len_bytes; in cs_dsp_ctl_write_volatile_stopped()
[all …]
H A Dcs_dsp_test_control_cache.c86 .length_bytes = 4,
176 for (def.length_bytes = 4; def.length_bytes <= 64; def.length_bytes += 4) { in cs_dsp_ctl_v2_cache_alloc()
177 snprintf(ctl_name, ARRAY_SIZE(ctl_name), "%x", def.length_bytes); in cs_dsp_ctl_v2_cache_alloc()
180 def.offset_dsp_words += def.length_bytes / sizeof(u32); in cs_dsp_ctl_v2_cache_alloc()
229 def.length_bytes = param->len_bytes; in cs_dsp_ctl_cache_init()
279 def.length_bytes = param->len_bytes; in cs_dsp_ctl_cache_init_write_only()
340 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
344 readback = kunit_kzalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
357 get_random_bytes(reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
358 regmap_raw_write(dsp->regmap, reg, reg_vals[i], def.length_bytes); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
[all …]
H A Dcs_dsp_test_control_parse.c73 .length_bytes = 4,
131 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_v1_name()
161 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_empty_v1_name()
192 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_max_v1_name()
219 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_short_name()
250 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_min_short_name()
282 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_max_short_name()
314 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_with_min_fullname()
347 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_with_max_fullname()
379 KUNIT_EXPECT_EQ(test, ctl->len, def.length_bytes); in cs_dsp_ctl_parse_with_min_description()
[all …]
H A Dcs_dsp_mock_wmfw.c291 v1->len = cpu_to_le32(def->length_bytes); in cs_dsp_mock_wmfw_add_coeff_desc()
348 *ple32 = cpu_to_le32(def->length_bytes); in cs_dsp_mock_wmfw_add_coeff_desc()
H A Dcs_dsp_test_callbacks.c63 .length_bytes = 4,
H A Dcs_dsp_test_wmfw_error.c51 .length_bytes = 4,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bios.c548 u8 *bios, u32 length_bytes) in amdgpu_soc15_read_bios_from_rom() argument
558 if (length_bytes == 0) in amdgpu_soc15_read_bios_from_rom()
569 length_dw = ALIGN(length_bytes, 4) / 4; in amdgpu_soc15_read_bios_from_rom()
H A Damdgpu.h368 u8 *bios, u32 length_bytes);
605 u8 *bios, u32 length_bytes);
/linux/include/linux/firmware/cirrus/
H A Dcs_dsp_test_utils.h64 unsigned int length_bytes; member