Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 29) sorted by relevance

12

/hardware/invensense/65xx/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
153 if (fscanf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int()
161 int read_sysfs_int64(char *filename, int64_t *var) in read_sysfs_int64() argument
168 if (fscanf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in read_sysfs_int64()
189 int write_sysfs_int(char *filename, int var) in write_sysfs_int() argument
196 if (fprintf(sysfsfp, "%d\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_int()
204 int write_sysfs_longlong(char *filename, int64_t var) in write_sysfs_longlong() argument
211 if (fprintf(sysfsfp, "%lld\n", var) < 0 || fclose(sysfsfp) < 0) { in write_sysfs_longlong()
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_mdp.h376 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
377 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
378 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
379 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
879 uint8_t var; member
1066 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_mdp.h395 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
396 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
397 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
399 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
822 uint8_t var; member
1032 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h374 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
375 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
376 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
377 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
856 uint8_t var; member
1041 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_mdp.h392 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
394 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
395 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
396 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
809 uint8_t var; member
1016 struct fb_var_screeninfo var; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_mdp.h398 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
399 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
400 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
401 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
928 uint8_t var; member
1117 struct fb_var_screeninfo var; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_mdp.h416 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
417 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
418 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
420 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
868 uint8_t var; member
1081 struct fb_var_screeninfo var; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_mdp.h454 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
455 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
456 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
457 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1072 uint8_t var; member
1284 struct fb_var_screeninfo var; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_mdp.h460 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
461 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
462 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
464 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1096 uint8_t var; member
1321 struct fb_var_screeninfo var; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_mdp.h428 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
429 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
430 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
431 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1116 uint8_t var; member
1304 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_mdp.h427 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
428 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
429 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
430 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1115 uint8_t var; member
1303 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_mdp.h366 #define MDSS_PP_ADD_ARG(var,arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
367 #define PP_ARG(x,var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
368 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
369 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
861 uint8_t var; member
1030 struct fb_var_screeninfo var; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_mdp.h434 #define MDSS_PP_ADD_ARG(var, arg) ((var) | (0x1 << (MDSS_PP_ARG_SHIFT + (arg)))) argument
435 #define PP_ARG(x, var) ((var) & (0x1 << (MDSS_PP_ARG_SHIFT + (x)))) argument
436 #define PP_LOCAT(var) ((var) & MDSS_PP_LOCATION_MASK) argument
437 #define PP_BLOCK(var) ((var) & MDSS_PP_LOGICAL_MASK) argument
1138 uint8_t var; member
1339 struct fb_var_screeninfo var; member
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp44 #define ENUM_TO_STRING(var, enumVal) {var = #enumVal; enumVal;} argument
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c114 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
121 fscanf(fp, "%d\n", var); in read_sysfs_int()
/hardware/qcom/msm8998/json-c/
Dprintbuf.c25 # error Not enough var arg support!
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c101 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() argument
108 fscanf(fp, "%d\n", var); in read_sysfs_int()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp1341 AttrVal var; in InitializeColorModes() local
1359 var.clear(); in InitializeColorModes()
1360 error = color_mgr_->ColorMgrGetModeInfo(color_modes_[i].id, &var); in InitializeColorModes()
1365 if (!var.empty()) { in InitializeColorModes()
1368 color_mode_attr_map_.insert(std::make_pair(color_modes_[i].name, var)); in InitializeColorModes()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp1376 AttrVal var; in InitializeColorModes() local
1394 var.clear(); in InitializeColorModes()
1395 error = color_mgr_->ColorMgrGetModeInfo(color_modes_[i].id, &var); in InitializeColorModes()
1400 if (!var.empty()) { in InitializeColorModes()
1403 color_mode_attr_map_.insert(std::make_pair(color_modes_[i].name, var)); in InitializeColorModes()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp1366 AttrVal var; in InitializeColorModes() local
1384 var.clear(); in InitializeColorModes()
1385 error = color_mgr_->ColorMgrGetModeInfo(color_modes_[i].id, &var); in InitializeColorModes()
1390 if (!var.empty()) { in InitializeColorModes()
1393 color_mode_attr_map_.insert(std::make_pair(color_modes_[i].name, var)); in InitializeColorModes()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c93 static int dhd_iovar_getint(void *dhd, char *name, int *var);
94 static int dhd_iovar_setint(void *dhd, char *name, int var);
2984 dhd_iovar_getint(void *dhd, char *name, int *var) in dhd_iovar_getint() argument
2996 memcpy(var, ibuf, sizeof(int)); in dhd_iovar_getint()
3002 dhd_iovar_setint(void *dhd, char *name, int var) in dhd_iovar_setint() argument
3008 len = dhd_iovar_mkbuf(name, (char *)&var, sizeof(var), ibuf, sizeof(ibuf), &error); in dhd_iovar_setint()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp1378 AttrVal var; in InitializeColorModes() local
1396 var.clear(); in InitializeColorModes()
1397 error = color_mgr_->ColorMgrGetModeInfo(color_modes_[i].id, &var); in InitializeColorModes()
1402 if (!var.empty()) { in InitializeColorModes()
1405 color_mode_attr_map_.insert(std::make_pair(color_modes_[i].name, var)); in InitializeColorModes()
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_mdp.h540 struct fb_var_screeninfo var; member
/hardware/qcom/msm8x27/kernel-headers/linux/
Dmsm_mdp.h527 struct fb_var_screeninfo var; member

12