| /kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/NN/Include/ |
| D | riscv_nnfunctions.h | 2 * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. 5 * SPDX-License-Identifier: Apache-2.0 8 * not use this file except in compliance with the License. 11 * www.apache.org/licenses/LICENSE-2.0 13 * Unless required by applicable law or agreed to in writing, software 20 /* ---------------------------------------------------------------------- 28 * Target Processor: RISC-V Cores 29 * -------------------------------------------------------------------- */ 35 * ------------ 42 * - Neural Network Convolution Functions [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_dp_mst_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include "test-drm_modeset_common.h" 46 sideband_msg_req_equal(const struct drm_dp_sideband_msg_req_body *in, in sideband_msg_req_equal() argument 52 if (in->req_type != out->req_type) in sideband_msg_req_equal() 55 switch (in->req_type) { in sideband_msg_req_equal() 62 #define IN in->u.i2c_read in sideband_msg_req_equal() macro 63 #define OUT out->u.i2c_read in sideband_msg_req_equal() 64 if (IN.num_bytes_read != OUT.num_bytes_read || in sideband_msg_req_equal() 65 IN.num_transactions != OUT.num_transactions || in sideband_msg_req_equal() 66 IN.port_number != OUT.port_number || in sideband_msg_req_equal() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
| 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 …]
|
| 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 mlx5_cmd_dump_fill_mkey() local 14 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_dump_fill_mkey() 16 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_dump_fill_mkey() 26 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5_cmd_null_mkey() local 29 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_null_mkey() 31 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_null_mkey() 41 u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = {}; in mlx5_cmd_query_cong_params() local 43 MLX5_SET(query_cong_params_in, in, opcode, in mlx5_cmd_query_cong_params() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/cx18/ |
| D | cx23418.h | 11 * This program is distributed in the hope that it will be useful, 20 #include <media/drv-intf/cx2341x.h> 28 IN[0] - Task ID. This is one of the XPU_CMD_MASK_YYY where XPU is 30 OUT[0] - Task handle. This handle is passed along with commands to 32 ReturnCode - One of the ERR_SYS_... */ 36 IN[0] - Task handle. Hanlde of the task to destroy 37 ReturnCode - One of the ERR_SYS_... */ 58 IN[0] - audio parameters (same as CX18_CPU_SET_AUDIO_PARAMETERS?) 59 IN[1] - caller buffer address, or 0 60 ReturnCode - ??? */ [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
| 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 77 u32 *in, in mlx5_cmd_stub_create_flow_group() argument [all …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | axg-toddr.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 14 #include <sound/soc-dai.h> 16 #include "axg-fifo.h" 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() 49 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_toddr_dai_prepare() 67 type = 2; /* 4 samples of 16 bits - right justified */ in axg_toddr_dai_hw_params() 70 type = 4; /* 2 samples of 32 bits - right justified */ in axg_toddr_dai_hw_params() 73 return -EINVAL; in axg_toddr_dai_hw_params() 78 regmap_update_bits(fifo->map, FIFO_CTRL0, in axg_toddr_dai_hw_params() [all …]
|
| 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() 86 return be->capture_dma_data; in axg_tdmin_get_tdm_stream() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| 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 …]
|
| 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 73 u32 *in, in mlx5_cmd_stub_create_flow_group() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/ |
| 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 …]
|
| D | connector-analog-tv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <video/omap-panel-data.h> 19 struct omap_dss_device *in; member 49 struct omap_dss_device *in = ddata->in; in tvc_connect() local 52 dev_dbg(ddata->dev, "connect\n"); in tvc_connect() 57 r = in->ops.atv->connect(in, dssdev); in tvc_connect() 67 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local 69 dev_dbg(ddata->dev, "disconnect\n"); in tvc_disconnect() 74 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect() 80 struct omap_dss_device *in = ddata->in; in tvc_enable() local [all …]
|
| D | connector-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 struct omap_dss_device *in; member 52 struct omap_dss_device *in = ddata->in; in hdmic_connect() local 55 dev_dbg(ddata->dev, "connect\n"); in hdmic_connect() 60 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect() 70 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local 72 dev_dbg(ddata->dev, "disconnect\n"); in hdmic_disconnect() 77 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect() 83 struct omap_dss_device *in = ddata->in; in hdmic_enable() local 86 dev_dbg(ddata->dev, "enable\n"); in hdmic_enable() [all …]
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/omap2/omapfb/displays/ |
| D | panel-dsi-cm.c | 43 struct omap_dss_device *in; member 54 * issue the next sleep in/out command 56 unsigned long hw_guard_wait; /* max guard time in jiffies */ 95 ddata->hw_guard_wait = msecs_to_jiffies(guard_msec); in hw_guard_start() 96 ddata->hw_guard_end = jiffies + ddata->hw_guard_wait; in hw_guard_start() 101 unsigned long wait = ddata->hw_guard_end - jiffies; in hw_guard_wait() 103 if ((long)wait > 0 && time_before_eq(wait, ddata->hw_guard_wait)) { in hw_guard_wait() 111 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() local 115 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1() 127 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0() local [all …]
|
| D | connector-analog-tv.c | 18 #include <video/omap-panel-data.h> 22 struct omap_dss_device *in; member 52 struct omap_dss_device *in = ddata->in; in tvc_connect() local 55 dev_dbg(ddata->dev, "connect\n"); in tvc_connect() 60 r = in->ops.atv->connect(in, dssdev); in tvc_connect() 70 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local 72 dev_dbg(ddata->dev, "disconnect\n"); in tvc_disconnect() 77 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect() 83 struct omap_dss_device *in = ddata->in; in tvc_enable() local 86 dev_dbg(ddata->dev, "enable\n"); in tvc_enable() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/omapdrm/displays/ |
| D | connector-hdmi.c | 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 40 struct omap_dss_device *in; member 58 struct omap_dss_device *in; in hdmic_connect() local 61 dev_dbg(ddata->dev, "connect\n"); in hdmic_connect() 66 in = omapdss_of_find_source_for_first_ep(ddata->dev->of_node); in hdmic_connect() 67 if (IS_ERR(in)) { in hdmic_connect() 68 dev_err(ddata->dev, "failed to find video source\n"); in hdmic_connect() 69 return PTR_ERR(in); in hdmic_connect() 72 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect() 74 omap_dss_put_device(in); in hdmic_connect() [all …]
|
| D | panel-dsi-cm.c | 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 44 struct omap_dss_device *in; member 56 * issue the next sleep in/out command 58 unsigned long hw_guard_wait; /* max guard time in jiffies */ 107 if (ddata->bldev) in dsicm_bl_power() 108 backlight = ddata->bldev; in dsicm_bl_power() 109 else if (ddata->extbldev) in dsicm_bl_power() 110 backlight = ddata->extbldev; in dsicm_bl_power() 115 backlight->props.fb_blank = FB_BLANK_UNBLANK; in dsicm_bl_power() 116 backlight->props.state = ~(BL_CORE_FBBLANK | BL_CORE_SUSPENDED); in dsicm_bl_power() [all …]
|
| /kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
| D | resources.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 9 struct mlx5_core_dev *mdev = dev->mdev; in alloc_pd() 12 u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {}; in alloc_pd() local 15 MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in alloc_pd() 16 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd() 18 err = mlx5_cmd_exec_inout(mdev, alloc_pd, in, out); in alloc_pd() 27 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in dealloc_pd() local 28 struct mlx5_core_dev *mdev = dev->mdev; in dealloc_pd() 30 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in dealloc_pd() 31 MLX5_SET(dealloc_pd_in, in, pd, pdn); in dealloc_pd() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
| D | hfi_cmds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 15 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 17 pkt->arch_type = arch_type; in pkt_sys_init() 22 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 28 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 30 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator() 31 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/qcom/venus/ |
| D | hfi_cmds.c | 2 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 9 * This program is distributed in the hope that it will be useful, 24 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 25 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 26 pkt->arch_type = arch_type; in pkt_sys_init() 31 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 32 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 37 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 39 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator() 40 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
| 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 …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | rmd256.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-256 - 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> 45 static void rmd256_transform(u32 *state, const __le32 *in) in rmd256_transform() argument 62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform() 63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform() 64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform() 65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform() 66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform() [all …]
|