/openbmc/u-boot/lib/ |
H A D | bch.c | 85 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) 105 #define dbg(_fmt, args...) do {} while (0) 112 unsigned int deg; /* polynomial degree */ member 113 unsigned int c[0]; /* polynomial terms */ 132 return 0; in fls() 133 if (!(x & 0xffff0000u)) { in fls() 137 if (!(x & 0xff000000u)) { in fls() 141 if (!(x & 0xf0000000u)) { in fls() 145 if (!(x & 0xc0000000u)) { in fls() 149 if (!(x & 0x80000000u)) { in fls() [all …]
|
/openbmc/linux/lib/ |
H A D | bch.c | 98 #define dbg(_fmt, args...) do {} while (0) 105 unsigned int deg; /* polynomial degree */ member 140 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(tmp)) & 0xff); in bch_encode_unaligned() 142 for (i = 0; i < l; i++) in bch_encode_unaligned() 155 uint8_t pad[4] = {0, 0, 0, 0}; in load_ecc8() 158 for (i = 0; i < nwords; i++, src += 4) in load_ecc8() 159 dst[i] = ((u32)swap_bits(bch, src[0]) << 24) | in load_ecc8() 165 dst[nwords] = ((u32)swap_bits(bch, pad[0]) << 24) | in load_ecc8() 180 for (i = 0; i < nwords; i++) { in store_ecc8() 186 pad[0] = swap_bits(bch, src[nwords] >> 24); in store_ecc8() [all …]
|
H A D | polynomial.c | 29 * where T = [-48.380, 147.438]C and N = [0, 1023]. 42 * where T = [-48380, 147438] mC and N = [0, 1023]. 51 * {0, 1720400, 1, 1} 62 * {0, -48380, 1, 1} 83 long tmp, ret = 0; in polynomial_calc() 84 int deg; in polynomial_calc() local 98 for (deg = 0; deg < term->deg; ++deg) in polynomial_calc() 101 } while ((term++)->deg); in polynomial_calc()
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_av1_entropymode.h | 126 KEY_FRAME = 0, 132 TX_4X4 = 0, 145 D45_PRED, /* Directional 45 deg prediction [anti-clockwise from 0 deg hor] */ 146 D135_PRED, /* Directional 135 deg prediction [anti-clockwise from 0 deg hor] */ 147 D117_PRED, /* Directional 112 deg prediction [anti-clockwise from 0 deg hor] */ 148 D153_PRED, /* Directional 157 deg prediction [anti-clockwise from 0 deg hor] */ 149 D27_PRED, /* Directional 22 deg prediction [anti-clockwise from 0 deg hor] */ 150 D63_PRED, /* Directional 67 deg prediction [anti-clockwise from 0 deg hor] */
|
/openbmc/phosphor-webui/app/common/styles/components/ |
H A D | table.scss | 7 padding: .8em 0 0; 12 margin: 1.8em 0; 40 top: 0; 41 left: 0; 54 flex: 0 0 100%; 98 border: 0; 100 border: 0; 136 transform: rotate(180deg); 163 padding: 0; 166 margin: 0; [all …]
|
/openbmc/linux/include/linux/input/ |
H A D | adxl34x.h | 22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g) 31 * Y, or Z participation in Tap detection. A '0' excludes the 42 #define ADXL_TAP_Z_EN (1 << 0) 50 * (i.e. 0xFF = +16 g). A zero value may result in undesirable 90 * or inactivity detection. A '0' excludes the selected axis from 93 * AC/DC: A '0' = DC coupled operation and a '1' = AC coupled 119 #define ADXL_INACT_Z_EN (1 << 0) 168 * enabled. Values between 300 and 600 mg (0x05 to 0x09) are 181 * Values between 100 to 350 ms (0x14 to 0x46) are recommended. 189 * RATE = 3200 Hz / (2^(15 - x)). Default value is 0x0A, or 100 Hz [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | mps,mpq7920.yaml | 14 pattern: "pmic@[0-9a-f]{1,2}" 32 enum: [0, 1, 2, 3] 56 enum: [0, 1, 2, 3] 63 enum: [0, 1, 2, 3] 66 corresponding values 0deg, 90deg, 180deg, 270deg 88 #size-cells = <0>; 92 reg = <0x69>;
|
/openbmc/phosphor-webui/app/common/styles/elements/ |
H A D | loader.scss | 4 0% { transform: rotate(0deg);} 5 100% { transform: rotate(360deg);} 15 margin: 3em 0; 22 transform: translateZ(0) rotate(360deg); 41 line-height:0; 47 top: 0; 48 left: 0;
|
H A D | accordion.scss | 10 margin-left: 0; 18 p {margin-bottom: 0;} 22 transform: rotate(90deg); 27 margin: 0 auto; 33 transform: rotate(-90deg); 36 outline: 0; 44 max-height: 0; 45 height: 0; 60 transform: rotate(90deg);
|
H A D | paginate.scss | 14 padding: 0 10px; 24 border-left-width: 0; 63 -webkit-transform: translate(0, 0); 64 transform: translate(0, 0); 74 …ation li:nth-of-type(2) a::before { -webkit-transform: rotate(180deg); transform: rotate(180deg); } 116 .pagination li:nth-of-type(2) a { border-left-width: 0; }
|
/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H A D | omap4xxx-bandgap.h | 27 #define OMAP4430_FUSE_OPP_BGAP 0x0 30 #define OMAP4430_TEMP_SENSOR_CTRL_OFFSET 0xCC 46 #define OMAP4430_BGAP_TEMP_SENSOR_DTEMP_MASK (0xff << 0) 82 #define OMAP4460_FUSE_OPP_BGAP 0x0 85 #define OMAP4460_TEMP_SENSOR_CTRL_OFFSET 0xCC 88 #define OMAP4460_BGAP_CTRL_OFFSET 0x118 91 #define OMAP4460_BGAP_COUNTER_OFFSET 0x11C 94 #define OMAP4460_BGAP_THRESHOLD_OFFSET 0x120 97 #define OMAP4460_BGAP_TSHUT_OFFSET 0x124 100 #define OMAP4460_BGAP_STATUS_OFFSET 0x128 [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/ |
H A D | default.css | 10 .toaster-navbar-brand { float: left; margin: 7px 25px 0 0; } 20 #new-project-button { margin-right: 0; } 44 .build-result .progress { margin-bottom: 0; } 72 span[class^="remove-search-btn-"] { position: absolute; right: 5px; top: 0; bottom: 0; height: 14px… 76 [id^="pagination-"] .navbar-form { margin-top: 0; } 79 #packages-built .detail-page-controls { padding-left: 0; padding-right: 0; } 140 #freq-build-list .checkbox input[type="checkbox"] { position: relative; margin: 0 10px 0 0; vertica… 143 #freq-build-list label { padding-left: 0; } 181 .scrolling { border: 1px solid #dddddd; height: 154px; overflow: auto; padding: 0 10px; width: 27.5… 190 #variable-form h5 { margin-top: 0; } [all …]
|
H A D | font-awesome.min.css | 33 …0 0;background-repeat:repeat;margin-top:0}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-p…
|
/openbmc/phosphor-webui/app/server-health/controllers/ |
H A D | sensors-overview-controller.html | 39 <div ng-show="filteredSensorData.length == 0"> 46 …<table id="sensor-categories" class="sensors__table" cellpadding="0" cellspacing="0" ng-show="filt… 70 <span class="sensors__tbody-degree" ng-if="sensor.unit == 'C'">°</span> 78 <span class="sensors__tbody-degree" ng-if="sensor.unit == 'C'">°</span> 86 <span class="sensors__tbody-degree" ng-if="sensor.unit == 'C'">°</span> 94 <span class="sensors__tbody-degree" ng-if="sensor.unit == 'C'">°</span> 102 <span class="sensors__tbody-degree" ng-if="sensor.unit == 'C'">°</span>
|
/openbmc/linux/include/linux/ |
H A D | polynomial.h | 11 * @deg: degree of the term. 17 unsigned int deg; member 26 * @terms: polynomial terms, last term must have degree of 0
|
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_mc_aware.sh | 22 # thus TC 0). 32 # | traffic | | | e-qos-map 0:1 | 49 # | | prio qdisc: {0..7} -> 7 | 66 lib_dir=$(dirname $0)/../../../net/forwarding 91 ip link set dev $h2.111 type vlan egress-qos-map 0:1 137 ip link add name br1 type bridge vlan_filtering 0 143 ip link add name br111 type bridge vlan_filtering 0 151 devlink_port_pool_th_save $swp1 0 152 devlink_port_pool_th_set $swp1 0 5 153 devlink_tc_bind_pool_th_save $swp1 0 ingress [all …]
|
/openbmc/phosphor-webui/app/common/styles/base/ |
H A D | icons.scss | 36 transform: rotate(90deg); 38 left: 0px; 76 transform: rotate(180deg); 102 border-radius: 0;
|
/openbmc/linux/drivers/iio/imu/ |
H A D | adis16400.c | 29 #define ADIS16400_FLASH_CNT 0x00 /* Flash memory write count */ 30 #define ADIS16400_SUPPLY_OUT 0x02 /* Power supply measurement */ 31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */ 32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */ 33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */ 34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */ 35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */ 36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */ 37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */ 38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */ [all …]
|
/openbmc/phosphor-webui/app/server-health/styles/ |
H A D | syslog.scss | 17 border: 0; 59 height: 0; 88 margin-left: 0; 89 left: 0; 101 margin-top: 0; 134 margin-top: 0; 150 padding: 0 0 1em 2em; 162 padding-bottom: 0; 169 transform: rotate(90deg); 185 margin: .5em 0 .5em 0; [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | input.h | 50 #define EV_VERSION 0x010001 53 * IOCTLs (0x00 - 0x7f) 71 * joydev interface and reported as 0 instead. 88 * (units/deg/s) for rotational axes (ABS_RX, ABS_RY, ABS_RZ). 115 #define INPUT_KEYMAP_BY_INDEX (1 << 0) 129 #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */ 130 #define EVIOCGID _IOR('E', 0x02, struct input_id) /* get device ID */ 131 #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */ 132 #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */ 134 #define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */ [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | input.h | 53 #define EV_VERSION 0x010001 56 * IOCTLs (0x00 - 0x7f) 74 * joydev interface and reported as 0 instead. 91 * (units/deg/s) for rotational axes (ABS_RX, ABS_RY, ABS_RZ). 118 #define INPUT_KEYMAP_BY_INDEX (1 << 0) 132 #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */ 133 #define EVIOCGID _IOR('E', 0x02, struct input_id) /* get device ID */ 134 #define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */ 135 #define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */ 137 #define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */ [all …]
|
/openbmc/linux/lib/reed_solomon/ |
H A D | decode_rs.c | 24 int count = 0; 43 BUG_ON(pad < 0 || pad >= nn - nroots); 47 for (i = 0; i < nroots; i++) { 56 return 0; 61 for (i = 0; i < nroots; i++) 62 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk; 65 for (i = 0; i < nroots; i++) { 66 if (syn[i] == 0) { 78 for (j = 0; j < nroots; j++) { 79 for (i = 0; i < nroots; i++) { [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm92.c | 10 * its own temperature with a 0.0625 deg resolution and a 0.33 deg 17 * (1.0 deg). Complete datasheet can be obtained from Maxim's website 44 static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 49 #define LM92_REG_CONFIG 0x01 /* 8-bit, RW */ 50 #define LM92_REG_TEMP 0x00 /* 16-bit, RO */ 51 #define LM92_REG_TEMP_HYST 0x02 /* 16-bit, RW */ 52 #define LM92_REG_TEMP_CRIT 0x03 /* 16-bit, RW */ 53 #define LM92_REG_TEMP_LOW 0x04 /* 16-bit, RW */ 54 #define LM92_REG_TEMP_HIGH 0x05 /* 16-bit, RW */ 55 #define LM92_REG_MAN_ID 0x07 /* 16-bit, RO, LM92 only */ [all …]
|
H A D | bt1-pvt.h | 18 #define PVT_CTRL 0x00 19 #define PVT_CTRL_EN BIT(0) 22 #define PVT_CTRL_MODE_TEMP 0x0 23 #define PVT_CTRL_MODE_VOLT 0x1 24 #define PVT_CTRL_MODE_LVT 0x2 25 #define PVT_CTRL_MODE_HVT 0x4 26 #define PVT_CTRL_MODE_SVT 0x6 29 #define PVT_DATA 0x04 31 #define PVT_DATA_DATA_FLD 0 33 #define PVT_TTHRES 0x08 [all …]
|
/openbmc/phosphor-webui/app/overview/styles/ |
H A D | system-overview.scss | 11 transform: rotate(0deg) translateY(-50%); 14 right: 0; 23 margin-bottom: 0;
|