Home
last modified time | relevance | path

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

123

/drivers/hwmon/pmbus/
Dbel-pfe.c33 .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,
55 .format[PSC_CURRENT_IN] = linear,
[all …]
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,
Dbpa-rs600.c130 .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,
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,
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.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,
Dpm6764tr.c33 .format[PSC_VOLTAGE_IN] = linear,
35 .format[PSC_TEMPERATURE] = linear,
36 .format[PSC_CURRENT_OUT] = linear,
37 .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,
Dtps53679.c178 info->format[PSC_VOLTAGE_OUT] = linear; in tps53676_identify()
207 .format[PSC_VOLTAGE_IN] = linear,
209 .format[PSC_TEMPERATURE] = linear,
210 .format[PSC_CURRENT_OUT] = linear,
211 .format[PSC_POWER] = linear,
Dmax16601.c225 .format[PSC_VOLTAGE_IN] = linear,
227 .format[PSC_CURRENT_IN] = linear,
228 .format[PSC_CURRENT_OUT] = linear,
229 .format[PSC_TEMPERATURE] = linear,
230 .format[PSC_POWER] = linear,
Dq54sj108a2.c60 .format[PSC_TEMPERATURE] = linear,
61 .format[PSC_VOLTAGE_IN] = linear,
62 .format[PSC_CURRENT_OUT] = linear,
Dmax20730.c552 .format[PSC_VOLTAGE_OUT] = linear,
591 .format[PSC_VOLTAGE_OUT] = linear,
620 .format[PSC_VOLTAGE_OUT] = linear,
649 .format[PSC_VOLTAGE_OUT] = linear,
/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 …]
Darmada_drv.c121 drm_mm_init(&priv->linear, mem->start, resource_size(mem)); in armada_drm_bind()
157 drm_mm_takedown(&priv->linear); in armada_drm_bind()
176 drm_mm_takedown(&priv->linear); in armada_drm_unbind()
Darmada_gem.h17 struct drm_mm_node *linear; /* for linear backed */ member
/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);
Dlm3630a_bl.c409 bool linear; in lm3630a_parse_bank() local
427 linear = fwnode_property_read_bool(node, in lm3630a_parse_bank()
434 pdata->ledb_ctrl = linear ? in lm3630a_parse_bank()
441 pdata->leda_ctrl = linear ? in lm3630a_parse_bank()
/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 …]
Dtun.c1447 size_t linear; in tun_napi_alloc_frags() local
1461 linear = iov_iter_single_seg_count(it); in tun_napi_alloc_frags()
1462 err = __skb_grow(skb, linear); in tun_napi_alloc_frags()
1467 skb->data_len = len - linear; in tun_napi_alloc_frags()
1500 size_t linear, int noblock) in tun_alloc_skb() argument
1507 if (prepad + len < PAGE_SIZE || !linear) in tun_alloc_skb()
1508 linear = len; in tun_alloc_skb()
1510 skb = sock_alloc_send_pskb(sk, prepad + linear, len - linear, noblock, in tun_alloc_skb()
1516 skb_put(skb, linear); in tun_alloc_skb()
1517 skb->data_len = len - linear; in tun_alloc_skb()
[all …]
/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);
/drivers/md/
DMakefile6 dm-mod-y += dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
32 linear-y += md-linear.o
41 obj-$(CONFIG_MD_LINEAR) += linear.o
/drivers/net/wireless/realtek/rtw88/
Dphy.c731 u64 linear; in rtw_phy_db_2_linear() local
742 linear = db_invert_table[i][j]; in rtw_phy_db_2_linear()
743 linear = i > 2 ? linear << FRAC_BITS : linear; in rtw_phy_db_2_linear()
745 return linear; in rtw_phy_db_2_linear()
748 static u8 rtw_phy_linear_2_db(u64 linear) in rtw_phy_linear_2_db() argument
754 if (linear >= db_invert_table[11][7]) in rtw_phy_linear_2_db()
758 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
760 else if (i > 2 && linear <= db_invert_table[i][7]) in rtw_phy_linear_2_db()
765 if (i <= 2 && (linear << FRAC_BITS) <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
767 else if (i > 2 && linear <= db_invert_table[i][j]) in rtw_phy_linear_2_db()
[all …]

123