Home
last modified time | relevance | path

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

12345678910>>...115

/openbmc/linux/drivers/thunderbolt/
H A Ddma_test.c122 static void dma_test_free_rings(struct dma_test *dt) in dma_test_free_rings() argument
124 if (dt->rx_ring) { in dma_test_free_rings()
125 tb_xdomain_release_in_hopid(dt->xd, dt->rx_hopid); in dma_test_free_rings()
126 tb_ring_free(dt->rx_ring); in dma_test_free_rings()
127 dt->rx_ring = NULL; in dma_test_free_rings()
129 if (dt->tx_ring) { in dma_test_free_rings()
130 tb_xdomain_release_out_hopid(dt->xd, dt->tx_hopid); in dma_test_free_rings()
131 tb_ring_free(dt->tx_ring); in dma_test_free_rings()
132 dt->tx_ring = NULL; in dma_test_free_rings()
136 static int dma_test_start_rings(struct dma_test *dt) in dma_test_start_rings() argument
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali_dt.c115 struct denali_dt *dt; in denali_dt_probe() local
121 dt = devm_kzalloc(dev, sizeof(*dt), GFP_KERNEL); in denali_dt_probe()
122 if (!dt) in denali_dt_probe()
124 denali = &dt->controller; in denali_dt_probe()
148 dt->clk = devm_clk_get(dev, "nand"); in denali_dt_probe()
149 if (IS_ERR(dt->clk)) in denali_dt_probe()
150 return PTR_ERR(dt->clk); in denali_dt_probe()
152 dt->clk_x = devm_clk_get(dev, "nand_x"); in denali_dt_probe()
153 if (IS_ERR(dt->clk_x)) in denali_dt_probe()
154 return PTR_ERR(dt->clk_x); in denali_dt_probe()
[all …]
/openbmc/linux/drivers/video/
H A Dof_display_timing.c58 struct display_timing *dt) in of_parse_display_timing() argument
63 memset(dt, 0, sizeof(*dt)); in of_parse_display_timing()
65 ret |= parse_timing_property(np, "hback-porch", &dt->hback_porch); in of_parse_display_timing()
66 ret |= parse_timing_property(np, "hfront-porch", &dt->hfront_porch); in of_parse_display_timing()
67 ret |= parse_timing_property(np, "hactive", &dt->hactive); in of_parse_display_timing()
68 ret |= parse_timing_property(np, "hsync-len", &dt->hsync_len); in of_parse_display_timing()
69 ret |= parse_timing_property(np, "vback-porch", &dt->vback_porch); in of_parse_display_timing()
70 ret |= parse_timing_property(np, "vfront-porch", &dt->vfront_porch); in of_parse_display_timing()
71 ret |= parse_timing_property(np, "vactive", &dt->vactive); in of_parse_display_timing()
72 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 …]
/openbmc/linux/drivers/ptp/
H A Dptp_dfl_tod.c80 static int fine_adjust_tod_clock(struct dfl_tod *dt, u32 adjust_period, in fine_adjust_tod_clock() argument
83 void __iomem *base = dt->tod_ctrl; in fine_adjust_tod_clock()
98 static int coarse_adjust_tod_clock(struct dfl_tod *dt, s64 delta) in coarse_adjust_tod_clock() argument
101 void __iomem *base = dt->tod_ctrl; in coarse_adjust_tod_clock()
128 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_adjust_fine() local
130 void __iomem *base = dt->tod_ctrl; in dfl_tod_adjust_fine()
160 spin_lock_irqsave(&dt->tod_lock, flags); in dfl_tod_adjust_fine()
166 spin_unlock_irqrestore(&dt->tod_lock, flags); in dfl_tod_adjust_fine()
173 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_adjust_time() local
175 void __iomem *base = dt->tod_ctrl; in dfl_tod_adjust_time()
[all …]
/openbmc/linux/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-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 …]
/openbmc/linux/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 …]
/openbmc/webui-vue/src/views/HardwareStatus/Inventory/
H A DInventoryTableBmcManager.vue55 <dt>{{ $t('pageInventory.table.name') }}:</dt>
58 <dt>{{ $t('pageInventory.table.partNumber') }}:</dt>
61 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
64 <dt>{{ $t('pageInventory.table.sparePartNumber') }}:</dt>
67 <dt>{{ $t('pageInventory.table.model') }}:</dt>
70 <dt>{{ $t('pageInventory.table.uuid') }}:</dt>
73 <dt>{{ $t('pageInventory.table.serviceEntryPointUuid') }}:</dt>
80 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
83 <dt>{{ $t('pageInventory.table.power') }}:</dt>
86 <dt>{{ $t('pageInventory.table.healthRollup') }}:</dt>
[all …]
H A DInventoryTableSystem.vue53 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
56 <dt>{{ $t('pageInventory.table.model') }}:</dt>
59 <dt>{{ $t('pageInventory.table.assetTag') }}:</dt>
68 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
71 <dt>{{ $t('pageInventory.table.power') }}:</dt>
74 <dt>{{ $t('pageInventory.table.healthRollup') }}:</dt>
84 <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
87 <dt>{{ $t('pageInventory.table.description') }}:</dt>
90 <dt>{{ $t('pageInventory.table.subModel') }}:</dt>
95 <dt>{{ $t('pageInventory.table.systemType') }}:</dt>
[all …]
H A DInventoryTableProcessors.vue80 <dt>{{ $t('pageInventory.table.name') }}:</dt>
83 <dt>{{ $t('pageInventory.table.partNumber') }}:</dt>
86 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
89 <dt>{{ $t('pageInventory.table.sparePartNumber') }}:</dt>
92 <dt>{{ $t('pageInventory.table.model') }}:</dt>
95 <dt>{{ $t('pageInventory.table.assetTag') }}:</dt>
102 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
105 <dt>{{ $t('pageInventory.table.healthRollup') }}:</dt>
115 <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
118 <dt>{{ $t('pageInventory.table.processorType') }}:</dt>
[all …]
H A DInventoryTableDimmSlot.vue82 <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
87 <dt>{{ $t('pageInventory.table.partNumber') }}:</dt>
92 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
97 <dt>{{ $t('pageInventory.table.sparePartNumber') }}:</dt>
102 <dt>{{ $t('pageInventory.table.model') }}:</dt>
109 <dt>{{ $t('pageInventory.table.capacityMiB') }}:</dt>
117 <dt>{{ $t('pageInventory.table.rankCount') }}:</dt>
122 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
127 <dt>{{ $t('pageInventory.table.enabled') }}:</dt>
137 <dt>{{ $t('pageInventory.table.description') }}:</dt>
[all …]
H A DInventoryTableChassis.vue53 <dt>{{ $t('pageInventory.table.name') }}:</dt>
56 <dt>{{ $t('pageInventory.table.partNumber') }}:</dt>
59 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
62 <dt>{{ $t('pageInventory.table.model') }}:</dt>
67 <dt>{{ $t('pageInventory.table.assetTag') }}:</dt>
76 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
79 <dt>{{ $t('pageInventory.table.power') }}:</dt>
82 <dt>{{ $t('pageInventory.table.healthRollup') }}:</dt>
92 <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
95 <dt>{{ $t('pageInventory.table.chassisType') }}:</dt>
[all …]
H A DInventoryTablePowerSupplies.vue66 <dt>{{ $t('pageInventory.table.name') }}:</dt>
69 <dt>{{ $t('pageInventory.table.partNumber') }}:</dt>
72 <dt>{{ $t('pageInventory.table.serialNumber') }}:</dt>
75 <dt>{{ $t('pageInventory.table.sparePartNumber') }}:</dt>
78 <dt>{{ $t('pageInventory.table.model') }}:</dt>
85 <dt>{{ $t('pageInventory.table.statusState') }}:</dt>
88 <dt>{{ $t('pageInventory.table.statusHealthRollup') }}:</dt>
91 <dt>{{ $t('pageInventory.table.efficiencyPercent') }}:</dt>
97 <dt>{{ $t('pageInventory.table.powerInputWatts') }}:</dt>
110 <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
[all …]
/openbmc/u-boot/drivers/rtc/
H A Drs5c372.c117 rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf) in rs5c372_convert_to_time() argument
120 dt->tm_sec = bcd2bin(buf[1]); in rs5c372_convert_to_time()
121 dt->tm_min = bcd2bin(buf[2]); in rs5c372_convert_to_time()
124 dt->tm_hour = HOURS_12(buf[3]); in rs5c372_convert_to_time()
126 dt->tm_hour += 12; in rs5c372_convert_to_time()
128 dt->tm_hour = HOURS_24(buf[3]); in rs5c372_convert_to_time()
130 dt->tm_mday = bcd2bin(buf[5]); in rs5c372_convert_to_time()
131 dt->tm_mon = bcd2bin(buf[6]); in rs5c372_convert_to_time()
132 dt->tm_year = bcd2bin(buf[7]); in rs5c372_convert_to_time()
133 if (dt->tm_year >= 70) in rs5c372_convert_to_time()
[all …]
/openbmc/u-boot/dts/
H A DMakefile19 $(obj)/dt-spl.dtb: $(DTB) $(objtree)/tools/fdtgrep FORCE
22 $(obj)/dt.dtb: $(DTB) FORCE
25 targets += dt.dtb dt-spl.dtb
41 obj-$(CONFIG_OF_EMBED) := dt-spl.dtb.o
43 $(obj)/dt-spl.dtb.o: $(obj)/dt-spl.dtb.S FORCE
46 obj-$(CONFIG_OF_EMBED) := dt.dtb.o
49 dtbs: $(obj)/dt.dtb $(obj)/dt-spl.dtb
52 clean-files := dt.dtb.S dt-spl.dtb.S
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_gt_pm.c55 ktime_t dt[5]; in measure_clocks() local
62 dt[i] = ktime_get(); in measure_clocks()
67 dt[i] = ktime_sub(ktime_get(), dt[i]); in measure_clocks()
75 sort(dt, 5, sizeof(*dt), cmp_u64, NULL); in measure_clocks()
76 *out_dt = div_u64(dt[1] + 2 * dt[2] + dt[3], 4); in measure_clocks()
101 u64 dt; in live_gt_clocks() local
106 measure_clocks(engine, &cycles, &dt); in live_gt_clocks()
109 expected = intel_gt_ns_to_clock_interval(engine->gt, dt); in live_gt_clocks()
112 engine->name, cycles, time, dt, expected, in live_gt_clocks()
115 if (9 * time < 8 * dt || 8 * time > 9 * dt) { in live_gt_clocks()
H A Dselftest_engine_pm.c74 u64 *dt, u64 *d_ring, u64 *d_ctx) in __measure_timestamps() argument
119 *dt = local_clock(); in __measure_timestamps()
121 *dt = local_clock() - *dt; in __measure_timestamps()
141 u64 s_ring[COUNT], s_ctx[COUNT], st[COUNT], d_ring, d_ctx, dt; in __live_engine_timestamps() local
158 dt = trifilter(st); in __live_engine_timestamps()
163 engine->name, dt, in __live_engine_timestamps()
168 if (3 * dt > 4 * d_ring || 4 * dt < 3 * d_ring) { in __live_engine_timestamps()
221 ktime_t start, unused, dt; in __spin_until_busier() local
233 dt = ktime_get() - start; in __spin_until_busier()
234 if (dt > 10000000) { in __spin_until_busier()
[all …]
/openbmc/linux/drivers/perf/
H A Darm-ccn.c143 struct arm_ccn_dt, pmu), struct arm_ccn, dt)
183 struct arm_ccn_dt dt; member
460 return &ccn->dt.cmp_mask[i].l; in arm_ccn_pmu_get_cmp_mask()
462 return &ccn->dt.cmp_mask[i].h; in arm_ccn_pmu_get_cmp_mask()
550 return cpumap_print_to_pagebuf(true, buf, cpumask_of(ccn->dt.cpu)); in arm_ccn_pmu_cpumask_show()
646 ccn->dt.pmu_counters_mask)) in arm_ccn_pmu_event_alloc()
650 ccn->dt.pmu_counters[CCN_IDX_PMU_CYCLE_COUNTER].event = event; in arm_ccn_pmu_event_alloc()
656 hw->idx = arm_ccn_pmu_alloc_bit(ccn->dt.pmu_counters_mask, in arm_ccn_pmu_event_alloc()
667 ccn->dt.pmu_counters[hw->idx].source = source; in arm_ccn_pmu_event_alloc()
679 clear_bit(hw->idx, ccn->dt.pmu_counters_mask); in arm_ccn_pmu_event_alloc()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery.dataTables-1.13.8.min.css1dt-row-selected: 13, 110, 253;--dt-row-selected-text: 255, 255, 255;--dt-row-selected-link: 9, 10,…
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_mipi_dsi.c234 int exynos_dsim_config_parse_dt(const void *blob, struct mipi_dsim_config *dt, in exynos_dsim_config_parse_dt() argument
245 dt->e_interface = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
248 dt->e_virtual_ch = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
251 dt->e_pixel_format = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
254 dt->e_burst_mode = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
257 dt->e_no_data_lane = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
260 dt->e_byte_clk = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
263 dt->hfp = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
266 dt->p = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
268 dt->m = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
[all …]

12345678910>>...115