Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dbel-pfe.c32 .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,
54 .format[PSC_CURRENT_IN] = linear,
[all …]
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,
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()
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,
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,
Dtps40422.c17 .format[PSC_VOLTAGE_IN] = linear,
18 .format[PSC_VOLTAGE_OUT] = linear,
19 .format[PSC_TEMPERATURE] = linear,
Dmax16601.c203 .format[PSC_VOLTAGE_IN] = linear,
205 .format[PSC_CURRENT_IN] = linear,
206 .format[PSC_CURRENT_OUT] = linear,
207 .format[PSC_TEMPERATURE] = linear,
208 .format[PSC_POWER] = linear,
Dtps53679.c165 .format[PSC_VOLTAGE_IN] = linear,
167 .format[PSC_TEMPERATURE] = linear,
168 .format[PSC_CURRENT_OUT] = linear,
169 .format[PSC_POWER] = linear,
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.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.
Dsysfs-class-backlight-driver-lm353328 What: /sys/class/backlight/<backlight>/linear
37 1 linear mode
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/
Dtap.c594 size_t len, size_t linear, in tap_alloc_skb() argument
600 if (prepad + len < PAGE_SIZE || !linear) in tap_alloc_skb()
601 linear = len; in tap_alloc_skb()
603 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
609 skb_put(skb, linear); in tap_alloc_skb()
610 skb->data_len = len - linear; in tap_alloc_skb()
611 skb->len += len - linear; in tap_alloc_skb()
634 size_t linear; in tap_get_user() local
673 linear = copylen; in tap_get_user()
682 linear = tap16_to_cpu(q, vnet_hdr.hdr_len); in tap_get_user()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/md/
DMakefile6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
27 linear-y += md-linear.o
36 obj-$(CONFIG_MD_LINEAR) += linear.o
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dphy.c584 u64 linear; in rtw_phy_db_2_linear() local
595 linear = db_invert_table[i][j]; in rtw_phy_db_2_linear()
596 linear = i > 2 ? linear << FRAC_BITS : linear; in rtw_phy_db_2_linear()
598 return linear; in rtw_phy_db_2_linear()
601 static u8 rtw_phy_linear_2_db(u64 linear) in rtw_phy_linear_2_db() argument
607 if (linear >= db_invert_table[11][7]) in rtw_phy_linear_2_db()
611 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
613 else if (i > 2 && linear <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
618 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
620 else if (i > 2 && linear <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
[all …]

1234567