/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | qcom,fastrpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 The FastRPC implements an IPC (Inter-Processor Communication) 25 - adsp 26 - mdsp 27 - sdsp 28 - cdsp 30 memory-region: [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | metafmt-vsp1-hgo.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-meta-fmt-vsp1-hgo: 9 Renesas R-Car VSP1 1-D Histogram Data 15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D 20 computes the minimum, maximum and sum of all pixels as well as per-channel 23 The HGO can compute histograms independently per channel, on the maximum of the 28 - In *64 bins normal mode*, the HGO operates on the three channels independently 29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are 31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B) 32 channels to compute a single 64-bins histogram. Only the RGB image format is [all …]
|
/openbmc/u-boot/tools/ |
H A D | mxsboot.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) 44 * Each of the U-Boot bootstreams is at maximum 1MB big. 50 /* i.MX28 NAND controller-specific constants. DO NOT TWEAK! */ 153 * (page oob size - meta data size) * (bits per byte) in mx28_nand_get_ecc_strength() 155 ecc_strength = ((page_oob_size - MXS_NAND_METADATA_SIZE) * 8) in mx28_nand_get_ecc_strength() 178 /* Compute the bit offset of the block mark within the physical page. */ in mx28_nand_get_mark_offset() 182 block_mark_bit_offset -= MXS_NAND_METADATA_SIZE * 8; in mx28_nand_get_mark_offset() 185 * Compute the chunk number (starting at zero) in which the block mark in mx28_nand_get_mark_offset() 192 * Compute the bit offset of the block mark within its chunk, and in mx28_nand_get_mark_offset() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,dispcc-sm6350.h> 8 #include <dt-bindings/clock/qcom,gcc-sm6350.h> 9 #include <dt-bindings/clock/qcom,gpucc-sm6350.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/clock/qcom,sm6350-camcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> 15 #include <dt-bindings/interconnect/qcom,osm-l3.h> [all …]
|
H A D | sm6115.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/clock/qcom,gcc-sm6115.h> 7 #include <dt-bindings/clock/qcom,sm6115-dispcc.h> 8 #include <dt-bindings/clock/qcom,sm6115-gpucc.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 11 #include <dt-bindings/firmware/qcom,scm.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> [all …]
|
H A D | sm8350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interconnect/qcom,sm8350.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/qcom,dispcc-sm8350.h> 9 #include <dt-bindings/clock/qcom,gcc-sm8350.h> 10 #include <dt-bindings/clock/qcom,gpucc-sm8350.h> 11 #include <dt-bindings/clock/qcom,rpmh.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interconnect/qcom,sm8350.h> [all …]
|
H A D | sm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/power/qcom-rpmpd.h> 10 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 11 #include <dt-bindings/clock/qcom,rpmh.h> 12 #include <dt-bindings/clock/qcom,dispcc-sm8150.h> 13 #include <dt-bindings/clock/qcom,gcc-sm8150.h> 14 #include <dt-bindings/clock/qcom,gpucc-sm8150.h> [all …]
|
H A D | sm8450.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-sm8450.h> 8 #include <dt-bindings/clock/qcom,rpmh.h> 9 #include <dt-bindings/clock/qcom,sm8450-camcc.h> 10 #include <dt-bindings/clock/qcom,sm8450-dispcc.h> 11 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/mailbox/qcom-ipcc.h> [all …]
|
H A D | sc8280xp.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,dispcc-sc8280xp.h> 8 #include <dt-bindings/clock/qcom,gcc-sc8280xp.h> 9 #include <dt-bindings/clock/qcom,gpucc-sc8280xp.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 12 #include <dt-bindings/interconnect/qcom,osm-l3.h> 13 #include <dt-bindings/interconnect/qcom,sc8280xp.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/mailbox/qcom-ipcc.h> [all …]
|
H A D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 8 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 9 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 10 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 11 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
H A D | sm8250.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,dispcc-sm8250.h> 8 #include <dt-bindings/clock/qcom,gcc-sm8250.h> 9 #include <dt-bindings/clock/qcom,gpucc-sm8250.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/clock/qcom,sm8250-lpass-aoncc.h> 12 #include <dt-bindings/clock/qcom,sm8250-lpass-audiocc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/gpio/gpio.h> [all …]
|
H A D | sdm845.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/qcom,camcc-sdm845.h> 9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h> 10 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h> 12 #include <dt-bindings/clock/qcom,lpass-sdm845.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sdm845.h> 15 #include <dt-bindings/dma/qcom-gpi.h> 16 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
/openbmc/qemu/crypto/ |
H A D | der.h | 34 * @value: the starting address of |value| part of 'Tag-Length-Value' pattern. 45 * @cb: callback invoked when decode succeed, if cb equals NULL, no 47 * @opaque: parameter passed to cb 49 * Decode integer from DER-encoded data. 52 * will be set to the rest length of data, if cb is not NULL, must 54 * part of the decoded INTEGER will be returned. Otherwise, -1 is 59 QCryptoDERDecodeCb cb, 65 * Decode sequence from DER-encoded data, similar with der_decode_int. 69 * @cb: callback invoked when decode succeed, if cb equals NULL, no 71 * @opaque: parameter passed to cb [all …]
|
H A D | der.c | 79 * @dst: destination to save the encoded 'length', if dst is NULL, only compute 107 for (; length_bytes > 0; length_bytes--) { in qcrypto_der_encode_length() 108 *dst++ = ((src_len >> (length_bytes - 1) * 8) & 0xFF); in qcrypto_der_encode_length() 122 *dlen -= nbytes; in qcrypto_der_cut_nbytes() 134 static int qcrypto_der_invoke_callback(QCryptoDERDecodeCb cb, void *ctx, in qcrypto_der_invoke_callback() argument 138 if (!cb) { in qcrypto_der_invoke_callback() 142 return cb(ctx, value, vlen, errp); in qcrypto_der_invoke_callback() 146 QCryptoDERDecodeCb cb, void *ctx, in qcrypto_der_extract_definite_data() argument 153 /* short format of definite-length */ in qcrypto_der_extract_definite_data() 157 return -1; in qcrypto_der_extract_definite_data() [all …]
|
/openbmc/linux/include/net/ |
H A D | gso.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 /* Keeps track of mac header offset relative to skb->head. 10 * For non-tunnel skb it points to skb_mac_header() and for 24 #define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET)) 28 return (skb_mac_header(inner_skb) - inner_skb->head) - in skb_tnl_header_len() 29 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len() 43 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head() 50 if (skb->remcsum_offload) in gso_reset_checksum() 53 SKB_GSO_CB(skb)->csum = res; in gso_reset_checksum() 54 SKB_GSO_CB(skb)->csum_start = skb_checksum_start(skb) - skb->head; in gso_reset_checksum() [all …]
|
H A D | udp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 34 * struct udp_skb_cb - UDP(-Lite) private variables 37 * @cscov: checksum coverage length (UDP-Lite only) 50 #define UDP_SKB_CB(__skb) ((struct udp_skb_cb *)((__skb)->cb)) 53 * struct udp_hslot - UDP hash slot 66 * struct udp_table - UDP table 84 return &table->hash[udp_hashfn(net, num, table->mask)]; in udp_hashslot() 93 return &table->hash2[hash & table->mask]; in udp_hashslot2() 109 * Generic checksumming routines for UDP(-Lite) v4 and v6 113 return (UDP_SKB_CB(skb)->cscov == skb->len ? in __udp_lib_checksum_complete() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 29 #include <linux/dma-fence-array.h> 32 #include <linux/dma-buf.h> 68 * Each GPUVM is represented by a 1-2 or 1-5 level page table, depending 89 #define START(node) ((node)->start) 90 #define LAST(node) ((node)->last) 99 * struct amdgpu_prt_cb - Helper to disable partial resident texture feature from a fence callback 109 * @cb: callback 111 struct dma_fence_cb cb; member 115 * struct amdgpu_vm_tlb_seq_struct - Helper to increment the TLB flush sequence 124 * @cb: callback [all …]
|
/openbmc/linux/drivers/nfc/ |
H A D | nfcsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \ 19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \ 46 nfc_digital_cmd_complete_t cb; member 73 mutex_init(&link->lock); in nfcsim_link_new() 74 init_waitqueue_head(&link->recv_wait); in nfcsim_link_new() 81 dev_kfree_skb(link->skb); in nfcsim_link_free() 87 link->cond = 1; in nfcsim_link_recv_wake() 88 wake_up_interruptible(&link->recv_wait); in nfcsim_link_recv_wake() 94 mutex_lock(&link->lock); in nfcsim_link_set_skb() [all …]
|
/openbmc/linux/kernel/power/ |
H A D | energy_model.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2018-2021, Arm ltd. 28 return (dev->bus == &cpu_subsys); in _is_cpu_device() 39 snprintf(name, sizeof(name), "ps:%lu", ps->frequency); in em_debug_create_ps() 41 /* Create per-ps directory */ in em_debug_create_ps() 43 debugfs_create_ulong("frequency", 0444, d, &ps->frequency); in em_debug_create_ps() 44 debugfs_create_ulong("power", 0444, d, &ps->power); in em_debug_create_ps() 45 debugfs_create_ulong("cost", 0444, d, &ps->cost); in em_debug_create_ps() 46 debugfs_create_ulong("inefficient", 0444, d, &ps->flags); in em_debug_create_ps() 51 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_dpp.c | 33 /* Compute the maximum number of lines that we can fit in the line buffer */ 43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions() 44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions() 45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions() 46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions() 67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions() 68 scl_data->viewport.height == scl_data->v_active) { in dscl32_calc_lb_num_partitions() 69 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions() 75 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions() 81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions() [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | cpu.h | 2 * PA-RISC emulation cpu definitions for qemu. 23 #include "cpu-qom.h" 24 #include "exec/cpu-defs.h" 25 #include "qemu/cpu-float.h" 26 #include "qemu/interval-tree.h" 41 #define MMU_IDX_TO_PRIV(MIDX) (((MIDX) - MMU_KERNEL_IDX) / 2) 42 #define MMU_IDX_TO_P(MIDX) (((MIDX) - MMU_KERNEL_IDX) & 1) 75 #define EXCP_COND 13 /* trap-on-condition */ 78 #define EXCP_NA_ITLB_MISS 16 /* non-access itlb miss */ 79 #define EXCP_NA_DTLB_MISS 17 /* non-access dtlb miss */ [all …]
|
H A D | translate.c | 22 #include "qemu/host-utils.h" 23 #include "exec/exec-all.h" 24 #include "exec/page-protection.h" 25 #include "tcg/tcg-op.h" 26 #include "tcg/tcg-op-gvec.h" 27 #include "exec/helper-proto.h" 28 #include "exec/helper-gen.h" 33 #include "exec/helper-info.c.inc" 98 #define UNALIGN(C) (C)->unalign 102 #define MMU_DISABLED(C) MMU_IDX_MMU_DISABLED((C)->mmu_idx) [all …]
|
/openbmc/qemu/backends/ |
H A D | cryptodev-lkcf.c | 28 #include "qemu/main-loop.h" 30 #include "qemu/error-report.h" 34 #include "standard-headers/linux/virtio_crypto.h" 43 #define TYPE_CRYPTODEV_BACKEND_LKCF "cryptodev-backend-lkcf" 47 #define INVALID_KEY_ID -1 53 * Here the key is uploaded to the thread-keyring of worker thread, at least 54 * util linux-6.0: 55 * 1. process keyring seems to behave unexpectedly if main-thread does not 59 * 3. it can reduce the load of the main-loop because the key passed by the 76 CryptoDevCompletionFunc cb; member [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2016-2022 HabanaLabs, Ltd. 19 #include <linux/dma-direction.h> 28 #include <linux/io-64-nonatomic-lo-hi.h> 30 #include <linux/dma-buf.h> 42 * bits[63:59] - Encode mmap type 43 * bits[45:0] - mmap offset value 48 #define HL_MMAP_TYPE_SHIFT (59 - PAGE_SHIFT) 107 * enum hl_mmu_page_table_location - mmu page table location 108 * @MMU_DR_PGT: page-table is located on device DRAM. [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | dbus_timeline_vis.js | 2 // Data and Timestamps are separate b/c dbus-pcap does not include 12 // group-by condition changes 48 // It is independent of the "group_by" of the meta-data (sender/destination/ 67 if (path.indexOf("/xyz/openbmc_project/sensors/") != -1 && 101 let grouped = {}; // [content key][sort key] -> packet 148 let cb = document.getElementById(tags[i]); 149 if (cb.checked) { 150 v.GroupBy.push(cb.value); 154 v.GroupByStr += cb.value; 164 // Todo: put g_StartingSec somewhere that's common between sensors and non-sensors [all …]
|