Home
last modified time | relevance | path

Searched refs:pdata (Results 1 – 20 of 20) sorted by relevance

/hardware/invensense/mlsdk/mllite/
Dmldl_cfg.h130 struct mpu_platform_data *pdata; member
163 struct ext_slave_platform_data *pdata,
169 if (!mldl_cfg || !(mldl_cfg->pdata)) { in inv_mpu_read_accel()
175 mldl_cfg->accel, &mldl_cfg->pdata->accel, in inv_mpu_read_accel()
184 if (!mldl_cfg || !(mldl_cfg->pdata)) { in inv_mpu_read_compass()
190 mldl_cfg->compass, &mldl_cfg->pdata->compass, in inv_mpu_read_compass()
199 if (!mldl_cfg || !(mldl_cfg->pdata)) { in inv_mpu_read_pressure()
206 &mldl_cfg->pdata->pressure, data); in inv_mpu_read_pressure()
215 struct ext_slave_platform_data *pdata);
221 if (!mldl_cfg || !(mldl_cfg->pdata)) { in inv_mpu_config_accel()
[all …]
Dmldl_cfg_mpu.c60 struct mpu_platform_data *pdata = mldl_cfg->pdata; in mpu_print_cfg() local
61 struct ext_slave_platform_data *accel = &mldl_cfg->pdata->accel; in mpu_print_cfg()
62 struct ext_slave_platform_data *compass = &mldl_cfg->pdata->compass; in mpu_print_cfg()
63 struct ext_slave_platform_data *pressure = &mldl_cfg->pdata->pressure; in mpu_print_cfg()
168 MPL_LOGD("pdata->int_config = %02x\n", pdata->int_config); in mpu_print_cfg()
169 MPL_LOGD("pdata->level_shifter = %02x\n", pdata->level_shifter); in mpu_print_cfg()
174 pdata->orientation[0],pdata->orientation[1],pdata->orientation[2], in mpu_print_cfg()
175 pdata->orientation[3],pdata->orientation[4],pdata->orientation[5], in mpu_print_cfg()
176 pdata->orientation[6],pdata->orientation[7],pdata->orientation[8]); in mpu_print_cfg()
335 struct ext_slave_platform_data *pdata, in inv_mpu_slave_read() argument
[all …]
Daccel.c103 if (NULL != mldl_cfg->pdata) in inv_get_slave_addr()
104 return mldl_cfg->pdata->accel.address; in inv_get_slave_addr()
137 signed char *mtx = mldl_cfg->pdata->accel.orientation; in inv_get_accel_data()
Dpressure.c104 if (NULL != mldl_cfg->pdata) in inv_get_pressure_slave_addr()
105 return mldl_cfg->pdata->pressure.address; in inv_get_pressure_slave_addr()
Dcompass.c237 if (NULL != mldl_cfg->pdata) in inv_get_compass_slave_addr()
238 return mldl_cfg->pdata->compass.address; in inv_get_compass_slave_addr()
277 if (mldl_cfg->pdata->compass.bus == EXT_SLAVE_BUS_PRIMARY || in inv_get_compass_data()
323 mldl_cfg->pdata->compass.address, in inv_get_compass_data()
388 signed char *orC = mldlCfg->pdata->compass.orientation; in inv_set_compass_bias()
Dml.c203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; in inv_apply_calibration()
205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; in inv_apply_calibration()
208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; in inv_apply_calibration()
283 if (mldl_cfg->pdata->accel.bus != EXT_SLAVE_BUS_SECONDARY) { in inv_apply_endian_accel()
1705 (mldl_cfg->pdata->accel.get_slave_descr == 0)) { in inv_set_mpu_sensors()
1714 (mldl_cfg->pdata->compass.get_slave_descr == 0)) { in inv_set_mpu_sensors()
1723 (mldl_cfg->pdata->pressure.get_slave_descr == 0)) { in inv_set_mpu_sensors()
1859 s2[kk] = mldlCfg->pdata->orientation[kk * 3] * s[0] + in inv_set_mpu_6050_config()
1860 mldlCfg->pdata->orientation[kk * 3 + 1] * s[1] + in inv_set_mpu_6050_config()
1861 mldlCfg->pdata->orientation[kk * 3 + 2] * s[2]; in inv_set_mpu_6050_config()
Dmldl.c207 mldlCfg.pdata = &gPdata; in inv_dl_open()
436 (mldlCfg.int_config | mldlCfg.pdata-> in inv_get_dl_cfg_int()
651 if (mldlCfg.pdata->level_shifter) in inv_set_offsetTC()
Dmlarray.c2186 if (inv_obj.accel_sens != 0 && mldl_cfg && mldl_cfg->pdata) { in inv_set_accel_bias()
2192 (long)mldl_cfg->pdata->accel.orientation[i * 3 + j]; in inv_set_accel_bias()
Dmlsupervisor.c93 if (mldl_cfg->pdata->compass.bus == EXT_SLAVE_BUS_SECONDARY) { in inv_init_sensor_fusion_supervisor()
/hardware/invensense/mlsdk/platform/include/linux/
Dmpu.h244 struct ext_slave_platform_data *pdata);
247 struct ext_slave_platform_data *pdata);
250 struct ext_slave_platform_data *pdata);
253 struct ext_slave_platform_data *pdata);
256 struct ext_slave_platform_data *pdata,
260 struct ext_slave_platform_data *pdata,
264 struct ext_slave_platform_data *pdata,
/hardware/ti/wlan/mac80211/ti-utils/
Dnvs.c327 struct wl1271_cmd_cal_p2g *pdata, unsigned int *pver) in nvs_parse_data() argument
372 pdata[nvsTypeInfo].type = tlv_type; in nvs_parse_data()
373 pdata[nvsTypeInfo].len = tlv_len; in nvs_parse_data()
378 pdata[nvsTypeInfo].buf[info_idx] = in nvs_parse_data()
388 static int nvs_fill_version(int fd, unsigned int *pdata) in nvs_fill_version() argument
397 tmp = (*pdata >> 16) & 0xff; in nvs_fill_version()
400 tmp = (*pdata >> 8) & 0xff; in nvs_fill_version()
403 tmp = *pdata & 0xff; in nvs_fill_version()
514 struct wl1271_cmd_cal_p2g *pdata; in prepare_nvs_file() local
595 pdata = (struct wl1271_cmd_cal_p2g *)arg; in prepare_nvs_file()
[all …]
/hardware/invensense/mlsdk/platform/linux/kernel/
Dslaveirq.h30 void slaveirq_exit(struct ext_slave_platform_data *pdata);
32 struct ext_slave_platform_data *pdata, char *name);
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c194 uint8 *pdata = (uint8 *) PKTDATA(osh, p); in pktdataoffset() local
200 pdata = (uint8 *) PKTDATA(osh, p); in pktdataoffset()
206 return (uint8*) (pdata+pkt_off); in pktdataoffset()
1343 uint8 *pdata, /* pointer to array of data to process */ in hndcrc8() argument
1352 crc = crc8_table[(crc ^ *pdata++) & 0xff]; in hndcrc8()
1416 uint8 *pdata, /* pointer to array of data to process */ in hndcrc16() argument
1422 CRC_INNER_LOOP(16, crc, *pdata++); in hndcrc16()
1498 hndcrc32(uint8 *pdata, uint nbytes, uint32 crc) in hndcrc32() argument
1501 pend = pdata + nbytes; in hndcrc32()
1502 while (pdata < pend) in hndcrc32()
[all …]
/hardware/qcom/msm8960/kernel-headers/media/
Dmsm_gemini.h91 uint32_t *pdata; member
Dmsm_mercury.h97 uint32_t *pdata; member
/hardware/qcom/msm8960/original-kernel-headers/media/
Dmsm_gemini.h105 uint32_t *pdata; /* for multiple READ/WRITE/WAIT, n > 1 */ member
Dmsm_mercury.h110 uint32_t *pdata;/* for multiple READ/WRITE/WAIT, n > 1 */ member
/hardware/invensense/mlsdk/mlutils/
Dmputest.c857 struct mpu_platform_data *mputestPData = mputestCfgPtr->pdata; in inv_test_accel()
1346 struct ext_slave_platform_data *pdata = &mputestCfgPtr->pdata->accel; in test_get_data() local
1353 result = inv_serial_read(mlsl_handle, pdata->address, slave->read_reg, in test_get_data()
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp1396 exynos5_hwc_post_data_t *pdata = &pdev->bufs; in exynos5_post_fimd() local
1405 int layer_idx = pdata->overlay_map[i]; in exynos5_post_fimd()
1411 if (pdata->gsc_map[i].mode == exynos5_gsc_map_t::GSC_M2M) { in exynos5_post_fimd()
1412 int gsc_idx = pdata->gsc_map[i].idx; in exynos5_post_fimd()
1429 pdata->gsc_map[i].mode = exynos5_gsc_map_t::GSC_NONE; in exynos5_post_fimd()
1463 memcpy(pdev->last_gsc_map, pdata->gsc_map, sizeof(pdata->gsc_map)); in exynos5_post_fimd()
1464 pdev->last_fb_window = pdata->fb_window; in exynos5_post_fimd()
1466 int layer_idx = pdata->overlay_map[i]; in exynos5_post_fimd()
/hardware/ti/omap4xxx/original-kernel-headers/linux/
Domapfb.h259 extern void omapfb_set_ctrl_platform_data(void *pdata);