Home
last modified time | relevance | path

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

12345678910>>...16

/linux-5.10/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-5.10/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-5.10/Documentation/devicetree/bindings/net/
Dbrcm,bcm7445-switch-v4.0.txt5 - compatible: should be one of
6 "brcm,bcm7445-switch-v4.0"
7 "brcm,bcm7278-switch-v4.0"
8 "brcm,bcm7278-switch-v4.8"
9 - reg: addresses and length of the register sets for the device, must be 6
10 pairs of register addresses and lengths
11 - interrupts: interrupts for the devices, must be two interrupts
12 - #address-cells: must be 1, see dsa/dsa.txt
13 - #size-cells: must be 0, see dsa/dsa.txt
17 - dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt
[all …]
/linux-5.10/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-5.10/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
37- pattern: "^(atmel|catalyst|microchip|nxp|ramtron|renesas|rohm|st),(24(c|cs|lc|mac)[0-9]+|spd)$"
[all …]
/linux-5.10/drivers/net/
DSpace.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 * - get rid of pre-linked dev list, dynamic device allocation
19 * - struct init cleanup, enable multiple ISA autoprobes.
20 * Arnaldo Carvalho de Melo <acme@conectiva.com.br> - 09/1999
21 * - fix sbni: s/device/net_device/
23 * - sort probes in a sane way, make sure all (safe) probes
39 int status; /* non-zero if autoprobe has failed */
46 for (; p->probe; p++) { in probe_list2()
47 if (autoprobe && p->status) in probe_list2()
49 dev = p->probe(unit); in probe_list2()
[all …]
/linux-5.10/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-5.10/drivers/iio/magnetometer/
Dst_magn_core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2013 STMicroelectronics Inc.
46 /* Special L addresses for Sensor 2 */
51 /* Special L addresses for sensor 3 */
137 .num = ST_MAGN_FS_AVL_1300MG,
143 .num = ST_MAGN_FS_AVL_1900MG,
149 .num = ST_MAGN_FS_AVL_2500MG,
155 .num = ST_MAGN_FS_AVL_4000MG,
161 .num = ST_MAGN_FS_AVL_4700MG,
167 .num = ST_MAGN_FS_AVL_5600MG,
[all …]
/linux-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/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-5.10/drivers/gpu/drm/ingenic/
Dingenic-ipu.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "ingenic-drm.h"
9 #include "ingenic-ipu.h"
62 /* Signed 15.16 fixed-point math (for bicubic scaling coefficients) */
66 #define SHARPNESS_INCR (I2F(-1) / 8)
75 * and return value are 15.16 signed fixed-point.
77 * @f_a: Sharpness factor, typically in range [-4.0, -0.25].
79 * -2.0 might cause ringing artifacts to outweigh any improvement.
80 * Nice values on a 320x240 LCD are between -0.75 and -2.0.
85 * returns: Weight of this pixel within 4-pixel sample group. Range is
[all …]
/linux-5.10/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-5.10/net/rxrpc/
Dkey.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/key-type.h>
22 #include <keys/rxrpc-type.h>
23 #include <keys/user-type.h>
24 #include "ar-internal.h"
54 * description and an 8-byte decryption key as the payload
72 unsigned long num; in rxrpc_vet_description_s() local
75 num = simple_strtoul(desc, &p, 10); in rxrpc_vet_description_s()
76 if (*p != ':' || num > 65535) in rxrpc_vet_description_s()
77 return -EINVAL; in rxrpc_vet_description_s()
[all …]
/linux-5.10/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-5.10/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-5.10/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 …]

12345678910>>...16