Home
last modified time | relevance | path

Searched +full:num +full:- +full:addresses (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/Linux-v5.15/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt4 - 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-v5.15/drivers/soc/fsl/qbman/
Dbman_test_api.c1 /* 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-v5.15/drivers/iio/magnetometer/
Dst_magn_core.c1 // 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-v5.15/tools/usb/usbip/src/
Dusbip_network.c1 // 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-v5.15/Documentation/devicetree/bindings/eeprom/
Dat24.yaml1 # 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-v5.15/drivers/media/usb/au0828/
Dau0828-i2c.c1 // 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_write_ack()
35 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack()
58 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy()
81 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done()
104 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy()
130 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes()
131 u8 i2c_speed = dev->board.i2c_clk_divider; in i2c_sendbytes()
137 if (((dev->board.tuner_type == TUNER_XC5000) || in i2c_sendbytes()
[all …]
/Linux-v5.15/drivers/misc/bcm-vk/
Dbcm_vk_sg.h1 /* 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-v5.15/Documentation/devicetree/bindings/media/
Dstih407-c8sectpfe.txt14 - 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-v5.15/drivers/staging/media/zoran/
Dzr36016.h1 /* 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-v5.15/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh2 # 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
85 tc -b $TC_FLOWER_BATCH_FILE
93 local last=$((count - 1))
97 offload_count=$(tc -j -s filter show dev $h2 ingress |
[all …]
/Linux-v5.15/include/linux/
Dremoteproc.h47 * 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-v5.15/fs/jfs/
Djfs_imap.h1 /* 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-v5.15/include/uapi/linux/
Dvirtio_ring.h42 /* 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.
98 /* Address (guest-physical). */
132 * The ring element addresses are passed between components with different
133 * alignments assumptions. Thus, we might need to decrease the compiler-selected
137 * https://gcc.gnu.org/onlinedocs//gcc/Common-Type-Attributes.html#Common-Type-Attributes
[all …]
/Linux-v5.15/drivers/media/usb/hdpvr/
Dhdpvr-i2c.c1 // 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-v5.15/drivers/net/wireless/intel/iwlwifi/fw/
Dimg.h1 /* 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()
135 * struct iwl_fw_cscheme_list - a cipher scheme list
145 * enum iwl_fw_type - iwlwifi firmware type
155 * struct iwl_fw_dbg - debug data
[all …]
/Linux-v5.15/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c1 // 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-v5.15/fs/nfs/filelayout/
Dfilelayoutdev.c50 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-v5.15/drivers/regulator/
Dmax14577-regulator.c1 // 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-v5.15/sound/core/seq/
Dseq_ports.c1 // 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-v5.15/arch/parisc/kernel/
Dpdt.c1 // 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 …]
/Linux-v5.15/Documentation/misc-devices/
Dpci-endpoint-test.rst1 .. SPDX-License-Identifier: GPL-2.0
15 #) verifying addresses programmed in BAR
18 #) raise MSI-X IRQ
23 This misc driver creates /dev/pci-endpoint-test.<num> for every
28 -----
39 Tests message signalled interrupts. The MSI-X number
43 should be passed as argument (0: Legacy, 1:MSI, 2:MSI-X).
56 .. [1] Documentation/PCI/endpoint/function/binding/pci-test.rst
/Linux-v5.15/drivers/hwmon/
Dasb100.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * asb100.c - Part of lm_sensors, Linux kernel modules for hardware
10 * Copyright (C) 1998 - 2003 Frodo Looijaard <frodol@dds.nl>,
17 * ASB100-A "BACH".
19 * ASB100-A supports pwm1, while plain ASB100 does not. There is no known
32 #include <linux/hwmon-sysfs.h>
33 #include <linux/hwmon-vid.h>
40 /* I2C addresses to scan */
46 "List of subclient addresses: {bus, clientaddr, subclientaddr1, subclientaddr2}");
48 /* Voltage IN registers 0-6 */
[all …]
/Linux-v5.15/sound/firewire/bebob/
Dbebob.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * bebob.h - a part of driver for BeBoB based devices
5 * Copyright (c) 2013-2014 Takashi Sakamoto
14 #include <linux/firewire-constants.h>
32 #include "../packets-buffer.h"
33 #include "../iso-resources.h"
34 #include "../amdtp-am824.h"
37 /* basic register addresses on DM1000/DM1100/DM1500 */
58 unsigned int num; member
68 unsigned int num; member
[all …]
/Linux-v5.15/drivers/gpu/drm/ingenic/
Dingenic-ipu.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "ingenic-drm.h"
9 #include "ingenic-ipu.h"
65 /* Signed 15.16 fixed-point math (for bicubic scaling coefficients) */
69 #define SHARPNESS_INCR (I2F(-1) / 8)
78 * and return value are 15.16 signed fixed-point.
80 * @f_a: Sharpness factor, typically in range [-4.0, -0.25].
82 * -2.0 might cause ringing artifacts to outweigh any improvement.
83 * Nice values on a 320x240 LCD are between -0.75 and -2.0.
88 * returns: Weight of this pixel within 4-pixel sample group. Range is
[all …]
/Linux-v5.15/lib/
Dvsprintf.c1 // SPDX-License-Identifier: GPL-2.0-only
8 /* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
10 * Wirzenius wrote this portably, Torvalds fucked it up :-)
15 * - changed to provide snprintf and vsnprintf functions
17 * - scnprintf and vscnprintf
23 #include <linux/clk-provider.h>
65 prefix_chars = cp - startp; in simple_strntoull()
67 rv = _parse_integer_limit(cp, base, &result, max_chars - prefix_chars); in simple_strntoull()
82 * simple_strtoull - convert a string to an unsigned long long
97 * simple_strtoul - convert a string to an unsigned long
[all …]

12345678910>>...17