Searched refs:max_range (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/tests/ |
D | drm_rect_test.c | 351 int min_range, max_range; member 360 .min_range = 0, .max_range = INT_MAX, 367 .min_range = 3, .max_range = 5, 374 .min_range = 3, .max_range = 5, 381 .min_range = 0, .max_range = INT_MAX, 388 .min_range = 0, .max_range = INT_MAX, 395 .min_range = 0, .max_range = INT_MAX, 413 params->min_range, params->max_range); in drm_test_rect_calc_hscale() 424 params->min_range, params->max_range); in drm_test_rect_calc_vscale()
|
/drivers/hid/ |
D | hid-lg4ff.c | 69 const u16 max_range; member 102 const u16 max_range; member 279 u16 max_range; in lg4ff_adjust_dfp_x_axis() local 287 max_range = 200; in lg4ff_adjust_dfp_x_axis() 289 max_range = 900; in lg4ff_adjust_dfp_x_axis() 291 new_value = 8192 + mult_frac(value - 8192, max_range, range); in lg4ff_adjust_dfp_x_axis() 396 .max_range = wheel->max_range, in lg4ff_init_wheel_data() 1039 range = entry->wdata.max_range; in lg4ff_range_store() 1043 if (entry->wdata.set_range && range >= entry->wdata.min_range && range <= entry->wdata.max_range) { in lg4ff_range_store() 1389 entry->wdata.range = entry->wdata.max_range; in lg4ff_init()
|
/drivers/iio/common/scmi_sensors/ |
D | scmi_iio.c | 379 s64 min_range, max_range; in scmi_iio_get_raw_available() local 389 max_range = sensor->sensor_info->axis[0].attrs.max_range; in scmi_iio_get_raw_available() 405 resolution, rem, max_range); in scmi_iio_get_raw_available() 409 min_range, resolution, max_range); in scmi_iio_get_raw_available()
|
/drivers/infiniband/core/ |
D | nldev.c | 732 uint32_t max_range) in fill_res_range_qp_entry() argument 743 if (min_range == max_range) { in fill_res_range_qp_entry() 749 if (nla_put_u32(msg, RDMA_NLDEV_ATTR_MAX_RANGE, max_range)) in fill_res_range_qp_entry()
|
/drivers/firmware/arm_scmi/ |
D | sensors.c | 256 out->max_range = get_unaligned_le64((void *)&in->max_range_low); in scmi_parse_range_attrs()
|