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

1 2 3 4 5

  /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/60xx/mlsdk/platform/linux/kernel/
slaveirq.h 22 #include <linux/mpu.h>
timerirq.h 22 #include <linux/mpu.h>
  /hardware/invensense/65xx/libsensors_iio/
MPLSensor.cpp 304 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
305 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
310 "HAL:temperature_fd opened: %s", mpu.temperature);
317 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp());
319 fd = open(mpu.gyro_fsr, O_RDONLY);
338 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp());
339 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
358 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset);
359 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset);
360 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset);
    [all...]
  /hardware/invensense/6515/libsensors_iio/
MPLSensor.cpp 180 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
181 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
186 "HAL:temperature_fd opened: %s", mpu.temperature);
193 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp());
195 fd = open(mpu.gyro_fsr, O_RDONLY);
214 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp());
215 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
234 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset);
235 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset);
236 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset)
    [all...]
  /external/iproute2/tc/
tc_core.c 90 unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer)
92 if (sz < mpu)
93 sz = mpu;
116 unsigned mpu = r->mpu; local
128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer);
147 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) {
172 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer);
q_tbf.c 45 unsigned buffer=0, mtu=0, mpu=0, latency=0; local
101 } else if (strcmp(*argv, "mpu") == 0) {
103 if (mpu) {
104 fprintf(stderr, "Double \"mpu\" spec\n");
107 if (get_size(&mpu, *argv)) {
108 explain1("mpu");
190 opt.rate.mpu = mpu;
199 opt.peakrate.mpu = mpu;
    [all...]
tc_stab.c 33 "Usage: ... stab [ mtu BYTES ] [ tsize SLOTS ] [ mpu BYTES ] \n"
37 " mpu : minimum packet size used in rate computations\n"
47 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 ||
73 } else if (matches(*argv, "mpu") == 0) {
75 if (s.mpu)
76 duparg("mpu", *argv);
77 if (get_u32(&s.mpu, *argv, 10)) {
78 invarg("mpu", "invalid mpu");
137 if (s.mpu)
    [all...]
q_htb.c 37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n"
42 " mpu minimum packet size used in rate computations\n"
109 unsigned short mpu = 0; local
128 } else if (matches(*argv, "mpu") == 0) {
130 if (get_u16(&mpu, *argv, 10)) {
131 explain1("mpu"); return -1;
217 opt.ceil.mpu = mpu;
218 opt.rate.mpu = mpu;
    [all...]
m_police.c 136 unsigned buffer=0, mtu=0, mpu=0; local
182 } else if (strcmp(*argv, "mpu") == 0) {
184 if (mpu) {
185 fprintf(stderr, "Double \"mpu\" spec\n");
188 if (get_size(&mpu, *argv)) {
189 explain1("mpu");
278 p.rate.mpu = mpu;
288 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...]
  /hardware/invensense/60xx/libsensors_iio/
MPLSensor.cpp 228 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
229 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
234 "HAL:temperature_fd opened: %s", mpu.temperature);
242 "HAL:sysfs:cat %s (%lld)", mpu.accel_fsr, getTimestamp());
244 fd = open(mpu.accel_fsr, O_RDONLY);
377 write_sysfs_int(mpu.in_timestamp_en, 1);
381 mpu.trigger_name, getTimestamp());
382 tempFp = fopen(mpu.trigger_name, "r");
393 iio_trigger_name, mpu.current_trigger, getTimestamp());
394 tempFp = fopen(mpu.current_trigger, "w")
    [all...]
  /external/iproute2/testsuite/tests/
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 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 17 cbq bandwidth 100Mbit avpkt 1400 mpu 64
  /external/libnl/include/netlink/route/sch/
htb.h 35 extern void rtnl_htb_set_mpu(struct rtnl_class *, uint8_t mpu);
  /external/libnl/lib/route/sch/
htb.c 122 d->ch_overhead = (opts.rate.mpu >> 8) & 0xff;
123 d->ch_mpu = opts.rate.mpu & 0xff;
226 nl_dump(p, " mpu %u", d->ch_mpu);
273 uint8_t overhead = 0, mpu = 0; local
328 mpu = d->ch_mpu;
330 opts.rate.mpu = mpu | (overhead << 8);
331 opts.ceil.mpu = mpu | (overhead << 8);
335 rtnl_tc_build_rate_table(rtable, mpu, overhead
    [all...]
  /hardware/invensense/60xx/mlsdk/platform/include/
mlsl.h 55 #include <linux/mpu.h>
114 * It is called by the MPL to write a single byte of data to the MPU.
  /hardware/invensense/60xx/libsensors_iio/software/core/mpl/build/
filelist.mk 4 HEADERS := $(MPL_DIR)/mpu.h
  /hardware/invensense/60xx/mlsdk/mllite/
mldl.h 29 #include <linux/mpu.h>
  /external/iproute2/examples/
cbqinit.eth1 11 # mpu is minimal packet size.
14 $BANDWIDTH avpkt 1000 mpu 64
  /external/libnl/include/
netlink-local.h 150 dst->rs_mpu = src->mpu;
160 dst->mpu = src->rs_mpu;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/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
  /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

Completed in 341 milliseconds

1 2 3 4 5