Home
last modified time | relevance | path

Searched refs:range_max (Results 1 – 25 of 161) sorted by relevance

1234567

/linux/drivers/iio/accel/
H A Dkionix-kx022a.c67 .range_max = KX022A_REG_COTR,
70 .range_max = KX022A_REG_INT_REL,
74 .range_max = KX022A_REG_CNTL2,
77 .range_max = KX022A_REG_BUF_READ,
89 .range_max = KX022A_REG_INT_REL,
105 .range_max = KX022A_REG_INT_REL,
108 .range_max = KX022A_REG_BUF_STATUS_2,
111 .range_max = KX022A_REG_BUF_READ,
123 .range_max = KX022A_REG_BTS_WUF_TH,
126 .range_max = KX022A_REG_MAN_WAKE,
[all …]
/linux/drivers/platform/x86/
H A Dmsi-ec.c54 .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 Dmsi-ec.h34 int range_max; member
/linux/drivers/rtc/
H A Drtc-pl031.c86 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 Dinterface.c40 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 Drtc-ds1347.c41 .range_max = DS1347_STATUS_REG,
167 rtc->range_max = RTC_TIMESTAMP_END_9999; in ds1347_probe()
H A Dclass.c284 if (rtc->range_min == rtc->range_max) in rtc_device_get_offset()
301 range_secs = rtc->range_max - rtc->range_min + 1; in rtc_device_get_offset()
329 if ((rtc->start_secs >= 0 && rtc->start_secs > rtc->range_max) || in rtc_device_get_offset()
H A Drtc-starfire.c47 rtc->range_max = U32_MAX; in starfire_rtc_probe()
H A Drtc-ps3.c55 rtc->range_max = U64_MAX; in ps3_rtc_probe()
H A Drtc-sun4v.c86 rtc->range_max = U64_MAX; in sun4v_rtc_probe()
H A Drtc-au1xxx.c100 rtcdev->range_max = U32_MAX; in au1xtoy_rtc_probe()
H A Drtc-st-lpc.c246 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 Dsysfs.c246 to_rtc_device(dev)->range_max); in range_show()
290 if (!(rtc->range_max - rtc->range_min)) in rtc_attr_is_visible()
H A Drtc-88pm886.c71 rtc->range_max = U32_MAX; in pm886_rtc_probe()
H A Drtc-mxc.c321 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 Drtc-ds1672.c124 rtc->range_max = U32_MAX; in ds1672_probe()
H A Drtc-mpc5121.c339 rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */ in mpc5121_rtc_probe()
356 rtc->rtc->range_max = U32_MAX; in mpc5121_rtc_probe()
H A Drtc-ntxec.c129 dev->range_max = 9025257599LL; /* 2255-12-31 23:59:59 */ in ntxec_rtc_probe()
H A Drtc-aspeed.c105 rtc_dev->range_max = 38814989399LL; /* 3199-12-31 23:59:59 */ in aspeed_rtc_probe()
H A Drtc-macsmc.c116 rtc->rtc_dev->range_max = S64_MAX >> (RTC_SEC_SHIFT + (64 - RTC_BITS)); in macsmc_rtc_probe()
H A Drtc-optee.c127 struct optee_rtc_time range_max; member
535 tm = &info->range_max; in optee_rtc_read_info()
536 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 Drtc-r9701.c128 rtc->range_max = RTC_TIMESTAMP_END_2099; in r9701_probe()
/linux/drivers/iio/pressure/
H A Drohm-bm1390.c70 .range_max = BM1390_REG_STATUS,
74 .range_max = BM1390_REG_TEMP_LO,
86 .range_max = BM1390_REG_STATUS,
98 .range_max = BM1390_REG_PART_ID,
101 .range_max = BM1390_REG_TEMP_LO,
113 .range_max = BM1390_REG_TEMP_LO,
/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c49 .range_max = MCP_GPIO,
59 .range_max = MCP_GPIO,
83 .range_max = MCP_GPIO << 1,
93 .range_max = MCP_GPIO << 1,
/linux/drivers/media/i2c/
H A Dtvp5150.c1756 .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,

1234567