Home
last modified time | relevance | path

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

12345678910>>...37

/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_lib_spectrum.sh12 KVD_CHILDREN="linear hash_single hash_double"
26 size=$(devlink_resource_get kvd linear "$i" | \
28 devlink_resource_size_set "$size" kvd linear "$i"
50 current_size=$(devlink_resource_size_get kvd linear "$i")
53 devlink_resource_size_set "$size" kvd linear "$i"
76 KVD_DEFAULTS[$key]=$(devlink_resource_get kvd linear "$i")
88 devlink_resource_size_set 64000 kvd linear
89 devlink_resource_size_set 15616 kvd linear singles
90 devlink_resource_size_set 32000 kvd linear chunks
91 devlink_resource_size_set 16384 kvd linear large_chunks
[all …]
/linux/drivers/hwmon/pmbus/
H A Dbel-pfe.c22 * VOUT_MODE (0x16) is returned: it leads to incorrect exponent in linear
33 .format[PSC_VOLTAGE_IN] = linear,
34 .format[PSC_VOLTAGE_OUT] = linear,
35 .format[PSC_CURRENT_IN] = linear,
36 .format[PSC_CURRENT_OUT] = linear,
37 .format[PSC_POWER] = linear,
38 .format[PSC_TEMPERATURE] = linear,
39 .format[PSC_FAN] = linear,
53 .format[PSC_VOLTAGE_IN] = linear,
54 .format[PSC_VOLTAGE_OUT] = linear,
[all …]
H A Dmp5990.c29 if (data->vout_mode == linear) { in mp5990_read_byte_data()
32 * not linear16. Report that VOUT is in linear mode in mp5990_read_byte_data()
42 * In the standard, 0x17 represents linear mode. in mp5990_read_byte_data()
71 if (data->vout_mode == linear) { in mp5990_read_word_data()
135 * EFUSE_CFG (0xC4) bit9=1 is linear mode, bit=0 is direct mode. in mp5990_probe()
138 data->vout_mode = linear; in mp5990_probe()
139 data->info.format[PSC_VOLTAGE_IN] = linear; in mp5990_probe()
140 data->info.format[PSC_VOLTAGE_OUT] = linear; in mp5990_probe()
141 data->info.format[PSC_CURRENT_OUT] = linear; in mp5990_probe()
142 data->info.format[PSC_POWER] = linear; in mp5990_probe()
H A Dbpa-rs600.c80 /* Detect invalid 1640W (linear encoding) */ in bpa_rs600_read_pin_max()
82 /* Report 700W (linear encoding) */ in bpa_rs600_read_pin_max()
130 .format[PSC_VOLTAGE_IN] = linear,
131 .format[PSC_VOLTAGE_OUT] = linear,
132 .format[PSC_CURRENT_IN] = linear,
133 .format[PSC_CURRENT_OUT] = linear,
134 .format[PSC_POWER] = linear,
135 .format[PSC_TEMPERATURE] = linear,
136 .format[PSC_FAN] = linear,
H A Dxdpe152c4.c19 .format[PSC_VOLTAGE_IN] = linear,
20 .format[PSC_VOLTAGE_OUT] = linear,
21 .format[PSC_TEMPERATURE] = linear,
22 .format[PSC_CURRENT_IN] = linear,
23 .format[PSC_CURRENT_OUT] = linear,
24 .format[PSC_POWER] = linear,
H A Dir36021.c16 .format[PSC_VOLTAGE_IN] = linear,
17 .format[PSC_VOLTAGE_OUT] = linear,
18 .format[PSC_CURRENT_IN] = linear,
19 .format[PSC_CURRENT_OUT] = linear,
20 .format[PSC_POWER] = linear,
21 .format[PSC_TEMPERATURE] = linear,
H A 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()
H A Ddps920ab.c71 .format[PSC_VOLTAGE_IN] = linear,
72 .format[PSC_VOLTAGE_OUT] = linear,
73 .format[PSC_CURRENT_IN] = linear,
74 .format[PSC_CURRENT_OUT] = linear,
75 .format[PSC_POWER] = linear,
76 .format[PSC_FAN] = linear,
77 .format[PSC_TEMPERATURE] = linear,
H A Dmax20751.c17 .format[PSC_VOLTAGE_IN] = linear,
20 .format[PSC_TEMPERATURE] = linear,
21 .format[PSC_CURRENT_OUT] = linear,
22 .format[PSC_POWER] = linear,
H A Dadp1050.c16 .format[PSC_VOLTAGE_IN] = linear,
17 .format[PSC_VOLTAGE_OUT] = linear,
18 .format[PSC_CURRENT_IN] = linear,
19 .format[PSC_TEMPERATURE] = linear,
H A Dpxe1610.c63 .format[PSC_VOLTAGE_IN] = linear,
65 .format[PSC_CURRENT_IN] = linear,
66 .format[PSC_CURRENT_OUT] = linear,
67 .format[PSC_TEMPERATURE] = linear,
68 .format[PSC_POWER] = linear,
H A Dlt7182s.c85 .format[PSC_VOLTAGE_IN] = linear,
86 .format[PSC_VOLTAGE_OUT] = linear,
87 .format[PSC_CURRENT_IN] = linear,
88 .format[PSC_CURRENT_OUT] = linear,
89 .format[PSC_TEMPERATURE] = linear,
90 .format[PSC_POWER] = linear,
/linux/Documentation/admin-guide/device-mapper/
H A 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 …]
H A 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";
H A Ddm-ima.rst143 target_name := Name of the target. 'linear', 'crypt', 'integrity' etc.
149 For instance, if a linear device is created with the following table entries,
151 0 2 linear /dev/loop0 512
152 2 2 linear /dev/loop0 512
153 4 2 linear /dev/loop0 512
154 6 2 linear /dev/loop0 512
163 …target_index=0,target_begin=0,target_len=2,target_name=linear,target_version=1.4.0,device_name=7:0…
164 …target_index=1,target_begin=2,target_len=2,target_name=linear,target_version=1.4.0,device_name=7:0…
165 …target_index=2,target_begin=4,target_len=2,target_name=linear,target_version=1.4.0,device_name=7:0…
166 …target_index=3,target_begin=6,target_len=2,target_name=linear,target_version=1.4.0,device_name=7:0…
[all …]
/linux/lib/
H A 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/Documentation/userspace-api/media/v4l/
H A 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/drivers/gpu/drm/armada/
H A Darmada_gem.c56 } else if (dobj->linear) { in armada_gem_free_object()
57 /* linear backed memory */ in armada_gem_free_object()
59 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
61 kfree(dobj->linear); in armada_gem_free_object()
85 if (obj->page || obj->linear) in armada_gem_linear_back()
132 /* Otherwise, grab it from our linear allocation */ in armada_gem_linear_back()
144 ret = drm_mm_insert_node_generic(&priv->linear, node, in armada_gem_linear_back()
152 obj->linear = node; in armada_gem_linear_back()
155 ptr = ioremap_wc(obj->linear->start, size); in armada_gem_linear_back()
158 drm_mm_remove_node(obj->linear); in armada_gem_linear_back()
[all …]
/linux/drivers/hid/
H A 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/drivers/md/
H A Dmd-linear.c3 * linear.c : Multiple Devices driver for Linux Copyright (C) 1994-96 Marc
118 pr_warn("md/linear:%s: disk numbering problem. Aborting!\n", in linear_conf()
134 pr_warn("md/linear:%s: not enough drives present. Aborting!\n", in linear_conf()
187 /* Adding a drive to a linear array allows the array to grow. in linear_add()
292 …pr_err("md/linear:%s: make_request: Sector %llu out of bounds on dev %pg: %llu sectors, offset %ll… in linear_make_request()
312 pr_crit("md/linear%s: Disk failure on %pg detected, failing array.\n", in linear_error()
325 .name = "linear",
352 MODULE_DESCRIPTION("Linear device concatenation personality for MD (deprecated)");
353 MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/
354 MODULE_ALIAS("md-linear");
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c68 DRM_FORMAT_YUV420_8BIT, /* yuv420_8bit non-Linear mode only */
69 DRM_FORMAT_YUV420_10BIT, /* yuv420_10bit non-Linear mode only */
70 DRM_FORMAT_YUYV, /* yuv422_8bit non-Linear mode only*/
71 DRM_FORMAT_Y210, /* yuv422_10bit non-Linear mode only */
76 * RGB: linear mode and afbc
77 * YUV: linear mode and rfbc
78 * rfbc is a rockchip defined non-linear mode, produced by
94 DRM_FORMAT_NV12, /* yuv420_8bit linear mode, 2 plane */
95 DRM_FORMAT_NV21, /* yvu420_8bit linear mode, 2 plane */
96 DRM_FORMAT_NV16, /* yuv422_8bit linear mode, 2 plane */
[all …]
/linux/Documentation/ABI/testing/
H A 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
H A 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.
/linux/Documentation/filesystems/ext4/
H A 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
194 A linear array of directory entries isn't great for performance, so a
201 blocks! It was stated previously that the end of the linear directory
203 (ab)used to fool the old linear-scan algorithm into thinking that the
216 minor_hash->block map to find leafe nodes. Leaf nodes contain a linear
225 number. If the tree is flat, the block is a linear array of directory
228 third block number. That third block number will be a linear array of
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c64 * respective property is set to NULL. A linear DGM/RGM LUT should also
104 * between encoded values and optical/linear space. Depending on HW color caps,
117 * - Identity: linear/identity relationship between pixel value and
121 * - BT.709: has a linear segment in the bottom part and then a power function
129 * system. This has the implication that PQ EOTF (non-linear to linear) maps to
132 * Non-linear and linear forms are described in the table below:
135 * │ │ Non-linearLinear
151 * suggest the intention regarding non-linear encoding pixel's luminance
157 * from the encoded value to an optical (linear) value. De-gamma functions
160 * from an optical/linear space (which might have been used for blending)
[all …]

12345678910>>...37