Home
last modified time | relevance | path

Searched full:dt (Results 1 – 25 of 4878) sorted by relevance

12345678910>>...196

/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 in dma_test_free_rings()
136 dma_test_start_rings(struct dma_test * dt) dma_test_start_rings() argument
211 dma_test_stop_rings(struct dma_test * dt) dma_test_stop_rings() argument
234 struct dma_test *dt = tf->dma_test; dma_test_rx_callback() local
261 dma_test_submit_rx(struct dma_test * dt,size_t npackets) dma_test_submit_rx() argument
303 struct dma_test *dt = tf->dma_test; dma_test_tx_callback() local
312 dma_test_submit_tx(struct dma_test * dt,size_t npackets) dma_test_submit_tx() argument
391 lanes_get(const struct dma_test * dt,u64 * val) lanes_get() argument
401 lanes_set(struct dma_test * dt,u64 val) lanes_set() argument
407 speed_get(const struct dma_test * dt,u64 * val) speed_get() argument
425 speed_set(struct dma_test * dt,u64 val) speed_set() argument
431 packets_to_receive_get(const struct dma_test * dt,u64 * val) packets_to_receive_get() argument
441 packets_to_receive_set(struct dma_test * dt,u64 val) packets_to_receive_set() argument
448 packets_to_send_get(const struct dma_test * dt,u64 * val) packets_to_send_get() argument
458 packets_to_send_set(struct dma_test * dt,u64 val) packets_to_send_set() argument
465 dma_test_set_bonding(struct dma_test * dt) dma_test_set_bonding() argument
478 dma_test_validate_config(struct dma_test * dt) dma_test_validate_config() argument
488 dma_test_check_errors(struct dma_test * dt,int ret) dma_test_check_errors() argument
510 struct dma_test *dt = tb_service_get_drvdata(svc); test_store() local
596 struct dma_test *dt = tb_service_get_drvdata(svc); status_show() local
622 struct dma_test *dt = tb_service_get_drvdata(svc); dma_test_debugfs_init() local
639 struct dma_test *dt; dma_test_probe() local
658 struct dma_test *dt = tb_service_get_drvdata(svc); dma_test_remove() local
[all...]
/linux/drivers/mtd/nand/raw/
H A Ddenali_dt.c3 * NAND Flash Controller Device Driver for DT
115 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_enabled(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 in denali_dt_probe()
219 struct denali_dt *dt = platform_get_drvdata(pdev); denali_dt_remove() local
[all...]
/linux/drivers/ptp/
H A Dptp_dfl_tod.c77 * and TOD_ADJUST_COUNT register for in hardware. The dt->tod_lock spinlock must be
80 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 in dfl_tod_adjust_time() local
229 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); dfl_tod_get_timex() local
254 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); dfl_tod_set_time() local
283 struct dfl_tod *dt; dfl_tod_probe() local
309 struct dfl_tod *dt = dev_get_drvdata(&ddev->dev); dfl_tod_remove() local
[all...]
/linux/drivers/video/
H A Dof_display_timing.c55 * @dt: display_timing that contains the result. I may be partially written in case of errors
58 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 in of_parse_display_timing()
120 of_get_display_timing(const struct device_node * np,const char * name,struct display_timing * dt) of_get_display_timing() argument
199 struct display_timing *dt; of_get_display_timings() local
[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 in videomode_from_timing()
34 struct display_timing *dt; videomode_from_timings() local
[all...]
/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 in max6902_read_time()
87 max6902_set_time(struct device * dev,struct rtc_time * dt) max6902_set_time() argument
[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 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 in ds1347_set_time()
[all...]
H A Drtc-ds1390.c117 "Unsupported ohm value %02ux in dt\n", ohms); in ds1390_trickle_of_init()
127 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
[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 in r9701_set_datetime()
[all...]
/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 in iio_get_sw_device_type()
99 struct iio_sw_device_type *dt; iio_sw_device_create() local
121 struct iio_sw_device_type *dt = d->device_type; iio_sw_device_destroy() local
[all...]
/linux/Documentation/devicetree/bindings/clock/
H A Dqcom,sc7280-lpasscorecc.yaml17 include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
18 include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
140 #include <dt-bindings/clock/qcom,rpmh.h>
141 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
142 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
143 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
158 #include <dt-bindings/clock/qcom,rpmh.h>
159 #include <dt-bindings/clock/qcom,gcc-sc7280.h>
160 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
161 #include <dt
[all...]
H A Dqcom,gpucc.yaml18 include/dt-bindings/clock/qcom,gpucc-sdm845.h
19 include/dt-bindings/clock/qcom,gpucc-sa8775p.h
20 include/dt-bindings/clock/qcom,gpucc-sc7180.h
21 include/dt-bindings/clock/qcom,gpucc-sc7280.h
22 include/dt-bindings/clock/qcom,gpucc-sc8280xp.h
23 include/dt-bindings/clock/qcom,gpucc-sm6350.h
24 include/dt-bindings/clock/qcom,gpucc-sm8150.h
25 include/dt-bindings/clock/qcom,gpucc-sm8250.h
26 include/dt-bindings/clock/qcom,gpucc-sm8350.h
27 include/dt
[all...]
H A Dqcom,sm8450-gpucc.yaml17 include/dt-bindings/clock/qcom,milos-gpucc.h
18 include/dt-bindings/clock/qcom,sar2130p-gpucc.h
19 include/dt-bindings/clock/qcom,sm4450-gpucc.h
20 include/dt-bindings/clock/qcom,sm8450-gpucc.h
21 include/dt-bindings/clock/qcom,sm8550-gpucc.h
22 include/dt-bindings/reset/qcom,sm8450-gpucc.h
23 include/dt-bindings/reset/qcom,sm8650-gpucc.h
24 include/dt-bindings/reset/qcom,x1e80100-gpucc.h
57 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
58 #include <dt
[all...]
/linux/Documentation/devicetree/bindings/
H A Dsubmitting-patches.rst4 Submitting Devicetree (DT) binding patches
13 1) The Documentation/ and include/dt-bindings/ portion of the patch should
16 "dt-bindings: <binding dir>: ..."
21 "<binding dir>: dt-bindings: ..."
29 "dt-bindings: iio: adc: Add ROHM BD79100G"
31 Conversion of other formats to DT schema::
33 "dt-bindings: iio: adc: adi,ad7476: Convert to DT schema"
35 2) DT binding files are written in DT schem
[all...]
/linux/drivers/perf/
H A Darm-ccn.c120 #define CCN_NUM_XP_WATCHPOINTS 2 /* See DT.dbg_id.num_watchpoints */
121 #define CCN_NUM_PMU_EVENT_COUNTERS 8 /* See DT.dbg_id.num_pmucntr */
143 struct arm_ccn_dt, pmu), struct arm_ccn, dt)
183 struct arm_ccn_dt dt; member
451 return &ccn->dt.cmp_mask[i].l; in arm_ccn_pmu_get_cmp_mask()
453 return &ccn->dt.cmp_mask[i].h; in arm_ccn_pmu_get_cmp_mask()
541 return cpumap_print_to_pagebuf(true, buf, cpumask_of(ccn->dt.cpu)); in arm_ccn_pmu_cpumask_show()
637 ccn->dt.pmu_counters_mask)) in arm_ccn_pmu_event_alloc()
641 ccn->dt.pmu_counters[CCN_IDX_PMU_CYCLE_COUNTER].event = event; in arm_ccn_pmu_event_alloc()
647 hw->idx = arm_ccn_pmu_alloc_bit(ccn->dt in arm_ccn_pmu_event_alloc()
1148 arm_ccn_pmu_overflow_handler(struct arm_ccn_dt * dt) arm_ccn_pmu_overflow_handler() argument
1178 struct arm_ccn_dt *dt = container_of(hrtimer, struct arm_ccn_dt, arm_ccn_pmu_timer_handler() local
1193 struct arm_ccn_dt *dt = hlist_entry_safe(node, struct arm_ccn_dt, node); arm_ccn_pmu_offline_cpu() local
[all...]
/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()
71 /* Use the median of both cycle/dt; close enough */ 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[ in measure_clocks()
102 u64 dt; live_gt_clocks() local
[all...]
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
263 ktime_t de, dt; live_engine_busy_stats() local
[all...]
/linux/Documentation/devicetree/bindings/power/
H A Drockchip,power-controller.yaml115 "include/dt-bindings/power/px30-power.h"
116 "include/dt-bindings/power/rk3036-power.h"
117 "include/dt-bindings/power/rk3066-power.h"
118 "include/dt-bindings/power/rk3128-power.h"
119 "include/dt-bindings/power/rk3188-power.h"
120 "include/dt-bindings/power/rk3228-power.h"
121 "include/dt-bindings/power/rk3288-power.h"
122 "include/dt-bindings/power/rk3328-power.h"
123 "include/dt-bindings/power/rk3366-power.h"
124 "include/dt
[all...]
/linux/Documentation/devicetree/bindings/serial/
H A Datmel,at91-usart.yaml74 <AT91_USART_MODE_SERIAL> for USART (found in dt-bindings/mfd/at91-usart.h).
135 #include <dt-bindings/gpio/gpio.h>
136 #include <dt-bindings/interrupt-controller/irq.h>
137 #include <dt-bindings/mfd/at91-usart.h>
138 #include <dt-bindings/dma/at91.h>
159 #include <dt-bindings/gpio/gpio.h>
160 #include <dt-bindings/interrupt-controller/irq.h>
161 #include <dt-bindings/mfd/at91-usart.h>
162 #include <dt-bindings/dma/at91.h>
181 #include <dt
[all...]
/linux/crypto/
H A Dansi_cprng.c31 * Note: DT is our counter value
43 unsigned char DT[DEFAULT_BLK_SZ]; member
91 hexdump("Input DT: ", ctx->DT, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
106 memcpy(tmp, ctx->DT, DEFAULT_BLK_SZ); in _get_more_prng_bytes()
161 * Now update our DT value in _get_more_prng_bytes()
164 ctx->DT[i] += 1; in _get_more_prng_bytes()
165 if (ctx->DT[i] != 0) in _get_more_prng_bytes()
172 hexdump("Output DT: ", ctx->DT, DEFAULT_BLK_S in _get_more_prng_bytes()
278 reset_prng_context(struct prng_context * ctx,const unsigned char * key,size_t klen,const unsigned char * V,const unsigned char * DT) reset_prng_context() argument
369 const u8 *dt = NULL; cprng_reset() local
[all...]
/linux/Documentation/devicetree/bindings/iommu/
H A Dmediatek,iommu.yaml130 dt-binding/memory/mediatek,mt8188-memory-port.h for mt8188,
131 dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623,
132 dt-binding/memory/mt2712-larb-port.h for mt2712,
133 dt-binding/memory/mt6779-larb-port.h for mt6779,
134 dt-binding/memory/mt6795-larb-port.h for mt6795,
135 dt-binding/memory/mediatek,mt6893-memory-port.h for mt6893,
136 dt-binding/memory/mt8167-larb-port.h for mt8167,
137 dt-binding/memory/mt8173-larb-port.h for mt8173,
138 dt-binding/memory/mt8183-larb-port.h for mt8183,
139 dt
[all...]
/linux/drivers/gpu/drm/ci/
H A Dcheck-devicetrees.yml1 .dt-check-base:
30 - .dt-check-base
38 - .dt-check-base
43 dt-binding-check:
47 - .dt-check-base
49 SCRIPT_NAME: "dt-binding-check.sh"
50 ARTIFACT_FILE: "dt-binding-check.log"
/linux/drivers/clocksource/
H A Dtimer-digicolor.c71 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_disable() local
72 writeb(CONTROL_DISABLE, dt->base + CONTROL(dt->timer_id)); in dc_timer_disable()
77 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_enable() local
78 writeb(CONTROL_ENABLE | mode, dt->base + CONTROL(dt->timer_id)); in dc_timer_enable()
84 struct digicolor_timer *dt = dc_timer(ce); in dc_timer_set_count() local
85 writel(count, dt->base + COUNT(dt->timer_id)); in dc_timer_set_count()
103 struct digicolor_timer *dt in digicolor_clkevt_set_periodic() local
[all...]
/linux/drivers/cpufreq/
H A Dimx-cpufreq-dt.c20 #include "cpufreq-dt.h"
32 /* cpufreq-dt device registered by imx-cpufreq-dt */
101 dt_pdev = platform_device_register_data(NULL, "cpufreq-dt", in imx_cpufreq_dt_probe()
107 dev_err(&pdev->dev, "Failed to register cpufreq-dt: %d\n", ret); in imx_cpufreq_dt_probe()
137 * match any OPP defined in DT. So clamp to minimum OPP defined in in imx_cpufreq_dt_probe()
138 * DT to avoid warning for "no OPPs". in imx_cpufreq_dt_probe()
164 &pdev->dev, "cpufreq-dt", -1, NULL, 0); in imx_cpufreq_dt_probe()
168 dev_err(&pdev->dev, "Failed to register cpufreq-dt: %d\n", ret); in imx_cpufreq_dt_probe()
188 .name = "imx-cpufreq-dt",
[all...]

12345678910>>...196