/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 …]
|
/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 …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl,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 …]
|
/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 …]
|
/linux/kernel/bpf/ |
H A D | memalloc.c | 50 1, /* 72 */ 51 1, /* 80 */ 52 1, /* 88 */ 53 1, /* 96 */ 71 return -1; in bpf_mem_cache_idx() 74 return size_index[(size - 1) / 8] - 1; in bpf_mem_cache_idx() 76 return fls(size - 1) - 2; in bpf_mem_cache_idx() 151 obj[1] = pptr; in __alloc() 184 WARN_ON_ONCE(local_inc_return(&c->active) != 1); in inc_active() 258 free_percpu(((void __percpu **)obj)[1]); in free_one() [all …]
|
/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>;
|
/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 …]
|
/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 59 minItems: 1 65 "^usb-phy@[0|1]$": [all …]
|
/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 …]
|
/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 …]
|
/linux/arch/riscv/crypto/ |
H A D | aes-riscv64-zvkned-zvbb-zvkg.S | 21 // 1. Redistributions of source code must retain the above copyright 76 // TWEAKS: N 128-bit tweaks T*(x^i) for i in 0..(N - 1) 78 // MULTS_BREV: N 128-bit values x^N, bit-reversed. Only if N > 1. 92 vsetivli zero, 4, e32, m1, ta, ma 104 // Generate x^i for i in 0..(N - 1), i.e. 128-bit values 1 << i assuming 109 vsetvli VL, LEN32, e32, m4, ta, ma 112 // v0=[1, 1, 1, ...] and v1=[0, 1, 2, ...]. 113 vsetvli zero, t0, e32, m1, ta, ma 114 vmv.v.i v0, 1 118 // v2=[1, 0, 1, 0, 1, 0, ...] and v4=[0, 0, 1, 0, 2, 0, ...]. [all …]
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi_phy.c | 17 #define VC4_HDMI_TX_PHY_RESET_CTL_TX_1_RESET BIT(1) 103 #define VC4_HDMI_TX_PHY_CHANNEL_SWAP_TX0_OUT_SEL_MASK VC4_MASK(1, 0) 134 #define VC6_HDMI_TX_PHY_HDMI_POWERUP_CTL_TX_1_PWRUP BIT(1) 141 #define VC6_HDMI_TX_PHY_PLL_POST_KDIV_KDIV_MASK VC4_MASK(1, 0) 162 #define VC6_HDMI_TX_PHY_HDMI_CTRL_CHX_SLEW_CTL_SLOW_DRIVING_MASK VC4_MASK(2, 1) 165 #define VC6_HDMI_TX_PHY_PLL_RESET_CTL_PLL_PLLPOST_RESETB BIT(1) 233 _vco_sel = 1; in phy_get_vco_freq() 382 return &vc5_hdmi_phy_settings[count - 1]; in phy_get_settings() 470 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_PLL_CTL_1_FREQ_DOUBLER_DELAY) | in vc5_hdmi_phy_init() 479 VC4_SET_FIELD(1, VC4_HDMI_TX_PHY_PLL_CFG_PDIV)); in vc5_hdmi_phy_init() [all …]
|
/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 …]
|
/linux/arch/sh/kernel/ |
H A D | traps_32.c | 52 if ((count == 1) && dst[0] & 0x80) { in sign_extend() 53 dst[1] = 0xff; in sign_extend() 57 if ((count == 2) && dst[1] & 0x80) { in sign_extend() 62 if ((count == 1) && dst[3] & 0x80) { in sign_extend() 64 dst[1] = 0xff; in sign_extend() 68 dst[1] = 0xff; in sign_extend() 104 struct mem_access *ma) in handle_unaligned_ins() argument 117 count = 1<<(instruction&3); in handle_unaligned_ins() 120 case 1: inc_unaligned_byte_access(); break; in handle_unaligned_ins() 139 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() [all …]
|
/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::
|
/linux/include/linux/usb/ |
H A D | pd.h | 16 PD_CTRL_GOOD_CRC = 1, 43 PD_DATA_SOURCE_CAP = 1, 60 PD_EXT_SOURCE_CAP_EXT = 1, 212 PDO_TYPE_BATT = 1, 237 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */ 240 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) 242 #define PDO_FIXED(mv, ma, flags) \ 244 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 262 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA unit argument 236 PDO_FIXED_CURR(ma) global() argument 238 PDO_FIXED(mv,ma,flags) global() argument 288 PDO_PPS_APDO_MAX_CURR(ma) global() argument 365 PDO_FIXED_OP_CURR(ma) global() argument 366 PDO_FIXED_MAX_CURR(ma) global() argument 393 PDO_PROG_OP_CURR(ma) global() argument [all...] |
/linux/net/ipv6/ |
H A D | mcast.c | 76 static void igmp6_join_group(struct ifmcaddr6 *ma); 77 static void igmp6_leave_group(struct ifmcaddr6 *ma); 169 return iv > 0 ? iv : 1; in unsolicited_report_interval() 427 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) { in ip6_mc_source() 428 leavegroup = 1; in ip6_mc_source() 433 ip6_mc_del_src(idev, group, omode, 1, source, 1); in ip6_mc_source() 435 for (j = i+1; j < psl->sl_count; j++) in ip6_mc_source() 436 psl->sl_addr[j-1] = psl->sl_addr[j]; in ip6_mc_source() 471 rv = 1; /* > 0 for insert logic below if sl_count is 0 */ in ip6_mc_source() 477 for (j = psl->sl_count-1; j >= i; j--) in ip6_mc_source() [all …]
|
/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 …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 106 * 1. Enable PM3393 BLOCK interrupts. 371 mc_filter[bit >> 4] |= 1 << (bit & 0xf); in pm3393_set_rx_mode() 374 pmwrite(cmac, SUNI1x10GEXP_REG_RXXG_MULTICAST_HASH_MIDLOW, mc_filter[1]); in pm3393_set_rx_mode() 404 return -1; in pm3393_set_speed_duplex_fc() 406 return -1; in pm3393_set_speed_duplex_fc() 408 return -1; in pm3393_set_speed_duplex_fc() 421 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \ 429 (1ULL << ((name - SUNI1x10GEXP_REG_MSTAT_COUNTER_0_LOW) >> 2))) \ 430 (mac)->stats.stat_name += 1ULL << 40; \ 490 static int pm3393_macaddress_set(struct cmac *cmac, const u8 ma[6]) in pm3393_macaddress_set() [all …]
|
/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 …]
|
/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 */
|