| /kernel/linux/linux-6.6/drivers/thunderbolt/ |
| D | dma_test.c | 122 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 …]
|
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
| D | denali_dt.c | 3 * 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(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() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | denali_dt.c | 3 * NAND Flash Controller Device Driver for DT 117 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/ptp/ |
| D | ptp_dfl_tod.c | 77 * 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 = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_adjust_time() local [all …]
|
| /kernel/linux/linux-6.6/drivers/video/ |
| D | of_display_timing.c | 55 * @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->vfront_porch); in of_parse_display_timing() 71 ret |= parse_timing_property(np, "vactive", &dt->vactive); in of_parse_display_timing() [all …]
|
| D | videomode.c | 13 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 …]
|
| /kernel/linux/linux-5.10/drivers/video/ |
| D | of_display_timing.c | 57 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 …]
|
| D | videomode.c | 13 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | qcom,gcc.yaml | 18 - dt-bindings/clock/qcom,gcc-apq8084.h 19 - dt-bindings/reset/qcom,gcc-apq8084.h 20 - dt-bindings/clock/qcom,gcc-ipq4019.h 21 - dt-bindings/clock/qcom,gcc-ipq6018.h 22 - dt-bindings/reset/qcom,gcc-ipq6018.h 23 - dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 24 - dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 25 - dt-bindings/clock/qcom,gcc-msm8939.h 26 - dt-bindings/reset/qcom,gcc-msm8939.h 27 - dt-bindings/clock/qcom,gcc-msm8660.h [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-max6902.c | 52 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 …]
|
| D | rtc-max6916.c | 53 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 …]
|
| D | rtc-v3020.c | 208 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 …]
|
| D | rtc-ds1347.c | 50 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 …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-max6902.c | 52 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 …]
|
| D | rtc-max6916.c | 53 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 …]
|
| D | rtc-ds1347.c | 50 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/ |
| D | industrialio-sw-device.c | 68 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/ |
| D | industrialio-sw-device.c | 68 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/rockchip/ |
| D | power_domain.txt | 26 "include/dt-bindings/power/px30-power.h" - for PX30 type power domain. 27 "include/dt-bindings/power/rk3036-power.h" - for RK3036 type power domain. 28 "include/dt-bindings/power/rk3066-power.h" - for RK3066 type power domain. 29 "include/dt-bindings/power/rk3128-power.h" - for RK3128 type power domain. 30 "include/dt-bindings/power/rk3188-power.h" - for RK3188 type power domain. 31 "include/dt-bindings/power/rk3228-power.h" - for RK3228 type power domain. 32 "include/dt-bindings/power/rk3288-power.h" - for RK3288 type power domain. 33 "include/dt-bindings/power/rk3328-power.h" - for RK3328 type power domain. 34 "include/dt-bindings/power/rk3366-power.h" - for RK3366 type power domain. 35 "include/dt-bindings/power/rk3368-power.h" - for RK3368 type power domain. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | qcom,sc7280-lpasscorecc.yaml | 17 include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h 18 include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h 130 #include <dt-bindings/clock/qcom,rpmh.h> 131 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 132 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 133 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> 148 #include <dt-bindings/clock/qcom,rpmh.h> 149 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 150 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 151 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/ |
| D | writing-schema.rst | 20 URI typically containing the binding's filename and path. For DT schema, it must 35 A DT specific property. Contains a list of email address(es) 55 A set of sub-schema defining all the DT properties for the 59 A property can also define a child DT node with child properties defined 68 A list of DT properties from the 'properties' section that 80 The 'properties' section of the schema contains all the DT properties for a 83 validation of DT files. 93 The Devicetree schemas don't exactly match the YAML encoded DT data produced by 114 The DT schema project must be installed in order to validate the DT schema 115 binding documents and validate DTS files using the DT schema. The DT schema [all …]
|
| /kernel/linux/linux-5.10/drivers/perf/ |
| D | arm-ccn.c | 120 #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 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/perf/ |
| D | arm-ccn.c | 120 #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 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() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | selftest_gt_pm.c | 55 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[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() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/ |
| D | writing-schema.rst | 22 URI typically containing the binding's filename and path. For DT schema, it must 37 A DT specific property. Contains a list of email address(es) 57 A set of sub-schema defining all the DT properties for the 62 A property can also define a child DT node with child properties defined 71 A list of DT properties from the 'properties' section that 83 The 'properties' section of the schema contains all the DT properties for a 86 validation of DT files. 96 The Devicetree schemas don't exactly match the YAML-encoded DT data produced by 123 The DT schema project must be installed in order to validate the DT schema 124 binding documents and validate DTS files using the DT schema. The DT schema [all …]
|