/openbmc/linux/arch/parisc/lib/ |
H A D | lusercopy.S | 40 addib,<> -1,%r25,$lclu_loop 41 1: stbs,ma %r0,1(%sr3,%r26) 48 ldo 1(%r25),%r25 50 ASM_EXCEPTIONTABLE_ENTRY(1b,2b) 131 20: ldb,ma 1(srcspc,src),t1 132 21: stb,ma t1,1(dstspc,dst) 134 ldo -1(len),len 147 12: std,ma t1,8(dstspc,dst) 148 13: std,ma t2,8(dstspc,dst) 152 16: std,ma t1,8(dstspc,dst) [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | push.h | 77 __builtin_choose_expr(__builtin_constant_p(a), (a), 1), b \ 108 PUSH_DATA_(X, _pp, X##m, i0, i1, *_dd++, 1, "+0x%x", 0); \ 110 PUSH_DATA_(X, _pp, X##m, i0, i1, *_dd++, 1, "+0x%x", _i); \ 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 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | sgtl5000.yaml | 20 maxItems: 1 58 The LRCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the 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 67 enum: [ 0, 1, 2, 3 ] 71 The SCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the 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 [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | relocate_kernel.S | 61 ldo 1f-0b(%arg2), %r1 68 depdi,z 1, PSW_W_BIT, 1, %r1 75 1: nop 79 LDREG,ma REG_SZ(%arg0), %r3 101 zdepi 1, 31 - PAGE_SHIFT, 1, %r18 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) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | ti,lp8727.yaml | 23 maxItems: 1 45 0 = 5%, 1 = 10%, 2 = 16%, 3 = 20%, 4 = 25%, 5 = 33%, 6 = 50% 53 0 = 90mA, 1 = 100mA, 2 = 400mA, 3 = 450mA, 4 = 500mA, 5 = 600mA, 54 6 = 700mA, 7 = 800mA, 8 = 900mA, 9 = 1000mA 66 #address-cells = <1>; 76 /* AC charger: 5% EOC and 500mA charging current */ 83 /* USB charger: 10% EOC and 400mA charging current */ 86 eoc-level = /bits/ 8 <1>;
|
H A D | bq24735.yaml | 21 maxItems: 1 25 maxItems: 1 28 maxItems: 1 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). 81 #address-cells = <1>;
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8/sci/svc/pad/ |
H A D | api.h | 11 #define SC_PAD_CONFIG_OD 1U /* Open Drain */ 17 #define SC_PAD_ISO_EARLY 1U /* Follow EARLY_ISO */ 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 */ [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | assembly.h | 52 #define SR_TEMP1 1 63 #define STREGM std,ma 125 ldil L%\value, 1 126 ldo R%\value(1), 1 127 addib,UV,n -1,1,. 128 addib,NUV,n -1,1,.+8 278 fstd,ma %fr0, 8(\regs) 279 fstd,ma %fr1, 8(\regs) 280 fstd,ma %fr2, 8(\regs) 281 fstd,ma %fr3, 8(\regs) [all …]
|
H A D | checksum.h | 33 " ldws,ma 4(%1), %0\n" in ip_fast_csum() 36 " ldws 4(%1), %4\n" in ip_fast_csum() 37 " ldws 8(%1), %5\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() 43 " addib,> -1, %2, 1b\n" in ip_fast_csum() 51 " subi -1, %0, %0\n" in ip_fast_csum() 54 : "1" (iph), "2" (ihl) in ip_fast_csum() 79 " add %1, %0, %0\n" in csum_tcpudp_nofold() 130 " ldd,ma 8(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic() [all …]
|
H A D | barrier.h | 36 union { typeof(*p) __val; char __c[1]; } __u = \ 40 case 1: \ 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)" \ 66 union { typeof(*p) __val; char __c[1]; } __u; \ 70 case 1: \ 71 asm volatile("ldb,ma 0(%1),%0" \ 76 asm volatile("ldh,ma 0(%1),%0" \ [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | memalloc.c | 48 1, /* 72 */ 49 1, /* 80 */ 50 1, /* 88 */ 51 1, /* 96 */ 69 return -1; in bpf_mem_cache_idx() 72 return size_index[(size - 1) / 8] - 1; in bpf_mem_cache_idx() 74 return fls(size - 1) - 2; in bpf_mem_cache_idx() 147 obj[1] = pptr; in __alloc() 183 WARN_ON_ONCE(local_inc_return(&c->active) != 1); in inc_active() 257 free_percpu(((void **)obj)[1]); in free_one() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-stm32-usbphyc.yaml | 19 |_ PHY port#1 _________________ HOST controller 21 | / 1|________________| 34 maxItems: 1 37 maxItems: 1 40 maxItems: 1 43 const: 1 49 description: regulator providing 1V1 power supply to the PLL block 52 description: regulator providing 1V8 power supply to the PLL block 61 "^usb-phy@[0|1]$": 69 maxItems: 1 [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | adp8870.h | 22 #define ADP8870_LED_OFFT_600ms (1 << FLAG_OFFT_SHIFT) 27 #define ADP8870_LED_ONT_600ms 1 37 #define ADP8870_LED_D1 (1) 43 #define ADP8870_BL_D7 (1 << 6) 44 #define ADP8870_BL_D6 (1 << 5) 45 #define ADP8870_BL_D5 (1 << 4) 46 #define ADP8870_BL_D4 (1 << 3) 47 #define ADP8870_BL_D3 (1 << 2) 48 #define ADP8870_BL_D2 (1 << 1) 49 #define ADP8870_BL_D1 (1 << 0) [all …]
|
H A D | adp8860.h | 25 #define ADP8860_LED_OFFT_600ms (1 << FLAG_OFFT_SHIFT) 30 #define ADP8860_LED_ONT_600ms 1 40 #define ADP8860_LED_D1 (1) 46 #define ADP8860_BL_D7 (1 << 6) 47 #define ADP8860_BL_D6 (1 << 5) 48 #define ADP8860_BL_D5 (1 << 4) 49 #define ADP8860_BL_D4 (1 << 3) 50 #define ADP8860_BL_D3 (1 << 2) 51 #define ADP8860_BL_D2 (1 << 1) 52 #define ADP8860_BL_D1 (1 << 0) [all …]
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_table.c | 81 flow->stats_last_writer = -1; in ovs_flow_alloc() 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() [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/sh/kernel/ |
H A D | traps_32.c | 51 if ((count == 1) && dst[0] & 0x80) { in sign_extend() 52 dst[1] = 0xff; in sign_extend() 56 if ((count == 2) && dst[1] & 0x80) { in sign_extend() 61 if ((count == 1) && dst[3] & 0x80) { in sign_extend() 63 dst[1] = 0xff; in sign_extend() 67 dst[1] = 0xff; in sign_extend() 103 struct mem_access *ma) in handle_unaligned_ins() argument 116 count = 1<<(instruction&3); in handle_unaligned_ins() 119 case 1: inc_unaligned_byte_access(); break; in handle_unaligned_ins() 138 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() [all …]
|
/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:: 39 #echo 1 > /sys/class/leds/flash/brightness 43 1500 mA:: 64 46.88 mA:: 66 #echo 1 > /sys/class/leds/torch/brightness 70 375 mA:: 107 5.86 mA:: 109 #echo 1 > /sys/class/leds/indicator/brightness 113 46.875mA::
|
/openbmc/linux/include/linux/usb/ |
H A D | pd.h | 16 PD_CTRL_GOOD_CRC = 1, 41 PD_DATA_SOURCE_CAP = 1, 56 PD_EXT_SOURCE_CAP_EXT = 1, 208 PDO_TYPE_BATT = 1, 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 [all …]
|
/openbmc/linux/Documentation/power/regulator/ |
H A D | overview.rst | 59 Regulator -+-> Switch-1 -+-> Switch-2 --> [Consumer A] 67 - Domain 1: Switch-1, Consumers D & E. 73 Domain-1 --> Domain-2 --> Domain-3. 78 Regulator-1 -+-> Regulator-2 -+-> [Consumer A] 84 - Domain 1: Regulator-2, Consumer B. 89 Domain-1 --> Domain-2 101 - regulator current output limit is 20mA @ 5V but is 102 10mA @ 10V. 108 - Domain-1 voltage is 3300mV 110 - Domain-3 current limit is 0mA -> 20mA. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5755.yaml | 16 - adi,ad5755-1 22 maxItems: 1 36 enum: [0, 1, 2, 3] 40 1: Channel A and Channel B clock on the same edge, 56 const: 1 62 const: 1 74 maxItems: 1 83 1: 0 V to 10 V voltage range. 86 4: 4 mA to 20 mA current range. 87 5: 0 mA to 20 mA current range. [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | lnbp21.h | 14 /* [RO] 0=OK; 1=over current limit flag */ 16 /* [RO] 0=OK; 1=over temperature flag (150 C) */ 19 1=enable LNB power, disable loopthrough */ 22 1=high voltage (18/19V,horiz pol) */ 24 /* [RW] increase LNB voltage by 1V: 25 0=13/18V; 1=14/19V */ 28 1=tone enable, disable DSQIN */ 31 0:Iout=500-650mA Isc=300mA 32 1:Iout=400-550mA Isc=200mA */ 36 1=static curr limiting */
|
/openbmc/linux/include/linux/power/ |
H A D | bq2415x_charger.h | 14 * value is -1 then default chip value (specified in datasheet) will be 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/net/ipv6/ |
H A D | mcast.c | 73 static void igmp6_join_group(struct ifmcaddr6 *ma); 74 static void igmp6_leave_group(struct ifmcaddr6 *ma); 166 return iv > 0 ? iv : 1; in unsolicited_report_interval() 424 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) { in ip6_mc_source() 425 leavegroup = 1; in ip6_mc_source() 430 ip6_mc_del_src(idev, group, omode, 1, source, 1); in ip6_mc_source() 432 for (j = i+1; j < psl->sl_count; j++) in ip6_mc_source() 433 psl->sl_addr[j-1] = psl->sl_addr[j]; in ip6_mc_source() 468 rv = 1; /* > 0 for insert logic below if sl_count is 0 */ in ip6_mc_source() 474 for (j = psl->sl_count-1; j >= i; j--) in ip6_mc_source() [all …]
|
/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 20 #define UNIPHIER_PIN_IECTRL_MASK ((1UL << (UNIPHIER_PIN_IECTRL_BITS)) \ 21 - 1) 27 #define UNIPHIER_PIN_DRVCTRL_MASK ((1UL << (UNIPHIER_PIN_DRVCTRL_BITS)) \ 28 - 1) 34 #define UNIPHIER_PIN_DRV_TYPE_MASK ((1UL << (UNIPHIER_PIN_DRV_TYPE_BITS)) \ 35 - 1) 41 #define UNIPHIER_PIN_PUPDCTRL_MASK ((1UL << (UNIPHIER_PIN_PUPDCTRL_BITS))\ 42 - 1) 48 #define UNIPHIER_PIN_PULL_DIR_MASK ((1UL << (UNIPHIER_PIN_PULL_DIR_BITS))\ 49 - 1) [all …]
|