Home
last modified time | relevance | path

Searched full:ma (Results 1 – 25 of 1159) sorted by relevance

12345678910>>...47

/Linux-v6.1/drivers/gpu/drm/nouveau/include/nvif/
Dpush.h126 #define PUSH_1(X,f,ds,n,o,p,s,mA,dA) do { \ argument
127 PUSH_##o##_HDR((p), s, mA, (ds)+(n)); \
128 PUSH_##f(X, (p), X##mA, 1, o, (dA), ds, ""); \
130 #define PUSH_2(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
131 PUSH_ASSERT((mB) - (mA) == (1?PUSH_##o##_INC), "mthd1"); \
132 PUSH_1(X, DATA_, 1, (ds) + (n), o, (p), s, X##mA, (dA), ##a); \
135 #define PUSH_3(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
136 PUSH_ASSERT((mB) - (mA) == (0?PUSH_##o##_INC), "mthd2"); \
137 PUSH_2(X, DATA_, 1, (ds) + (n), o, (p), s, X##mA, (dA), ##a); \
140 #define PUSH_4(X,f,ds,n,o,p,s,mB,dB,mA,dA,a...) do { \ argument
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dsgtl5000.yaml60 1 = 1.66 mA 2.87 mA 4.02 mA
61 2 = 3.33 mA 5.74 mA 8.03 mA
62 3 = 4.99 mA 8.61 mA 12.05 mA
73 1 = 1.66 mA 2.87 mA 4.02 mA
74 2 = 3.33 mA 5.74 mA 8.03 mA
75 3 = 4.99 mA 8.61 mA 12.05 mA
/Linux-v6.1/arch/parisc/lib/
Dlusercopy.S41 1: stbs,ma %r0,1(%sr3,%r26)
131 20: ldb,ma 1(srcspc,src),t1
132 21: stb,ma t1,1(dstspc,dst)
147 12: std,ma t1,8(dstspc,dst)
148 13: std,ma t2,8(dstspc,dst)
152 16: std,ma t1,8(dstspc,dst)
153 17: std,ma t2,8(dstspc,dst)
169 20: ldw,ma 4(srcspc,src),t1
170 21: stw,ma t1,4(dstspc,dst)
183 20: ldb,ma 1(srcspc,src),t1
[all …]
/Linux-v6.1/arch/parisc/kernel/
Drelocate_kernel.S79 LDREG,ma REG_SZ(%arg0), %r3
107 LDREG,ma REG_SZ(%r21), %r8
108 LDREG,ma REG_SZ(%r21), %r9
109 LDREG,ma REG_SZ(%r21), %r10
110 LDREG,ma REG_SZ(%r21), %r11
111 STREG,ma %r8, REG_SZ(%r20)
112 STREG,ma %r9, REG_SZ(%r20)
113 STREG,ma %r10, REG_SZ(%r20)
114 STREG,ma %r11, REG_SZ(%r20)
117 LDREG,ma REG_SZ(%r21), %r8
[all …]
/Linux-v6.1/drivers/power/supply/
Dpcf50633-charger.c36 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set() argument
44 if (ma >= 1000) { in pcf50633_mbc_usb_curlim_set()
46 ma = 1000; in pcf50633_mbc_usb_curlim_set()
47 } else if (ma >= 500) { in pcf50633_mbc_usb_curlim_set()
49 ma = 500; in pcf50633_mbc_usb_curlim_set()
50 } else if (ma >= 100) { in pcf50633_mbc_usb_curlim_set()
52 ma = 100; in pcf50633_mbc_usb_curlim_set()
55 ma = 0; in pcf50633_mbc_usb_curlim_set()
61 dev_err(pcf->dev, "error setting usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set()
63 dev_info(pcf->dev, "usb curlim to %d mA\n", ma); in pcf50633_mbc_usb_curlim_set()
[all …]
/Linux-v6.1/arch/parisc/include/asm/
Dassembly.h63 #define STREGM std,ma
280 fstd,ma %fr0, 8(\regs)
281 fstd,ma %fr1, 8(\regs)
282 fstd,ma %fr2, 8(\regs)
283 fstd,ma %fr3, 8(\regs)
284 fstd,ma %fr4, 8(\regs)
285 fstd,ma %fr5, 8(\regs)
286 fstd,ma %fr6, 8(\regs)
287 fstd,ma %fr7, 8(\regs)
288 fstd,ma %fr8, 8(\regs)
[all …]
Dchecksum.h33 " ldws,ma 4(%1), %0\n" in ip_fast_csum()
39 " ldws,ma 12(%1), %3\n" in ip_fast_csum()
42 "1: ldws,ma 4(%1), %3\n" in ip_fast_csum()
129 " ldd,ma 8(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic()
130 " ldd,ma 8(%2), %5\n" /* get 1st daddr word */ in csum_ipv6_magic()
132 " ldd,ma 8(%1), %6\n" /* 2nd saddr */ in csum_ipv6_magic()
133 " ldd,ma 8(%2), %7\n" /* 2nd daddr */ in csum_ipv6_magic()
150 " ldw,ma 4(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic()
151 " ldw,ma 4(%2), %5\n" /* get 1st daddr word */ in csum_ipv6_magic()
153 " ldw,ma 4(%1), %6\n" /* 2nd saddr */ in csum_ipv6_magic()
[all …]
Dbarrier.h41 asm volatile("stb,ma %0,0(%1)" \
46 asm volatile("sth,ma %0,0(%1)" \
51 asm volatile("stw,ma %0,0(%1)" \
57 asm volatile("std,ma %0,0(%1)" \
71 asm volatile("ldb,ma 0(%1),%0" \
76 asm volatile("ldh,ma 0(%1),%0" \
81 asm volatile("ldw,ma 0(%1),%0" \
87 asm volatile("ldd,ma 0(%1),%0" \
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dti,lp8727.yaml52 0 = 90mA, 1 = 100mA, 2 = 400mA, 3 = 450mA, 4 = 500mA, 5 = 600mA,
53 6 = 700mA, 7 = 800mA, 8 = 900mA, 9 = 1000mA
75 /* AC charger: 5% EOC and 500mA charging current */
82 /* USB charger: 10% EOC and 400mA charging current */
Dbq24735.yaml39 This value must be between 128mA and 8.128A with a 64mA step resolution.
40 The POR value is 0x0000h. This number is in mA (e.g. 8192).
55 This value must be between 128mA and 8.064A with a 128mA step resolution.
56 The POR value is 0x1000h. This number is in mA (e.g. 8064).
/Linux-v6.1/net/openvswitch/
Dflow_table.c176 static void __mask_array_destroy(struct mask_array *ma) in __mask_array_destroy() argument
178 free_percpu(ma->masks_usage_stats); in __mask_array_destroy()
179 kfree(ma); in __mask_array_destroy()
184 struct mask_array *ma = container_of(rcu, struct mask_array, rcu); in mask_array_rcu_cb() local
186 __mask_array_destroy(ma); in mask_array_rcu_cb()
189 static void tbl_mask_array_reset_counters(struct mask_array *ma) in tbl_mask_array_reset_counters() argument
198 for (i = 0; i < ma->max; i++) { in tbl_mask_array_reset_counters()
199 ma->masks_usage_zero_cntr[i] = 0; in tbl_mask_array_reset_counters()
206 stats = per_cpu_ptr(ma->masks_usage_stats, cpu); in tbl_mask_array_reset_counters()
212 ma->masks_usage_zero_cntr[i] += counter; in tbl_mask_array_reset_counters()
[all …]
/Linux-v6.1/kernel/bpf/
Dmemalloc.c357 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu) in bpf_mem_alloc_init() argument
387 ma->cache = pc; in bpf_mem_alloc_init()
410 ma->caches = pcc; in bpf_mem_alloc_init()
435 static void free_mem_alloc_no_barrier(struct bpf_mem_alloc *ma) in free_mem_alloc_no_barrier() argument
437 free_percpu(ma->cache); in free_mem_alloc_no_barrier()
438 free_percpu(ma->caches); in free_mem_alloc_no_barrier()
439 ma->cache = NULL; in free_mem_alloc_no_barrier()
440 ma->caches = NULL; in free_mem_alloc_no_barrier()
443 static void free_mem_alloc(struct bpf_mem_alloc *ma) in free_mem_alloc() argument
450 free_mem_alloc_no_barrier(ma); in free_mem_alloc()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dphy-stm32-usbphyc.yaml125 - <0> = 18.87 mA target current / nominal + 0%
126 - <1> = 19.165 mA target current / nominal + 1.56%
127 - <2> = 19.46 mA target current / nominal + 3.12%
128 - <3> = 19.755 mA target current / nominal + 4.68%
129 - <4> = 20.05 mA target current / nominal + 6.24%
130 - <5> = 20.345 mA target current / nominal + 7.8%
131 - <6> = 20.64 mA target current / nominal + 9.36%
132 - <7> = 20.935 mA target current / nominal + 10.92%
133 - <8> = 21.23 mA target current / nominal + 12.48%
134 - <9> = 21.525 mA target current / nominal + 14.04%
[all …]
/Linux-v6.1/include/linux/iio/dac/
Dad5421.h7 * @AD5421_CURRENT_RANGE_4mA_20mA: 4 mA to 20 mA (RANGE1,0 pins = 00)
8 * @AD5421_CURRENT_RANGE_3mA8_21mA: 3.8 mA to 21 mA (RANGE1,0 pins = x1)
9 * @AD5421_CURRENT_RANGE_3mA2_24mA: 3.2 mA to 24 mA (RANGE1,0 pins = 10)
/Linux-v6.1/include/linux/platform_data/
Dadp8870.h83 * Blacklight current 0..30mA
118 u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
119 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
120 u8 l2_bright_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
121 u8 l2_bright_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
122 u8 l3_office_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
123 u8 l3_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
124 u8 l4_indoor_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
125 u8 l4_indor_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
126 u8 l5_dark_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
[all …]
Dadp8860.h86 * Blacklight current 0..30mA
110 u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
111 u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
112 u8 l2_office_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
113 u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
114 u8 l3_dark_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
115 u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
/Linux-v6.1/include/linux/
Dbpf_mem_alloc.h17 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu);
18 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma);
21 void *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size);
22 void bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr);
25 void *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma);
26 void bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr);
/Linux-v6.1/io_uring/
Dadvise.c34 struct io_madvise *ma = io_kiocb_to_cmd(req, struct io_madvise); in io_madvise_prep() local
39 ma->addr = READ_ONCE(sqe->addr); in io_madvise_prep()
40 ma->len = READ_ONCE(sqe->len); in io_madvise_prep()
41 ma->advice = READ_ONCE(sqe->fadvise_advice); in io_madvise_prep()
51 struct io_madvise *ma = io_kiocb_to_cmd(req, struct io_madvise); in io_madvise() local
57 ret = do_madvise(current->mm, ma->addr, ma->len, ma->advice); in io_madvise()
/Linux-v6.1/Documentation/leds/
Dleds-lm3556.rst22 from 93.75 mA to 1500 mA.The Flash currents are adjusted via the CURRENT
37 93.75 mA::
43 1500 mA::
64 46.88 mA::
70 375 mA::
107 5.86 mA::
113 46.875mA::
/Linux-v6.1/arch/sh/kernel/
Dtraps_32.c103 struct mem_access *ma) in handle_unaligned_ins() argument
138 if (ma->from(dst, srcu, count)) in handle_unaligned_ins()
151 if (ma->to(dstu, src, count)) in handle_unaligned_ins()
162 if (ma->to(dstu, src, 4)) in handle_unaligned_ins()
175 if (ma->to(dstu, src, count)) in handle_unaligned_ins()
186 if (ma->from(dst, srcu, 4)) in handle_unaligned_ins()
201 if (ma->from(dst, srcu, count)) in handle_unaligned_ins()
217 if (ma->to(dstu, src, 2)) in handle_unaligned_ins()
231 if (ma->from(dst, srcu, 2)) in handle_unaligned_ins()
250 if (ma->from(dst, srcu, 2)) in handle_unaligned_ins()
[all …]
/Linux-v6.1/include/linux/usb/
Dpd.h232 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */
235 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument
237 #define PDO_FIXED(mv, ma, flags) \ argument
239 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
257 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */
261 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument
278 #define PDO_PPS_APDO_MAX_CURR_SHIFT 0 /* 50mA units */
287 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument
288 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT)
364 #define PDO_FIXED_OP_CURR(ma) ((((ma) / 10) & RDO_CURR_MASK) << RDO_FIXED_OP_CURR_SHIFT) argument
[all …]
/Linux-v6.1/include/linux/power/
Dbq2415x_charger.h29 BQ2415X_MODE_NONE, /* unknown charger (100mA) */
30 BQ2415X_MODE_HOST_CHARGER, /* usb host/hub charger (500mA) */
36 int current_limit; /* mA */
39 int charge_current; /* mA */
40 int termination_current; /* mA */
/Linux-v6.1/Documentation/translations/it_IT/process/
Dvolatile-considered-harmful.rst15 *volatile* come una variabile atomica di facile utilizzo, ma non è così.
48 potrebbe pensare di sapere cosa ci sarà nel dato condiviso ma la chiamata
53 sincronizzazione rimarrebbe comunque necessaria. Ma verrà impedito al
62 essere protetto dai lock, ma si potrebbe anche desiderare che il compilatore
64 Ma, all'interno del kernel, l'accesso alla memoria di I/O viene sempre fatto
92 - I codice *inline assembly* che fa cambiamenti nella memoria, ma che non
97 volta che viene letta ma può essere lette senza alcuna sincronizzazione.
98 Quindi jiffies può essere *volatile*, ma l'aggiunta ad altre variabili di
/Linux-v6.1/drivers/usb/phy/
Dphy-gpio-vbus-usb.c37 unsigned mA; member
58 static void set_vbus_draw(struct gpio_vbus_data *gpio_vbus, unsigned mA) in set_vbus_draw() argument
68 if (mA) { in set_vbus_draw()
69 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in set_vbus_draw()
84 gpio_vbus->mA = mA; in set_vbus_draw()
202 static int gpio_vbus_set_power(struct usb_phy *phy, unsigned mA) in gpio_vbus_set_power() argument
209 set_vbus_draw(gpio_vbus, mA); in gpio_vbus_set_power()
220 /* draw max 0 mA from vbus in suspend mode; or the previously in gpio_vbus_set_suspend()
223 * NOTE: high powered configs (mA > 100) may draw up to 2.5 mA in gpio_vbus_set_suspend()
226 return gpio_vbus_set_power(phy, suspend ? 0 : gpio_vbus->mA); in gpio_vbus_set_suspend()
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/
Dstmpe.txt34 0 -> 20 mA (typical 35mA max)
35 1 -> 50 mA (typical 80 mA max)
99 * 50 mA typical 80 mA max touchscreen drivers

12345678910>>...47