Home
last modified time | relevance | path

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

123456

/openbmc/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 …]
/openbmc/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 …]
/openbmc/u-boot/board/work-microwave/work_92105/
H A Dwork_92105_display.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
8 * The work_92105 display is a HD44780-compatible module
53 /* Function set: eight bits, two lines, 8-dot font */
72 * Default value for contrats
78 * Define slave as a module-wide local to save passing it around,
90 uint8_t dout[2]; in max6957aax_write() local
92 dout[0] = reg; in max6957aax_write()
93 dout[1] = value; in max6957aax_write()
95 /* do SPI read/write (passing din==dout is OK) */ in max6957aax_write()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/u-boot/drivers/spi/
H A Dcf_spi.c1 // SPDX-License-Identifier: GPL-2.0+
4 * (C) Copyright 2000-2003
7 * Copyright (C) 2004-2009 Freescale Semiconductor, Inc.
8 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
52 dspi->mcr = DSPI_MCR_MSTR | DSPI_MCR_CSIS7 | DSPI_MCR_CSIS6 | in cfspi_init()
57 /* Default setting in platform configuration */ in cfspi_init()
59 dspi->ctar[0] = CONFIG_SYS_DSPI_CTAR0; in cfspi_init()
62 dspi->ctar[1] = CONFIG_SYS_DSPI_CTAR1; in cfspi_init()
65 dspi->ctar[2] = CONFIG_SYS_DSPI_CTAR2; in cfspi_init()
68 dspi->ctar[3] = CONFIG_SYS_DSPI_CTAR3; in cfspi_init()
[all …]
H A Dfsl_dspi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2000-2003
6 * Copyright (C) 2004-2009, 2015 Freescale Semiconductor, Inc.
7 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
36 /* default SCK frequency, unit: HZ */
42 /* CTAR register pre-configure value */
51 /* CTAR register pre-configure mask */
61 * struct fsl_dspi_platdata - platform data for Freescale DSPI
64 * @speed_hz: Default SCK frequency
76 * struct fsl_dspi_priv - private data for Freescale DSPI
[all …]
H A Ddavinci_spi.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
59 * Define default SPI0_NUM_CS as 1 for existing platforms that uses this
70 * define CONFIG_SYS_SPI1 when platform has spi-1 device (bus #1) and
80 * define CONFIG_SYS_SPI2 when platform has spi-2 device (bus #2) and
130 bool half_duplex; /* true, if master is half-duplex only */
144 writel(data, &ds->regs->dat1); in davinci_spi_xfer_data()
147 while ((buf_reg_val = readl(&ds->regs->buf)) & SPIBUF_RXEMPTY_MASK) in davinci_spi_xfer_data()
160 (ds->cur_cs << SPIDAT1_CSNR_SHIFT)); in davinci_spi_read()
163 while (readl(&ds->regs->buf) & SPIBUF_TXFULL_MASK) in davinci_spi_read()
[all …]
H A Dtegra20_sflash.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2010-2013 NVIDIA Corporation
15 #include <asm/arch-tegra/clk_rst.h>
79 /* Tegra20 SPI-Flash - only 1 device ('bus/cs') */ in tegra20_sflash_cs_info()
81 return -ENODEV; in tegra20_sflash_cs_info()
88 struct tegra_spi_platdata *plat = bus->platdata; in tegra20_sflash_ofdata_to_platdata()
89 const void *blob = gd->fdt_blob; in tegra20_sflash_ofdata_to_platdata()
92 plat->base = devfdt_get_addr(bus); in tegra20_sflash_ofdata_to_platdata()
93 plat->periph_id = clock_decode_periph_id(bus); in tegra20_sflash_ofdata_to_platdata()
95 if (plat->periph_id == PERIPH_ID_NONE) { in tegra20_sflash_ofdata_to_platdata()
[all …]
H A Dstm32_qspi.c1 // SPDX-License-Identifier: GPL-2.0+
155 /* default SCK frequency, unit: HZ */
182 clrbits_le32(&priv->regs->cr, STM32_QSPI_CR_EN); in _stm32_qspi_disable()
187 setbits_le32(&priv->regs->cr, STM32_QSPI_CR_EN); in _stm32_qspi_enable()
192 while (readl(&priv->regs->sr) & STM32_QSPI_SR_BUSY) in _stm32_qspi_wait_for_not_busy()
198 while (!(readl(&priv->regs->sr) & STM32_QSPI_SR_TCF)) in _stm32_qspi_wait_for_complete()
204 while (!(readl(&priv->regs->sr) & STM32_QSPI_SR_FTF)) in _stm32_qspi_wait_for_ftf()
210 u32 fsize = fls(size) - 1; in _stm32_qspi_set_flash_size()
212 clrsetbits_le32(&priv->regs->dcr, in _stm32_qspi_set_flash_size()
219 clrsetbits_le32(&priv->regs->cr, STM32_QSPI_CR_FSEL, in _stm32_qspi_set_cs()
[all …]
/openbmc/linux/fs/ceph/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/backing-dev.h>
49 dout("put_super\n"); in ceph_put_super()
51 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super()
57 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs()
62 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs()
63 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs()
68 dout("statfs\n"); in ceph_statfs()
74 buf->f_type = CEPH_SUPER_MAGIC; /* ?? */ in ceph_statfs()
78 * overflow on 32-bit machines. in ceph_statfs()
[all …]
H A Ddir.c1 // SPDX-License-Identifier: GPL-2.0
42 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dentry->d_sb); in ceph_d_init()
46 return -ENOMEM; /* oh well */ in ceph_d_init()
48 di->dentry = dentry; in ceph_d_init()
49 di->lease_session = NULL; in ceph_d_init()
50 di->time = jiffies; in ceph_d_init()
51 dentry->d_fsdata = di; in ceph_d_init()
52 INIT_LIST_HEAD(&di->lease_list); in ceph_d_init()
54 atomic64_inc(&mdsc->metric.total_dentries); in ceph_d_init()
61 * - hash order:
[all …]
H A Dlocks.c1 // SPDX-License-Identifier: GPL-2.0
36 struct inode *inode = file_inode(dst->fl_file); in ceph_fl_copy_lock()
37 atomic_inc(&ceph_inode(inode)->i_filelock_ref); in ceph_fl_copy_lock()
38 dst->fl_u.ceph.inode = igrab(inode); in ceph_fl_copy_lock()
42 * Do not use the 'fl->fl_file' in release function, which
47 struct inode *inode = fl->fl_u.ceph.inode; in ceph_fl_release_lock()
58 if (atomic_dec_and_test(&ci->i_filelock_ref)) { in ceph_fl_release_lock()
60 spin_lock(&ci->i_ceph_lock); in ceph_fl_release_lock()
61 ci->i_ceph_flags &= ~CEPH_I_ERROR_FILELOCK; in ceph_fl_release_lock()
62 spin_unlock(&ci->i_ceph_lock); in ceph_fl_release_lock()
[all …]
/openbmc/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>
11 #include <linux/clk-provider.h>
88 default: in axi_clkgen_lookup_filter()
132 unsigned long f, dout, best_f, fvco; in axi_clkgen_calc_params() local
144 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
145 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
148 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params()
149 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params()
[all …]
/openbmc/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>;
/openbmc/u-boot/arch/arm/mach-mvebu/
H A Dgpio.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
14 * mvebu_config_gpio - GPIO configuration
24 /* Init GPIOS to default values as per board requirement */ in mvebu_config_gpio()
25 writel(gpp0_oe_val, &gpio0reg->dout); in mvebu_config_gpio()
26 writel(gpp1_oe_val, &gpio1reg->dout); in mvebu_config_gpio()
27 writel(gpp0_oe, &gpio0reg->oe); in mvebu_config_gpio()
28 writel(gpp1_oe, &gpio1reg->oe); in mvebu_config_gpio()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/
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 …]
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 …]
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1 // SPDX-License-Identifier: MIT
995 for (i = 0, pipe_cnt = 0; i < dc->res_pool->pipe_count; i++) { in dcn20_populate_dml_writeback_from_context()
996 struct dc_writeback_info *wb_info = &res_ctx->pipe_ctx[i].stream->writeback_info[0]; in dcn20_populate_dml_writeback_from_context()
998 if (!res_ctx->pipe_ctx[i].stream) in dcn20_populate_dml_writeback_from_context()
1002 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0; in dcn20_populate_dml_writeback_from_context()
1003 pipes[pipe_cnt].dout.num_active_wb++; in dcn20_populate_dml_writeback_from_context()
1004 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height; in dcn20_populate_dml_writeback_from_context()
1005 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width; in dcn20_populate_dml_writeback_from_context()
1006 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width; in dcn20_populate_dml_writeback_from_context()
1007 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height; in dcn20_populate_dml_writeback_from_context()
[all …]

123456