| /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 …]
|
| /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 …]
|
| /linux/drivers/infiniband/hw/mlx5/ |
| 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 …]
|
| /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 | 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 …]
|
| H A D | port.c | 2 * Copyright (c) 2013-2015, Mellanox Technologies. 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 …]
|
| /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-analog-tv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 struct omap_dss_device *in; member 48 struct omap_dss_device *in = ddata->in; in tvc_connect() local 50 dev_dbg(ddata->dev, "connect\n"); in tvc_connect() 55 return in->ops.atv->connect(in, dssdev); in tvc_connect() 61 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local 63 dev_dbg(ddata->dev, "disconnect\n"); in tvc_disconnect() 68 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect() 74 struct omap_dss_device *in = ddata->in; in tvc_enable() local 77 dev_dbg(ddata->dev, "enable\n"); in tvc_enable() [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 …]
|
| H A D | encoder-tpd12s015.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 struct omap_dss_device *in; member 36 struct omap_dss_device *in = ddata->in; in tpd_connect() local 39 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect() 43 dst->src = dssdev; in tpd_connect() 44 dssdev->dst = dst; in tpd_connect() 46 if (ddata->ct_cp_hpd_gpio) { in tpd_connect() 47 gpiod_set_value_cansleep(ddata->ct_cp_hpd_gpio, 1); in tpd_connect() 48 /* DC-DC converter needs at max 300us to get to 90% of 5V */ in tpd_connect() 59 struct omap_dss_device *in = ddata->in; in tpd_disconnect() local [all …]
|
| H A D | panel-dpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 struct omap_dss_device *in; member 34 struct omap_dss_device *in = ddata->in; in panel_dpi_connect() local 39 return in->ops.dpi->connect(in, dssdev); in panel_dpi_connect() 45 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() local 50 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect() 56 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() local 60 return -ENODEV; in panel_dpi_enable() 65 if (ddata->data_lines) in panel_dpi_enable() 66 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable() [all …]
|
| H A D | encoder-opa362.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * based on encoder-tfp410 24 struct omap_dss_device *in; member 37 struct omap_dss_device *in = ddata->in; in opa362_connect() local 40 dev_dbg(dssdev->dev, "connect\n"); in opa362_connect() 43 return -EBUSY; in opa362_connect() 45 r = in->ops.atv->connect(in, dssdev); in opa362_connect() 49 dst->src = dssdev; in opa362_connect() 50 dssdev->dst = dst; in opa362_connect() 59 struct omap_dss_device *in = ddata->in; in opa362_disconnect() local [all …]
|
| /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 …]
|
| /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 …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_autosize.c | 1 // SPDX-License-Identifier: GPL-2.0 39 /* real layout and sizes according to test's (32-bit) BTF */ 41 unsigned int ptr; /* can't use `void *`, it is always 8 byte in BPF target */ 89 struct test_struct___samesize *in = (void *)&input; in handle_samesize() local 92 ptr_samesized = (unsigned long long)in->ptr; in handle_samesize() 93 val1_samesized = in->val1; in handle_samesize() 94 val2_samesized = in->val2; in handle_samesize() 95 val3_samesized = in->val3; in handle_samesize() 96 val4_samesized = in->val4; in handle_samesize() 98 out->ptr = in->ptr; in handle_samesize() [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stih407-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "st-pincfg.h" 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 /* 0-5: PIO_SBC */ 18 /* 10-19: PIO_FRONT0 */ 31 /* 30-35: PIO_REAR */ 38 /* 40-42: PIO_FLASH */ 45 pin-controller-sbc@961f080 { 46 #address-cells = <1>; 47 #size-cells = <1>; [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | idmappings.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 ------------ 16 in userspace is:: 20 ``u`` indicates the first element in the upper idmapset ``U`` and ``k`` 21 indicates the first element in the lower idmapset ``K``. The ``r`` parameter 24 we're talking about an id in the upper or lower idmapset. 26 To see what this looks like in practice, let's take the following idmapping:: 32 u22 -> k10000 33 u23 -> k10001 34 u24 -> k10002 [all …]
|
| /linux/include/uapi/drm/ |
| H A D | qaic_accel.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 55 * struct qaic_manage_trans_hdr - Header for a transaction in a manage message. 56 * @type: In. Identifies this transaction. See QAIC_TRANS_* defines. 57 * @len: In. Length of this transaction, including this header. 65 * struct qaic_manage_trans_passthrough - Defines a passthrough transaction. 66 * @hdr: In. Header to identify this transaction. 67 * @data: In. Payload of this transaction. Opaque to the driver. Userspace must 68 * encode in little endian and align/pad to 64-bit. [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 37 u32 in[MLX5_ST_SZ_DW(general_obj_in_cmd_hdr)] = {}; in hws_cmd_general_obj_destroy() local 40 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, MLX5_CMD_OP_DESTROY_GENERAL_OBJECT); in hws_cmd_general_obj_destroy() 41 MLX5_SET(general_obj_in_cmd_hdr, in, obj_type, object_type); in hws_cmd_general_obj_destroy() 42 MLX5_SET(general_obj_in_cmd_hdr, in, obj_id, object_id); in hws_cmd_general_obj_destroy() 44 return mlx5_cmd_exec(mdev, in, sizeof(in), out, sizeof(out)); in hws_cmd_general_obj_destroy() 52 u32 in[MLX5_ST_SZ_DW(create_flow_table_in)] = {0}; in mlx5hws_cmd_flow_table_create() local 56 MLX5_SET(create_flow_table_in, in, opcode, MLX5_CMD_OP_CREATE_FLOW_TABLE); in mlx5hws_cmd_flow_table_create() 57 MLX5_SET(create_flow_table_in, in, table_type, ft_attr->type); in mlx5hws_cmd_flow_table_create() 58 MLX5_SET(create_flow_table_in, in, uid, ft_attr->uid); in mlx5hws_cmd_flow_table_create() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | 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 46 u32 in[MLX5_FPGA_ACCESS_REG_SZ] = {0}; in mlx5_fpga_access_reg() local [all …]
|
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 RISC-V Hardware Probing Interface 4 --------------------------------- 6 The RISC-V hardware probing interface is based around a single syscall, which 7 is defined in <asm/hwprobe.h>:: 18 The arguments are split into three groups: an array of key-value pairs, a CPU 19 set, and some flags. The key-value pairs are supplied with a count. Userspace 20 must prepopulate the key field for each element, and the kernel will fill in the 22 will be cleared to -1, and its value set to 0. The CPU set is defined by 23 CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, [all …]
|
| /linux/fs/smb/common/ |
| H A D | cifs_md4.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * by Colin Plumb in 1993. 12 * Copyright (c) Andrew Tridgell 1997-1998. 33 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 55 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument 64 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 65 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 66 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 67 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 68 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port.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 u32 in[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() local [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_dp_mst_helper_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 const struct drm_dp_mst_calc_pbn_mode_test *params = test->param_value; in drm_test_dp_mst_calc_pbn_mode() 59 KUNIT_EXPECT_EQ(test, drm_dp_calc_pbn_mode(params->clock, params->bpp << 4), in drm_test_dp_mst_calc_pbn_mode() 60 params->expected); in drm_test_dp_mst_calc_pbn_mode() 65 sprintf(desc, "Clock %d BPP %d DSC %s", t->clock, t->bpp, t->dsc ? "enabled" : "disabled"); in dp_mst_calc_pbn_mode_desc() 201 const struct drm_dp_mst_calc_pbn_div_test *params = test->param_value; in drm_test_dp_mst_calc_pbn_div() 203 KUNIT_EXPECT_EQ(test, drm_dp_get_vc_payload_bw(params->link_rate, params->lane_count).full, in drm_test_dp_mst_calc_pbn_div() 204 params->expected.full); in drm_test_dp_mst_calc_pbn_div() 209 sprintf(desc, "Link rate %d lane count %d", t->link_rate, t->lane_count); in dp_mst_calc_pbn_div_desc() 219 const struct drm_dp_sideband_msg_req_body in; member [all …]
|