Home
last modified time | relevance | path

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

123456

/linux-6.6.21/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 …]
/linux-6.6.21/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-6.6.21/drivers/platform/x86/
Dmsi-ec.c53 .range_min = 0x8a,
133 .range_min = 0x8a,
210 .range_min = 0x8a,
288 .range_min = 0x8a,
366 .range_min = 0x8a,
445 .range_min = 0x8a,
523 .range_min = 0x8a,
603 .range_min = 0x8a,
747 if (wdata < conf.charge_control.range_min || in charge_control_threshold_store()
Dmsi-ec.h33 int range_min; member
/linux-6.6.21/drivers/iio/accel/
Dkionix-kx022a.c54 .range_min = KX022A_REG_XHP_L,
57 .range_min = KX022A_REG_TSCP,
61 .range_min = KX022A_REG_CNTL2,
64 .range_min = KX022A_REG_BUF_STATUS_1,
76 .range_min = KX022A_REG_INT_REL,
92 .range_min = KX022A_REG_XHP_L,
95 .range_min = KX022A_REG_BUF_STATUS_1,
98 .range_min = KX022A_REG_BUF_READ,
110 .range_min = KX022A_REG_BTS_WUF_TH,
113 .range_min = KX022A_REG_MAN_WAKE,
[all …]
/linux-6.6.21/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.c249 return sprintf(buf, "[%lld,%llu]\n", to_rtc_device(dev)->range_min, in range_show()
294 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-r9701.c127 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in r9701_probe()
Drtc-aspeed.c104 rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900; in aspeed_rtc_probe()
Drtc-mpc5121.c338 rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in mpc5121_rtc_probe()
355 rtc->rtc->range_min = 0; in mpc5121_rtc_probe()
Drtc-wilco-ec.c175 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in wilco_ec_rtc_probe()
Drtc-imx-sc.c155 imx_sc_rtc->range_min = 0; in imx_sc_rtc_probe()
/linux-6.6.21/drivers/iio/light/
Drohm-bu27008.c383 .range_min = BU27008_REG_SYSTEM_CONTROL, /* SWRESET */
386 .range_min = BU27008_REG_MODE_CONTROL3, /* VALID */
389 .range_min = BU27008_REG_DATA0_LO, /* DATA */
396 .range_min = BU27010_REG_RESET, /* RSTB */
399 .range_min = BU27010_REG_MODE_CONTROL5, /* VALID bits */
402 .range_min = BU27008_REG_DATA0_LO,
419 .range_min = BU27008_REG_DATA0_LO,
422 .range_min = BU27008_REG_MANUFACTURER_ID,
429 .range_min = BU27008_REG_DATA0_LO,
432 .range_min = BU27010_REG_MANUFACTURER_ID,
Drohm-bu27034.c234 .range_min = BU27034_REG_SYSTEM_CONTROL,
237 .range_min = BU27034_REG_MODE_CONTROL4,
240 .range_min = BU27034_REG_DATA0_LO,
252 .range_min = BU27034_REG_DATA0_LO,
255 .range_min = BU27034_REG_MANUFACTURER_ID,
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-mcp23s08.c59 .range_min = MCP_INTF,
69 .range_min = MCP_GPIO,
104 .range_min = MCP_INTF << 1,
114 .range_min = MCP_INTCAP << 1,
/linux-6.6.21/drivers/base/regmap/
Dregmap-kunit.c441 .range_min = 20,
451 if (reg >= test_range.range_min && reg <= test_range.range_max) in test_range_volatile()
478 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges()
490 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, test_range.range_min, 0)); in basic_ranges()
497 test_range.range_min + in basic_ranges()
506 KUNIT_EXPECT_EQ(test, 0, regmap_read(map, test_range.range_min, &val)); in basic_ranges()
513 test_range.range_min + in basic_ranges()
520 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges()
Dregmap.c508 if (data->range_max < this->range_min) in _regmap_range_add()
510 else if (data->range_min > this->range_max) in _regmap_range_add()
531 if (reg < this->range_min) in _regmap_range_lookup()
1052 if (range_cfg->range_max < range_cfg->range_min) { in __regmap_init()
1054 range_cfg->range_max, range_cfg->range_min); in __regmap_init()
1088 if (range_cfg->range_min <= sel_reg && in __regmap_init()
1096 if (!(win_max < range_cfg->range_min || in __regmap_init()
1113 new->range_min = range_cfg->range_min; in __regmap_init()
1532 win_offset = (*reg - range->range_min) % range->window_len; in _regmap_select_page()
1533 win_page = (*reg - range->range_min) / range->window_len; in _regmap_select_page()
[all …]
/linux-6.6.21/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-6.6.21/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()

123456