/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | srq_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright (c) 2013-2018, Mellanox Technologies inc. All rights reserved. 12 static int get_pas_size(struct mlx5_srq_attr *in) in get_pas_size() argument 14 u32 log_page_size = in->log_page_size + 12; in get_pas_size() 15 u32 log_srq_size = in->log_size; in get_pas_size() 16 u32 log_rq_stride = in->wqe_shift; in get_pas_size() 17 u32 page_offset = in->page_offset; in get_pas_size() 18 u32 po_quanta = 1 << (log_page_size - 6); in get_pas_size() 27 static void set_wq(void *wq, struct mlx5_srq_attr *in) in set_wq() argument 29 MLX5_SET(wq, wq, wq_signature, !!(in->flags in set_wq() [all …]
|
H A D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 3 * Copyright (c) 2017-2020, Mellanox Technologies inc. All rights reserved. 11 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5r_cmd_query_special_mkeys() local 15 is_terminate = MLX5_CAP_GEN(dev->mdev, terminate_scatter_list_mkey); in mlx5r_cmd_query_special_mkeys() 16 is_dump = MLX5_CAP_GEN(dev->mdev, dump_fill_mkey); in mlx5r_cmd_query_special_mkeys() 17 is_null = MLX5_CAP_GEN(dev->mdev, null_mkey); in mlx5r_cmd_query_special_mkeys() 19 dev->mkeys.terminate_scatter_list_mkey = MLX5_TERMINATE_SCATTER_LIST_LKEY; in mlx5r_cmd_query_special_mkeys() 23 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5r_cmd_query_special_mkeys() 25 err = mlx5_cmd_exec_inout(dev->mdev, query_special_contexts, in, out); in mlx5r_cmd_query_special_mkeys() 30 dev->mkeys.dump_fill_mkey = MLX5_GET(query_special_contexts_out, in mlx5r_cmd_query_special_mkeys() [all …]
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx23418.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #include <media/drv-intf/cx2341x.h> 19 IN[0] - Task ID. This is one of the XPU_CMD_MASK_YYY where XPU is 21 OUT[0] - Task handle. This handle is passed along with commands to 23 ReturnCode - One of the ERR_SYS_... */ 27 IN[0] - Task handle. Hanlde of the task to destroy 28 ReturnCode - One of the ERR_SYS_... */ 49 IN[0] - audio parameters (same as CX18_CPU_SET_AUDIO_PARAMETERS?) 50 IN[1] - caller buffer address, or 0 51 ReturnCode - ??? */ [all …]
|
/openbmc/openbmc/poky/meta/recipes-gnome/gtk-doc/files/ |
H A D | 0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch | 4 Subject: [PATCH] Do not hardocode paths to perl/python in scripts. 6 Doing so when the interpreters are somewhere deep in a sysroot directory 10 Upstream-Status: Inappropriate [oe-core specific] 11 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 12 --- 13 gtkdoc-check.in | 2 +- 14 gtkdoc-depscan.in | 2 +- 15 gtkdoc-fixxref.in | 2 +- 16 gtkdoc-mkdb.in | 2 +- 17 gtkdoc-mkhtml.in | 2 +- [all …]
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_cmds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 16 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 18 pkt->arch_type = arch_type; in pkt_sys_init() 23 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 29 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 31 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_idle_indicator() 32 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-toddr.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 15 #include <sound/soc-dai.h> 17 #include "axg-fifo.h" 43 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare() 45 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare() 47 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare() 65 type = 2; /* 4 samples of 16 bits - right justified */ in axg_toddr_dai_hw_params() 68 type = 4; /* 2 samples of 32 bits - right justified */ in axg_toddr_dai_hw_params() 71 return -EINVAL; in axg_toddr_dai_hw_params() 76 regmap_update_bits(fifo->map, FIFO_CTRL0, in axg_toddr_dai_hw_params() [all …]
|
H A D | axg-tdmin.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <sound/soc-dai.h> 12 #include "axg-tdm-formatter.h" 46 "IN 0", "IN 1", "IN 2", "IN 3", "IN 4", "IN 5", "IN 6", "IN 7", 47 "IN 8", "IN 9", "IN 10", "IN 11", "IN 12", "IN 13", "IN 14", "IN 15", 64 if (!p->connect) in axg_tdmin_get_be() 67 if (p->source->id == snd_soc_dapm_dai_out) in axg_tdmin_get_be() 68 return (struct snd_soc_dai *)p->source->priv; in axg_tdmin_get_be() 70 be = axg_tdmin_get_be(p->source); in axg_tdmin_get_be() 95 /* Clear out reset before in reset */ in axg_tdmin_enable() [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 110 uint8_t seconds; //!< Seconds in BCD format 111 uint8_t minutes; //!< Minutes in BCD format 112 uint8_t hours; //!< Hours in BCD format 113 uint8_t day; //!< Day of the month in BCD format 114 uint8_t month; //!< Month in BCD format 115 uint16_t year; //!< Year in BCD format 124 uint8_t seconds; //!< Seconds in BCD format 125 uint8_t minutes; //!< Minutes in BCD format 126 uint8_t hours; //!< Hours in BCD format [all …]
|
H A D | bios_table.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 22 * @param[in] table - Pointer to table data 23 * @param[in] length - Length of table data 24 * @param[in] type - Type of pldm bios table 32 * @param[in] iter - Pointer to bios table iterator 37 * @param[in] iter - Pointer to the bios table iterator 45 * @param[in] iter - Pointer the bios table iterator 50 * @param[in] iter - Pointer to the bios table iterator 51 * @return Pointer to an entry in bios table 56 * @param[in] iter - Pointer the bios attribute table iterator [all …]
|
H A D | pdr.h | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 40 * @param[in/out] repo - pointer to opaque pointer acting as a PDR repo handle 44 /** @brief Get number of records in a PDR repository 48 * @param[in] repo - opaque pointer acting as a PDR repo handle 50 * @return uint32_t - number of records 54 /** @brief Get size of a PDR repository, in bytes 58 * @param[in] repo - opaque pointer acting as a PDR repo handle 60 * @return uint32_t - size in bytes 66 * @param[in/out] repo - opaque pointer acting as a PDR repo handle 67 * @param[in] data - pointer to a PDR record, pointing to a PDR definition as [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-dsi-cm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 40 struct omap_dss_device *in; member 51 * issue the next sleep in/out command 53 unsigned long hw_guard_wait; /* max guard time in jiffies */ 92 ddata->hw_guard_wait = msecs_to_jiffies(guard_msec); in hw_guard_start() 93 ddata->hw_guard_end = jiffies + ddata->hw_guard_wait; in hw_guard_start() 98 unsigned long wait = ddata->hw_guard_end - jiffies; in hw_guard_wait() 100 if ((long)wait > 0 && time_before_eq(wait, ddata->hw_guard_wait)) { in hw_guard_wait() 108 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() local 112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1() [all …]
|
H A D | connector-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 struct omap_dss_device *in; member 53 struct omap_dss_device *in = ddata->in; in hdmic_connect() local 55 dev_dbg(ddata->dev, "connect\n"); in hdmic_connect() 60 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect() 66 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local 68 dev_dbg(ddata->dev, "disconnect\n"); in hdmic_disconnect() 73 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect() 79 struct omap_dss_device *in = ddata->in; in hdmic_enable() local 82 dev_dbg(ddata->dev, "enable\n"); in hdmic_enable() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies, Ltd. All rights reserved. 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE [all …]
|
H A D | fs_cmd.c | 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 56 int max_fte = ft_attr->max_fte; in mlx5_cmd_stub_create_flow_table() [all …]
|
H A D | transobj.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies, Ltd. All rights reserved. 7 * COPYING in the main directory of this source tree, or the 10 * Redistribution and use in source and binary forms, with or 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 20 * disclaimer in the documentation and/or other materials 26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE [all …]
|
/openbmc/linux/drivers/vdpa/mlx5/core/ |
H A D | resources.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 10 struct mlx5_core_dev *mdev = dev->mdev; in alloc_pd() 13 u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {}; in alloc_pd() local 16 MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in alloc_pd() 17 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd() 19 err = mlx5_cmd_exec_inout(mdev, alloc_pd, in, out); in alloc_pd() 28 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in dealloc_pd() local 29 struct mlx5_core_dev *mdev = dev->mdev; in dealloc_pd() 31 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in dealloc_pd() 32 MLX5_SET(dealloc_pd_in, in, pd, pdn); in dealloc_pd() [all …]
|
/openbmc/qemu/docs/about/ |
H A D | removed-features.rst | 10 -------------------------------------- 12 ``-hdachs`` (removed in 2.12) 15 The geometry defined by ``-hdachs c,h,s,t`` should now be specified via 16 ``-device ide-hd,drive=dr,cyls=c,heads=h,secs=s,bios-chs-trans=t`` 17 (together with ``-drive if=none,id=dr,...``). 19 ``-net channel`` (removed in 2.12) 22 This option has been replaced by ``-net user,guestfwd=...``. 24 ``-net dump`` (removed in 2.12) 27 ``-net dump[,vlan=n][,file=filename][,len=maxlen]`` has been replaced by 28 ``-object filter-dump,id=id,netdev=dev[,file=filename][,maxlen=maxlen]``. [all …]
|
/openbmc/qemu/ui/ |
H A D | dbus-display1.xml | 1 <?xml version="1.0" encoding="utf-8"?> 3 <!-- 7 --> 9 <!-- 13 --> 16 <!-- 20 --> 23 <!-- 27 --> 30 <!-- [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/power10/ |
H A D | pipeline.json | 5 …"BriefDescription": "Cycles in which the oldest instruction in the pipeline suffered a TLB miss or… 10 …"BriefDescription": "Cycles in which the next-to-complete (NTC) instruction is held at dispatch fo… 15 "BriefDescription": "LSU Finished an internal operation in LD0 port." 25 "BriefDescription": "LSU Finished an internal operation in ST0 port." 30 "BriefDescription": "LSU Finished an internal operation in ST4 port." 35 "BriefDescription": "Cycles in which an instruction reload is pending to satisfy a demand miss." 40 "BriefDescription": "The instruction was flushed after becoming next-to-complete (NTC)." 55 …"BriefDescription": "Cycles in which the oldest instruction in the pipeline was waiting for a load… 60 …riefDescription": "Cycles in which the oldest instruction in the pipeline finished at dispatch and… 75 …"BriefDescription": "Cycles in which the next-to-complete (NTC) instruction is held at dispatch be… [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | sp_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * This program is distributed in the hope it will be useful, but WITHOUT 27 \param ID[in] SP identifier 28 \param cnd[in] predicate 38 \param ID[in] SP identifier 51 \param ID[in] SP identifier 52 \param reg[in] register index 53 \param value[in] The data to be written 64 \param ID[in] SP identifier 65 \param reg[in] register index [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 13 u32 in[MLX5_ST_SZ_DW(query_esw_vport_context_in)] = {}; in mlx5dr_cmd_query_esw_vport_context() local 16 MLX5_SET(query_esw_vport_context_in, in, opcode, in mlx5dr_cmd_query_esw_vport_context() 18 MLX5_SET(query_esw_vport_context_in, in, other_vport, other_vport); in mlx5dr_cmd_query_esw_vport_context() 19 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport_number); in mlx5dr_cmd_query_esw_vport_context() 21 err = mlx5_cmd_exec_inout(mdev, query_esw_vport_context, in, out); in mlx5dr_cmd_query_esw_vport_context() 38 u32 in[MLX5_ST_SZ_DW(query_hca_cap_in)] = {}; in mlx5dr_cmd_query_gvmi() local 46 return -ENOMEM; in mlx5dr_cmd_query_gvmi() 48 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5dr_cmd_query_gvmi() 49 MLX5_SET(query_hca_cap_in, in, other_function, other_vport); in mlx5dr_cmd_query_gvmi() [all …]
|
/openbmc/phosphor-objmgr/src/ |
H A D | associations.hpp | 13 * @param[in] io - io context 14 * @param[in] sourcePath - Path of the object that contains the 16 * @param[in] owner - The Dbus service having its associations 18 * @param[in,out] server - sdbus system object 19 * @param[in,out] assocMaps - The association maps 33 * @param[in] io - io context 34 * @param[in] objectServer - sdbus system object 35 * @param[in] assocPath - Path of the object that contains the 37 * @param[in] endpointsToRemove - Endpoints to remove 38 * @param[in,out] assocMaps - The association maps [all …]
|
/openbmc/linux/include/linux/ |
H A D | psp-sev.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016-2017 Advanced Micro Devices, Inc. 15 #include <uapi/linux/psp-sev.h> 85 * struct sev_data_init - INIT command parameters 88 * @tmr_address: system physical address used for SEV-ES 92 u32 flags; /* In */ 93 u32 reserved; /* In */ 94 u64 tmr_address; /* In */ 95 u32 tmr_len; /* In */ 99 * struct sev_data_init_ex - INIT_EX command parameters [all …]
|
/openbmc/linux/crypto/ |
H A D | rmd160.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-160 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 49 static void rmd160_transform(u32 *state, const __le32 *in) in rmd160_transform() argument 68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform() 69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform() 70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform() 71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform() 72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios.hpp | 33 * @param[in] fd - socket descriptor to communicate to host 34 * @param[in] eid - MCTP EID of host firmware 35 * @param[in] instanceIdDb - pointer to an InstanceIdDb object 36 * @param[in] handler - PLDM request handler 37 * @param[in] platformConfigHandler - pointer to platform config object 38 * @param[in] requestPLDMServiceName - Callback for registering the PLDM 48 * @param[in] request - Request message payload 49 * @return Response - PLDM Response message 55 * @param[in] request - Request message 56 * @param[in] payload_length - Request message payload length [all …]
|