/openbmc/u-boot/common/eeprom/ |
H A D | eeprom_field.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2009-2016 CompuLab, Ltd. 14 char *delimiter, bool reverse) in __eeprom_field_print_bin() argument 17 int from = reverse ? field->size - 1 : 0; in __eeprom_field_print_bin() 18 int to = reverse ? 0 : field->size - 1; in __eeprom_field_print_bin() 20 printf(PRINT_FIELD_SEGMENT, field->name); in __eeprom_field_print_bin() 21 for (i = from; i != to; reverse ? i-- : i++) in __eeprom_field_print_bin() 22 printf("%02x%s", field->buf[i], delimiter); in __eeprom_field_print_bin() 24 printf("%02x\n", field->buf[i]); in __eeprom_field_print_bin() 28 const char *value, bool reverse) in __eeprom_field_update_bin() argument [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/ |
H A D | test_views.py | 5 # Copyright (C) 2013-2015 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 16 from django.urls import reverse 42 fixtures = ['toastergui-unittest-data'] 51 file_path = f"{self.builldir}/{self.recipe1.name.strip().replace(' ', '-')}.bb" 66 """Basic test for all-projects view""" 67 response = self.client.get(reverse('all-projects'), follow=True) 69 self.assertTrue(response['Content-Type'].startswith('text/html')) 70 self.assertTemplateUsed(response, "projects-toastertable.html") 74 url = reverse('all-projects') [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | customrecipe.js | 7 var addPkgDepsModalBtn = $("#add-package-deps-modal-btn"); 8 var rmdPkgReverseDepsModalBtn = $("#rm-package-reverse-deps-modal-btn"); 11 $("#image-created-notification").show(); 14 customiseTable.on('table-done', function(e, total){ 16 $(".add-rm-package-btn").click(function(e){ 18 var targetPkg = $(this).data(); 45 headers: { 'X-CSRFToken' : $.cookie('csrftoken')}, 46 success: function(data){ argument 47 if (data.error !== 'ok'){ 48 console.warn(data.error); [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/ |
H A D | customrecipe.html | 44 <!-- Delete recipe modal --> 45 <div id="delete-recipe-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myMod… 46 <div class="modal-dialog"> 47 <div class="modal-content"> 48 <div class="modal-body"> 52 <div class="modal-footer"> 53 <button type="button" class="btn btn-primary" id="delete-custom-recipe-confirmed"> 54 <span data-role="submit-state">Delete custom image</span> 55 <span data-role="loading-state" style="display:none"> 56 <span class="fa-pulse"> [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/ |
H A D | test_all_projects_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 101 url = reverse('all-projects') 103 self.wait_until_visible('#empty-state-projectstable') 112 url = reverse('all-projects') 132 self.get(reverse('all-projects')) 140 selector = 'span[data-project-field="release"] span.text-muted' 150 selector = 'span[data-project-field="release"]' 154 'release name should be shown for non-default project') [all …]
|
H A D | test_all_builds_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 74 selector = 'div[data-latest-build-result="%s"] ' \ 75 '[data-role="data-recent-build-buildtime-field"]' % build.id 94 url = reverse('builddashboard', args=(build.id,)) 127 'completed_on'] = now - timezone.timedelta(days=i) 138 'completed_on'] = now - timezone.timedelta(days=i) 176 url = reverse('all-builds') 191 'Rebuild' button should not be shown for command-line builds, [all …]
|
H A D | test_sample.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 19 from django.urls import reverse 26 url = reverse('landing') 28 brand_link = self.find('.toaster-navbar-brand a.brand') 33 url = reverse('all-builds') 35 … self.wait_until_visible('#empty-state-allbuildstable') # wait for the empty state div to appear 36 div_msg = self.find('#empty-state-allbuildstable .alert-info') 38 msg = 'Sorry - no data found'
|
H A D | test_most_recent_builds_states.py | 5 # SPDX-License-Identifier: GPL-2.0-only 7 # Copyright (C) 2013-2016 Intel Corporation 9 from django.urls import reverse 40 url = reverse('all-builds') 44 base_selector = '[data-latest-build-result="%s"] ' % build.id 47 selector = base_selector + '[data-build-state="Queued"]' 63 selector = base_selector + '[data-build-state="Parsing"]' 66 bar_selector = '#recipes-parsed-percentage-bar-%s' % build.id 97 selector = base_selector + '[data-build-state="Starting"]' 108 selector = base_selector + '[data-build-state="In Progress"]' [all …]
|
H A D | test_project_builds_page.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 13 from django.urls import reverse 20 """ Test data at /project/X/builds is displayed correctly """ 82 url = reverse('projectbuilds', args=(project_id,)) 129 url = reverse('projectbuilds', args=(self.project1.id,)) 144 url = reverse('projectbuilds', args=(self.default_project.id,)) 146 tabs = self.find_all('#project-topbar') 152 Non-command-line builds projects should show the tabs 154 url = reverse('projectbuilds', args=(self.project1.id,)) [all …]
|
H A D | test_js_unit_tests.py | 5 # Copyright (C) 2013-2016 Intel Corporation 7 # SPDX-License-Identifier: GPL-2.0-only 14 from django.urls import reverse 24 fixtures = ['toastergui-unittest-data'] 27 url = reverse('js-unit-tests') 29 self.wait_until_present('#qunit-testresult .failed') 31 failed = self.find("#qunit-testresult .failed").text 32 passed = self.find("#qunit-testresult .passed").text 33 total = self.find("#qunit-testresult .total").text 40 failed_tests = self.find_all("li .fail .test-message")
|
/openbmc/linux/drivers/usb/typec/mux/ |
H A D | nb7vpq904m.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * OnSemi NB7VPQ904M Type-C driver 75 struct mutex lock; /* protect non-concurrent retimer & switch */ 98 regmap_update_bits(nb7->regmap, EQ_SETTING_REG(channel), in nb7vpq904m_set_channel() 100 regmap_update_bits(nb7->regmap, OUTPUT_COMPRESSION_AND_POL_REG(channel), in nb7vpq904m_set_channel() 102 regmap_update_bits(nb7->regmap, FLAT_GAIN_REG(channel), in nb7vpq904m_set_channel() 104 regmap_update_bits(nb7->regmap, LOSS_MATCH_REG(channel), in nb7vpq904m_set_channel() 110 bool reverse = (nb7->orientation == TYPEC_ORIENTATION_REVERSE); in nb7vpq904m_set() local 112 switch (nb7->mode) { in nb7vpq904m_set() 114 regmap_write(nb7->regmap, GEN_DEV_SET_REG, in nb7vpq904m_set() [all …]
|
/openbmc/linux/net/x25/ |
H A D | x25_facilities.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * apr/14/05 Shaun Pereira - Allow fast select with no restriction 28 * x25_parse_facilities - Parse facilities from skb into the facilities structs 36 * -1 - Parsing error, caller should drop call and clean up 37 * 0 - Parse OK, this skb has no facilities 38 * >0 - Parse OK, returns the length of the facilities header 55 dte_facs->calling_len = 0; in x25_parse_facilities() 56 dte_facs->called_len = 0; in x25_parse_facilities() 57 memset(dte_facs->called_ae, '\0', sizeof(dte_facs->called_ae)); in x25_parse_facilities() 58 memset(dte_facs->calling_ae, '\0', sizeof(dte_facs->calling_ae)); in x25_parse_facilities() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | functional_helpers.py | 7 # SPDX-License-Identifier: GPL-2.0-only 17 from django.urls import reverse 46 cmd = "bash -c 'source toaster start'" 53 port_use = os.popen("lsof -i -P -n | grep '8000 (LISTEN)'").read().strip() 57 process = os.popen(f"ps -o cmd= -p {process_id}").read().strip() 76 cmd = "bash -c 'source toaster stop'" 116 #return whole-table element 126 #return whole-row element 151 - Project Name: Any string 152 - Release: Any string [all …]
|
/openbmc/qemu/docs/system/ |
H A D | replay.rst | 4 Copyright (c) 2010-2022 Institute for System Programming 8 See the COPYING file in the top-level directory. 14 Execution recording writes a non-deterministic events log, which can be later 17 Execution replaying reads the log and replays all non-deterministic events 26 * Supports i386, x86_64, ARM, AArch64, Risc-V, MIPS, MIPS64, S390X, Alpha, 36 .. parsed-literal:: 38 -icount shift=auto,rr=record,rrfile=replay.bin \\ 39 -drive file=disk.qcow2,if=none,snapshot,id=img-direct \\ 40 -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \\ 41 -device ide-hd,drive=img-blkreplay \\ [all …]
|
/openbmc/qemu/net/ |
H A D | colo.c | 2 * COarse-grain LOck-stepping Virtual Machines for Non-stop Service (COLO) 12 * later. See the COPYING file in the top-level directory. 27 a += key->src.s_addr; in connection_key_hash() 28 b += key->dst.s_addr; in connection_key_hash() 29 c += (key->src_port | key->dst_port << 16); in connection_key_hash() 32 a += key->ip_proto; in connection_key_hash() 47 uint8_t *data = pkt->data; in parse_packet_early() local 51 assert(data); in parse_packet_early() 54 if ((pkt->vnet_hdr_len > sizeof(struct virtio_net_hdr_v1_hash)) || in parse_packet_early() 55 (pkt->size < sizeof(struct eth_header) + sizeof(struct vlan_header) + in parse_packet_early() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-online-fsck-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Heading 3 uses "----" 25 - To help kernel distributors understand exactly what the XFS online fsck 28 - To help people reading the code to familiarize themselves with the relevant 31 - To help developers maintaining the system by capturing the reasons 59 - Provide a hierarchy of names through which application programs can associate 60 arbitrary blobs of data for any length of time, 62 - Virtualize physical storage media across those names, and 64 - Retrieve the named data blobs at any time. 66 - Examine resource usage. [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-decoder-cmd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 38 These ioctls control an audio/video (usually MPEG-) decoder. 55 command to the decoder, and all buffered data is discarded. Applies to both 68 .. flat-table:: struct v4l2_decoder_cmd 69 :header-rows: 0 70 :stub-columns: 0 73 * - __u32 74 - ``cmd`` 75 - [all …]
|
/openbmc/u-boot/include/ |
H A D | MCD_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. 62 * multi-channel DMA 129 #define MCD_ERROR -1 130 #define MCD_TABLE_UNALIGNED -2 131 #define MCD_CHANNEL_INVALID -3 140 * MCD_NO_DMA - No DMA has been requested since reset 141 * MCD_IDLE - DMA active, but the initiator is currently inactive 142 * MCD_RUNNING - DMA active, and the initiator is currently active 143 * MCD_PAUSED - DMA active but it is currently paused [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | exynos_mipi_dsi.txt | 1 Exynos MIPI-DSIM Controller 6 compatible: should be "samsung,exynos-mipi-dsi" 7 reg: Base address of MIPI-DSIM IP. 10 samsung,dsim-config-e-interface: interface to be used (RGB interface 12 samsung,dsim-config-e-virtual-ch: virtual channel number that main 14 samsung,dsim-config-e-pixel-format: pixel stream format for main 16 samsung,dsim-config-e-burst-mode: selects Burst mode in Video mode. 17 in Non-burst mode, RGB data area is filled with RGB data and 19 samsung,dsim-config-e-no-data-lane: data lane count used by Master. 20 samsung,dsim-config-e-byte-clk: select byte clock source. [all …]
|
/openbmc/linux/Documentation/livepatch/ |
H A D | system-state.rst | 22 - store data needed to manipulate and restore the system state 24 - define compatibility between livepatches using a change id 44 - *id* 46 - Non-zero number used to identify the affected system state. 48 - *version* 50 - Number describing the variant of the system state change that 55 - klp_get_state() 57 - Get struct klp_state associated with the given livepatch 60 - klp_get_prev_state() 62 - Get struct klp_state associated with the given feature id and [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 17 The MAX9286 deserializer receives video data on up to 4 Gigabit Multimedia 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 21 In addition to video data, the GMSL links carry a bidirectional control [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | fsl,cpm1-scc-qmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 19 - enum: 20 - fsl,mpc885-scc-qmc 21 - fsl,mpc866-scc-qmc 22 - const: fsl,cpm1-scc-qmc 26 - description: SCC (Serial communication controller) register base [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | api.py | 6 # SPDX-License-Identifier: GPL-2.0-only 27 from django.urls import reverse 239 # recipes-*/*/*.bb 240 recipes_list = glob.glob(os.path.join(layer.local_source_dir, 'recipes-*/*/*.bb')) 243 recipe_path = recipe[recipe.rfind('recipes-'):] 397 layer_data = json.loads(request.body.decode('utf-8')) 412 return JsonResponse({"error": "layer-name-exists"}) 466 return error_response("layer-dep-not-found") 468 return error_response("project-not-found") 471 return error_response(f"incorrect-parameters") [all …]
|
H A D | widgets.py | 6 # SPDX-License-Identifier: GPL-2.0-only 26 from django.urls import reverse 64 self.empty_state = "Sorry - no data found" 67 # prevent HTTP caching of table data 99 data = self.get_filter_info(request, **kwargs) 101 # If no cmd is specified we give you the table data 102 data = self.get_data(request, **kwargs) 104 return HttpResponse(data, content_type="application/json") 157 field_name (str or list): field(s) required for this column's data 161 as data [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | ieee1284_ops.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* IEEE-1284 operations for parport. 5 * they are used by the low-level drivers. If they have a special way 7 * the function pointers in port->ops); if not, they can just use these 31 * One-way data transfer functions. * 43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat() 47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat() 52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat() 56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat() 112 pr_debug("%s: Timed out\n", port->name); in parport_ieee1284_write_compat() [all …]
|