Home
last modified time | relevance | path

Searched full:linear (Results 1 – 25 of 957) sorted by relevance

12345678910>>...39

/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_lib_spectrum.sh14 KVD_CHILDREN="linear hash_single hash_double"
28 size=$(devlink_resource_get kvd linear "$i" | \
30 devlink_resource_size_set "$size" kvd linear "$i"
52 current_size=$(devlink_resource_size_get kvd linear "$i")
55 devlink_resource_size_set "$size" kvd linear "$i"
78 KVD_DEFAULTS[$key]=$(devlink_resource_get kvd linear "$i")
90 devlink_resource_size_set 64000 kvd linear
91 devlink_resource_size_set 15616 kvd linear singles
92 devlink_resource_size_set 32000 kvd linear chunks
93 devlink_resource_size_set 16384 kvd linear large_chunks
[all …]
/Linux-v5.10/drivers/hwmon/pmbus/
Dbel-pfe.c23 * exponent in linear mode.
32 .format[PSC_VOLTAGE_IN] = linear,
33 .format[PSC_VOLTAGE_OUT] = linear,
34 .format[PSC_CURRENT_IN] = linear,
35 .format[PSC_CURRENT_OUT] = linear,
36 .format[PSC_POWER] = linear,
37 .format[PSC_TEMPERATURE] = linear,
38 .format[PSC_FAN] = linear,
52 .format[PSC_VOLTAGE_IN] = linear,
53 .format[PSC_VOLTAGE_OUT] = linear,
[all …]
Dir35221.c110 info->format[PSC_VOLTAGE_IN] = linear; in ir35221_probe()
111 info->format[PSC_VOLTAGE_OUT] = linear; in ir35221_probe()
112 info->format[PSC_CURRENT_IN] = linear; in ir35221_probe()
113 info->format[PSC_CURRENT_OUT] = linear; in ir35221_probe()
114 info->format[PSC_POWER] = linear; in ir35221_probe()
115 info->format[PSC_TEMPERATURE] = linear; in ir35221_probe()
Dmax20751.c17 .format[PSC_VOLTAGE_IN] = linear,
20 .format[PSC_TEMPERATURE] = linear,
21 .format[PSC_CURRENT_OUT] = linear,
22 .format[PSC_POWER] = linear,
Dir38064.c23 .format[PSC_VOLTAGE_IN] = linear,
25 .format[PSC_CURRENT_OUT] = linear,
26 .format[PSC_POWER] = linear,
27 .format[PSC_TEMPERATURE] = linear,
Dpxe1610.c54 .format[PSC_VOLTAGE_IN] = linear,
56 .format[PSC_CURRENT_IN] = linear,
57 .format[PSC_CURRENT_OUT] = linear,
58 .format[PSC_TEMPERATURE] = linear,
59 .format[PSC_POWER] = linear,
Dxdpe12284.c112 .format[PSC_VOLTAGE_IN] = linear,
114 .format[PSC_TEMPERATURE] = linear,
115 .format[PSC_CURRENT_IN] = linear,
116 .format[PSC_CURRENT_OUT] = linear,
117 .format[PSC_POWER] = linear,
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Ddm-init.rst32 <target_type> ::= "verity" | "linear" | ... (see list below)
50 `linear` allowed
70 An example of booting to a linear array made up of user-mode linux block
73 dm-mod.create="lroot,,,rw, 0 4096 linear 98:16 0, 4096 4096 linear 98:32 0" root=/dev/dm-0
75 This will boot to a rw dm-linear target of 8192 sectors split across two block
82 dm-linear,,1,rw,
83 0 32768 linear 8:1 0,
84 32768 1024000 linear 8:2 0;
103 "linear"::
105 dm-linear,,,rw,
[all …]
Dlinear.rst2 dm-linear
5 Device-Mapper's "linear" target maps a linear range of the Device-Mapper
6 device onto a linear range of another device. This is the basic building
24 echo "0 `blockdev --getsz $1` linear $1 0" | dmsetup create identity
32 echo "0 $size1 linear $1 0
33 $size1 $size2 linear $2 0" | dmsetup create joined
60 $table .= "$this_start $extent_size linear $dev $this_offset\n";
/Linux-v5.10/Documentation/hwmon/
Dltc2978.rst6 * Linear Technology LTC2972
14 * Linear Technology LTC2974
22 * Linear Technology LTC2975
30 * Linear Technology LTC2977
38 * Linear Technology LTC2978, LTC2978A
48 * Linear Technology LTC2979
56 * Linear Technology LTC2980
64 * Linear Technology LTC3880
72 * Linear Technology LTC3882
80 * Linear Technology LTC3883
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-class-backlight9 hence linear changes in brightness are perceived as being
10 non-linear. To achieve a linear perception of brightness changes
12 backlights with a linear brightness curve.
19 linear
21 controls should apply a logarithmic mapping for a linear
24 non-linear
26 controls should use a linear mapping for a linear perception.
Ddevlink-resource-mlxsw9 and the second is a linear access table. The division
10 between the linear and hash-based sections is static and
13 What: /kvd/linear
17 Description: The linear section of the KVD is managed by software as a
Dsysfs-class-backlight-adp552018 value between 0 mA and 30 mA using linear or non-linear
31 between 0 mA and 30 mA using linear or non-linear algorithms.
Dsysfs-class-backlight-adp886023 value between 0 mA and 30 mA using linear or non-linear
37 between 0 mA and 30 mA using linear or non-linear algorithms.
/Linux-v5.10/lib/
Dlinear_ranges.c3 * helpers to map values in a linear range to range index
19 * @r: pointer to linear range where values are counted
37 * @r: pointer to array of linear ranges where values are counted
66 * @r: pointer to linear range where value is looked from
78 * @r: pointer to linear range where value is looked from
101 * @r: pointer to array of linear ranges where value is looked from
125 * linear_range_get_selector_low - return linear range selector for value
126 * @r: pointer to linear range where selector is looked from
164 * linear_range_get_selector_low_array - return linear range selector for value
165 * @r: pointer to array of linear ranges where selector is looked from
[all …]
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dcolorspaces.rst92 specific chromaticity primaries are linear colorspaces. But neither the
93 eye, nor display technology is linear. Doubling the values of all
94 components in the linear colorspace will not be perceived as twice the
96 function that takes a linear color component value and transforms it to
97 the non-linear component value, which is a closer match to the
98 non-linear performance of both the eye and displays. Linear component
99 values are denoted RGB, non-linear are denoted as R'G'B'. In general
101 linear RGB. Special care should be taken when dealing with openGL to
102 provide linear RGB colors or to use the built-in openGL support to apply
106 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
/Linux-v5.10/drivers/gpu/drm/armada/
Darmada_gem.c54 } else if (dobj->linear) { in armada_gem_free_object()
55 /* linear backed memory */ in armada_gem_free_object()
57 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
59 kfree(dobj->linear); in armada_gem_free_object()
83 if (obj->page || obj->linear) in armada_gem_linear_back()
130 /* Otherwise, grab it from our linear allocation */ in armada_gem_linear_back()
142 ret = drm_mm_insert_node_generic(&priv->linear, node, in armada_gem_linear_back()
150 obj->linear = node; in armada_gem_linear_back()
153 ptr = ioremap_wc(obj->linear->start, size); in armada_gem_linear_back()
156 drm_mm_remove_node(obj->linear); in armada_gem_linear_back()
[all …]
/Linux-v5.10/drivers/md/
Dmd-linear.c3 linear.c : Multiple Devices driver for Linux
8 Linear mode management functions.
19 #include "md-linear.h"
82 pr_warn("md/linear:%s: disk numbering problem. Aborting!\n", in linear_conf()
104 pr_warn("md/linear:%s: not enough drives present. Aborting!\n", in linear_conf()
168 /* Adding a drive to a linear array allows the array to grow. in linear_add()
237 if (unlikely(is_mddev_broken(tmp_dev->rdev, "linear"))) { in linear_make_request()
271 …pr_err("md/linear:%s: make_request: Sector %llu out of bounds on dev %s: %llu sectors, offset %llu… in linear_make_request()
292 .name = "linear",
317 MODULE_DESCRIPTION("Linear device concatenation personality for MD");
[all …]
/Linux-v5.10/drivers/hid/
Dhid-bigbenff.c37 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
39 * 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
47 * 0x81, 0x42, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,Null State)
50 * 0x81, 0x01, // Input (Const,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
59 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
74 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
77 …* 0xB1, 0x02, // Feature (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,…
79 …* 0x91, 0x02, // Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,N…
88 * 0x81, 0x02, // Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
126 0x81, 0x02, /* Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position) */
[all …]
/Linux-v5.10/Documentation/filesystems/ext4/
Ddirectory.rst15 Linear (Classic) Directories
18 By default, each directory lists its entries in an “almost-linear
19 array. I write “almost” because it's not a linear array in the memory
22 data blocks and that each block contains a linear array of directory
169 A linear array of directory entries isn't great for performance, so a
176 blocks! It was stated previously that the end of the linear directory
178 (ab)used to fool the old linear-scan algorithm into thinking that the
191 minor\_hash->block map to find leafe nodes. Leaf nodes contain a linear
200 number. If the tree is flat, the block is a linear array of directory
203 third block number. That third block number will be a linear array of
[all …]
/Linux-v5.10/drivers/sh/intc/
Dirqdomain.c50 * Quick linear revmap check in intc_irq_domain_init()
56 * Linear domains have a hard-wired assertion that IRQs start at in intc_irq_domain_init()
58 * restrict the linear case to these conditions here, taking the in intc_irq_domain_init()
59 * tree penalty for linear cases with non-zero hwirq bases. in intc_irq_domain_init()
/Linux-v5.10/arch/powerpc/mm/nohash/
Dtlb_low_64e.S30 * TLB miss handling for Book3E with a bolted linear mapping *
133 * This is the guts of the TLB miss handler for bolted-linear.
256 * Linear mapping is bolted: no virtual page table or nested TLB misses
533 * linear mapping case but I'll leave that for later
538 cmpldi cr0,r15,0xc /* linear mapping ? */
539 beq tlb_load_linear /* yes -> go to linear map load */
541 /* The page tables are mapped virtually linear. At this point, though,
605 * linear mapping case since we know the linear mapping case will
607 * in the linear mapping case but I'll leave that for later
612 cmpldi cr0,r15,0xc /* linear mapping ? */
[all …]
/Linux-v5.10/drivers/video/backlight/
Dlm3533_bl.c136 int linear; in show_linear() local
146 linear = 1; in show_linear()
148 linear = 0; in show_linear()
150 return scnprintf(buf, PAGE_SIZE, "%x\n", linear); in show_linear()
158 unsigned long linear; in store_linear() local
163 if (kstrtoul(buf, 0, &linear)) in store_linear()
168 if (linear) in store_linear()
217 static LM3533_ATTR_RW(linear);
/Linux-v5.10/sound/firewire/fireworks/
Dfireworks_proc.c123 * dB = 20 * log10(linear / 0x01000000)
124 * -144.0 dB when linear is 0
134 u32 *linear; in proc_read_phys_meters() local
151 linear = meters->values; in proc_read_phys_meters()
158 name, c, linear[m++]); in proc_read_phys_meters()
164 linear = meters->values + meters->out_meters; in proc_read_phys_meters()
171 name, c, linear[m++]); in proc_read_phys_meters()
/Linux-v5.10/Documentation/filesystems/
Dntfs.rst250 the recommended one to use for linear raid. But the latter is required for
261 Linear volume sets, i.e. linear raid, has been tested and works fine. Even
326 For a linear raid the table would look like this (note all values are in
331 0 1028161 linear /dev/hda1 0
332 1028161 3903762 linear /dev/hdb2 0
333 4931923 2103211 linear /dev/hdc1 0
397 Linear volume sets, i.e. linear raid, as well as stripe sets, i.e. raid level
399 the MD driver with NTFS volumes" especially if you want to use linear raid).
424 For linear raid, just change the raid-level above to "raid-level linear", for
456 an odd number of sectors. This is especially important for linear raid as all
[all …]

12345678910>>...39