Home
last modified time | relevance | path

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

123456

/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_lib_spectrum.sh26 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
97 devlink_resource_size_set 64000 kvd linear
[all …]
/linux/drivers/hwmon/pmbus/
H A Dadp1050.c21 .format[PSC_VOLTAGE_IN] = linear,
22 .format[PSC_VOLTAGE_OUT] = linear,
23 .format[PSC_CURRENT_IN] = linear,
24 .format[PSC_TEMPERATURE] = linear,
33 .format[PSC_VOLTAGE_IN] = linear,
34 .format[PSC_VOLTAGE_OUT] = linear,
35 .format[PSC_CURRENT_IN] = linear,
36 .format[PSC_TEMPERATURE] = linear,
47 .format[PSC_VOLTAGE_IN] = linear,
48 .format[PSC_VOLTAGE_OUT] = linear,
[all …]
H A De50sn12051.c12 .format[PSC_VOLTAGE_IN] = linear,
13 .format[PSC_VOLTAGE_OUT] = linear,
14 .format[PSC_CURRENT_OUT] = linear,
15 .format[PSC_TEMPERATURE] = linear,
H A Dlt3074.c61 .format[PSC_VOLTAGE_IN] = linear,
62 .format[PSC_VOLTAGE_OUT] = linear,
63 .format[PSC_CURRENT_OUT] = linear,
64 .format[PSC_TEMPERATURE] = linear,
H A Dmax20830.c75 .format[PSC_VOLTAGE_IN] = linear,
76 .format[PSC_VOLTAGE_OUT] = linear,
77 .format[PSC_CURRENT_OUT] = linear,
78 .format[PSC_TEMPERATURE] = linear,
H A Dtps53679.c155 info->format[PSC_VOLTAGE_OUT] = linear; in tps53685_identify()
197 info->format[PSC_VOLTAGE_OUT] = linear; in tps53676_identify()
235 .format[PSC_VOLTAGE_IN] = linear,
237 .format[PSC_TEMPERATURE] = linear,
238 .format[PSC_CURRENT_OUT] = linear,
239 .format[PSC_POWER] = linear,
H A Dmp2975.c940 .format[PSC_VOLTAGE_IN] = linear,
943 .format[PSC_CURRENT_IN] = linear,
965 .format[PSC_VOLTAGE_IN] = linear,
967 .format[PSC_TEMPERATURE] = linear,
968 .format[PSC_CURRENT_IN] = linear,
969 .format[PSC_CURRENT_OUT] = linear,
970 .format[PSC_POWER] = linear,
/linux/Documentation/admin-guide/device-mapper/
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-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/drivers/gpu/drm/armada/
H A Darmada_gem.c57 } else if (dobj->linear) { in armada_gem_free_object()
60 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
62 kfree(dobj->linear); in armada_gem_free_object()
86 if (obj->page || obj->linear) in armada_gem_linear_back()
145 ret = drm_mm_insert_node_generic(&priv->linear, node, in armada_gem_linear_back()
153 obj->linear = node; in armada_gem_linear_back()
156 ptr = ioremap_wc(obj->linear->start, size); in armada_gem_linear_back()
159 drm_mm_remove_node(obj->linear); in armada_gem_linear_back()
161 kfree(obj->linear); in armada_gem_linear_back()
162 obj->linear = NULL; in armada_gem_linear_back()
[all …]
H A Darmada_drv.c118 drm_mm_init(&priv->linear, mem->start, resource_size(mem)); in armada_drm_bind()
151 drm_mm_takedown(&priv->linear); in armada_drm_bind()
170 drm_mm_takedown(&priv->linear); in armada_drm_unbind()
/linux/Documentation/ABI/testing/
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.
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-backlight-driver-lm353328 What: /sys/class/backlight/<backlight>/linear
37 1 linear mode
H A Dsysfs-class-led-driver-lm353347 What: /sys/class/leds/<led>/linear
56 1 linear mode
/linux/drivers/video/backlight/
H A Dlm3533_bl.c135 int linear; in show_linear() local
145 linear = 1; in show_linear()
147 linear = 0; in show_linear()
149 return scnprintf(buf, PAGE_SIZE, "%x\n", linear); in show_linear()
157 unsigned long linear; in store_linear() local
162 if (kstrtoul(buf, 0, &linear)) in store_linear()
167 if (linear) in store_linear()
216 static LM3533_ATTR_RW(linear);
/linux/sound/firewire/fireworks/
H A 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/Documentation/userspace-api/media/v4l/
H A Dcolorspaces.rst93 specific chromaticity primaries are linear colorspaces. But neither the
94 eye, nor display technology is linear. Doubling the values of all
95 components in the linear colorspace will not be perceived as twice the
97 function that takes a linear color component value and transforms it to
98 the non-linear component value, which is a closer match to the
99 non-linear performance of both the eye and displays. Linear component
100 values are denoted RGB, non-linear are denoted as R'G'B'. In general
102 linear RGB. Special care should be taken when dealing with openGL to
103 provide linear RGB colors or to use the built-in openGL support to apply
107 non-linear R'G'B' to non-linear Y'CbCr. This function is determined by
/linux/drivers/net/
H A Dtap.c544 size_t len, size_t linear, in tap_alloc_skb() argument
550 if (prepad + len < PAGE_SIZE || !linear) in tap_alloc_skb()
551 linear = len; in tap_alloc_skb()
553 if (len - linear > MAX_SKB_FRAGS * (PAGE_SIZE << PAGE_ALLOC_COSTLY_ORDER)) in tap_alloc_skb()
554 linear = len - MAX_SKB_FRAGS * (PAGE_SIZE << PAGE_ALLOC_COSTLY_ORDER); in tap_alloc_skb()
555 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tap_alloc_skb()
561 skb_put(skb, linear); in tap_alloc_skb()
562 skb->data_len = len - linear; in tap_alloc_skb()
563 skb->len += len - linear; in tap_alloc_skb()
587 size_t linear; in tap_get_user() local
[all …]
/linux/drivers/leds/
H A Dleds-lm3533.c508 int linear; in show_linear() local
517 linear = 1; in show_linear()
519 linear = 0; in show_linear()
521 return sysfs_emit(buf, "%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/drivers/net/ovpn/
H A Dtcp.c407 int ret, linear = PAGE_SIZE; in ovpn_tcp_sendmsg() local
432 if (size < linear) in ovpn_tcp_sendmsg()
433 linear = size; in ovpn_tcp_sendmsg()
435 skb = sock_alloc_send_pskb(sk, linear, size - linear, in ovpn_tcp_sendmsg()
443 skb_put(skb, linear); in ovpn_tcp_sendmsg()
445 skb->data_len = size - linear; in ovpn_tcp_sendmsg()
/linux/Documentation/trace/rv/
H A Dlinear_temporal_logic.rst18 Thus, RV monitors based on linear temporal logic (LTL) are introduced. This type
57 Example linear temporal logic
115 One book covering model checking and linear temporal logic is::
120 For an example of using linear temporal logic in software testing, see::
/linux/Documentation/bpf/
H A Dredirect.rst29 those that do, not all of them support non-linear frames. Non-linear xdp
/linux/net/iucv/
H A Daf_iucv.c925 size_t linear; in iucv_sock_sendmsg() local
1005 linear = min(len, PAGE_SIZE - headroom); in iucv_sock_sendmsg()
1008 linear = len; in iucv_sock_sendmsg()
1015 linear = PAGE_SIZE - headroom; in iucv_sock_sendmsg()
1018 skb = sock_alloc_send_pskb(sk, headroom + linear, len - linear, in iucv_sock_sendmsg()
1024 skb_put(skb, linear); in iucv_sock_sendmsg()
1026 skb->data_len = len - linear; in iucv_sock_sendmsg()
1131 size_t headroom, linear; in alloc_iucv_recv_skb() local
1137 linear = len; in alloc_iucv_recv_skb()
1140 linear = PAGE_SIZE - headroom; in alloc_iucv_recv_skb()
[all …]
/linux/Documentation/userspace-api/media/drivers/
H A Dccs.rst92 this case, the formula to calculate actual gain consists of linear and
95 gain = linear * 2 ^ exponent
97 The ``linear`` and ``exponent`` factors can be set using the

123456