/linux/arch/parisc/include/asm/ |
H A D | checksum.h | 33 " ldws,ma 4(%1), %0\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() 40 " addc %0, %5, %0\n" in ip_fast_csum() 42 "1: ldws,ma 4(%1), %3\n" in ip_fast_csum() 47 " extru %0, 15, 16, %5\n" in ip_fast_csum() 48 " addc %4, %5, %0\n" in ip_fast_csum() 49 " extru %0, 15, 16, %5\n" in ip_fast_csum() 50 " add %0, %5, %0\n" in ip_fast_csum() 130 " ldd,ma 8(%1), %4\n" /* get 1st saddr word */ in csum_ipv6_magic() [all …]
|
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 …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | ti,lp8727.yaml | 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 76 /* AC charger: 5% EOC and 500mA charging current */ 83 /* USB charger: 10% EOC and 400mA charging current */
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-stm32-usbphyc.yaml | 110 - <1> increases the level by 5 to 7 mV 112 - <3> decreases the level by 5 to 7 mV 129 - <0> = 18.87 mA target current / nominal + 0% 130 - <1> = 19.165 mA target current / nominal + 1.56% 131 - <2> = 19.46 mA target current / nominal + 3.12% 132 - <3> = 19.755 mA target current / nominal + 4.68% 133 - <4> = 20.05 mA target current / nominal + 6.24% 134 - <5> = 20.345 mA target current / nominal + 7.8% 135 - <6> = 20.64 mA target current / nominal + 9.36% 136 - <7> = 20.935 mA target current / nominal + 10.92% [all …]
|
/linux/include/linux/platform_data/ |
H A D | adp8870.h | 33 #define ADP8870_LED_D5 (5) 44 #define ADP8870_BL_D6 (1 << 5) 56 #define ADP8870_FADE_T_1500ms 5 78 #define ADP8870_BL_AMBL_FILT_2560ms 5 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 */ [all …]
|
H A D | adp8860.h | 36 #define ADP8860_LED_D5 (5) 47 #define ADP8860_BL_D6 (1 << 5) 59 #define ADP8860_FADE_T_1500ms 5 81 #define ADP8860_BL_AMBL_FILT_2560ms 5 86 * 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 */ [all …]
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi_phy.c | 13 #define VC4_HDMI_TX_PHY_RESET_CTL_PLL_RESETB BIT(5) 34 #define VC4_HDMI_TX_PHY_CTL_0_PREEMP_CK_PREEMP_SHIFT 5 35 #define VC4_HDMI_TX_PHY_CTL_0_PREEMP_CK_PREEMP_MASK VC4_MASK(7, 5) 43 #define VC4_HDMI_TX_PHY_CTL_1_RES_SEL_DATA0_SHIFT 5 44 #define VC4_HDMI_TX_PHY_CTL_1_RES_SEL_DATA0_MASK VC4_MASK(9, 5) 70 #define VC4_HDMI_TX_PHY_CTL_3_ICP_MASK VC4_MASK(5, 0) 81 #define VC4_HDMI_TX_PHY_PLL_CTL_0_ENA_VCO_CLK BIT(5) 101 #define VC4_HDMI_TX_PHY_CHANNEL_SWAP_TX1_OUT_SEL_MASK VC4_MASK(5, 4) 160 #define VC6_HDMI_TX_PHY_HDMI_CTRL_CHX_POST_TAP_CURRENT_SELECT_MASK VC4_MASK(7, 5) 662 /* 200mA */ [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | sky81452-backlight.txt | 10 - led-sources : List of enabled channels from 0 to 5. 16 : It should be one of 4, 5, 6 and 7V. 17 - skyworks,current-limit-mA 18 : It should be 2300mA or 2750mA. 25 led-sources = <0 1 2 5>; 28 skyworks,current-limit-mA = <2300>;
|
/linux/include/linux/mfd/ |
H A D | adp5520.h | 70 #define ADP5520_DIM_EN (1 << 5) 91 #define ADP5520_BL_LVL ((x) << 5) 110 #define ALS_CMPR_CFG_VAL(filt, l3_en) (((0x7 & filt) << 5) | l3_en) 122 #define ADP5520_R3_MODE (1 << 5) 137 #define ADP5520_GPIO_C1 (1 << 5) 158 #define ADP5520_COL_C1 (1 << 5) 212 #define ADP5520_FADE_T_1500ms 5 234 #define ADP5520_BL_AMBL_FILT_2560ms 5 239 * Blacklight current 0..30mA 260 u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */ [all …]
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi-mt8195.c | 140 case 5: in mtk_hdmi_pll_set_hw() 252 * ICO clk = 5*TMDS_CLK*TXPOSDIV*TXPREDIV in mtk_hdmi_pll_calc() 253 * ICO clk constraint: 5G =< ICO clk <= 12G in mtk_hdmi_pll_calc() 256 ns_hdmipll_ck = 5 * tmds_clk * txposdiv * txpredivs[i]; in mtk_hdmi_pll_calc() 257 if (ns_hdmipll_ck >= 5 * GIGA && in mtk_hdmi_pll_calc() 262 (ns_hdmipll_ck < 5 * GIGA || ns_hdmipll_ck > 12 * GIGA)) { in mtk_hdmi_pll_calc() 315 * data channel bias 24mA, clock channel bias 20mA in mtk_hdmi_pll_drv_setting() 318 * data channel 20mA, clock channel 16mA in mtk_hdmi_pll_drv_setting() [all...] |
/linux/include/linux/usb/ |
H A D | pd.h | 20 PD_CTRL_PING = 5, 47 PD_DATA_BATT_STATUS = 5, 64 PD_EXT_BATT_CAP = 5, 90 #define PD_HEADER_DATA_ROLE BIT(5) 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/kernel/bpf/ |
H A D | memalloc.c | 46 5, /* 40 */ 47 5, /* 48 */ 48 5, /* 56 */ 49 5, /* 64 */ 509 int bpf_mem_alloc_init(struct bpf_mem_alloc *ma, int size, bool percpu) in bpf_mem_alloc_init() argument 522 ma->percpu = percpu; in bpf_mem_alloc_init() 537 ma->objcg = objcg; in bpf_mem_alloc_init() 548 ma->cache = pc; in bpf_mem_alloc_init() 558 ma->objcg = objcg; in bpf_mem_alloc_init() 573 ma->caches = pcc; in bpf_mem_alloc_init() [all …]
|
/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ad5755.yaml | 82 0: 0 V to 5 V voltage range. 84 2: Plus minus 5 V voltage range. 86 4: 4 mA to 20 mA current range. 87 5: 0 mA to 20 mA current range. 88 6: 0 mA to 24 mA current range.
|
/linux/Documentation/hwmon/ |
H A D | ltc4245.rst | 53 in2_input 5v input voltage (mV) 58 in2_min_alarm 5v input undervoltage alarm 62 curr1_input 12v current (mA) 63 curr2_input 5v current (mA) 64 curr3_input 3v current (mA) 65 curr4_input Vee (-12v) current (mA) 68 curr2_max_alarm 5v overcurrent alarm 73 in6_input 5v output voltage (mV) 78 in6_min_alarm 5v output undervoltage alarm 87 power2_input 5v power usage (mW)
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 27 #define PDO_FIXED_CURR_SHIFT 0 /* 10mA units */ 30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 52 #define PDO_VAR_MAX_CURR_SHIFT 0 /* 10mA units */ 56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument 71 #define PDO_PPS_APDO_MAX_CURR_SHIFT 0 /* 50mA units */ 80 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument 81 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT) 118 #define IDH_PTYPE_AMA 5 [all …]
|
/linux/drivers/power/supply/ |
H A D | axp288_charger.c | 31 #define PS_STAT_VBUS_PRESENT BIT(5) 35 #define CHRG_STAT_BAT_PRESENT BIT(5) 41 #define VBUS_ISPOUT_CUR_LIM_900MA 0x0 /* 900mA */ 42 #define VBUS_ISPOUT_CUR_LIM_1500MA 0x1 /* 1500mA */ 43 #define VBUS_ISPOUT_CUR_LIM_2000MA 0x2 /* 2000mA */ 44 #define VBUS_ISPOUT_CUR_NO_LIM 0x3 /* 2500mA */ 54 #define CHRG_CCCV_CC_OFFSET 200 /* 200mA */ 55 #define CHRG_CCCV_CC_LSB_RES 200 /* 200mA */ 58 #define CHRG_CCCV_CV_BIT_POS 5 70 #define CNTL2_CHG_OUT_TURNON BIT(5) [all …]
|
H A D | ucs1002_power.c | 30 * weighting of the registers is given in mA/hrs. 43 # define F_RESET BIT(5) 54 # define F_M2_PIN BIT(5) 58 # define F_ACTIVE_MODE_MASK GENMASK(5, 3) 75 # define F_EM_EN_SET BIT(5) 81 # define V_SET_ACTIVE_MODE_MASK GENMASK(5, 3) 147 * B0: 0.01084 mA/h rounded to 11 uA/h in ucs1002_get_charge() 148 * B1: 0.02169 mA/h rounded to 22 uA/h in ucs1002_get_charge() 149 * B2: 0.04340 mA/h rounded to 43 uA/h in ucs1002_get_charge() 150 * B3: 0.08676 mA/h rounded to 87 uA/h in ucs1002_get_charge() [all …]
|
/linux/Documentation/power/regulator/ |
H A D | overview.rst | 101 - regulator current output limit is 20mA @ 5V but is 102 10mA @ 10V. 110 - Domain-3 current limit is 0mA -> 20mA. 116 from 5mA to 10mA to increase LCD illumination. This passes 120 request next current mA value in brightness table (the
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_yellow_carp.h | 149 #define THROTTLER_STATUS_BIT_THM_GFX 5 170 uint16_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_SOC 190 uint16_t VddTdcValue; //[mA] 191 uint16_t SocTdcValue; //[mA] 192 uint16_t VddEdcValue; //[mA] 193 uint16_t SocEdcValue; //[mA] 208 #define WORKLOAD_PPLIB_CUSTOM_BIT 5 216 #define TABLE_MOMENTARY_PM 5 // Called by Tools
|
H A D | smu12_driver_if.h | 162 #define THROTTLER_STATUS_BIT_THM_GFX 5 183 uint16_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_SOC 205 uint16_t VddTdcValue; //[mA] 206 uint16_t SocTdcValue; //[mA] 207 uint16_t VddEdcValue; //[mA] 208 uint16_t SocEdcValue; //[mA] 218 #define WORKLOAD_PPLIB_CUSTOM_BIT 5 226 #define TABLE_MOMENTARY_PM 5 // Called by Tools
|
/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 60 UNIPHIER_PIN_DRV_1BIT, /* 2 level control: 4/8 mA */ 61 UNIPHIER_PIN_DRV_2BIT, /* 4 level control: 8/12/16/20 mA */ 62 UNIPHIER_PIN_DRV_3BIT, /* 8 level control: 4/5/7/9/11/12/14/16 mA */ 63 UNIPHIER_PIN_DRV_FIXED4, /* fixed to 4mA */ 64 UNIPHIER_PIN_DRV_FIXED5, /* fixed to 5mA */ 65 UNIPHIER_PIN_DRV_FIXED8, /* fixed to 8mA */
|
/linux/drivers/comedi/drivers/ |
H A D | dt2815.c | 23 * 0 == unipolar 5V (0V -- +5V) 24 * 1 == bipolar 5V (-5V -- +5V) 26 * 0 == disabled (0mA -- +32mAV) 27 * 1 == enabled (+4mA -- +20mAV) 29 * 0 == program 1 (see manual table 5-4) 30 * 1 == program 2 (see manual table 5-4) 31 * 2 == program 3 (see manual table 5-4) 32 * 3 == program 4 (see manual table 5-4) 33 * [5] - Analog output 0 range configuration 40 * [10] - Analog output 5 range configuration (same options) [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | pm3393.c | 490 static int pm3393_macaddress_set(struct cmac *cmac, const u8 ma[6]) in pm3393_macaddress_set() 497 * ma[5] = 0x09 in pm3393_macaddress_set() 498 * ma[4] = 0x13 in pm3393_macaddress_set() 499 * ma[3] = 0x00 in pm3393_macaddress_set() 500 * ma[2] = 0x43 in pm3393_macaddress_set() 501 * ma[1] = 0x07 in pm3393_macaddress_set() 502 * ma[0] = 0x00 in pm3393_macaddress_set() 507 * low_bits[15:0] = ma[1]:ma[0] in pm3393_macaddress_set() 508 * mid_bits[31:16] = ma[3]:ma[2] in pm3393_macaddress_set() 509 * high_bits[47:32] = ma[5]:ma[4] in pm3393_macaddress_set() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt8183-pinctrl.yaml | 47 maxItems: 5 122 2/4/6/8/10/12/14/16mA driving. But in specific driving setup, they 123 can support 0.125/0.25/0.5/1mA adjustment. If we enable specific 126 When E1=0/E0=0, the strength is 0.125mA. 127 When E1=0/E0=1, the strength is 0.25mA. 128 When E1=1/E0=0, the strength is 0.5mA. 129 When E1=1/E0=1, the strength is 1mA. 137 5: (E1, E0, EN) = (1, 0, 1) 142 enum: [0, 1, 2, 3, 4, 5, 6, 7]
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
H A D | dcn31_smu.h | 158 #define THROTTLER_STATUS_BIT_THM_GFX 5 179 uint16_t Current[2]; //[mA] indices: VDDCR_VDD, VDDCR_SOC 199 uint16_t VddTdcValue; //[mA] 200 uint16_t SocTdcValue; //[mA] 201 uint16_t VddEdcValue; //[mA] 202 uint16_t SocEdcValue; //[mA] 214 #define WORKLOAD_PPLIB_CUSTOM_BIT 5 222 #define TABLE_MOMENTARY_PM 5 // Called by Tools
|