HomeSort by relevance Sort by last modified time
    Searched refs:mpu (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
inv_self_test.c 79 } mpu; variable in typeref:struct:sysfs_attrbs
139 fp = fopen(mpu.name, "r");
175 dptr = (char**)&mpu;
185 // Setup IIO sysfs path & build MPU's sysfs paths
188 sprintf(mpu.name, "%s%s", sysfs_path, "/name");
189 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable");
190 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state");
191 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on");
192 sprintf(mpu.self_test, "%s%s", sysfs_path, "/self_test");
193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature")
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
inv_gesture_test.c 80 } mpu; variable in typeref:struct:sysfs_attrbs
184 dptr = (char**)&mpu;
194 // get proper (in absolute/relative) IIO path & build MPU's sysfs paths
197 sprintf(mpu.name, "%s%s", sysfs_path, "/name");
198 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable");
199 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state");
200 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on");
201 sprintf(mpu.dmp_int_on, "%s%s", sysfs_path, "/dmp_int_on");
202 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware");
203 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded")
    [all...]
  /hardware/invensense/65xx/libsensors_iio/
MPLSensor.cpp 300 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
301 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
306 "HAL:temperature_fd opened: %s", mpu.temperature);
313 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp());
315 fd = open(mpu.gyro_fsr, O_RDONLY);
334 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp());
335 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
354 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset);
355 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset);
356 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset);
    [all...]
  /hardware/invensense/6515/libsensors_iio/
MPLSensor.cpp 208 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
209 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
214 "HAL:temperature_fd opened: %s", mpu.temperature);
221 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp());
223 fd = open(mpu.gyro_fsr, O_RDONLY);
242 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp());
243 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
262 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset);
263 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset);
264 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset)
    [all...]
  /external/iproute2/tc/
tc_core.c 90 static unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer)
92 if (sz < mpu)
93 sz = mpu;
131 unsigned mpu = r->mpu; local
143 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer);
163 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) {
188 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer);
tc_stab.c 34 "Usage: ... stab [ mtu BYTES ] [ tsize SLOTS ] [ mpu BYTES ] \n"
38 " mpu : minimum packet size used in rate computations\n"
48 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 ||
72 } else if (matches(*argv, "mpu") == 0) {
74 if (s.mpu)
75 duparg("mpu", *argv);
76 if (get_u32(&s.mpu, *argv, 10))
77 invarg("mpu", "invalid mpu");
128 if (s.mpu)
    [all...]
q_htb.c 39 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n"
44 " mpu minimum packet size used in rate computations\n"
120 unsigned short mpu = 0; local
140 } else if (matches(*argv, "mpu") == 0) {
142 if (get_u16(&mpu, *argv, 10)) {
143 explain1("mpu"); return -1;
235 opt.ceil.mpu = mpu;
236 opt.rate.mpu = mpu;
    [all...]
q_tbf.c 45 unsigned buffer=0, mtu=0, mpu=0, latency=0; local
112 } else if (strcmp(*argv, "mpu") == 0) {
114 if (mpu) {
115 fprintf(stderr, "tbf: duplicate \"mpu\" specification\n");
118 if (get_size(&mpu, *argv)) {
119 explain1("mpu", *argv);
214 opt.rate.mpu = mpu;
223 opt.peakrate.mpu = mpu;
    [all...]
m_police.c 135 unsigned buffer=0, mtu=0, mpu=0; local
181 } else if (strcmp(*argv, "mpu") == 0) {
183 if (mpu) {
184 fprintf(stderr, "Double \"mpu\" spec\n");
187 if (get_size(&mpu, *argv)) {
188 explain1("mpu");
276 p.rate.mpu = mpu;
286 p.peakrate.mpu = mpu;
    [all...]
q_cbq.c 31 fprintf(stderr, " [ allot BYTES ] [ mpu BYTES ] [ weight RATE ]\n");
40 fprintf(stderr, "Usage: ... cbq bandwidth BPS avpkt BYTES [ mpu BYTES ]\n");
55 unsigned mpu=0, avpkt=0, allot=0; local
105 } else if (matches(*argv, "mpu") == 0) {
107 if (get_size(&mpu, *argv)) {
108 explain1("mpu");
152 r.mpu = mpu;
190 unsigned mpu=0; local
304 } else if (matches(*argv, "mpu") == 0)
    [all...]
  /device/google/contexthub/firmware/os/platform/native/
platform.c 29 #include <mpu.h>
  /external/iproute2/testsuite/tests/tc/
cbq.t 3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
8 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
policer.t 3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
10 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
cls-testbed.t 22 cbq bandwidth 100Mbit avpkt 1400 mpu 64
  /device/google/contexthub/firmware/os/platform/stm32/
Android.mk 60 mpu.c \
mpu.c 22 #include <mpu.h>
98 MPU->RNR = regionNo;
99 MPU->RASR = 0; /* disable region before changing it */
100 MPU->RBAR = proposedStart;
101 MPU->RASR = MPU_SRD_BITS | MPU_BIT_ENABLE | attrs | ((lenVal-1) << 1);
122 MPU->CTRL = 0x00; // disable MPU
136 //MPU on, even during faults, supervisor default: allow, user default: default deny
137 MPU->CTRL = MPU_CTRL_ENABLE_Msk | MPU_CTRL_HFNMIENA_Msk | MPU_CTRL_PRIVDEFENA_Msk;
153 int i, regions = (MPU->TYPE & MPU_TYPE_DREGION_Msk) >> MPU_TYPE_DREGION_Pos
    [all...]
stm32.mk 48 os/platform/$(PLATFORM)/mpu.c \
  /external/iproute2/examples/
cbqinit.eth1 11 # mpu is minimal packet size.
14 $BANDWIDTH avpkt 1000 mpu 64
  /external/libnl/include/netlink-private/
netlink.h 185 dst->rs_mpu = src->mpu;
195 dst->mpu = src->rs_mpu;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
pkt_sched.h 84 unsigned short mpu; member in struct:tc_ratespec
96 unsigned int mpu; member in struct:tc_sizespec
  /external/libnl/include/linux-private/linux/
pkt_sched.h 81 unsigned short mpu; member in struct:tc_ratespec
93 unsigned int mpu; member in struct:tc_sizespec
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
pkt_sched.h 81 unsigned short mpu; member in struct:tc_ratespec
93 unsigned int mpu; member in struct:tc_sizespec
  /external/libnl/lib/route/
tc.c 377 * Set the Minimum Packet Unit (MPU) of a traffic control object
379 * @arg mpu minimum packet size expected
381 * Sets the MPU of a traffic contorl object. It specifies the minimum
386 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu)
388 tc->tc_mpu = mpu;
393 * Return the Minimum Packet Unit (MPU) of a traffic control object
396 * @return The MPU previously set via rtnl_tc_set_mpu() or 0.
662 static unsigned int adjust_size(unsigned int size, unsigned int mpu,
665 if (size < mpu)
666 size = mpu;
    [all...]
  /external/libnl/python/netlink/route/
tc.py 136 def mpu(self): member in class:Tc
139 @mpu.setter
140 def mpu(self, value): member in class:Tc
212 return '{t|mtu} {t|mpu} {t|overhead} {t|linktype}'
  /bionic/libc/kernel/uapi/linux/
pkt_sched.h 65 unsigned short mpu; member in struct:tc_ratespec
75 unsigned int mpu; member in struct:tc_sizespec

Completed in 649 milliseconds

1 2 3 4 5 6