/Linux-v6.1/Documentation/devicetree/bindings/pci/ |
D | mvebu-pci.txt | 5 - compatible: one of the following values: 6 marvell,armada-370-pcie 7 marvell,armada-xp-pcie 8 marvell,dove-pcie 9 marvell,kirkwood-pcie 10 - #address-cells, set to <3> 11 - #size-cells, set to <2> 12 - #interrupt-cells, set to <1> 13 - bus-range: PCI bus numbers covered 14 - device_type, set to "pci" [all …]
|
D | nvidia,tegra20-pcie.txt | 4 - compatible: Must be: 5 - "nvidia,tegra20-pcie": for Tegra20 6 - "nvidia,tegra30-pcie": for Tegra30 7 - "nvidia,tegra124-pcie": for Tegra124 and Tegra132 8 - "nvidia,tegra210-pcie": for Tegra210 9 - "nvidia,tegra186-pcie": for Tegra186 10 - power-domains: To ungate power partition by BPMP powergate driver. Must 13 - device_type: Must be "pci" 14 - reg: A list of physical base address and length for each set of controller 15 registers. Must contain an entry for each entry in the reg-names property. [all …]
|
/Linux-v6.1/drivers/soc/fsl/qbman/ |
D | bman_test_api.c | 1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc. 57 * LS-bits of buffer addresses, masking off the upper 8-bits on in bufs_cmp() 58 * release commands. The API provides for 48-bit addresses in bufs_cmp() 59 * because some SoCs support all 48-bits. When generating in bufs_cmp() 60 * garbage addresses for testing, we either need to zero the in bufs_cmp() 61 * upper 8-bits when releasing to BMan (otherwise we'll be in bufs_cmp() 63 * don't match), or we need to mask the upper 8-bits off when in bufs_cmp() 68 return -1; in bufs_cmp() 74 return -1; in bufs_cmp() 115 int num = 8; in bman_test_api() local [all …]
|
/Linux-v6.1/kernel/trace/ |
D | fprobe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * fprobe - Simple ftrace probe wrapper for function entry. 36 fp->nmissed++; in fprobe_handler() 40 if (fp->entry_handler) in fprobe_handler() 41 fp->entry_handler(fp, ip, ftrace_get_regs(fregs)); in fprobe_handler() 43 if (fp->exit_handler) { in fprobe_handler() 44 rh = rethook_try_get(fp->rethook); in fprobe_handler() 46 fp->nmissed++; in fprobe_handler() 50 fpr->entry_ip = ip; in fprobe_handler() 65 fp->nmissed++; in fprobe_kprobe_handler() [all …]
|
/Linux-v6.1/drivers/iio/magnetometer/ |
D | st_magn_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 STMicroelectronics Inc. 42 /* Special L addresses for Sensor 2 */ 47 /* Special L addresses for sensor 3 */ 52 /* Special L addresses for sensor 4 */ 63 return &mdata->mount_matrix; in st_magn_get_mount_matrix() 177 .num = ST_MAGN_FS_AVL_1300MG, 183 .num = ST_MAGN_FS_AVL_1900MG, 189 .num = ST_MAGN_FS_AVL_2500MG, 195 .num = ST_MAGN_FS_AVL_4000MG, [all …]
|
/Linux-v6.1/tools/usb/usbip/src/ |
D | usbip_network.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * 2005-2007 Takahiro Hirofuchi 53 uint32_t usbip_net_pack_uint32_t(int pack, uint32_t num) in usbip_net_pack_uint32_t() argument 58 i = htonl(num); in usbip_net_pack_uint32_t() 60 i = ntohl(num); in usbip_net_pack_uint32_t() 65 uint16_t usbip_net_pack_uint16_t(int pack, uint16_t num) in usbip_net_pack_uint16_t() argument 70 i = htons(num); in usbip_net_pack_uint16_t() 72 i = ntohs(num); in usbip_net_pack_uint16_t() 79 udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum); in usbip_net_pack_usb_device() 80 udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum); in usbip_net_pack_usb_device() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/eeprom/ |
D | at24.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 17 pattern: "^atmel,(24(c|cs|mac)[0-9]+|spd)$" 19 - compatible 23 pattern: "^eeprom@[0-9a-f]{1,2}$" 33 - allOf: 34 - minItems: 1 36 … - pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$" [all …]
|
/Linux-v6.1/drivers/net/mdio/ |
D | mdio-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2016 Russell King 14 #include <linux/mdio/mdio-i2c.h> 19 * I2C bus addresses 0x50 and 0x51 are normally an EEPROM, which is 21 * addresses 16 and 17. Disallow access to these "phy" addresses. 35 struct i2c_adapter *i2c = bus->priv; in i2c_mii_read_default() 53 msgs[0].len = p - addr; in i2c_mii_read_default() 70 struct i2c_adapter *i2c = bus->priv; in i2c_mii_write_default() 89 msg.len = p - data; in i2c_mii_write_default() 102 * ------- ---- -------- ----------- [all …]
|
/Linux-v6.1/drivers/media/usb/au0828/ |
D | au0828-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <media/v4l2-common.h> 28 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack() 51 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy() 74 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done() 97 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy() 123 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes() 124 u8 i2c_speed = dev->board.i2c_clk_divider; in i2c_sendbytes() 130 if (((dev->board.tuner_type == TUNER_XC5000) || in i2c_sendbytes() 131 (dev->board.tuner_type == TUNER_XC5000C)) && in i2c_sendbytes() [all …]
|
/Linux-v6.1/include/linux/ |
D | remoteproc.h | 47 * struct resource_table - firmware resource table header 49 * @num: number of resource entries 75 u32 num; member 81 * struct fw_rsc_hdr - firmware resource entry header 95 * enum fw_resource_type - types of resource entries 99 * @RSC_DEVMEM: request to iommu_map a memory-based peripheral. 126 #define FW_RSC_ADDR_ANY (-1) 129 * struct fw_rsc_carveout - physically contiguous memory request 135 * @name: human-readable name of the requested memory region 149 * If the firmware is compiled with static addresses, then @da should specify [all …]
|
/Linux-v6.1/drivers/misc/bcm-vk/ |
D | bcm_vk_sg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2018-2020 Broadcom. 9 #include <linux/dma-mapping.h> 20 * [U32] num_sg = number of sg addresses (N) 23 * [U32] addr_l[0] = lower 32-bits of address0 24 * [U32] addr_h[0] = higher 32-bits of address0 26 * [U32] size[N-1] = size of data in addressN-1 27 * [U32] addr_l[N-1] = lower 32-bits of addressN-1 28 * [U32] addr_h[N-1] = higher 32-bits of addressN-1 45 * Scatter-gather DMA buffer API. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | stih407-c8sectpfe.txt | 14 - compatible : Should be "stih407-c8sectpfe" 16 - reg : Address and length of register sets for each device in 17 "reg-names" 19 - reg-names : The names of the register addresses corresponding to the 21 - c8sectpfe: c8sectpfe registers 22 - c8sectpfe-ram: c8sectpfe internal sram 24 - clocks : phandle list of c8sectpfe clocks 25 - clock-names : should be "c8sectpfe" 26 See: Documentation/devicetree/bindings/clock/clock-bindings.txt 28 - pinctrl-names : a pinctrl state named tsin%d-serial or tsin%d-parallel (where %d is tsin-num) [all …]
|
/Linux-v6.1/drivers/media/pci/zoran/ |
D | zr36016.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Zoran ZR36016 basic configuration functions - header file 14 int num; member 30 /* direct register addresses */ 36 /* indirect register addresses */
|
/Linux-v6.1/fs/jfs/ |
D | jfs_imap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2002 20 #define MAXIAGS ((1<<20)-1) /* maximum number of iags */ 36 ((((ino) & (INOSPEREXT-1)) >> L2INOSPERPAGE) << (l2nbperpg))) 73 /* allocation bit map: 1 bit per inode (0 - free, 1 - allocated) */ 76 pxd_t inoext[EXTSPERIAG]; /* 1024: inode extent addresses */ 102 __le32 in_numinos; /* 4: num of backed inodes */ 103 __le32 in_numfree; /* 4: num of free backed inodes */ 104 __le32 in_nbperiext; /* 4: num of blocks per inode extent */ 115 int in_numinos; /* num of backed inodes */ [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | virtio_ring.h | 42 /* This marks a buffer as write-only (otherwise read-only). */ 54 /* The Host uses this in used->flags to advise the Guest: don't kick me when 58 /* The Guest uses this in avail->flags to advise the Host: don't interrupt me 84 * at the end of the avail ring. Host should ignore the avail->flags field. */ 86 * at the end of the used ring. Guest should ignore the used->flags field. */ 90 * When using pre-virtio 1.0 layout, these fall out naturally. 97 * struct vring_desc - Virtio ring descriptors, 100 * @addr: buffer address (guest-physical) 138 * The ring element addresses are passed between components with different 139 * alignments assumptions. Thus, we might need to decrease the compiler-selected [all …]
|
D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 53 /* Set addresses for the ring. */ 57 /* Get accessor: reads index, writes value in num */ 60 /* Set the vring byte order in num. Valid values are VHOST_VRING_LITTLE_ENDIAN 61 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 63 * returns -EBUSY. 99 * used for transmit. Pass fd -1 to unbind from the socket and the transmit 121 * the device id defined in virtio-spec. [all …]
|
/Linux-v6.1/drivers/media/usb/hdpvr/ |
D | hdpvr-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 struct IR_i2c_init_data *init_data = &dev->ir_i2c_init_data; in hdpvr_register_ir_i2c() 38 /* Our default information for ir-kbd-i2c.c to use */ in hdpvr_register_ir_i2c() 39 init_data->ir_codes = RC_MAP_HAUPPAUGE; in hdpvr_register_ir_i2c() 40 init_data->internal_get_key_func = IR_KBD_GET_KEY_HAUP_XVR; in hdpvr_register_ir_i2c() 41 init_data->type = RC_PROTO_BIT_RC5 | RC_PROTO_BIT_RC6_MCE | in hdpvr_register_ir_i2c() 43 init_data->name = "HD-PVR"; in hdpvr_register_ir_i2c() 44 init_data->polling_interval = 405; /* ms, duplicated from Windows */ in hdpvr_register_ir_i2c() 47 return i2c_new_client_device(&dev->i2c_adapter, &info); in hdpvr_register_ir_i2c() 56 if ((len > sizeof(dev->i2c_buf)) || (wlen > sizeof(dev->i2c_buf))) in hdpvr_i2c_read() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/ |
D | img.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 11 #include "api/dbg-tlv.h" 14 #include "error-dump.h" 65 return test_bit((__force long)api, capabilities->_api); in fw_has_api() 72 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa() 137 * enum iwl_fw_type - iwlwifi firmware type 147 * struct iwl_fw_dbg - debug data 150 * @n_dest_reg: num of reg_ops in dest_tlv [all …]
|
/Linux-v6.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-i2c-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <media/i2c/ir-kbd-i2c.h> 10 #include "pvrusb2-i2c-core.h" 11 #include "pvrusb2-hdw-internal.h" 12 #include "pvrusb2-debug.h" 13 #include "pvrusb2-fx2-cmd.h" 29 static int ir_mode[PVR_NUM] = { [0 ... PVR_NUM-1] = 1 }; 44 /* Return value - default 0 means success */ in pvr2_i2c_write() 49 if (length > (sizeof(hdw->cmd_buffer) - 3)) { in pvr2_i2c_write() 53 length,(unsigned int)(sizeof(hdw->cmd_buffer) - 3)); in pvr2_i2c_write() [all …]
|
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_flower_scale.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # number of flower matches for different IPv6 addresses, then check the offload 56 if [[ -v TC_FLOWER_BATCH_FILE ]]; then 57 rm -f $TC_FLOWER_BATCH_FILE 63 local num=$1; shift 65 printf "2001:db8:1::%x" $num 76 cat >> $TC_FLOWER_BATCH_FILE <<-EOF 86 tc -b $TC_FLOWER_BATCH_FILE 94 local last=$((count - 1)) 98 offload_count=$(tc -j -s filter show dev $h2 ingress | [all …]
|
/Linux-v6.1/fs/nfs/filelayout/ |
D | filelayoutdev.c | 50 nfs4_print_deviceid(&dsaddr->id_node.deviceid); in nfs4_fl_free_deviceid() 52 for (i = 0; i < dsaddr->ds_num; i++) { in nfs4_fl_free_deviceid() 53 ds = dsaddr->ds_list[i]; in nfs4_fl_free_deviceid() 57 kfree(dsaddr->stripe_indices); in nfs4_fl_free_deviceid() 67 u32 cnt, num; in nfs4_fl_alloc_deviceid_node() local 84 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); in nfs4_fl_alloc_deviceid_node() 123 num = be32_to_cpup(p); in nfs4_fl_alloc_deviceid_node() 124 dprintk("%s ds_num %u\n", __func__, num); in nfs4_fl_alloc_deviceid_node() 125 if (num > NFS4_PNFS_MAX_MULTI_CNT) { in nfs4_fl_alloc_deviceid_node() 128 num, NFS4_PNFS_MAX_MULTI_CNT); in nfs4_fl_alloc_deviceid_node() [all …]
|
/Linux-v6.1/drivers/regulator/ |
D | max14577-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max14577.c - Regulator driver for the Maxim 14577/77836 12 #include <linux/mfd/max14577-private.h> 18 struct regmap *rmap = rdev->regmap; in max14577_reg_is_enabled() 32 return -EINVAL; in max14577_reg_is_enabled() 39 struct regmap *rmap = rdev->regmap; in max14577_reg_get_current_limit() 42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit() 45 return -EINVAL; in max14577_reg_get_current_limit() 50 return limits->min; in max14577_reg_get_current_limit() 54 return limits->high_start + reg_data * limits->high_step; in max14577_reg_get_current_limit() [all …]
|
/Linux-v6.1/sound/core/seq/ |
D | seq_ports.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 /* return pointer to port structure - port is locked if found */ 45 int num) in snd_seq_port_use_ptr() argument 51 read_lock(&client->ports_lock); in snd_seq_port_use_ptr() 52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() 53 if (port->addr.port == num) { in snd_seq_port_use_ptr() 54 if (port->closing) in snd_seq_port_use_ptr() 56 snd_use_lock_use(&port->use_lock); in snd_seq_port_use_ptr() 57 read_unlock(&client->ports_lock); in snd_seq_port_use_ptr() 61 read_unlock(&client->ports_lock); in snd_seq_port_use_ptr() [all …]
|
/Linux-v6.1/tools/include/uapi/linux/ |
D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 53 /* Set addresses for the ring. */ 57 /* Get accessor: reads index, writes value in num */ 60 /* Set the vring byte order in num. Valid values are VHOST_VRING_LITTLE_ENDIAN 61 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 63 * returns -EBUSY. 99 * used for transmit. Pass fd -1 to unbind from the socket and the transmit 121 * the device id defined in virtio-spec. [all …]
|
/Linux-v6.1/arch/parisc/kernel/ |
D | pdt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * list of memory addresses in which memory errors were detected. 7 * The list contains both single-bit (correctable) and double-bit 13 * - add userspace interface via procfs or sysfs to clear PDT 51 * A pdt_entry holds the physical address in bits 0-57, bits 58-61 are 57 * On non-PAT machines phys_addr is encoded in bits 0-59 and error_type in bit 132 pr_warn("PDT: BAD MEMORY at 0x%08lx, %s%s%s-bit error.\n", in report_mem_err() 163 /* non-PAT machines provide the standard PDC call */ in pdc_pdt_init() 250 int num, ret; in pdt_mainloop() local 276 return -EINVAL; in pdt_mainloop() [all …]
|