/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | push.h | 126 #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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | sgtl5000.yaml | 63 1 = 1.66 mA 2.87 mA 4.02 mA 64 2 = 3.33 mA 5.74 mA 8.03 mA 65 3 = 4.99 mA 8.61 mA 12.05 mA 76 1 = 1.66 mA 2.87 mA 4.02 mA 77 2 = 3.33 mA 5.74 mA 8.03 mA 78 3 = 4.99 mA 8.61 mA 12.05 mA
|
/openbmc/linux/arch/parisc/lib/ |
H A D | lusercopy.S | 41 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 27 Current of pre-charge mode. The pre-charge current levels are 350 mA 28 to 650 mA programmed by I2C per 100 mA. 31 Current of fast-charge mode. The fast-charge current levels are 700 mA 32 to 2000 mA programmed by I2C per 100 mA. 35 This property is end of charge current. Its level ranges from 150 mA 36 to 600 mA. Between 150 mA and 300 mA in 50 mA steps, between 300 mA and 37 600 mA in 100 mA steps.
|
H A D | ti,lp8727.yaml | 53 0 = 90mA, 1 = 100mA, 2 = 400mA, 3 = 450mA, 4 = 500mA, 5 = 600mA, 54 6 = 700mA, 7 = 800mA, 8 = 900mA, 9 = 1000mA 76 /* AC charger: 5% EOC and 500mA charging current */ 83 /* USB charger: 10% EOC and 400mA charging current */
|
H A D | bq24735.yaml | 39 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).
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | relocate_kernel.S | 79 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | pcf50633-charger.c | 36 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 …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | assembly.h | 63 #define STREGM std,ma 278 fstd,ma %fr0, 8(\regs) 279 fstd,ma %fr1, 8(\regs) 280 fstd,ma %fr2, 8(\regs) 281 fstd,ma %fr3, 8(\regs) 282 fstd,ma %fr4, 8(\regs) 283 fstd,ma %fr5, 8(\regs) 284 fstd,ma %fr6, 8(\regs) 285 fstd,ma %fr7, 8(\regs) 286 fstd,ma %fr8, 8(\regs) [all …]
|
H A D | checksum.h | 33 " 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() 130 " ldd,ma 8(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic() 131 " ldd,ma 8(%2), %5\n" /* get 1st daddr word */ in csum_ipv6_magic() 133 " ldd,ma 8(%1), %6\n" /* 2nd saddr */ in csum_ipv6_magic() 134 " ldd,ma 8(%2), %7\n" /* 2nd daddr */ in csum_ipv6_magic() 151 " ldw,ma 4(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic() 152 " ldw,ma 4(%2), %5\n" /* get 1st daddr word */ in csum_ipv6_magic() 154 " ldw,ma 4(%1), %6\n" /* 2nd saddr */ in csum_ipv6_magic() [all …]
|
H A D | barrier.h | 41 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" \
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_table.c | 177 static void __mask_array_destroy(struct mask_array *ma) in __mask_array_destroy() argument 179 free_percpu(ma->masks_usage_stats); in __mask_array_destroy() 180 kfree(ma); in __mask_array_destroy() 185 struct mask_array *ma = container_of(rcu, struct mask_array, rcu); in mask_array_rcu_cb() local 187 __mask_array_destroy(ma); in mask_array_rcu_cb() 190 static void tbl_mask_array_reset_counters(struct mask_array *ma) in tbl_mask_array_reset_counters() argument 199 for (i = 0; i < ma->max; i++) { in tbl_mask_array_reset_counters() 200 ma->masks_usage_zero_cntr[i] = 0; in tbl_mask_array_reset_counters() 207 stats = per_cpu_ptr(ma->masks_usage_stats, cpu); in tbl_mask_array_reset_counters() 213 ma->masks_usage_zero_cntr[i] += counter; in tbl_mask_array_reset_counters() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/sci/svc/pad/ |
H A D | api.h | 22 #define SC_PAD_28FDSOI_DSE_18V_1MA 0U /* Drive strength of 1mA for 1.8v */ 23 #define SC_PAD_28FDSOI_DSE_18V_2MA 1U /* Drive strength of 2mA for 1.8v */ 24 #define SC_PAD_28FDSOI_DSE_18V_4MA 2U /* Drive strength of 4mA for 1.8v */ 25 #define SC_PAD_28FDSOI_DSE_18V_6MA 3U /* Drive strength of 6mA for 1.8v */ 26 #define SC_PAD_28FDSOI_DSE_18V_8MA 4U /* Drive strength of 8mA for 1.8v */ 27 #define SC_PAD_28FDSOI_DSE_18V_10MA 5U /* Drive strength of 10mA for 1.8v */ 28 #define SC_PAD_28FDSOI_DSE_18V_12MA 6U /* Drive strength of 12mA for 1.8v */ 30 #define SC_PAD_28FDSOI_DSE_33V_2MA 0U /* Drive strength of 2mA for 3.3v */ 31 #define SC_PAD_28FDSOI_DSE_33V_4MA 1U /* Drive strength of 4mA for 3.3v */ 32 #define SC_PAD_28FDSOI_DSE_33V_8MA 2U /* Drive strength of 8mA for 3.3v */ [all …]
|
/openbmc/linux/include/linux/ |
H A D | bpf_mem_alloc.h | 25 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu); 26 void bpf_mem_alloc_destroy(struct bpf_mem_alloc *ma); 29 void *bpf_mem_alloc(struct bpf_mem_alloc *ma, size_t size); 30 void bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr); 31 void bpf_mem_free_rcu(struct bpf_mem_alloc *ma, void *ptr); 34 void *bpf_mem_cache_alloc(struct bpf_mem_alloc *ma); 35 void bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr); 36 void bpf_mem_cache_free_rcu(struct bpf_mem_alloc *ma, void *ptr); 38 void *bpf_mem_cache_alloc_flags(struct bpf_mem_alloc *ma, gfp_t flags);
|
/openbmc/linux/kernel/bpf/ |
H A D | memalloc.c | 496 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu) in bpf_mem_alloc_init() argument 504 ma->percpu = percpu; in bpf_mem_alloc_init() 531 ma->cache = pc; in bpf_mem_alloc_init() 558 ma->caches = pcc; in bpf_mem_alloc_init() 593 static void check_leaked_objs(struct bpf_mem_alloc *ma) in check_leaked_objs() argument 599 if (ma->cache) { in check_leaked_objs() 601 c = per_cpu_ptr(ma->cache, cpu); in check_leaked_objs() 605 if (ma->caches) { in check_leaked_objs() 607 cc = per_cpu_ptr(ma->caches, cpu); in check_leaked_objs() 616 static void free_mem_alloc_no_barrier(struct bpf_mem_alloc *ma) in free_mem_alloc_no_barrier() argument [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-stm32-usbphyc.yaml | 125 - <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 …]
|
/openbmc/linux/include/linux/iio/dac/ |
H A D | ad5421.h | 7 * @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)
|
/openbmc/linux/include/linux/platform_data/ |
H A D | adp8870.h | 83 * 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 …]
|
/openbmc/linux/io_uring/ |
H A D | advise.c | 34 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() 52 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()
|
/openbmc/linux/Documentation/leds/ |
H A D | leds-lm3556.rst | 22 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::
|
/openbmc/linux/arch/sh/kernel/ |
H A D | traps_32.c | 103 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 …]
|
/openbmc/linux/include/linux/power/ |
H A D | bq2415x_charger.h | 29 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 */
|
/openbmc/linux/include/linux/usb/ |
H A D | pd.h | 232 #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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/cfg/ |
H A D | ax210.c | 35 #define IWL_MA_A_HR_B_FW_PRE "iwlwifi-ma-a0-hr-b0" 36 #define IWL_MA_A_GF_A_FW_PRE "iwlwifi-ma-a0-gf-a0" 37 #define IWL_MA_A_GF4_A_FW_PRE "iwlwifi-ma-a0-gf4-a0" 38 #define IWL_MA_A_MR_A_FW_PRE "iwlwifi-ma-a0-mr-a0" 39 #define IWL_MA_B_HR_B_FW_PRE "iwlwifi-ma-b0-hr-b0" 40 #define IWL_MA_B_GF_A_FW_PRE "iwlwifi-ma-b0-gf-a0" 41 #define IWL_MA_B_GF4_A_FW_PRE "iwlwifi-ma-b0-gf4-a0" 42 #define IWL_MA_B_MR_A_FW_PRE "iwlwifi-ma-b0-mr-a0" 278 .fw_name_mac = "ma", 306 MODULE_FIRMWARE("iwlwifi-ma-b0-gf-a0.pnvm"); [all …]
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | botching-up-ioctls.rst | 18 sistema che finge di essere generico, ma al suo posto ci sono interfacce 19 dedicate. Ma al tempo stesso è più facile incasinare le cose. 41 i valori a 64-bit rispettandone l'allineamento, ma le piattaforme a 64-bit lo 78 Questo aiuta, ma non è una soluzione completa dato che uno spazio utente nuovo 157 parte. Gli orologi divergeranno, ma con questa informazione gli strumenti di 163 nanosecondi. Non è il modo migliore per specificare il tempo, ma è 177 scadenze potrebbero essere estese - ma sicuramente gli utenti vi odieranno 210 dei nomi con oggetti per il *framebuffer*, ma questi non sono per niente 216 sottomissione di un oggetto allo stesso comando ioctl. Ma per evitarlo, se 219 ma considerate l'idea di usare il numero di inode come identificatore per i [all …]
|