| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_mock_wmfw.c | 3 // wmfw file builder for cs_dsp KUnit tests. 55 * @builder: Pointer to struct cs_dsp_mock_wmfw_builder. in KUNIT_DEFINE_ACTION_WRAPPER() 59 int cs_dsp_mock_wmfw_format_version(struct cs_dsp_mock_wmfw_builder *builder) in KUNIT_DEFINE_ACTION_WRAPPER() 61 return builder->format_version; in KUNIT_DEFINE_ACTION_WRAPPER() 68 * @builder: Pointer to struct cs_dsp_mock_wmfw_builder. 72 struct firmware *cs_dsp_mock_wmfw_get_firmware(struct cs_dsp_mock_wmfw_builder *builder) in cs_dsp_mock_wmfw_get_firmware() argument 76 if (!builder) in cs_dsp_mock_wmfw_get_firmware() 79 fw = kunit_kzalloc(builder->test_priv->test, sizeof(*fw), GFP_KERNEL); in cs_dsp_mock_wmfw_get_firmware() 80 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, fw); in cs_dsp_mock_wmfw_get_firmware() 82 fw->data = builder->buf; in cs_dsp_mock_wmfw_get_firmware() [all …]
|
| H A D | cs_dsp_mock_bin.c | 3 // bin file builder for cs_dsp KUnit tests. 34 * @builder: Pointer to struct cs_dsp_mock_bin_builder. 38 struct firmware *cs_dsp_mock_bin_get_firmware(struct cs_dsp_mock_bin_builder *builder) in cs_dsp_mock_bin_get_firmware() argument 42 fw = kunit_kzalloc(builder->test_priv->test, sizeof(*fw), GFP_KERNEL); in cs_dsp_mock_bin_get_firmware() 43 KUNIT_ASSERT_NOT_ERR_OR_NULL(builder->test_priv->test, fw); in cs_dsp_mock_bin_get_firmware() 45 fw->data = builder->buf; in cs_dsp_mock_bin_get_firmware() 46 fw->size = builder->bytes_used; in cs_dsp_mock_bin_get_firmware() 55 * @builder: Pointer to struct cs_dsp_mock_bin_builder. 63 void cs_dsp_mock_bin_add_raw_block(struct cs_dsp_mock_bin_builder *builder, in cs_dsp_mock_bin_add_raw_block() argument 71 KUNIT_ASSERT_TRUE(builder->test_priv->test, in cs_dsp_mock_bin_add_raw_block() [all …]
|
| H A D | cs_dsp_mock_mem_maps.c | 537 static void cs_dsp_mock_xm_header_add_adsp2_algs(struct cs_dsp_mock_xm_header *builder, in cs_dsp_mock_xm_header_add_adsp2_algs() argument 541 struct wmfw_adsp2_id_hdr *hdr = builder->blob_data; in cs_dsp_mock_xm_header_add_adsp2_algs() 591 static void cs_dsp_mock_xm_header_add_halo_algs(struct cs_dsp_mock_xm_header *builder, in cs_dsp_mock_xm_header_add_halo_algs() argument 595 struct wmfw_halo_id_hdr *hdr = builder->blob_data; in cs_dsp_mock_xm_header_add_halo_algs() 676 struct cs_dsp_mock_xm_header *builder; in cs_dsp_create_mock_xm_header() local 681 builder = kunit_kzalloc(priv->test, sizeof(*builder), GFP_KERNEL); in cs_dsp_create_mock_xm_header() 682 KUNIT_ASSERT_NOT_ERR_OR_NULL(priv->test, builder); in cs_dsp_create_mock_xm_header() 683 builder->test_priv = priv; in cs_dsp_create_mock_xm_header() 706 builder->blob_data = kunit_kzalloc(priv->test, total_bytes_required, GFP_KERNEL); in cs_dsp_create_mock_xm_header() 707 KUNIT_ASSERT_NOT_ERR_OR_NULL(priv->test, builder->blob_data); in cs_dsp_create_mock_xm_header() [all …]
|
| H A D | cs_dsp_test_control_cache.c | 126 struct cs_dsp_mock_wmfw_builder *builder; in _create_dummy_wmfw() local 128 builder = cs_dsp_mock_wmfw_init(priv, local->wmfw_version); in _create_dummy_wmfw() 129 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, builder); in _create_dummy_wmfw() 132 cs_dsp_mock_wmfw_add_data_block(builder, in _create_dummy_wmfw() 137 return builder; in _create_dummy_wmfw() 316 struct cs_dsp_mock_wmfw_builder *builder[3]; in cs_dsp_ctl_cache_init_multiple_fw_same_controls() local 323 static_assert(ARRAY_SIZE(ctl) == ARRAY_SIZE(builder)); in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 324 static_assert(ARRAY_SIZE(reg_vals) == ARRAY_SIZE(builder)); in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 325 static_assert(ARRAY_SIZE(cs_dsp_ctl_cache_test_fw_names) >= ARRAY_SIZE(builder)); in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 328 for (i = 0; i < ARRAY_SIZE(builder); i++) { in cs_dsp_ctl_cache_init_multiple_fw_same_controls() [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-h264.c | 23 * builder 25 * @b: the builder context to initialize 128 const struct v4l2_h264_reflist_builder *builder = data; in v4l2_h264_p_ref_list_cmp() local 138 if (builder->refs[idxa].longterm != builder->refs[idxb].longterm) { in v4l2_h264_p_ref_list_cmp() 140 if (!builder->refs[idxa].longterm) in v4l2_h264_p_ref_list_cmp() 154 if (!builder->refs[idxa].longterm) in v4l2_h264_p_ref_list_cmp() 155 return builder->refs[idxb].frame_num < in v4l2_h264_p_ref_list_cmp() 156 builder->refs[idxa].frame_num ? in v4l2_h264_p_ref_list_cmp() 159 return builder->refs[idxa].frame_num < builder->refs[idxb].frame_num ? in v4l2_h264_p_ref_list_cmp() 166 const struct v4l2_h264_reflist_builder *builder = data; in v4l2_h264_b0_ref_list_cmp() local [all …]
|
| /linux/rust/kernel/ |
| H A D | firmware.rs | 135 /// [`crate::prelude::module!`], it allows the caller to pass a builder type, based on the 138 /// Drivers should extend the [`ModInfoBuilder`] with their own driver specific builder type. 140 /// The `builder` argument must be a type which implements the following function. 166 /// struct Builder<const N: usize>; 168 /// impl<const N: usize> Builder<N> { 173 /// let mut builder = firmware::ModInfoBuilder::new(module_name); 177 /// builder = builder.new_entry() 185 /// builder 197 /// kernel::module_firmware!(Builder); 202 // The argument is the builder type without the const generic, since it's deferred from within [all …]
|
| H A D | cpufreq.rs | 316 /// CPU frequency table builder. 328 /// let mut builder = TableBuilder::new(); 331 /// builder.add(Hertz::from_mhz(700), 0, 1).unwrap(); 332 /// builder.add(Hertz::from_mhz(800), 2, 3).unwrap(); 333 /// builder.add(Hertz::from_mhz(900), 4, 5).unwrap(); 334 /// builder.add(Hertz::from_ghz(1), 6, 7).unwrap(); 336 /// let table = builder.to_table().unwrap();
|
| /linux/include/media/ |
| H A D | v4l2-h264.h | 16 * struct v4l2_h264_reflist_builder - Reference list builder object 29 * This object stores the context of the P/B0/B1 reference list builder. 57 * @builder: reference list builder context 69 v4l2_h264_build_b_ref_lists(const struct v4l2_h264_reflist_builder *builder, 76 * @builder: reference list builder context 86 v4l2_h264_build_p_ref_list(const struct v4l2_h264_reflist_builder *builder,
|
| /linux/scripts/kconfig/ |
| H A D | gconf.c | 969 GtkBuilder *builder; in init_main_window() local 973 builder = gtk_builder_new_from_file(glade_file); in init_main_window() 974 if (!builder) in init_main_window() 977 main_wnd = GTK_WIDGET(gtk_builder_get_object(builder, "window1")); in init_main_window() 985 hpaned = GTK_WIDGET(gtk_builder_get_object(builder, "hpaned1")); in init_main_window() 986 vpaned = GTK_WIDGET(gtk_builder_get_object(builder, "vpaned1")); in init_main_window() 987 tree1_w = GTK_WIDGET(gtk_builder_get_object(builder, "treeview1")); in init_main_window() 995 tree2_w = GTK_WIDGET(gtk_builder_get_object(builder, "treeview2")); in init_main_window() 1003 text_w = GTK_WIDGET(gtk_builder_get_object(builder, "textview3")); in init_main_window() 1006 widget = GTK_WIDGET(gtk_builder_get_object(builder, "load1")); in init_main_window() [all …]
|
| /linux/tools/docs/ |
| H A D | sphinx-build-wrapper | 77 "cleandocs": { "builder": "clean" }, 78 "linkcheckdocs": { "builder": "linkcheck" }, 79 "htmldocs": { "builder": "html" }, 80 "epubdocs": { "builder": "epub", "out_dir": "epub" }, 81 "texinfodocs": { "builder": "texinfo", "out_dir": "texinfo" }, 82 "infodocs": { "builder": "texinfo", "out_dir": "texinfo" }, 83 "mandocs": { "builder": "man", "out_dir": "man" }, 84 "latexdocs": { "builder": "latex", "out_dir": "latex" }, 85 "pdfdocs": { "builder": "latex", "out_dir": "latex" }, 86 "xmldocs": { "builder": "xml", "out_dir": "xml" }, [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_parser.h | 41 /* Next protocol Key builder */ 54 /* Parse Graph Key builder */ 374 /* XLT Key Builder */ 467 u16 flags_sw; /* key builder flags for SW */ 468 u16 flags_acl; /* key builder flags for ACL */ 469 u16 flags_fd; /* key builder flags for FD */ 470 u16 flags_rss; /* key builder flags for RSS */ 526 u16 flags; /* key builder flags */ 527 u16 flags_msk; /* key builder flag mask */
|
| H A D | ice_parser.c | 148 dev_info(dev, "boost key builder:\n"); in ice_imem_bst_kb_dump() 158 dev_info(dev, "next proto key builder:\n"); in ice_imem_np_kb_dump() 169 dev_info(dev, "parse graph key builder:\n"); in ice_imem_pg_kb_dump() 1094 dev_info(dev, "next proto key builder:\n"); in ice_bst_np_kb_dump() 1104 dev_info(dev, "parse graph key builder:\n"); in ice_bst_pg_kb_dump() 1735 dev_info(dev, "key builder entry %d\n", idx); in ice_xlt_kb_entry_dump() 1816 * ice_kb_entry_init - parse 192 bits of XLT Key Builder entry 1817 * @entry: pointer to the XLT Key Builder entry structure 1818 * @data: XLT Key Builder entry data to be parsed 1919 * Return: a pointer to the allocated Key Builder table for Switch. [all …]
|
| /linux/Documentation/sphinx/ |
| H A D | translations.py | 71 if app.builder.format not in ['html']: 83 html_content = app.builder.templates.render('translations.html',
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ruc.c | 220 * @bth0: bth0 passed in from the RC/UC builder 221 * @bth1: bth1 passed in from the RC/UC builder 222 * @bth2: bth2 passed in from the RC/UC builder 309 * @bth0: bth0 passed in from the RC/UC builder 310 * @bth1: bth1 passed in from the RC/UC builder 311 * @bth2: bth2 passed in from the RC/UC builder
|
| /linux/rust/pin-init/examples/ |
| H A D | static_init.rs | 19 thread::{sleep, Builder}, 97 Builder::new() in main()
|
| H A D | pthread_mutex.rs | 152 thread::{sleep, Builder}, in main() 162 Builder::new() in main()
|
| H A D | mutex.rs | 18 thread::{self, sleep, Builder, Thread}, 203 Builder::new() in main()
|
| /linux/drivers/soc/litex/ |
| H A D | Kconfig | 3 menu "Enable LiteX SoC Builder specific drivers"
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | ifork.rst | 28 .. ifconfig:: builder != 'latex' 32 .. ifconfig:: builder == 'latex'
|
| /linux/Documentation/devicetree/bindings/serial/ |
| H A D | litex,liteuart.yaml | 15 LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports
|
| /linux/Documentation/devicetree/bindings/soc/litex/ |
| H A D | litex,soc-controller.yaml | 11 This is the SoC Controller driver for the LiteX SoC Builder.
|
| /linux/tools/perf/scripts/python/ |
| H A D | gecko.py | 93 """A builder for a profile of the thread. 178 """Add a timestamped stack trace sample to the thread builder. 261 # event and store the data in the thread builder.
|
| /linux/lib/kunit/ |
| H A D | string-stream.h | 3 * C++ stream style string builder used in KUnit for building messages.
|
| /linux/include/linux/crush/ |
| H A D | crush.h | 273 * the builder. It is exposed here (rather than having a 334 * are exposed in this header file because builder needs their
|
| /linux/scripts/ |
| H A D | rustdoc_test_builder.rs | 3 //! Test builder for `rustdoc`-generated tests.
|