/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | xlnx,gpio-xilinx.yaml | 1 # 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": 28 const: 2 [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | max98925.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98925.c -- ALSA SoC Stereo MAX98925 driver 4 * Copyright 2013-15 Maxim Integrated Products 52 { 0x1B, 0xC0 }, /* DAI Clock Mode 2 */ 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 */ [all …]
|
D | max98926.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98926.c -- ALSA SoC MAX98926 driver 4 * Copyright 2013-15 Maxim Integrated Products 49 { 0x1B, 0x00 }, /* DAI Clock Mode 2 */ 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 */ [all …]
|
D | cs4265.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs4265.c -- CS4265 ALSA SoC audio driver 25 #include <sound/soc-dapm.h> 61 default: in cs4265_readable_register() 71 default: in cs4265_volatile_register() 76 static DECLARE_TLV_DB_SCALE(pga_tlv, -1200, 50, 0); 78 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 0); 108 static SOC_ENUM_SINGLE_DECL(spdif_mono_stereo_enum, CS4265_SPDIF_CTL2, 2, 136 SOC_SINGLE("De-emp 44.1kHz Switch", CS4265_DAC_CTL, 1, 168 SND_SOC_DAPM_AIF_OUT("DOUT", NULL, 0, [all …]
|
/linux-6.12.1/drivers/clk/ |
D | clk-axi-clkgen.c | 1 // 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> 69 case 2: in axi_clkgen_lookup_filter() 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() [all …]
|
/linux-6.12.1/net/ceph/ |
D | messenger.c | 1 // SPDX-License-Identifier: GPL-2.0 44 * -------- 46 * -------- 49 * ---------- 51 * ---------- TCP connection) 54 * | ---------------------- 57 * |+--------------------------- \ 59 * | ----------- \ \ 61 * | ----------- await close \ \ 66 * | / --------------- | | [all …]
|
D | messenger_v2.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #define FRAME_TAG_AUTH_REQUEST 2 56 #define IN_S_HANDLE_CONTROL 2 67 #define OUT_S_QUEUE_DATA_CONT 2 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() [all …]
|
D | messenger_v1.c | 1 // 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 …]
|
D | auth_x.c | 1 // 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 …]
|
D | mon_client.c | 1 // 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 …]
|
D | osd_client.c | 1 // 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 …]
|
D | ceph_common.c | 1 // 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 …]
|
D | osdmap.c | 1 // SPDX-License-Identifier: GPL-2.0 14 static __printf(2, 3) 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() [all …]
|
D | auth.c | 1 // 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-6.12.1/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.c | 33 * 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 …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1 // SPDX-License-Identifier: MIT 39 dc->ctx->logger 63 * 2. The FPU functions should have the noinline attribute to ensure anything 101 .pte_chunk_size_kbytes = 2, 102 .meta_chunk_size_kbytes = 2, 103 .writeback_chunk_size_kbytes = 2, 121 .cursor_chunk_size = 2, 126 .max_pscl_lb_bw_pix_per_clk = 2, 169 .pte_chunk_size_kbytes = 2, 170 .meta_chunk_size_kbytes = 2, [all …]
|
/linux-6.12.1/drivers/pinctrl/starfive/ |
D | pinctrl-starfive-jh7110.c | 1 // 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" 42 #define JH7110_PADCFG_DS_MASK GENMASK(2, 1) 45 #define JH7110_PADCFG_DS_8MA (2U << 1) 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() [all …]
|
D | pinctrl-starfive-jh7100.c | 1 // 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-6.12.1/drivers/net/ethernet/microchip/ |
D | encx24j600-regmap.c | 1 // 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() 37 struct spi_transfer t[2] = { { .tx_buf = &opcode, .len = 1, }, in encx24j600_cmdn() 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() 69 u8 tx_buf[2]; in regmap_encx24j600_sfr_read() 73 if ((banked_reg < 0x16) && (ctx->bank != bank)) in regmap_encx24j600_sfr_read() [all …]
|
/linux-6.12.1/drivers/block/ |
D | rbd.c | 3 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-6.12.1/drivers/iio/adc/ |
D | hx711.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2016 Andreas Klinger <ak@it-klinger.de> 45 { 32, 2, 0, 1 }, 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() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | dcn314_fpu.c | 1 // SPDX-License-Identifier: MIT 41 .hostvm_max_page_table_levels = 2, 53 .meta_chunk_size_kbytes = 2, 70 .max_pscl_lb_bw_pix_per_clk = 2, 82 .cursor_chunk_size = 2, 123 .state = 2, 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() [all …]
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_proto_test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 u8 dout[BUFSIZE]; member 28 struct cros_ec_proto_test_priv *priv = test->priv; in cros_ec_proto_test_prepare_tx_legacy_normal() 29 struct cros_ec_device *ec_dev = &priv->ec_dev; in cros_ec_proto_test_prepare_tx_legacy_normal() 30 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_normal() 34 ec_dev->proto_version = 2; in cros_ec_proto_test_prepare_tx_legacy_normal() 36 msg->command = EC_CMD_HELLO; in cros_ec_proto_test_prepare_tx_legacy_normal() 37 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal() 38 msg->data[0] = 0xde; in cros_ec_proto_test_prepare_tx_legacy_normal() 39 msg->data[1] = 0xad; in cros_ec_proto_test_prepare_tx_legacy_normal() [all …]
|
D | cros_ec_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * byte 1-8 struct ec_host_request 23 * byte 10- response data 36 * byte 2-9 struct ec_host_response 37 * byte 10- response data 55 struct i2c_client *client = ec_dev->priv; in cros_ec_pkt_xfer_i2c() 56 int ret = -ENOMEM; in cros_ec_pkt_xfer_i2c() 62 struct i2c_msg i2c_msg[2]; in cros_ec_pkt_xfer_i2c() 69 i2c_msg[0].addr = client->addr; in cros_ec_pkt_xfer_i2c() 71 i2c_msg[1].addr = client->addr; in cros_ec_pkt_xfer_i2c() [all …]
|
/linux-6.12.1/fs/ceph/ |
D | super.c | 1 // 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 …]
|