/linux/drivers/iio/accel/ |
H A D | kionix-kx022a.c | 56 .range_max = KX022A_REG_COTR, 59 .range_max = KX022A_REG_INT_REL, 63 .range_max = KX022A_REG_CNTL2, 66 .range_max = KX022A_REG_BUF_READ, 78 .range_max = KX022A_REG_INT_REL, 94 .range_max = KX022A_REG_INT_REL, 97 .range_max = KX022A_REG_BUF_STATUS_2, 100 .range_max = KX022A_REG_BUF_READ, 112 .range_max = KX022A_REG_BTS_WUF_TH, 115 .range_max = KX022A_REG_MAN_WAKE, [all …]
|
/linux/drivers/mfd/ |
H A D | rohm-bd71828.c | 136 .range_max = BD71815_REG_YEAR, 139 .range_max = BD71815_REG_BAT_TEMP, 142 .range_max = BD71815_REG_CC_CTRL, 145 .range_max = BD71815_REG_CC_CURCD_L, 148 .range_max = BD71815_REG_VM_BTMP_MON, 151 .range_max = BD71815_REG_INT_UPDATE, 154 .range_max = BD71815_REG_REX_CTRL_1, 157 .range_max = BD71815_REG_CCNTD_CHG_2, 164 .range_max = BD71828_REG_PS_CTRL_1, 167 .range_max = BD71828_REG_PS_CTRL_3, [all …]
|
/linux/drivers/platform/x86/ |
H A D | msi-ec.c | 54 .range_max = 0xe4, 134 .range_max = 0xe4, 211 .range_max = 0xe4, 289 .range_max = 0xe4, 367 .range_max = 0xe4, 446 .range_max = 0xe4, 524 .range_max = 0xe4, 604 .range_max = 0xe4, 682 .range_max = 0xe4, 759 .range_max = 0xe4, [all …]
|
H A D | msi-ec.h | 34 int range_max; member
|
/linux/drivers/rtc/ |
H A D | rtc-pl031.c | 84 timeu64_t range_max; member 365 ldata->rtc->range_max = vendor->range_max; in pl031_probe() 396 .range_max = U32_MAX, 410 .range_max = U32_MAX, 432 .range_max = RTC_TIMESTAMP_END_9999,
|
H A D | interface.c | 40 secs <= (rtc->start_secs + rtc->range_max - rtc->range_min))) in rtc_add_offset() 61 if (secs >= rtc->range_min && secs <= rtc->range_max) in rtc_subtract_offset() 69 if (rtc->range_min != rtc->range_max) { in rtc_valid_range() 73 timeu64_t range_max = rtc->set_start_time ? in rtc_valid_range() local 74 (rtc->start_secs + rtc->range_max - rtc->range_min) : in rtc_valid_range() 75 rtc->range_max; in rtc_valid_range() 77 if (time < range_min || time > range_max) in rtc_valid_range()
|
H A D | rtc-ds1347.c | 41 .range_max = DS1347_STATUS_REG, 167 rtc->range_max = RTC_TIMESTAMP_END_9999; in ds1347_probe()
|
H A D | rtc-optee.c | 36 struct optee_rtc_time range_max; member 226 tm = &info->range_max; in optee_rtc_read_info() 227 rtc->range_max = mktime64(tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, in optee_rtc_read_info()
|
H A D | class.c | 285 if (rtc->range_min == rtc->range_max) in rtc_device_get_offset() 302 range_secs = rtc->range_max - rtc->range_min + 1; in rtc_device_get_offset() 330 if (rtc->start_secs > rtc->range_max || in rtc_device_get_offset()
|
H A D | rtc-starfire.c | 47 rtc->range_max = U32_MAX; in starfire_rtc_probe()
|
H A D | rtc-ps3.c | 55 rtc->range_max = U64_MAX; in ps3_rtc_probe()
|
H A D | rtc-sun4v.c | 86 rtc->range_max = U64_MAX; in sun4v_rtc_probe()
|
H A D | rtc-au1xxx.c | 100 rtcdev->range_max = U32_MAX; in au1xtoy_rtc_probe()
|
H A D | rtc-st-lpc.c | 246 rtc->rtc_dev->range_max = U64_MAX; in st_rtc_probe() 247 do_div(rtc->rtc_dev->range_max, rtc->clkrate); in st_rtc_probe()
|
H A D | sysfs.c | 250 to_rtc_device(dev)->range_max); in range_show() 294 if (!(rtc->range_max - rtc->range_min)) in rtc_attr_is_visible()
|
H A D | rtc-88pm886.c | 71 rtc->range_max = U32_MAX; in pm886_rtc_probe()
|
H A D | rtc-mxc.c | 321 rtc->range_max = (1 << 9) * 86400 - 1; in mxc_rtc_probe() 332 rtc->range_max = (1 << 16) * 86400ULL - 1; in mxc_rtc_probe()
|
H A D | rtc-ds1672.c | 124 rtc->range_max = U32_MAX; in ds1672_probe()
|
H A D | rtc-ntxec.c | 129 dev->range_max = 9025257599LL; /* 2255-12-31 23:59:59 */ in ntxec_rtc_probe()
|
/linux/drivers/iio/light/ |
H A D | rohm-bu27008.c | 401 .range_max = BU27008_REG_SYSTEM_CONTROL, 404 .range_max = BU27008_REG_MODE_CONTROL3, 407 .range_max = BU27008_REG_DATA3_HI, 414 .range_max = BU27008_REG_SYSTEM_CONTROL, /* RESET */ 417 .range_max = BU27010_REG_MODE_CONTROL5, 420 .range_max = BU27010_REG_FIFO_DATA_HI, 437 .range_max = BU27008_REG_DATA3_HI, 440 .range_max = BU27008_REG_MANUFACTURER_ID, 447 .range_max = BU27010_REG_FIFO_DATA_HI, 450 .range_max = BU27010_REG_MANUFACTURER_ID,
|
H A D | rohm-bu27034.c | 215 .range_max = BU27034_REG_SYSTEM_CONTROL, 218 .range_max = BU27034_REG_MODE_CONTROL4, 221 .range_max = BU27034_REG_DATA1_HI, 233 .range_max = BU27034_REG_DATA1_HI, 236 .range_max = BU27034_REG_MANUFACTURER_ID,
|
/linux/drivers/media/i2c/ |
H A D | tvp5150.c | 1756 .range_max = TVP5150_AUTOSW_MSK, 1759 .range_max = TVP5150_CONF_SHARED_PIN, 1762 .range_max = TVP5150_HORIZ_SYNC_START, 1765 .range_max = TVP5150_INTT_CONFIG_REG_B, 1768 .range_max = TVP5150_VIDEO_STD, 1771 .range_max = TVP5150_REV_SELECT, 1774 .range_max = TVP5150_STATUS_REG_5, 1777 .range_max = TVP5150_TELETEXT_FIL_ENA, 1780 .range_max = TVP5150_FIFO_OUT_CTRL, 1783 .range_max = TVP5150_FULL_FIELD_MODE_REG,
|
/linux/sound/soc/codecs/ |
H A D | wm2200.c | 108 .range_max = WM2200_DSP1_DM_BASE + 12287, 115 .range_max = WM2200_DSP1_PM_BASE + 12287, 122 .range_max = WM2200_DSP1_ZM_BASE + 2047, 129 .range_max = WM2200_DSP2_DM_BASE + 4095, 136 .range_max = WM2200_DSP2_PM_BASE + 11287, 143 .range_max = WM2200_DSP2_ZM_BASE + 2047, 512 reg <= wm2200_ranges[i].range_max)) in wm2200_volatile_register() 538 reg <= wm2200_ranges[i].range_max)) in wm2200_readable_register()
|
/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 747 .range_max = 40, 764 if (reg >= test_range.range_min && reg <= test_range.range_max) in test_range_all_volatile() 782 config.max_register = test_range.range_max; in basic_ranges() 789 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges() 796 test_range.range_max)); in basic_ranges() 831 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges() 1557 config.max_register = test_range.range_max; in cache_range_window_reg() 1565 for (i = test_range.range_min; i <= test_range.range_max; i++) in cache_range_window_reg() 1590 KUNIT_ASSERT_EQ(test, 0, regmap_write(map, test_range.range_max, 0)); in cache_range_window_reg() 1978 config.max_register = test_range.range_max; in raw_ranges() [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-cy8c95x0.c | 445 .range_max = 0, /* Updated at runtime */ 1441 regmap_range_conf.range_max = CY8C95X0_VIRTUAL + 3 * MUXED_STRIDE; in cy8c95x0_probe() 1445 regmap_range_conf.range_max = CY8C95X0_VIRTUAL + 6 * MUXED_STRIDE; in cy8c95x0_probe() 1449 regmap_range_conf.range_max = CY8C95X0_VIRTUAL + 8 * MUXED_STRIDE; in cy8c95x0_probe() 1473 regmap_conf.max_register = regmap_range_conf.range_max; in cy8c95x0_probe() 1474 regmap_conf.num_reg_defaults_raw = regmap_range_conf.range_max; in cy8c95x0_probe()
|