Home
last modified time | relevance | path

Searched +full:dout +full:- +full:default (Results 1 – 25 of 97) sorted by relevance

1234

/linux/net/ceph/
H A Dmessenger.c1 // SPDX-License-Identifier: GPL-2.0
44 * --------
46 * --------
49 * ----------
51 * ---------- TCP connection)
54 * | ----------------------
57 * |+--------------------------- \
59 * | ----------- \ \
61 * | ----------- await close \ \
66 * | / --------------- | |
[all …]
H A Dmessenger_v1.c1 // SPDX-License-Identifier: GPL-2.0
35 if (r == -EAGAIN) in ceph_tcp_recvmsg()
51 if (r == -EAGAIN) in ceph_tcp_recvpage()
72 if (r == -EAGAIN) in ceph_tcp_sendmsg()
104 if (ret == -EAGAIN) in ceph_tcp_sendpage()
112 BUG_ON(con->v1.out_skip); in con_out_kvec_reset()
114 con->v1.out_kvec_left = 0; in con_out_kvec_reset()
115 con->v1.out_kvec_bytes = 0; in con_out_kvec_reset()
116 con->v1.out_kvec_cur = &con->v1.out_kvec[0]; in con_out_kvec_reset()
122 int index = con->v1.out_kvec_left; in con_out_kvec_add()
[all …]
H A Dauth_x.c1 // SPDX-License-Identifier: GPL-2.0
24 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated()
29 missing = ac->want_keys & ~xi->have_keys; in ceph_x_is_authenticated()
31 dout("%s want 0x%x have 0x%x missing 0x%x -> %d\n", __func__, in ceph_x_is_authenticated()
32 ac->want_keys, xi->have_keys, missing, !missing); in ceph_x_is_authenticated()
38 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate()
42 dout("%s want 0x%x have 0x%x need 0x%x -> %d\n", __func__, in ceph_x_should_authenticate()
43 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate()
64 hdr->struct_v = 1; in ceph_x_encrypt()
65 hdr->magic = cpu_to_le64(CEPHX_ENC_MAGIC); in ceph_x_encrypt()
[all …]
H A Dmessenger_v2.c1 // SPDX-License-Identifier: GPL-2.0
89 if (ret == -EAGAIN) in do_recvmsg()
105 * 1 - done, nothing (else) to read
106 * 0 - socket is empty, need to wait
107 * <0 - error
113 dout("%s con %p %s %zu\n", __func__, con, in ceph_tcp_recv()
114 iov_iter_is_discard(&con->v2.in_iter) ? "discard" : "need", in ceph_tcp_recv()
115 iov_iter_count(&con->v2.in_iter)); in ceph_tcp_recv()
116 ret = do_recvmsg(con->sock, &con->v2.in_iter); in ceph_tcp_recv()
117 dout("%s con %p ret %d left %zu\n", __func__, con, ret, in ceph_tcp_recv()
[all …]
H A Dosd_client.c1 // SPDX-License-Identifier: GPL-2.0
71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked()
75 WARN_ON(!rwsem_is_wrlocked(&osdc->lock)); in verify_osdc_wrlocked()
79 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked()
81 WARN_ON(!(mutex_is_locked(&osd->lock) && in verify_osd_locked()
82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked()
83 !rwsem_is_wrlocked(&osdc->lock)); in verify_osd_locked()
87 WARN_ON(!mutex_is_locked(&lreq->lock)); in verify_lreq_locked()
115 dout(" skipping last %llu, final file extent %llu~%llu\n", in calc_layout()
116 orig_len - *plen, off, *plen); in calc_layout()
[all …]
H A Dmon_client.c1 // SPDX-License-Identifier: GPL-2.0
24 * of cmon daemons use a modified version of the Paxos part-time parliament
62 return -EINVAL; in decode_mon_info()
89 dout("%s struct_v %d\n", __func__, struct_v); in ceph_monmap_decode()
115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode()
122 ret = -ENOMEM; in ceph_monmap_decode()
125 monmap->fsid = fsid; in ceph_monmap_decode()
126 monmap->epoch = epoch; in ceph_monmap_decode()
127 monmap->num_mon = num_mon; in ceph_monmap_decode()
131 struct ceph_entity_inst *inst = &monmap->mon_inst[i]; in ceph_monmap_decode()
[all …]
H A Dceph_common.c1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <linux/backing-dev.h>
10 #include <keys/ceph-type.h>
97 default: return "unknown"; in ceph_msg_type_name()
107 if (client->have_fsid) { in ceph_check_fsid()
108 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid()
110 &client->fsid, fsid); in ceph_check_fsid()
111 return -1; in ceph_check_fsid()
114 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid()
125 return -1; in strcmp_null()
[all …]
H A Dosdmap.c1 // SPDX-License-Identifier: GPL-2.0
24 printk(KERN_INFO "%s (%pU e%u): %pV", KBUILD_MODNAME, &map->fsid, in osdmap_info()
25 map->epoch, &vaf); in osdmap_info()
60 * the foo_mask is the smallest value 2^n-1 that is >= foo.
64 pi->pg_num_mask = (1 << calc_bits_of(pi->pg_num-1)) - 1; in calc_pg_masks()
65 pi->pgp_num_mask = (1 << calc_bits_of(pi->pgp_num-1)) - 1; in calc_pg_masks()
74 dout("crush_decode_uniform_bucket %p to %p\n", *p, end); in crush_decode_uniform_bucket()
75 ceph_decode_need(p, end, (1+b->h.size) * sizeof(u32), bad); in crush_decode_uniform_bucket()
76 b->item_weight = ceph_decode_32(p); in crush_decode_uniform_bucket()
79 return -EINVAL; in crush_decode_uniform_bucket()
[all …]
H A Dauth.c1 // SPDX-License-Identifier: GPL-2.0
26 dout("%s proto %d\n", __func__, proto); in init_protocol()
33 default: in init_protocol()
35 return -EINVAL; in init_protocol()
41 dout("%s global_id %llu\n", __func__, global_id); in ceph_auth_set_global_id()
46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id()
47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, in ceph_auth_set_global_id()
50 ac->global_id = global_id; in ceph_auth_set_global_id()
64 return ERR_PTR(-ENOMEM); in ceph_auth_init()
66 mutex_init(&ac->mutex); in ceph_auth_init()
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dxlnx,gpio-xilinx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/xlnx,gpio-xilinx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Neeli Srinivas <srinivas.neeli@amd.com>
14 to an AXI4-Lite interface. The AXI GPIO can be configured as either
15 a single or a dual-channel device. The width of each channel is
22 - xlnx,xps-gpio-1.00.a
27 "#gpio-cells":
33 gpio-controller: true
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Davia-hx711.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval
17 - dout-gpio is the sensor data the sensor responds to the clock
25 - avia,hx711
27 sck-gpios:
[all …]
/linux/sound/soc/codecs/
H A Dmax98926.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98926.c -- ALSA SoC MAX98926 driver
4 * Copyright 2013-15 Maxim Integrated Products
56 { 0x22, 0x00 }, /* DOUT Configuration VMON */
57 { 0x23, 0x00 }, /* DOUT Configuration IMON */
58 { 0x24, 0x00 }, /* DOUT Configuration VBAT */
59 { 0x25, 0x00 }, /* DOUT Configuration VBST */
60 { 0x26, 0x00 }, /* DOUT Configuration FLAG */
61 { 0x27, 0xFF }, /* DOUT HiZ Configuration 1 */
62 { 0x28, 0xFF }, /* DOUT HiZ Configuration 2 */
[all …]
H A Dmax98925.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98925.c -- ALSA SoC Stereo MAX98925 driver
4 * Copyright 2013-15 Maxim Integrated Products
59 { 0x22, 0x00 }, /* DOUT Configuration VMON */
60 { 0x23, 0x00 }, /* DOUT Configuration IMON */
61 { 0x24, 0x00 }, /* DOUT Configuration VBAT */
62 { 0x25, 0x00 }, /* DOUT Configuration VBST */
63 { 0x26, 0x00 }, /* DOUT Configuration FLAG */
64 { 0x27, 0xFF }, /* DOUT HiZ Configuration 1 */
65 { 0x28, 0xFF }, /* DOUT HiZ Configuration 2 */
[all …]
/linux/drivers/clk/
H A Dclk-axi-clkgen.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
10 #include <linux/clk-provider.h>
87 default: in axi_clkgen_lookup_filter()
131 unsigned long f, dout, best_f, fvco; in axi_clkgen_calc_params() local
143 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
144 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
147 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params()
148 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params()
[all …]
/linux/Documentation/devicetree/bindings/siox/
H A Deckelmann,siox-gpio.txt4 - compatible : "eckelmann,siox-gpio"
5 - din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
11 compatible = "eckelmann,siox-gpio";
12 pinctrl-names = "default";
13 pinctrl-0 = <&pinctrl_siox>;
15 din-gpios = <&gpio6 11 0>;
16 dout-gpios = <&gpio6 8 0>;
17 dclk-gpios = <&gpio6 9 0>;
18 dld-gpios = <&gpio6 10 0>;
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_vba.c33 * This file is gcc-parsable HW gospel, coming straight from HW engineers.
37 * remain as-is as it provides us with a guarantee from HW that it is correct.
57 bool need_recalculate = memcmp(&mode_lib->soc, &mode_lib->vba.soc, sizeof(mode_lib->vba.soc)) != 0 in dml_get_voltage_level()
58 || memcmp(&mode_lib->ip, &mode_lib->vba.ip, sizeof(mode_lib->vba.ip)) != 0 in dml_get_voltage_level()
59 || num_pipes != mode_lib->vba.cache_num_pipes in dml_get_voltage_level()
60 || memcmp(pipes, mode_lib->vba.cache_pipes, in dml_get_voltage_level()
63 mode_lib->vba.soc = mode_lib->soc; in dml_get_voltage_level()
64 mode_lib->vba.ip = mode_lib->ip; in dml_get_voltage_level()
65 memcpy(mode_lib->vba.cache_pipes, pipes, sizeof(*pipes) * num_pipes); in dml_get_voltage_level()
66 mode_lib->vba.cache_num_pipes = num_pipes; in dml_get_voltage_level()
[all …]
H A Ddisplay_mode_lib.c98 lib->soc = *soc_bb; in dml_init_instance()
99 lib->ip = *ip_params; in dml_init_instance()
100 lib->project = project; in dml_init_instance()
104 lib->funcs = dml20_funcs; in dml_init_instance()
107 lib->funcs = dml20v2_funcs; in dml_init_instance()
110 lib->funcs = dml21_funcs; in dml_init_instance()
113 lib->funcs = dml30_funcs; in dml_init_instance()
117 lib->funcs = dml31_funcs; in dml_init_instance()
120 lib->funcs = dml314_funcs; in dml_init_instance()
123 lib->funcs = dml32_funcs; in dml_init_instance()
[all …]
/linux/drivers/block/
H A Drbd.c3 rbd.c -- Export ceph rados objects as a Linux block device
27 Documentation/ABI/testing/sysfs-bus-rbd
43 #include <linux/blk-mq.h>
58 * -EINVAL without updating it.
70 return -EINVAL; in atomic_inc_return_safe()
73 /* Decrement the counter. Return the resulting value, or -EINVAL */
84 return -EINVAL; in atomic_dec_return_safe()
96 (NAME_MAX - (sizeof (RBD_SNAP_DEV_NAME_PREFIX) - 1))
100 #define RBD_SNAP_HEAD_NAME "-"
105 #define RBD_IMAGE_NAME_LEN_MAX (PAGE_SIZE - sizeof (__le32) - 1)
[all …]
/linux/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110.c1 // SPDX-License-Identifier: GPL-2.0
27 #include <dt-bindings/pinctrl/starfive,jh7110-pinctrl.h>
30 #include "../pinctrl-utils.h"
33 #include "pinctrl-starfive-jh7110.h"
52 * | 31 - 24 | 23 - 16 | 15 - 10 | 9 - 8 | 7 - 0 |
53 * | din | dout | doen | function | pin |
100 const struct jh7110_pinctrl_soc_info *info = sfp->info; in jh7110_pin_dbg_show()
102 seq_printf(s, "%s", dev_name(pctldev->dev)); in jh7110_pin_dbg_show()
104 if (pin < sfp->gc.ngpio) { in jh7110_pin_dbg_show()
107 u32 dout = readl_relaxed(sfp->base + info->dout_reg_base + offset); in jh7110_pin_dbg_show() local
[all …]
H A Dpinctrl-starfive-jh7100.c1 // SPDX-License-Identifier: GPL-2.0
26 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h>
29 #include "../pinctrl-utils.h"
33 #define DRIVER_NAME "pinctrl-starfive"
37 * https://github.com/starfive-tech/JH7100_Docs
48 * The following 32-bit registers come in pairs, but only the offset of the
49 * first register is defined. The first controls (interrupts for) GPIO 0-31 and
50 * the second GPIO 32-63.
54 * Interrupt Type. If set to 1 the interrupt is edge-triggered. If set to 0 the
55 * interrupt is level-triggered.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1 // SPDX-License-Identifier: MIT
39 dc->ctx->logger
998 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_writeback_from_context()
999 struct dc_writeback_info *wb_info = &res_ctx->pipe_ctx[i].stream->writeback_info[0]; in dcn20_populate_dml_writeback_from_context()
1001 if (!res_ctx->pipe_ctx[i].stream) in dcn20_populate_dml_writeback_from_context()
1005 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context()
1006 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context()
1007 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context()
1008 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
1009 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context()
[all …]
/linux/drivers/net/ethernet/microchip/
H A Dencx24j600-regmap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Register map access API - ENCX24J600 support
26 ret = spi_write(ctx->spi, &bank_opcode, 1); in encx24j600_switch_bank()
28 ctx->bank = bank; in encx24j600_switch_bank()
43 return spi_sync(ctx->spi, &m); in encx24j600_cmdn()
50 mutex_lock(&ctx->mutex); in regmap_lock_mutex()
57 mutex_unlock(&ctx->mutex); in regmap_unlock_mutex()
73 if ((banked_reg < 0x16) && (ctx->bank != bank)) in regmap_encx24j600_sfr_read()
79 * 3-byte SPI commands in regmap_encx24j600_sfr_read()
97 default: in regmap_encx24j600_sfr_read()
[all …]
/linux/drivers/iio/adc/
H A Dhx711.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2016 Andreas Klinger <ak@it-klinger.de>
76 return -EINVAL; in hx711_get_scale_to_gain()
88 * 2x32-bit channel + 64-bit naturally aligned timestamp
92 * delay after a rising edge on SCK until the data is ready DOUT
111 gpiod_set_value(hx711_data->gpiod_pd_sck, 1); in hx711_cycle()
114 * wait until DOUT is ready in hx711_cycle()
116 * until DOUT has reached it's value in hx711_cycle()
118 ndelay(hx711_data->data_ready_delay_ns); in hx711_cycle()
126 gpiod_set_value(hx711_data->gpiod_pd_sck, 0); in hx711_cycle()
[all …]
/linux/fs/ceph/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/backing-dev.h>
49 doutc(fsc->client, "begin\n"); in ceph_put_super()
51 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super()
52 doutc(fsc->client, "done\n"); in ceph_put_super()
58 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs()
63 doutc(fsc->client, "begin\n"); in ceph_statfs()
64 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs()
65 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs()
75 buf->f_type = CEPH_SUPER_MAGIC; /* ?? */ in ceph_statfs()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddcn314_fpu.c1 // SPDX-License-Identifier: MIT
184 struct clk_limit_table *clk_table = &bw_params->clk_table; in dcn314_update_bw_bounding_box_fpu()
193 // Default clock levels are used for diags, which may lead to overclocking. in dcn314_update_bw_bounding_box_fpu()
194 if (dc->config.use_default_clock_table == false) { in dcn314_update_bw_bounding_box_fpu()
195 dcn3_14_ip.max_num_otg = dc->res_pool->res_cap->num_timing_generator; in dcn314_update_bw_bounding_box_fpu()
196 dcn3_14_ip.max_num_dpp = dc->res_pool->pipe_count; in dcn314_update_bw_bounding_box_fpu()
198 if (bw_params->dram_channel_width_bytes > 0) in dcn314_update_bw_bounding_box_fpu()
199 dcn3_14_soc.dram_channel_width_bytes = bw_params->dram_channel_width_bytes; in dcn314_update_bw_bounding_box_fpu()
201 if (bw_params->num_channels > 0) in dcn314_update_bw_bounding_box_fpu()
202 dcn3_14_soc.num_chans = bw_params->num_channels; in dcn314_update_bw_bounding_box_fpu()
[all …]

1234