Home
last modified time | relevance | path

Searched refs:range_min (Results 1 – 25 of 121) sorted by relevance

12345

/Linux-v6.1/drivers/mfd/
Drohm-bd71828.c135 .range_min = BD71815_REG_SEC,
138 .range_min = BD71815_REG_CONF,
141 .range_min = BD71815_REG_VM_IBAT_U,
144 .range_min = BD71815_REG_CC_STAT,
147 .range_min = BD71815_REG_VM_BTMP_MON,
150 .range_min = BD71815_REG_INT_STAT,
153 .range_min = BD71815_REG_VM_VSYS_U,
156 .range_min = BD71815_REG_FULL_CCNTD_3,
163 .range_min = BD71828_REG_PS_CTRL_1,
166 .range_min = BD71828_REG_PS_CTRL_3,
[all …]
Drsmu_i2c.c36 .range_min = 0,
48 .range_min = 0,
Drohm-bd718x7.c77 .range_min = BD718XX_REG_IRQ,
/Linux-v6.1/drivers/iio/imu/
Dfxos8700_core.c176 .range_min = FXOS8700_STATUS,
179 .range_min = FXOS8700_TRANSIENT_CFG,
186 .range_min = FXOS8700_F_SETUP,
189 .range_min = FXOS8700_XYZ_DATA_CFG,
192 .range_min = FXOS8700_PL_CFG,
195 .range_min = FXOS8700_A_FFMT_THS,
198 .range_min = FXOS8700_TRANSIENT_THS,
201 .range_min = FXOS8700_PULSE_THSX,
204 .range_min = FXOS8700_M_OFF_X_MSB,
207 .range_min = FXOS8700_M_THS_CFG,
[all …]
/Linux-v6.1/drivers/rtc/
Dclass.c281 if (rtc->range_min == rtc->range_max) in rtc_device_get_offset()
298 range_secs = rtc->range_max - rtc->range_min + 1; in rtc_device_get_offset()
327 rtc->start_secs + range_secs - 1 < rtc->range_min) in rtc_device_get_offset()
328 rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset()
329 else if (rtc->start_secs > rtc->range_min) in rtc_device_get_offset()
331 else if (rtc->start_secs < rtc->range_min) in rtc_device_get_offset()
Dinterface.c38 if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) || in rtc_add_offset()
39 (rtc->start_secs < rtc->range_min && in rtc_add_offset()
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()
71 time64_t range_min = rtc->set_start_time ? rtc->start_secs : in rtc_valid_range() local
72 rtc->range_min; in rtc_valid_range()
74 (rtc->start_secs + rtc->range_max - rtc->range_min) : in rtc_valid_range()
77 if (time < range_min || time > range_max) in rtc_valid_range()
Drtc-pl031.c83 time64_t range_min; member
364 ldata->rtc->range_min = vendor->range_min; in pl031_probe()
431 .range_min = RTC_TIMESTAMP_BEGIN_0000,
Drtc-ds1347.c40 .range_min = DS1347_SECONDS_REG,
166 rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in ds1347_probe()
Drtc-optee.c35 struct optee_rtc_time range_min; member
223 tm = &info->range_min; in optee_rtc_read_info()
224 rtc->range_min = mktime64(tm->tm_year, tm->tm_mon, tm->tm_mday, tm->tm_hour, tm->tm_min, in optee_rtc_read_info()
Drtc-ftrtc010.c176 rtc->rtc_dev->range_min = (u64)days * 86400 + hour * 3600 + in ftrtc010_rtc_probe()
178 rtc->rtc_dev->range_max = U32_MAX + rtc->rtc_dev->range_min; in ftrtc010_rtc_probe()
Dsysfs.c248 return sprintf(buf, "[%lld,%llu]\n", to_rtc_device(dev)->range_min, in range_show()
293 if (!(rtc->range_max - rtc->range_min)) in rtc_attr_is_visible()
Drtc-ntxec.c128 dev->range_min = RTC_TIMESTAMP_BEGIN_2000; in ntxec_rtc_probe()
Drtc-aspeed.c104 rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900; in aspeed_rtc_probe()
Drtc-r9701.c127 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in r9701_probe()
Drtc-mpc5121.c340 rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in mpc5121_rtc_probe()
357 rtc->rtc->range_min = 0; in mpc5121_rtc_probe()
Drtc-imx-sc.c155 imx_sc_rtc->range_min = 0; in imx_sc_rtc_probe()
Drtc-ls1x.c176 rtcdev->range_min = RTC_TIMESTAMP_BEGIN_1900; in ls1x_rtc_probe()
Drtc-wilco-ec.c175 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in wilco_ec_rtc_probe()
Drtc-isl12022.c168 isl12022->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in isl12022_probe()
Drtc-sd3078.c191 sd3078->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in sd3078_probe()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-mcp23s08.c58 .range_min = MCP_INTF,
68 .range_min = MCP_GPIO,
103 .range_min = MCP_INTF << 1,
113 .range_min = MCP_INTCAP << 1,
/Linux-v6.1/drivers/media/i2c/
Dtvp5150.c1755 .range_min = TVP5150_VD_IN_SRC_SEL_1,
1758 .range_min = TVP5150_COLOR_KIL_THSH_CTL,
1761 .range_min = TVP5150_ACT_VD_CROP_ST_MSB,
1764 .range_min = TVP5150_VERT_BLANKING_START,
1767 .range_min = TVP5150_VIDEO_STD,
1770 .range_min = TVP5150_CB_GAIN_FACT,
1773 .range_min = TVP5150_MSB_DEV_ID,
1776 .range_min = TVP5150_CC_DATA_INI,
1779 .range_min = TVP5150_INT_STATUS_REG_A,
1782 .range_min = TVP5150_FULL_FIELD_ENA,
/Linux-v6.1/drivers/base/regmap/
Dregmap.c562 if (data->range_max < this->range_min) in _regmap_range_add()
564 else if (data->range_min > this->range_max) in _regmap_range_add()
585 if (reg < this->range_min) in _regmap_range_lookup()
1146 if (range_cfg->range_max < range_cfg->range_min) { in __regmap_init()
1148 range_cfg->range_max, range_cfg->range_min); in __regmap_init()
1182 if (range_cfg->range_min <= sel_reg && in __regmap_init()
1190 if (!(win_max < range_cfg->range_min || in __regmap_init()
1207 new->range_min = range_cfg->range_min; in __regmap_init()
1626 win_offset = (*reg - range->range_min) % range->window_len; in _regmap_select_page()
1627 win_page = (*reg - range->range_min) / range->window_len; in _regmap_select_page()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwm2200.c105 { .name = "DSP1DM", .range_min = WM2200_DSP1_DM_BASE,
112 { .name = "DSP1PM", .range_min = WM2200_DSP1_PM_BASE,
119 { .name = "DSP1ZM", .range_min = WM2200_DSP1_ZM_BASE,
126 { .name = "DSP2DM", .range_min = WM2200_DSP2_DM_BASE,
133 { .name = "DSP2PM", .range_min = WM2200_DSP2_PM_BASE,
140 { .name = "DSP2ZM", .range_min = WM2200_DSP2_ZM_BASE,
509 (reg >= wm2200_ranges[i].range_min && in wm2200_volatile_register()
535 (reg >= wm2200_ranges[i].range_min && in wm2200_readable_register()
/Linux-v6.1/include/linux/
Dregmap.h201 unsigned int range_min; member
205 #define regmap_reg_range(low, high) { .range_min = low, .range_max = high, }
466 unsigned int range_min; member
1247 return reg >= range->range_min && reg <= range->range_max; in regmap_reg_in_range()

12345