Home
last modified time | relevance | path

Searched +full:out +full:- (Results 1 – 25 of 1126) 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/fs/bcachefs/
H A Dprintbuf.c1 // SPDX-License-Identifier: LGPL-2.1+
15 return pos - buf->last_newline; in __printbuf_linelen()
20 return __printbuf_linelen(buf, buf->pos); in printbuf_linelen()
28 return buf->cur_tabstop < buf->nr_tabstops in cur_tabstop()
29 ? buf->_tabstops[buf->cur_tabstop] in cur_tabstop()
33 int bch2_printbuf_make_room(struct printbuf *out, unsigned extra) in bch2_printbuf_make_room() argument
38 if (out->pos + extra <= out->size) in bch2_printbuf_make_room()
41 if (!out->heap_allocated) { in bch2_printbuf_make_room()
42 out->overflow = true; in bch2_printbuf_make_room()
46 unsigned new_size = roundup_pow_of_two(out->size + extra); in bch2_printbuf_make_room()
[all …]
H A Dprintbuf.h1 /* SPDX-License-Identifier: LGPL-2.1+ */
25 * everything to the kernel log buffer, and then those pretty-printers can be
33 * will be done with GFP_NOWAIT if printbuf->atomic is nonzero.
40 * memory allocation failure we usually don't want to bail out and unwind - we
41 * want to print what we've got, on a best-effort basis. But code that does want
42 * to return -ENOMEM may check printbuf.allocation_failure.
46 * To aid is writing multi-line pretty printers spread across multiple
52 * To use tabstops, set printbuf->tabstops[]; they are in units of spaces, from
56 * next tabstop - right justifying it.
61 * Output units: printbuf->units exists to tell pretty-printers how to output
[all …]
H A Dsuper-io.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "sb-clean.h"
15 #include "sb-counters.h"
16 #include "sb-downgrade.h"
17 #include "sb-errors.h"
18 #include "sb-members.h"
19 #include "super-io.h"
24 #include <linux/backing-dev.h>
44 void bch2_version_to_text(struct printbuf *out, unsigned v) in bch2_version_to_text() argument
54 prt_printf(out, "%u.%u: %s", BCH_VERSION_MAJOR(v), BCH_VERSION_MINOR(v), str); in bch2_version_to_text()
[all …]
H A Dutil.c1 // SPDX-License-Identifier: GPL-2.0
46 return -EINVAL; in parse_u64()
50 return -ERANGE; in parse_u64()
52 if (v > U64_MAX - (*cp - '0')) in parse_u64()
53 return -ERANGE; in parse_u64()
54 v += *cp - '0'; in parse_u64()
59 return cp - start; in parse_u64()
66 while (p--) { in bch2_pow()
68 return -ERANGE; in bch2_pow()
110 return cp - start; in parse_unit_suffix()
[all …]
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
38 #include "super-io.h"
60 struct printbuf out = PRINTBUF; \
61 ssize_t ret = fn ## _to_text(&out, kobj, attr); \
63 if (out.pos && out.buf[out.pos - 1] != '\n') \
64 prt_newline(&out); \
66 if (!ret && out.allocation_failure) \
67 ret = -ENOMEM; \
70 ret = min_t(size_t, out.pos, PAGE_SIZE - 1); \
71 memcpy(buf, out.buf, ret); \
[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/fs/ocfs2/dlm/
H A Ddlmdebug.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 spin_lock(&res->spinlock); in dlm_print_one_lock_resource()
37 spin_unlock(&res->spinlock); in dlm_print_one_lock_resource()
43 assert_spin_locked(&res->spinlock); in dlm_print_lockres_refmap()
48 bit = find_next_bit(res->refmap, O2NM_MAX_NODES, bit); in dlm_print_lockres_refmap()
54 printk("], inflight=%u\n", res->inflight_locks); in dlm_print_lockres_refmap()
59 spin_lock(&lock->spinlock); in __dlm_print_lock()
64 lock->ml.type, lock->ml.convert_type, lock->ml.node, in __dlm_print_lock()
65 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
66 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_print_lock()
[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()
73 output_json_delimiters(FILE * out,bool comma,int depth) output_json_delimiters() argument
86 output_json_format(FILE * out,bool comma,int depth,const char * format,...) output_json_format() argument
97 output_json_key_string(FILE * out,bool comma,int depth,const char * key,const char * value) output_json_key_string() argument
108 output_json_key_format(FILE * out,bool comma,int depth,const char * key,const char * format,...) output_json_key_format() argument
125 FILE *out = c->out; output_sample_callchain_entry() local
156 FILE *out = c->out; process_sample_event() local
264 FILE *out = c->out; output_headers() local
[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 …]
/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/perf/tests/shell/
H A Dtest_task_analyzer.sh2 # perf script task-analyzer tests
3 # SPDX-License-Identifier: GPL-2.0
5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
10 if [ -e "$perfdir/scripts/python/Perf-Trace-Util" ]; then
18 rm -f perf.data
19 rm -f perf.data.old
20 rm -f csv
21 rm -f csvsummary
22 rm -rf "$tmpdir"
23 trap - exit term int
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_factory.c1 // SPDX-License-Identifier: MIT
25 bool dml2_pmo_create(enum dml2_project_id project_id, struct dml2_pmo_instance *out) in dml2_pmo_create() argument
29 if (out == 0) in dml2_pmo_create()
32 memset(out, 0, sizeof(struct dml2_pmo_instance)); in dml2_pmo_create()
36 out->initialize = pmo_dcn4_fams2_initialize; in dml2_pmo_create()
37 out->optimize_dcc_mcache = pmo_dcn4_fams2_optimize_dcc_mcache; in dml2_pmo_create()
41 out->initialize = pmo_dcn3_initialize; in dml2_pmo_create()
43 out->optimize_dcc_mcache = pmo_dcn3_optimize_dcc_mcache; in dml2_pmo_create()
45 out->init_for_vmin = pmo_dcn3_init_for_vmin; in dml2_pmo_create()
46 out->test_for_vmin = pmo_dcn3_test_for_vmin; in dml2_pmo_create()
[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/drivers/pinctrl/
H A Dpinctrl-k210.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/pinctrl/pinconf-generic.h>
21 #include <dt-bindings/pinctrl/k210-fpioa.h>
25 #include "pinctrl-utils.h"
50 #define K210_PC_DO_OE BIT(14) /* set Data Out to Output Enable sig */
81 * @pins: 48 32-bits IO pin registers
130 * no pins 48-55).
176 K210_PC_DEFAULT(OUT),
204 K210_FUNC(JTAG_TDO, OUT),
213 K210_FUNC(SPI0_SS0, OUT),
[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 …]
/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/gpu/drm/amd/display/dc/dml2/dml21/
H A Ddml21_utils.c1 // SPDX-License-Identifier: MIT
18 …if (ctx->v21.dml_to_dc_pipe_mapping.dml_pipe_idx_to_stream_id_valid[i] && ctx->v21.dml_to_dc_pipe_… in dml21_helper_find_dml_pipe_idx_by_stream_id()
22 return -1; in dml21_helper_find_dml_pipe_idx_by_stream_id()
29 …if (ctx->v21.dml_to_dc_pipe_mapping.dml_pipe_idx_to_plane_id_valid[i] && ctx->v21.dml_to_dc_pipe_m… in dml21_find_dml_pipe_idx_by_plane_id()
33 return -1; in dml21_find_dml_pipe_idx_by_plane_id()
43 for (i = 0; i < state->stream_count; i++) { in dml21_get_plane_id()
44 for (j = 0; j < state->stream_status[i].plane_count; j++) { in dml21_get_plane_id()
45 if (state->stream_status[i].plane_states[j] == plane) { in dml21_get_plane_id()
65 …if (dml_ctx->v21.mode_programming.programming->plane_programming[i].plane_descriptor->stream_index… in find_valid_pipe_idx_for_stream_index()
75 struct pipe_ctx *opp_head = dml_ctx->config.callbacks.get_opp_head(pipe); in find_pipe_regs_idx()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doutput.c1 // SPDX-License-Identifier: GPL-2.0-only
20 int omapdss_output_set_device(struct omap_dss_device *out, in omapdss_output_set_device() argument
27 if (out->dst) { in omapdss_output_set_device()
29 out->dst->name); in omapdss_output_set_device()
30 r = -EINVAL; in omapdss_output_set_device()
34 if (out->output_type != dssdev->type) { in omapdss_output_set_device()
36 r = -EINVAL; in omapdss_output_set_device()
40 out->dst = dssdev; in omapdss_output_set_device()
41 dssdev->src = out; in omapdss_output_set_device()
53 int omapdss_output_unset_device(struct omap_dss_device *out) in omapdss_output_unset_device() argument
[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 …]

12345678910>>...46