Home
last modified time | relevance | path

Searched refs:dt (Results 1 – 25 of 2596) sorted by relevance

12345678910>>...104

/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/hdf5/files/
H A DH5Tinit-32.c142 H5T_t *dt = NULL; in H5TN_init_interface() local
152 if(NULL == (dt = H5T__alloc())) in H5TN_init_interface()
154 dt->shared->state = H5T_STATE_IMMUTABLE; in H5TN_init_interface()
155 dt->shared->type = H5T_INTEGER; in H5TN_init_interface()
156 dt->shared->size = 1; in H5TN_init_interface()
157 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
158 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
159 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
160 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
161 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
[all …]
H A DH5Tinit-64.c142 H5T_t *dt = NULL; in H5TN_init_interface() local
152 if(NULL == (dt = H5T__alloc())) in H5TN_init_interface()
154 dt->shared->state = H5T_STATE_IMMUTABLE; in H5TN_init_interface()
155 dt->shared->type = H5T_INTEGER; in H5TN_init_interface()
156 dt->shared->size = 1; in H5TN_init_interface()
157 dt->shared->u.atomic.order = H5T_ORDER_LE; in H5TN_init_interface()
158 dt->shared->u.atomic.offset = 0; in H5TN_init_interface()
159 dt->shared->u.atomic.prec = 8; in H5TN_init_interface()
160 dt->shared->u.atomic.lsb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
161 dt->shared->u.atomic.msb_pad = H5T_PAD_ZERO; in H5TN_init_interface()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Ddenali_dt.c117 struct denali_dt *dt; in denali_dt_probe() local
123 dt = devm_kzalloc(dev, sizeof(*dt), GFP_KERNEL); in denali_dt_probe()
124 if (!dt) in denali_dt_probe()
126 denali = &dt->controller; in denali_dt_probe()
152 dt->clk = devm_clk_get(dev, "nand"); in denali_dt_probe()
153 if (IS_ERR(dt->clk)) in denali_dt_probe()
154 return PTR_ERR(dt->clk); in denali_dt_probe()
156 dt->clk_x = devm_clk_get(dev, "nand_x"); in denali_dt_probe()
157 if (IS_ERR(dt->clk_x)) in denali_dt_probe()
158 return PTR_ERR(dt->clk_x); in denali_dt_probe()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/preprocessor/repetition/
H A Drepeat_from_to.hpp36 …OOST_PP_REPEAT_FROM_TO_1(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument
37 …OOST_PP_REPEAT_FROM_TO_2(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_2(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument
38 …OOST_PP_REPEAT_FROM_TO_3(f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_3(BOOST_PP_AUTO_REC(BOOST_PP_WHILE… argument
39 # define BOOST_PP_REPEAT_FROM_TO_4(f, l, m, dt) BOOST_PP_ERROR(0x0003) argument
54 …_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_1(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument
55 …_REPEAT_FROM_TO_D_2(d, f, l, m, dt) BOOST_PP_REPEAT_2(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument
56 …_REPEAT_FROM_TO_D_3(d, f, l, m, dt) BOOST_PP_REPEAT_3(BOOST_PP_SUB_D(d, l, f), BOOST_PP_REPEAT_FRO… argument
58 # define BOOST_PP_REPEAT_FROM_TO_D_1(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_1_I(d, f, l, m, d… argument
59 # define BOOST_PP_REPEAT_FROM_TO_D_2(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_2_I(d, f, l, m, d… argument
60 # define BOOST_PP_REPEAT_FROM_TO_D_3(d, f, l, m, dt) BOOST_PP_REPEAT_FROM_TO_D_3_I(d, f, l, m, d… argument
[all …]
/OK3568_Linux_fs/kernel/drivers/video/
H A Dof_display_timing.c57 struct display_timing *dt) in of_parse_display_timing() argument
62 memset(dt, 0, sizeof(*dt)); in of_parse_display_timing()
64 ret |= parse_timing_property(np, "hback-porch", &dt->hback_porch); in of_parse_display_timing()
65 ret |= parse_timing_property(np, "hfront-porch", &dt->hfront_porch); in of_parse_display_timing()
66 ret |= parse_timing_property(np, "hactive", &dt->hactive); in of_parse_display_timing()
67 ret |= parse_timing_property(np, "hsync-len", &dt->hsync_len); in of_parse_display_timing()
68 ret |= parse_timing_property(np, "vback-porch", &dt->vback_porch); in of_parse_display_timing()
69 ret |= parse_timing_property(np, "vfront-porch", &dt->vfront_porch); in of_parse_display_timing()
70 ret |= parse_timing_property(np, "vactive", &dt->vactive); in of_parse_display_timing()
71 ret |= parse_timing_property(np, "vsync-len", &dt->vsync_len); in of_parse_display_timing()
[all …]
H A Dvideomode.c13 void videomode_from_timing(const struct display_timing *dt, in videomode_from_timing() argument
16 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
18 vm->hfront_porch = dt->hfront_porch.typ; in videomode_from_timing()
19 vm->hback_porch = dt->hback_porch.typ; in videomode_from_timing()
20 vm->hsync_len = dt->hsync_len.typ; in videomode_from_timing()
22 vm->vactive = dt->vactive.typ; in videomode_from_timing()
23 vm->vfront_porch = dt->vfront_porch.typ; in videomode_from_timing()
24 vm->vback_porch = dt->vback_porch.typ; in videomode_from_timing()
25 vm->vsync_len = dt->vsync_len.typ; in videomode_from_timing()
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-max6902.c52 static int max6902_read_time(struct device *dev, struct rtc_time *dt) in max6902_read_time() argument
66 dt->tm_sec = bcd2bin(buf[0]); in max6902_read_time()
67 dt->tm_min = bcd2bin(buf[1]); in max6902_read_time()
68 dt->tm_hour = bcd2bin(buf[2]); in max6902_read_time()
69 dt->tm_mday = bcd2bin(buf[3]); in max6902_read_time()
70 dt->tm_mon = bcd2bin(buf[4]) - 1; in max6902_read_time()
71 dt->tm_wday = bcd2bin(buf[5]); in max6902_read_time()
72 dt->tm_year = bcd2bin(buf[6]); in max6902_read_time()
81 dt->tm_year += century; in max6902_read_time()
82 dt->tm_year -= 1900; in max6902_read_time()
[all …]
H A Drtc-max6916.c53 static int max6916_read_time(struct device *dev, struct rtc_time *dt) in max6916_read_time() argument
66 dt->tm_sec = bcd2bin(buf[0]); in max6916_read_time()
67 dt->tm_min = bcd2bin(buf[1]); in max6916_read_time()
68 dt->tm_hour = bcd2bin(buf[2] & 0x3F); in max6916_read_time()
69 dt->tm_mday = bcd2bin(buf[3]); in max6916_read_time()
70 dt->tm_mon = bcd2bin(buf[4]) - 1; in max6916_read_time()
71 dt->tm_wday = bcd2bin(buf[5]) - 1; in max6916_read_time()
72 dt->tm_year = bcd2bin(buf[6]) + 100; in max6916_read_time()
77 static int max6916_set_time(struct device *dev, struct rtc_time *dt) in max6916_set_time() argument
82 if (dt->tm_year < 100 || dt->tm_year > 199) { in max6916_set_time()
[all …]
H A Drtc-v3020.c208 static int v3020_read_time(struct device *dev, struct rtc_time *dt) in v3020_read_time() argument
218 dt->tm_sec = bcd2bin(tmp); in v3020_read_time()
220 dt->tm_min = bcd2bin(tmp); in v3020_read_time()
222 dt->tm_hour = bcd2bin(tmp); in v3020_read_time()
224 dt->tm_mday = bcd2bin(tmp); in v3020_read_time()
226 dt->tm_mon = bcd2bin(tmp) - 1; in v3020_read_time()
228 dt->tm_wday = bcd2bin(tmp); in v3020_read_time()
230 dt->tm_year = bcd2bin(tmp)+100; in v3020_read_time()
233 dev_dbg(dev, "tm_hour: %i\n", dt->tm_hour); in v3020_read_time()
234 dev_dbg(dev, "tm_min : %i\n", dt->tm_min); in v3020_read_time()
[all …]
H A Drtc-ds1347.c50 static int ds1347_read_time(struct device *dev, struct rtc_time *dt) in ds1347_read_time() argument
78 dt->tm_sec = bcd2bin(buf[0]); in ds1347_read_time()
79 dt->tm_min = bcd2bin(buf[1] & 0x7f); in ds1347_read_time()
80 dt->tm_hour = bcd2bin(buf[2] & 0x3F); in ds1347_read_time()
81 dt->tm_mday = bcd2bin(buf[3]); in ds1347_read_time()
82 dt->tm_mon = bcd2bin(buf[4]) - 1; in ds1347_read_time()
83 dt->tm_wday = bcd2bin(buf[5]) - 1; in ds1347_read_time()
84 dt->tm_year = (bcd2bin(century) * 100) + bcd2bin(buf[6]) - 1900; in ds1347_read_time()
89 static int ds1347_set_time(struct device *dev, struct rtc_time *dt) in ds1347_set_time() argument
101 buf[0] = bin2bcd(dt->tm_sec); in ds1347_set_time()
[all …]
H A Drtc-ds1390.c127 static int ds1390_read_time(struct device *dev, struct rtc_time *dt) in ds1390_read_time() argument
143 dt->tm_sec = bcd2bin(chip->txrx_buf[0]); in ds1390_read_time()
144 dt->tm_min = bcd2bin(chip->txrx_buf[1]); in ds1390_read_time()
145 dt->tm_hour = bcd2bin(chip->txrx_buf[2]); in ds1390_read_time()
146 dt->tm_wday = bcd2bin(chip->txrx_buf[3]); in ds1390_read_time()
147 dt->tm_mday = bcd2bin(chip->txrx_buf[4]); in ds1390_read_time()
149 dt->tm_mon = bcd2bin(chip->txrx_buf[5] & 0x7f) - 1; in ds1390_read_time()
151 dt->tm_year = bcd2bin(chip->txrx_buf[6]) + ((chip->txrx_buf[5] & 0x80) ? 100 : 0); in ds1390_read_time()
156 static int ds1390_set_time(struct device *dev, struct rtc_time *dt) in ds1390_set_time() argument
163 chip->txrx_buf[1] = bin2bcd(dt->tm_sec); in ds1390_set_time()
[all …]
H A Drtc-r9701.c68 static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) in r9701_get_datetime() argument
78 dt->tm_sec = bcd2bin(buf[0]); /* RSECCNT */ in r9701_get_datetime()
79 dt->tm_min = bcd2bin(buf[1]); /* RMINCNT */ in r9701_get_datetime()
80 dt->tm_hour = bcd2bin(buf[2]); /* RHRCNT */ in r9701_get_datetime()
82 dt->tm_mday = bcd2bin(buf[3]); /* RDAYCNT */ in r9701_get_datetime()
83 dt->tm_mon = bcd2bin(buf[4]) - 1; /* RMONCNT */ in r9701_get_datetime()
84 dt->tm_year = bcd2bin(buf[5]) + 100; /* RYRCNT */ in r9701_get_datetime()
89 static int r9701_set_datetime(struct device *dev, struct rtc_time *dt) in r9701_set_datetime() argument
93 ret = write_reg(dev, RHRCNT, bin2bcd(dt->tm_hour)); in r9701_set_datetime()
94 ret = ret ? ret : write_reg(dev, RMINCNT, bin2bcd(dt->tm_min)); in r9701_set_datetime()
[all …]
H A Drtc-pcf8583.c49 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) in pcf8583_get_datetime() argument
71 dt->tm_year = buf[4] >> 6; in pcf8583_get_datetime()
72 dt->tm_wday = buf[5] >> 5; in pcf8583_get_datetime()
77 dt->tm_sec = bcd2bin(buf[1]); in pcf8583_get_datetime()
78 dt->tm_min = bcd2bin(buf[2]); in pcf8583_get_datetime()
79 dt->tm_hour = bcd2bin(buf[3]); in pcf8583_get_datetime()
80 dt->tm_mday = bcd2bin(buf[4]); in pcf8583_get_datetime()
81 dt->tm_mon = bcd2bin(buf[5]) - 1; in pcf8583_get_datetime()
87 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) in pcf8583_set_datetime() argument
95 buf[3] = bin2bcd(dt->tm_sec); in pcf8583_set_datetime()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/
H A Dindustrialio-sw-device.c68 void iio_unregister_sw_device_type(struct iio_sw_device_type *dt) in iio_unregister_sw_device_type() argument
73 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name)); in iio_unregister_sw_device_type()
75 list_del(&dt->list); in iio_unregister_sw_device_type()
78 configfs_unregister_default_group(dt->group); in iio_unregister_sw_device_type()
85 struct iio_sw_device_type *dt; in iio_get_sw_device_type() local
88 dt = __iio_find_sw_device_type(name, strlen(name)); in iio_get_sw_device_type()
89 if (dt && !try_module_get(dt->owner)) in iio_get_sw_device_type()
90 dt = NULL; in iio_get_sw_device_type()
93 return dt; in iio_get_sw_device_type()
99 struct iio_sw_device_type *dt; in iio_sw_device_create() local
[all …]
/OK3568_Linux_fs/u-boot/drivers/rtc/
H A Drs5c372.c118 rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf) in rs5c372_convert_to_time() argument
121 dt->tm_sec = bcd2bin(buf[1]); in rs5c372_convert_to_time()
122 dt->tm_min = bcd2bin(buf[2]); in rs5c372_convert_to_time()
125 dt->tm_hour = HOURS_12(buf[3]); in rs5c372_convert_to_time()
127 dt->tm_hour += 12; in rs5c372_convert_to_time()
129 dt->tm_hour = HOURS_24(buf[3]); in rs5c372_convert_to_time()
131 dt->tm_mday = bcd2bin(buf[5]); in rs5c372_convert_to_time()
132 dt->tm_mon = bcd2bin(buf[6]); in rs5c372_convert_to_time()
133 dt->tm_year = bcd2bin(buf[7]); in rs5c372_convert_to_time()
134 if (dt->tm_year >= 70) in rs5c372_convert_to_time()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qnmeapositioninfosource/
H A Dtst_qnmeapositioninfosource.cpp146 QDateTime dt = QDateTime::currentDateTime().toUTC(); in lastKnownPosition() local
147 proxy->feedUpdate(dt); in lastKnownPosition()
148 QTRY_COMPARE(proxy->source()->lastKnownPosition().timestamp(), dt); in lastKnownPosition()
259 QDateTime dt = QDateTime::currentDateTime().toUTC(); in startUpdates_withTimeout() local
263 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt).toLatin1()); in startUpdates_withTimeout()
264 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt.addMSecs(10)).toLatin1()); in startUpdates_withTimeout()
265 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt.addMSecs(1100)).toLatin1()); in startUpdates_withTimeout()
266 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt.addMSecs(2200)).toLatin1()); in startUpdates_withTimeout()
267 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt.addSecs(9)).toLatin1()); in startUpdates_withTimeout()
290 proxy->feedBytes(QLocationTestUtils::createRmcSentence(dt.addSecs(1)).toLatin1()); in startUpdates_withTimeout()
[all …]
/OK3568_Linux_fs/kernel/drivers/perf/
H A Darm-ccn.c143 struct arm_ccn_dt, pmu), struct arm_ccn, dt)
183 struct arm_ccn_dt dt; member
465 return &ccn->dt.cmp_mask[i].l; in arm_ccn_pmu_get_cmp_mask()
467 return &ccn->dt.cmp_mask[i].h; in arm_ccn_pmu_get_cmp_mask()
555 return cpumap_print_to_pagebuf(true, buf, cpumask_of(ccn->dt.cpu)); in arm_ccn_pmu_cpumask_show()
651 ccn->dt.pmu_counters_mask)) in arm_ccn_pmu_event_alloc()
655 ccn->dt.pmu_counters[CCN_IDX_PMU_CYCLE_COUNTER].event = event; in arm_ccn_pmu_event_alloc()
661 hw->idx = arm_ccn_pmu_alloc_bit(ccn->dt.pmu_counters_mask, in arm_ccn_pmu_event_alloc()
672 ccn->dt.pmu_counters[hw->idx].source = source; in arm_ccn_pmu_event_alloc()
684 clear_bit(hw->idx, ccn->dt.pmu_counters_mask); in arm_ccn_pmu_event_alloc()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/rockchip/
H A Dpower_domain.txt29 "include/dt-bindings/power/px30-power.h" - for PX30 type power domain.
30 "include/dt-bindings/power/rv1126-power.h" - for RV1126 type power domain.
31 "include/dt-bindings/power/rk1808-power.h" - for RK1808 type power domain.
32 "include/dt-bindings/power/rk3036-power.h" - for RK3036 type power domain.
33 "include/dt-bindings/power/rk3066-power.h" - for RK3066 type power domain.
34 "include/dt-bindings/power/rk3128-power.h" - for RK3128 type power domain.
35 "include/dt-bindings/power/rk3188-power.h" - for RK3188 type power domain.
36 "include/dt-bindings/power/rk3228-power.h" - for RK3228 type power domain.
37 "include/dt-bindings/power/rk3288-power.h" - for RK3288 type power domain.
38 "include/dt-bindings/power/rk3328-power.h" - for RK3328 type power domain.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dselftest_gt_pm.c43 ktime_t dt[5]; in measure_clocks() local
50 dt[i] = ktime_get(); in measure_clocks()
54 dt[i] = ktime_sub(ktime_get(), dt[i]); in measure_clocks()
63 sort(dt, 5, sizeof(*dt), cmp_u64, NULL); in measure_clocks()
64 *out_dt = div_u64(dt[1] + 2 * dt[2] + dt[3], 4); in measure_clocks()
108 u64 dt; in live_gt_clocks() local
113 measure_clocks(engine, &cycles, &dt); in live_gt_clocks()
116 expected = i915_cs_timestamp_ns_to_ticks(engine->i915, dt); in live_gt_clocks()
119 engine->name, cycles, time, dt, expected, in live_gt_clocks()
122 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()
/OK3568_Linux_fs/kernel/lib/zstd/
H A Dfse_decompress.c88 size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbolValue… in FSE_buildDTable_wksp() argument
90 void *const tdPtr = dt + 1; /* because *dt is unsigned, 32-bits aligned on 32-bits */ in FSE_buildDTable_wksp()
125 memcpy(dt, &DTableH, sizeof(DTableH)); in FSE_buildDTable_wksp()
163 size_t FSE_buildDTable_rle(FSE_DTable *dt, BYTE symbolValue) in FSE_buildDTable_rle() argument
165 void *ptr = dt; in FSE_buildDTable_rle()
167 void *dPtr = dt + 1; in FSE_buildDTable_rle()
180 size_t FSE_buildDTable_raw(FSE_DTable *dt, unsigned nbBits) in FSE_buildDTable_raw() argument
182 void *ptr = dt; in FSE_buildDTable_raw()
184 void *dPtr = dt + 1; in FSE_buildDTable_raw()
207 …able_generic(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize, const FSE_DTable *dt, in FSE_decompress_usingDTable_generic() argument
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A D.rk3288-phycore-rdk.dtb.d.pre.tmp
H A D.rk3288-veyron-mickey.dtb.d.pre.tmp
H A D.rk3288-veyron-jerry.dtb.d.pre.tmp
H A D.rk3288-veyron-minnie.dtb.d.pre.tmp
/OK3568_Linux_fs/u-boot/drivers/video/exynos/
H A Dexynos_mipi_dsi.c235 int exynos_dsim_config_parse_dt(const void *blob, struct mipi_dsim_config *dt, in exynos_dsim_config_parse_dt() argument
246 dt->e_interface = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
249 dt->e_virtual_ch = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
252 dt->e_pixel_format = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
255 dt->e_burst_mode = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
258 dt->e_no_data_lane = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
261 dt->e_byte_clk = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
264 dt->hfp = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
267 dt->p = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
269 dt->m = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
[all …]

12345678910>>...104