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

1 2 3 4

  /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 194 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
195 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
200 "HAL:temperature_fd opened: %s", mpu.temperature);
207 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp());
209 fd = open(mpu.gyro_fsr, O_RDONLY);
228 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp());
229 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
248 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset);
249 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset);
250 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...]
  /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...]
tbf.c 75 tbf->qt_mpu = opts.rate.mpu;
131 nl_dump(p, "mpu %u rate-bucket-size %1.f%s "
305 * Set MPU of TBF qdisc.
307 * @arg mpu New MPU in bytes.
310 int rtnl_qdisc_tbf_set_mpu(struct rtnl_qdisc *qdisc, int mpu)
318 tbf->qt_mpu = mpu;
325 * Get MPU of TBF qdisc.
327 * @return MPU in bytes or a negative error code.
  /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.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/lib/route/
tc.c 434 * @arg mpu Minimal size of a packet at all times.
446 int rtnl_tc_build_rate_table(uint32_t *dst, uint8_t mpu, uint8_t overhead,
457 if (size < mpu)
458 size = mpu;
  /external/iproute2/include/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
  /bionic/libc/kernel/uapi/linux/
pkt_sched.h 72 unsigned short mpu; member in struct:tc_ratespec
85 unsigned int mpu; member in struct:tc_sizespec
  /development/ndk/platforms/android-21/include/linux/
pkt_sched.h 72 unsigned short mpu; member in struct:tc_ratespec
85 unsigned int mpu; member in struct:tc_sizespec
  /external/kernel-headers/original/uapi/linux/
pkt_sched.h 89 unsigned short mpu; member in struct:tc_ratespec
101 unsigned int mpu; member in struct:tc_sizespec

Completed in 892 milliseconds

1 2 3 4