Home
last modified time | relevance | path

Searched refs:linear (Results 1 – 25 of 153) sorted by relevance

1234567

/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_lib_spectrum.sh28 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
99 devlink_resource_size_set 64000 kvd linear
[all …]
/Linux-v5.4/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-adp886040 value between 0 mA and 30 mA using linear or non-linear
54 between 0 mA and 30 mA using linear or non-linear algorithms.
Dsysfs-class-backlight-driver-lm353326 What: /sys/class/backlight/<backlight>/linear
34 1 - linear mode
Dsysfs-class-led-driver-lm353343 What: /sys/class/leds/<led>/linear
51 1 - linear mode
/Linux-v5.4/Documentation/admin-guide/device-mapper/
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";
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 …]
/Linux-v5.4/drivers/hwmon/pmbus/
Dir35221.c106 info->format[PSC_VOLTAGE_IN] = linear; in ir35221_probe()
107 info->format[PSC_VOLTAGE_OUT] = linear; in ir35221_probe()
108 info->format[PSC_CURRENT_IN] = linear; in ir35221_probe()
109 info->format[PSC_CURRENT_OUT] = linear; in ir35221_probe()
110 info->format[PSC_POWER] = linear; in ir35221_probe()
111 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.c50 .format[PSC_VOLTAGE_IN] = linear,
52 .format[PSC_CURRENT_IN] = linear,
53 .format[PSC_CURRENT_OUT] = linear,
54 .format[PSC_TEMPERATURE] = linear,
55 .format[PSC_POWER] = linear,
Dtps53679.c55 .format[PSC_VOLTAGE_IN] = linear,
57 .format[PSC_TEMPERATURE] = linear,
58 .format[PSC_CURRENT_OUT] = linear,
59 .format[PSC_POWER] = linear,
Dtps40422.c17 .format[PSC_VOLTAGE_IN] = linear,
18 .format[PSC_VOLTAGE_OUT] = linear,
19 .format[PSC_TEMPERATURE] = linear,
/Linux-v5.4/drivers/gpu/drm/armada/
Darmada_gem.c54 } else if (dobj->linear) { 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()
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()
158 kfree(obj->linear); in armada_gem_linear_back()
159 obj->linear = NULL; in armada_gem_linear_back()
[all …]
/Linux-v5.4/Documentation/hwmon/
Dltc2978.rst12 Datasheet: http://www.linear.com/product/ltc2974
20 Datasheet: http://www.linear.com/product/ltc2975
28 Datasheet: http://www.linear.com/product/ltc2977
36 Datasheet: http://www.linear.com/product/ltc2978
38 http://www.linear.com/product/ltc2978a
46 Datasheet: http://www.linear.com/product/ltc2980
54 Datasheet: http://www.linear.com/product/ltc3880
62 Datasheet: http://www.linear.com/product/ltc3882
70 Datasheet: http://www.linear.com/product/ltc3883
78 Datasheet: http://www.linear.com/product/ltc3886
[all …]
/Linux-v5.4/drivers/video/backlight/
Dlm3533_bl.c142 int linear; in show_linear() local
152 linear = 1; in show_linear()
154 linear = 0; in show_linear()
156 return scnprintf(buf, PAGE_SIZE, "%x\n", linear); in show_linear()
164 unsigned long linear; in store_linear() local
169 if (kstrtoul(buf, 0, &linear)) in store_linear()
174 if (linear) in store_linear()
223 static LM3533_ATTR_RW(linear);
/Linux-v5.4/sound/firewire/fireworks/
Dfireworks_proc.c134 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.4/drivers/net/
Dtap.c596 size_t len, size_t linear, in tap_alloc_skb() argument
602 if (prepad + len < PAGE_SIZE || !linear) in tap_alloc_skb()
603 linear = len; in tap_alloc_skb()
605 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
611 skb_put(skb, linear); in tap_alloc_skb()
612 skb->data_len = len - linear; in tap_alloc_skb()
613 skb->len += len - linear; in tap_alloc_skb()
636 size_t linear; in tap_get_user() local
675 linear = copylen; in tap_get_user()
684 linear = tap16_to_cpu(q, vnet_hdr.hdr_len); in tap_get_user()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dcolorspaces.rst99 specific chromaticity primaries are linear colorspaces. But neither the
100 eye, nor display technology is linear. Doubling the values of all
101 components in the linear colorspace will not be perceived as twice the
103 function that takes a linear color component value and transforms it to
104 the non-linear component value, which is a closer match to the
105 non-linear performance of both the eye and displays. Linear component
106 values are denoted RGB, non-linear are denoted as R'G'B'. In general
108 linear RGB. Special care should be taken when dealing with openGL to
109 provide linear RGB colors or to use the built-in openGL support to apply
113 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
/Linux-v5.4/drivers/md/
DMakefile6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
26 linear-y += md-linear.o
35 obj-$(CONFIG_MD_LINEAR) += linear.o
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dphy.c567 u64 linear; in rtw_phy_db_2_linear() local
578 linear = db_invert_table[i][j]; in rtw_phy_db_2_linear()
579 linear = i > 2 ? linear << FRAC_BITS : linear; in rtw_phy_db_2_linear()
581 return linear; in rtw_phy_db_2_linear()
584 static u8 rtw_phy_linear_2_db(u64 linear) in rtw_phy_linear_2_db() argument
590 if (linear >= db_invert_table[11][7]) in rtw_phy_linear_2_db()
594 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
596 else if (i > 2 && linear <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
601 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
603 else if (i > 2 && linear <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
[all …]
/Linux-v5.4/drivers/leds/
Dleds-lm3533.c508 int linear; in show_linear() local
517 linear = 1; in show_linear()
519 linear = 0; in show_linear()
521 return scnprintf(buf, PAGE_SIZE, "%x\n", linear); in show_linear()
530 unsigned long linear; in store_linear() local
536 if (kstrtoul(buf, 0, &linear)) in store_linear()
542 if (linear) in store_linear()
593 static LM3533_ATTR_RW(linear);
/Linux-v5.4/Documentation/filesystems/ext4/
Ddirectory.rst18 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
206 To traverse the directory as a linear array (such as the old code does),

1234567