Lines Matching refs:sval
960 s32 sval; in lis3lv02d_init_dt() local
1082 if (of_property_read_s32(np, "st,axis-x", &sval) == 0) in lis3lv02d_init_dt()
1083 pdata->axis_x = sval; in lis3lv02d_init_dt()
1084 if (of_property_read_s32(np, "st,axis-y", &sval) == 0) in lis3lv02d_init_dt()
1085 pdata->axis_y = sval; in lis3lv02d_init_dt()
1086 if (of_property_read_s32(np, "st,axis-z", &sval) == 0) in lis3lv02d_init_dt()
1087 pdata->axis_z = sval; in lis3lv02d_init_dt()
1092 if (of_property_read_s32(np, "st,min-limit-x", &sval) == 0) in lis3lv02d_init_dt()
1093 pdata->st_min_limits[0] = sval; in lis3lv02d_init_dt()
1094 if (of_property_read_s32(np, "st,min-limit-y", &sval) == 0) in lis3lv02d_init_dt()
1095 pdata->st_min_limits[1] = sval; in lis3lv02d_init_dt()
1096 if (of_property_read_s32(np, "st,min-limit-z", &sval) == 0) in lis3lv02d_init_dt()
1097 pdata->st_min_limits[2] = sval; in lis3lv02d_init_dt()
1099 if (of_property_read_s32(np, "st,max-limit-x", &sval) == 0) in lis3lv02d_init_dt()
1100 pdata->st_max_limits[0] = sval; in lis3lv02d_init_dt()
1101 if (of_property_read_s32(np, "st,max-limit-y", &sval) == 0) in lis3lv02d_init_dt()
1102 pdata->st_max_limits[1] = sval; in lis3lv02d_init_dt()
1103 if (of_property_read_s32(np, "st,max-limit-z", &sval) == 0) in lis3lv02d_init_dt()
1104 pdata->st_max_limits[2] = sval; in lis3lv02d_init_dt()