Home
last modified time | relevance | path

Searched +full:out +full:- (Results 1 – 25 of 1128) sorted by relevance

12345678910>>...46

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_debugfs.c1 // SPDX-License-Identifier: GPL-2.0+
79 struct vcap_output_print *out) in sparx5_vcap_is0_port_keys() argument
84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys()
85 netdev_name(port->ndev)); in sparx5_vcap_is0_port_keys()
86 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is0_port_keys()
87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys()
91 ANA_CL_ADV_CL_CFG(port->portno, lookup)); in sparx5_vcap_is0_port_keys()
92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys()
94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys()
96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_debugfs.c1 // SPDX-License-Identifier: GPL-2.0+
10 struct vcap_output_print *out) in lan966x_vcap_is1_port_keys() argument
12 struct lan966x *lan966x = port->lan966x; in lan966x_vcap_is1_port_keys()
15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys()
16 netdev_name(port->dev)); in lan966x_vcap_is1_port_keys()
18 val = lan_rd(lan966x, ANA_VCAP_CFG(port->chip_port)); in lan966x_vcap_is1_port_keys()
19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys()
21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys()
23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys()
25 for (int l = 0; l < admin->lookups; ++l) { in lan966x_vcap_is1_port_keys()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_translation_helper.c1 /* SPDX-License-Identifier: MIT */
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
34 …id dml2_init_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_params_st *out) in dml2_init_ip_params() argument
36 switch (dml2->v20.dml_core_ctx.project) { in dml2_init_ip_params()
41 out->vblank_nom_default_us = 600; in dml2_init_ip_params()
42 out->rob_buffer_size_kbytes = 128; in dml2_init_ip_params()
43 out->config_return_buffer_size_in_kbytes = 1280; in dml2_init_ip_params()
44 out->config_return_buffer_segment_size_in_kbytes = 64; in dml2_init_ip_params()
45 out->compressed_buffer_segment_size_in_kbytes = 64; in dml2_init_ip_params()
46 out->meta_fifo_size_in_kentries = 22; in dml2_init_ip_params()
[all …]
/linux/drivers/usb/host/
H A Duhci-debug.c1 // SPDX-License-Identifier: GPL-2.0
3 * UHCI-specific debugging code. Invaluable when something
10 * (C) Copyright 1999-2001 Johannes Erdfelt
18 #include "uhci-hcd.h"
46 char *out = buf; in uhci_show_td() local
51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td()
52 hc32_to_cpu(uhci, td->link)); in uhci_show_td()
53 out += sprintf(out, "e%d %s%s%s%s%s%s%s%s%s%sLength=%x ", in uhci_show_td()
66 if (out - buf > len) in uhci_show_td()
75 spid = "OUT"; in uhci_show_td()
[all …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_debugfs.c1 // SPDX-License-Identifier: GPL-2.0+
23 struct vcap_output_print *out, in vcap_debugfs_show_rule_keyfield() argument
32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield()
37 out->prf(out->dst, "%d/%d", data->u1.value, data->u1.mask); in vcap_debugfs_show_rule_keyfield()
40 value = (u8 *)(&data->u32.value); in vcap_debugfs_show_rule_keyfield()
41 mask = (u8 *)(&data->u32.mask); in vcap_debugfs_show_rule_keyfield()
44 out->prf(out->dst, "%pI4h/%pI4h", &data->u32.value, in vcap_debugfs_show_rule_keyfield()
45 &data->u32.mask); in vcap_debugfs_show_rule_keyfield()
51 u32 fmsk = (1 << keyfield[key].width) - 1; in vcap_debugfs_show_rule_keyfield()
55 out->prf(out->dst, "%u/%u", data->u32.value & fmsk, in vcap_debugfs_show_rule_keyfield()
[all …]
/linux/sound/soc/meson/
H A Daxg-frddr.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
17 #include <sound/soc-dai.h>
19 #include "axg-fifo.h"
41 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
43 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
45 regmap_update_bits(fifo->map, FIFO_CTRL1, in g12a_frddr_dai_prepare()
61 depth = min(period, fifo->depth); in axg_frddr_dai_hw_params()
62 val = (depth / AXG_FIFO_BURST) - 1; in axg_frddr_dai_hw_params()
63 regmap_update_bits(fifo->map, FIFO_CTRL1, CTRL1_FRDDR_DEPTH, in axg_frddr_dai_hw_params()
76 ret = clk_prepare_enable(fifo->pclk); in axg_frddr_dai_startup()
[all …]
/linux/tools/perf/util/
H A Ddata-convert-json.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "data-convert.h"
31 #include <event-parse.h>
36 FILE *out; member
41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped.
42 static void output_json_string(FILE *out, const char *s) in output_json_string() argument
44 fputc('"', out); in output_json_string()
49 case '"': fputs("\\\"", out); break; in output_json_string()
50 case '\\': fputs("\\\\", out); break; in output_json_string()
51 case '\b': fputs("\\b", out); break; in output_json_string()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_type_based.c1 // SPDX-License-Identifier: GPL-2.0
14 char out[256]; member
112 struct core_reloc_type_based_output *out = (void *)&data.out; in test_core_type_based() local
114 out->struct_exists = bpf_core_type_exists(struct a_struct); in test_core_type_based()
115 out->complex_struct_exists = bpf_core_type_exists(struct a_complex_struct); in test_core_type_based()
116 out->union_exists = bpf_core_type_exists(union a_union); in test_core_type_based()
117 out->enum_exists = bpf_core_type_exists(enum an_enum); in test_core_type_based()
118 out->typedef_named_struct_exists = bpf_core_type_exists(named_struct_typedef); in test_core_type_based()
119 out->typedef_anon_struct_exists = bpf_core_type_exists(anon_struct_typedef); in test_core_type_based()
120 out->typedef_struct_ptr_exists = bpf_core_type_exists(struct_ptr_typedef); in test_core_type_based()
[all …]
H A Dtest_core_reloc_module.c1 // SPDX-License-Identifier: GPL-2.0
20 char out[256]; member
33 /* we have test_progs[-flavor], so cut flavor part */
44 struct core_reloc_module_output *out = (void *)&data.out; in BPF_PROG() local
55 out->len = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
56 out->off = BPF_CORE_READ(read_ctx, off); in BPF_PROG()
58 out->read_ctx_sz = bpf_core_type_size(struct bpf_testmod_test_read_ctx); in BPF_PROG()
59 out->read_ctx_exists = bpf_core_type_exists(struct bpf_testmod_test_read_ctx); in BPF_PROG()
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_vpu_if.c1 // SPDX-License-Identifier: GPL-2.0
15 vpu->inst_addr = msg->vpu_inst_addr; in handle_enc_init_msg()
16 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, in handle_enc_init_msg()
17 msg->vpu_inst_addr); in handle_enc_init_msg()
20 if (mtk_vcodec_fw_get_type(vpu->ctx->dev->fw_handler) == VPU) in handle_enc_init_msg()
24 mtk_venc_debug(vpu->ctx, "firmware version: 0x%x\n", msg->venc_abi_version); in handle_enc_init_msg()
25 switch (msg->venc_abi_version) { in handle_enc_init_msg()
29 mtk_venc_err(vpu->ctx, "unhandled firmware version 0x%x\n", in handle_enc_init_msg()
30 msg->venc_abi_version); in handle_enc_init_msg()
31 vpu->failure = 1; in handle_enc_init_msg()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtailcalls.c1 // SPDX-License-Identifier: GPL-2.0
13 * in a single program for a single tail call slot with nop->jmp, jmp->nop
14 * and jmp->jmp rewrites. Also checks for nop->nop.
37 goto out; in test_tailcall_1()
41 goto out; in test_tailcall_1()
45 goto out; in test_tailcall_1()
49 goto out; in test_tailcall_1()
56 goto out; in test_tailcall_1()
60 goto out; in test_tailcall_1()
64 goto out; in test_tailcall_1()
[all …]
H A Dxdp_synproxy.c1 // SPDX-License-Identifier: LGPL-2.1 OR BSD-2-Clause
16 goto out; \
20 /* out must be at least `size * 4 + 1` bytes long */
21 static void escape_str(char *out, const char *in, size_t size) in escape_str() argument
28 *out++ = in[i]; in escape_str()
30 *out++ = '\\'; in escape_str()
31 *out++ = 'x'; in escape_str()
32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str()
33 *out++ = hex[in[i] & 0xf]; in escape_str()
36 *out++ = '\0'; in escape_str()
[all …]
H A Dxdp_flowtable.c1 // SPDX-License-Identifier: GPL-2.0
40 return -EINVAL; in send_udp_traffic()
54 return -EINVAL; in send_udp_traffic()
72 if (SYS_NOFAIL("nft -v")) { in test_xdp_flowtable()
78 SYS(out, "ip netns add " TX_NETNS_NAME); in test_xdp_flowtable()
79 SYS(out, "ip netns add " RX_NETNS_NAME); in test_xdp_flowtable()
83 goto out; in test_xdp_flowtable()
85 SYS(out, "sysctl -qw net.ipv4.conf.all.forwarding=1"); in test_xdp_flowtable()
87 SYS(out, "ip link add " TX_NAME " type veth peer " FORWARD_NAME); in test_xdp_flowtable()
88 SYS(out, "ip link set " TX_NAME " netns " TX_NETNS_NAME); in test_xdp_flowtable()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dport.c2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
43 int err = -ENOMEM; in mlx5_access_reg()
44 u32 *out = NULL; in mlx5_access_reg() local
49 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_access_reg()
50 if (!in || !out) in mlx5_access_reg()
51 goto out; in mlx5_access_reg()
61 err = mlx5_cmd_do(dev, in, inlen, out, outlen); in mlx5_access_reg()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstih407-pinctrl.dtsi1 // 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/fs/udf/
H A Dudfend.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 struct kernel_lb_addr out; in lelb_to_cpu() local
12 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu()
13 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in lelb_to_cpu()
15 return out; in lelb_to_cpu()
20 struct lb_addr out; in cpu_to_lelb() local
22 out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in cpu_to_lelb()
23 out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in cpu_to_lelb()
25 return out; in cpu_to_lelb()
30 struct short_ad out; in lesa_to_cpu() local
[all …]
/linux/drivers/md/bcache/
H A Dfeatures.c1 // SPDX-License-Identifier: GPL-2.0
30 for (f = &feature_list[0]; f->compat != 0; f++) { \
31 if (f->compat != BCH_FEATURE_ ## type) \
33 if (BCH_HAS_ ## type ## _FEATURE(&c->cache->sb, f->mask)) { \
35 out += snprintf(out, buf + size - out, \
38 out += snprintf(out, buf + size - out, \
42 out += snprintf(out, buf + size - out, " "); \
45 out += snprintf(out, buf + size - out, "%s", f->string);\
47 if (BCH_HAS_ ## type ## _FEATURE(&c->cache->sb, f->mask)) \
48 out += snprintf(out, buf + size - out, "]"); \
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dacx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2008-2009 Nokia Corporation
33 ret = -ENOMEM; in wl1271_acx_wake_up_conditions()
34 goto out; in wl1271_acx_wake_up_conditions()
37 wake_up->role_id = wlvif->role_id; in wl1271_acx_wake_up_conditions()
38 wake_up->wake_up_event = wake_up_event; in wl1271_acx_wake_up_conditions()
39 wake_up->listen_interval = listen_interval; in wl1271_acx_wake_up_conditions()
45 goto out; in wl1271_acx_wake_up_conditions()
48 out: in wl1271_acx_wake_up_conditions()
62 ret = -ENOMEM; in wl1271_acx_sleep_auth()
[all …]
/linux/fs/btrfs/tests/
H A Draid-stripe-tree-tests.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "../disk-io.h"
11 #include "../raid-stripe-tree.h"
12 #include "btrfs-tests.h"
26 list_for_each_entry(dev, &fs_devices->devices, dev_list) { in btrfs_device_by_devid()
27 if (dev->devid == devid) in btrfs_device_by_devid()
40 struct btrfs_fs_info *fs_info = trans->fs_info; in test_punch_hole_3extents()
57 ret = -ENOMEM; in test_punch_hole_3extents()
58 goto out; in test_punch_hole_3extents()
61 io_stripe.dev = btrfs_device_by_devid(fs_info->fs_devices, 0); in test_punch_hole_3extents()
[all …]
H A Dinode-tests.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "btrfs-tests.h"
10 #include "../disk-io.h"
22 struct extent_buffer *leaf = root->node; in insert_extent()
58 struct extent_buffer *leaf = root->node; in insert_inode_item_key()
84 * [0 - 6][ 6 - 4096 ][ 4096 - 4100][4100 - 8195][8195 - 12291]
87 * [12291 - 16387][16387 - 24579][24579 - 28675][ 28675 - 32771][32771 - 36867 ]
90 * [36867 - 45059][45059 - 53251][53251 - 57347][57347 - 61443][61443- 69635]
93 * [69635-73731][ 73731 - 86019 ][86019-90115]
103 * Tree-checker has strict limits on inline extents that they can only in setup_file_extents()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
38 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_query_eth_autoneg() local
44 if (mlx5_query_port_ptys(dev, out, sizeof(out), MLX5_PTYS_EN, 1, 0)) in mlx5_port_query_eth_autoneg()
47 *an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5_port_query_eth_autoneg()
48 *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); in mlx5_port_query_eth_autoneg()
49 *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5_port_query_eth_autoneg()
55 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() local
64 return -EPERM; in mlx5_port_set_eth_ptys()
[all …]
/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2018-2019 SUSE LLC.
24 * |-- procexe -> /proc/self/exe
25 * |-- procroot -> /proc/self/root
26 * |-- root/
27 * |-- mnt/ [mountpoint]
28 * | |-- self -> ../mnt/
29 * | `-- absself -> /mnt/
30 * |-- etc/
31 * | `-- passwd
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
H A Doutput.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
20 int omapdss_device_init_output(struct omap_dss_device *out, in omapdss_device_init_output() argument
26 remote_node = of_graph_get_remote_node(out->dev->of_node, in omapdss_device_init_output()
27 out->of_port, 0); in omapdss_device_init_output()
29 dev_dbg(out->dev, "failed to find video sink\n"); in omapdss_device_init_output()
33 out->bridge = of_drm_find_bridge(remote_node); in omapdss_device_init_output()
34 out->panel = of_drm_find_panel(remote_node); in omapdss_device_init_output()
35 if (IS_ERR(out->panel)) in omapdss_device_init_output()
36 out->panel = NULL; in omapdss_device_init_output()
[all …]
/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c1 // SPDX-License-Identifier: LGPL-2.1+
8 * A Recursive Algorithm for Sequency-Ordered Fast Walsh Transforms,
15 #include "codec-fwht.h"
75 for (i = 63; i >= 0 && !block[zigzag[i]]; i--) in rlc()
81 to_encode = 8 * 8 - (lastzero_run > 14 ? lastzero_run : 0); in rlc()
93 cnt--; in rlc()
111 * This function will worst-case increase rlc_in by 65*2 bytes:
130 * Now de-compress, it expands one byte to up to 15 bytes in derlc()
150 for (i = 0; i < 64 - dec_count; i++) in derlc()
204 if (*coeff >= -qp && *coeff <= qp) in quantize_intra()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp1_execution.c19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); in validate_bksv()
39 n &= (n - 1); in validate_bksv()
48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? in check_ksv_ready()
51 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ? in check_ksv_ready()
58 return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ? in check_hdcp_capable_dp()
68 status = (hdcp->auth.msg.hdcp1.bstatus & in check_r0p_available_dp()
81 return (hdcp->auth.msg.hdcp1.bstatus & in check_link_integrity_dp()
90 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ? in check_no_reauthentication_request_dp()
100 status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8) in check_no_max_cascade()
[all …]

12345678910>>...46