/linux/drivers/iio/accel/ |
H A D | kionix-kx022a.c | 55 .range_min = KX022A_REG_XHP_L, 58 .range_min = KX022A_REG_TSCP, 62 .range_min = KX022A_REG_CNTL2, 65 .range_min = KX022A_REG_BUF_STATUS_1, 77 .range_min = KX022A_REG_INT_REL, 93 .range_min = KX022A_REG_XHP_L, 96 .range_min = KX022A_REG_BUF_STATUS_1, 99 .range_min = KX022A_REG_BUF_READ, 111 .range_min = KX022A_REG_BTS_WUF_TH, 114 .range_min = KX022A_REG_MAN_WAKE, [all …]
|
/linux/drivers/mfd/ |
H A D | rohm-bd71828.c | 135 .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 …]
|
H A D | rohm-bd718x7.c | 76 .range_min = BD718XX_REG_IRQ,
|
/linux/drivers/platform/x86/ |
H A D | msi-ec.c | 53 .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, 681 .range_min = 0x8a, 758 .range_min = 0x8a, [all …]
|
H A D | msi-ec.h | 33 int range_min; member
|
/linux/drivers/rtc/ |
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() 331 rtc->start_secs + range_secs - 1 < rtc->range_min) in rtc_device_get_offset() 332 rtc->offset_secs = rtc->start_secs - rtc->range_min; in rtc_device_get_offset() 333 else if (rtc->start_secs > rtc->range_min) in rtc_device_get_offset() 335 else if (rtc->start_secs < rtc->range_min) in rtc_device_get_offset()
|
H A D | interface.c | 38 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()
|
H A D | rtc-pl031.c | 83 time64_t range_min; member 364 ldata->rtc->range_min = vendor->range_min; in pl031_probe() 431 .range_min = RTC_TIMESTAMP_BEGIN_0000,
|
H A D | rtc-ds1347.c | 40 .range_min = DS1347_SECONDS_REG, 166 rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in ds1347_probe()
|
H A D | rtc-optee.c | 35 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()
|
H A D | rtc-ftrtc010.c | 176 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()
|
H A D | sysfs.c | 249 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()
|
H A D | rtc-ntxec.c | 128 dev->range_min = RTC_TIMESTAMP_BEGIN_2000; in ntxec_rtc_probe()
|
H A D | rtc-mpc5121.c | 338 rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; in mpc5121_rtc_probe() 355 rtc->rtc->range_min = 0; in mpc5121_rtc_probe()
|
H A D | rtc-r9701.c | 127 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in r9701_probe()
|
H A D | rtc-aspeed.c | 104 rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900; in aspeed_rtc_probe()
|
H A D | rtc-wilco-ec.c | 175 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; in wilco_ec_rtc_probe()
|
H A D | rtc-imx-sc.c | 155 imx_sc_rtc->range_min = 0; in imx_sc_rtc_probe()
|
/linux/drivers/iio/light/ |
H A D | rohm-bu27008.c | 400 .range_min = BU27008_REG_SYSTEM_CONTROL, /* SWRESET */ 403 .range_min = BU27008_REG_MODE_CONTROL3, /* VALID */ 406 .range_min = BU27008_REG_DATA0_LO, /* DATA */ 413 .range_min = BU27010_REG_RESET, /* RSTB */ 416 .range_min = BU27010_REG_MODE_CONTROL5, /* VALID bits */ 419 .range_min = BU27008_REG_DATA0_LO, 436 .range_min = BU27008_REG_DATA0_LO, 439 .range_min = BU27008_REG_MANUFACTURER_ID, 446 .range_min = BU27008_REG_DATA0_LO, 449 .range_min = BU27010_REG_MANUFACTURER_ID,
|
H A D | rohm-bu27034.c | 214 .range_min = BU27034_REG_SYSTEM_CONTROL, 217 .range_min = BU27034_REG_MODE_CONTROL4, 220 .range_min = BU27034_REG_DATA0_LO, 232 .range_min = BU27034_REG_DATA0_LO, 235 .range_min = BU27034_REG_MANUFACTURER_ID,
|
/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 746 .range_min = 20, 764 if (reg >= test_range.range_min && reg <= test_range.range_max) in test_range_all_volatile() 789 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges() 801 KUNIT_EXPECT_EQ(test, 0, regmap_write(map, test_range.range_min, 0)); in basic_ranges() 808 test_range.range_min + in basic_ranges() 817 KUNIT_EXPECT_EQ(test, 0, regmap_read(map, test_range.range_min, &val)); in basic_ranges() 824 test_range.range_min + in basic_ranges() 831 for (i = test_range.range_min; i < test_range.range_max; i++) { in basic_ranges() 1565 for (i = test_range.range_min; i <= test_range.range_max; i++) in cache_range_window_reg() 1572 KUNIT_ASSERT_EQ(test, 0, regmap_write(map, test_range.range_min, 0)); in cache_range_window_reg() [all …]
|
H A D | regcache-rbtree.c | 337 rbnode->blklen = (range->range_max - range->range_min) / in regcache_rbtree_node_alloc() 339 rbnode->base_reg = range->range_min; in regcache_rbtree_node_alloc()
|
/linux/drivers/media/i2c/ |
H A D | tvp5150.c | 1755 .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/sound/soc/codecs/ |
H A D | wm2200.c | 107 { .name = "DSP1DM", .range_min = WM2200_DSP1_DM_BASE, 114 { .name = "DSP1PM", .range_min = WM2200_DSP1_PM_BASE, 121 { .name = "DSP1ZM", .range_min = WM2200_DSP1_ZM_BASE, 128 { .name = "DSP2DM", .range_min = WM2200_DSP2_DM_BASE, 135 { .name = "DSP2PM", .range_min = WM2200_DSP2_PM_BASE, 142 { .name = "DSP2ZM", .range_min = WM2200_DSP2_ZM_BASE, 511 (reg >= wm2200_ranges[i].range_min && in wm2200_volatile_register() 537 (reg >= wm2200_ranges[i].range_min && in wm2200_readable_register()
|
/linux/include/linux/ |
H A D | regmap.h | 225 unsigned int range_min; member 229 #define regmap_reg_range(low, high) { .range_min = low, .range_max = high, } 496 unsigned int range_min; member 1318 return reg >= range->range_min && reg <= range->range_max; in regmap_reg_in_range()
|