Home
last modified time | relevance | path

Searched +full:pps +full:- +full:channel (Results 1 – 25 of 174) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/
Dallegro-core.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <linux/mfd/syscon/xlnx-vcu.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
28 #include <media/v4l2-event.h>
29 #include <media/v4l2-ioctl.h>
30 #include <media/v4l2-mem2mem.h>
31 #include <media/videobuf2-dma-contig.h>
32 #include <media/videobuf2-v4l2.h>
34 #include "allegro-mail.h"
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-ptp73 and the channel number. The function and channel
83 "1" means that the PPS is supported, while "0" means
90 This write-only file enables or disables external
92 channel index followed by a "1" into the file.
93 To disable external timestamps, write the channel
101 the form of three integers: channel index, seconds,
108 This write-only file enables or disables periodic
110 integers into the file: channel index, start time
119 This write-only file enables or disables delivery of
120 PPS events to the Linux PPS subsystem. To enable PPS
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/
Dallegro-core.c1 // SPDX-License-Identifier: GPL-2.0
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-event.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/v4l2-mem2mem.h>
28 #include <media/videobuf2-dma-contig.h>
29 #include <media/videobuf2-v4l2.h>
31 #include "allegro-mail.h"
32 #include "nal-h264.h"
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-ptp41 Write integer to re-configure it.
93 and the channel number. The function and channel
103 "1" means that the PPS is supported, while "0" means
110 This write-only file enables or disables external
112 channel index followed by a "1" into the file.
113 To disable external timestamps, write the channel
121 the form of three integers: channel index, seconds,
128 This write-only file enables or disables periodic
130 integers into the file: channel index, start time
139 This write-only file enables or disables delivery of
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
Dfec_ptp.c1 // SPDX-License-Identifier: GPL-2.0
93 * fec_ptp_read - read raw cycle counter (to be used by time counter)
106 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
108 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
110 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read()
113 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read()
119 * @enable: enable the channel pps output
121 * This function enble the PPS ouput on the timer channel.
130 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
132 if (fep->pps_enable == enable) { in fec_ptp_enable_pps()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dptp_clock_kernel.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * struct ptp_clock_request - request PTP clock event
23 * PEROUT: Configure periodic output signal (e.g. PPS)
24 * PPS: trigger internal PPS event for input
25 * into kernel PPS subsystem
47 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp
57 * struct ptp_clock_info - describes a PTP hardware clock
68 * @pps: Indicates whether the clock supports a PPS callback.
153 * parameter chan: the function channel index to use.
163 * The callbacks must all return zero on success, non-zero otherwise.
[all …]
/kernel/linux/linux-6.6/drivers/staging/sm750fb/
Dsm750_hw.c1 // SPDX-License-Identifier: GPL-2.0
34 sm750_dev->vidreg_start = pci_resource_start(pdev, 1); in hw_sm750_map()
35 sm750_dev->vidreg_size = SZ_2M; in hw_sm750_map()
37 pr_info("mmio phyAddr = %lx\n", sm750_dev->vidreg_start); in hw_sm750_map()
52 sm750_dev->pvReg = in hw_sm750_map()
53 ioremap(sm750_dev->vidreg_start, sm750_dev->vidreg_size); in hw_sm750_map()
54 if (!sm750_dev->pvReg) { in hw_sm750_map()
56 ret = -EFAULT; in hw_sm750_map()
59 pr_info("mmio virtual addr = %p\n", sm750_dev->pvReg); in hw_sm750_map()
62 sm750_dev->accel.dprBase = sm750_dev->pvReg + DE_BASE_ADDR_TYPE1; in hw_sm750_map()
[all …]
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dsm750_hw.c1 // SPDX-License-Identifier: GPL-2.0
35 sm750_dev->vidreg_start = pci_resource_start(pdev, 1); in hw_sm750_map()
36 sm750_dev->vidreg_size = SZ_2M; in hw_sm750_map()
38 pr_info("mmio phyAddr = %lx\n", sm750_dev->vidreg_start); in hw_sm750_map()
53 sm750_dev->pvReg = ioremap(sm750_dev->vidreg_start, in hw_sm750_map()
54 sm750_dev->vidreg_size); in hw_sm750_map()
55 if (!sm750_dev->pvReg) { in hw_sm750_map()
57 ret = -EFAULT; in hw_sm750_map()
60 pr_info("mmio virtual addr = %p\n", sm750_dev->pvReg); in hw_sm750_map()
63 sm750_dev->accel.dprBase = sm750_dev->pvReg + DE_BASE_ADDR_TYPE1; in hw_sm750_map()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_lvds.c2 * Copyright © 2006-2007 Intel Corporation
101 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_hw_state()
102 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); in intel_lvds_get_hw_state()
107 encoder->power_domain); in intel_lvds_get_hw_state()
111 ret = intel_lvds_port_enabled(dev_priv, lvds_encoder->reg, pipe); in intel_lvds_get_hw_state()
113 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_lvds_get_hw_state()
121 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_config()
122 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); in intel_lvds_get_config()
125 pipe_config->output_types |= BIT(INTEL_OUTPUT_LVDS); in intel_lvds_get_config()
127 tmp = intel_de_read(dev_priv, lvds_encoder->reg); in intel_lvds_get_config()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_lvds.c2 * Copyright © 2006-2007 Intel Corporation
108 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in intel_lvds_get_hw_state()
113 wakeref = intel_display_power_get_if_enabled(i915, encoder->power_domain); in intel_lvds_get_hw_state()
117 ret = intel_lvds_port_enabled(i915, lvds_encoder->reg, pipe); in intel_lvds_get_hw_state()
119 intel_display_power_put(i915, encoder->power_domain, wakeref); in intel_lvds_get_hw_state()
127 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_config()
131 crtc_state->output_types |= BIT(INTEL_OUTPUT_LVDS); in intel_lvds_get_config()
133 tmp = intel_de_read(dev_priv, lvds_encoder->reg); in intel_lvds_get_config()
143 crtc_state->hw.adjusted_mode.flags |= flags; in intel_lvds_get_config()
146 crtc_state->gmch_pfit.lvds_border_bits = in intel_lvds_get_config()
[all …]
Dintel_pps.c1 // SPDX-License-Identifier: MIT
28 struct intel_pps *pps) in pps_name() argument
31 switch (pps->pps_pipe) { in pps_name()
35 * to always have a valid PPS when calling this. in pps_name()
37 return "PPS <none>"; in pps_name()
39 return "PPS A"; in pps_name()
41 return "PPS B"; in pps_name()
43 MISSING_CASE(pps->pps_pipe); in pps_name()
47 switch (pps->pps_idx) { in pps_name()
49 return "PPS 0"; in pps_name()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dfec_ptp.c1 // SPDX-License-Identifier: GPL-2.0
94 * @enable: enable the channel pps output
96 * This function enble the PPS ouput on the timer channel.
106 if (fep->pps_enable == enable) in fec_ptp_enable_pps()
109 fep->pps_channel = DEFAULT_PPS_CHANNEL; in fec_ptp_enable_pps()
110 fep->reload_period = PPS_OUPUT_RELOAD_PERIOD; in fec_ptp_enable_pps()
112 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
117 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
123 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
126 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_mipi_dsi.c4 * Copyright (C) 2012-2013, Samsung Electronics, Co., Ltd.
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
60 if (!strcmp(dsi->name, drv->name)) in mipi_dsi_device_match()
72 if (err != -ENODEV) in mipi_dsi_uevent()
76 dsi->name); in mipi_dsi_uevent()
93 .name = "mipi-dsi",
100 * of_find_mipi_dsi_device_by_node() - find the MIPI DSI device matching a
121 of_node_put(dev->of_node); in mipi_dsi_dev_release()
135 return ERR_PTR(-ENOMEM); in mipi_dsi_device_alloc()
137 dsi->host = host; in mipi_dsi_device_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_mipi_dsi.c4 * Copyright (C) 2012-2013, Samsung Electronics, Co., Ltd.
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
59 if (!strcmp(dsi->name, drv->name)) in mipi_dsi_device_match()
71 if (err != -ENODEV) in mipi_dsi_uevent()
75 dsi->name); in mipi_dsi_uevent()
92 .name = "mipi-dsi",
99 * of_find_mipi_dsi_device_by_node() - find the MIPI DSI device matching a
120 of_node_put(dev->of_node); in mipi_dsi_dev_release()
134 return ERR_PTR(-ENOMEM); in mipi_dsi_device_alloc()
136 dsi->host = host; in mipi_dsi_device_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c36 enc1->base.ctx->logger
40 (enc1->regs->reg)
44 enc1->se_shift->field_name, enc1->se_mask->field_name
50 enc1->base.ctx
59 info_packet_128->hb0 = info_packet->hb0; in convert_dc_info_packet_to_128()
60 info_packet_128->hb1 = info_packet->hb1; in convert_dc_info_packet_to_128()
61 info_packet_128->hb2 = info_packet->hb2; in convert_dc_info_packet_to_128()
62 info_packet_128->hb3 = info_packet->hb3; in convert_dc_info_packet_to_128()
65 info_packet_128->sb[i] = info_packet->sb[i]; in convert_dc_info_packet_to_128()
76 if (info_packet->valid) { in enc3_update_hdmi_info_packet()
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dptp_clock.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * PTP 1588 clock support - user space interface
73 * struct ptp_clock_time - represents a time value
77 * included for sub-nanosecond resolution, should the demand for
92 int pps; /* Whether the clock supports a PPS callback. */ member
94 /* Whether the clock supports precise system-device cross timestamps */
103 unsigned int index; /* Which channel to configure. */
124 unsigned int index; /* Which channel to configure. */
183 * Pin index in the range of zero to ptp_clock_caps.n_pins - 1.
191 * The specific channel to use for this function.
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dptp_clock.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * PTP 1588 clock support - user space interface
73 * struct ptp_clock_time - represents a time value
77 * included for sub-nanosecond resolution, should the demand for
92 int pps; /* Whether the clock supports a PPS callback. */ member
94 /* Whether the clock supports precise system-device cross timestamps */
102 unsigned int index; /* Which channel to configure. */
123 unsigned int index; /* Which channel to configure. */
182 * Pin index in the range of zero to ptp_clock_caps.n_pins - 1.
190 * The specific channel to use for this function.
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-gw5907.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
[all …]
Dimx6qdl-gw5913.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qdl-gw5907.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
26 #address-cells = <1>;
27 #size-cells = <0>;
29 user-pb {
[all …]
Dimx6qdl-gw5913.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
26 #address-cells = <1>;
27 #size-cells = <0>;
29 user-pb {
[all …]
Dimx6qdl-gw5912.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
22 stdout-path = &uart2;
25 gpio-keys {
26 compatible = "gpio-keys";
27 #address-cells = <1>;
28 #size-cells = <0>;
30 user-pb {
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dfsl,fec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Wei Fang <wei.fang@nxp.com>
12 - NXP Linux Team <linux-imx@nxp.com>
15 - $ref: ethernet-controller.yaml#
20 - enum:
21 - fsl,imx25-fec
22 - fsl,imx27-fec
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dio_stream_encoder.c37 enc1->base.ctx->logger
40 (enc1->regs->reg)
44 enc1->se_shift->field_name, enc1->se_mask->field_name
50 enc1->base.ctx
60 if (info_packet->valid) { in enc3_update_hdmi_info_packet()
61 enc1->base.vpg->funcs->update_generic_info_packet( in enc3_update_hdmi_info_packet()
62 enc1->base.vpg, in enc3_update_hdmi_info_packet()
67 /* enable transmission of packet(s) - in enc3_update_hdmi_info_packet()
80 /* DP_SEC_GSP[x]_LINE_REFERENCE - keep default value REFER_TO_DP_SOF */ in enc3_update_hdmi_info_packet()
209 enc3_update_hdmi_info_packet(enc1, 0, &info_frame->avi); in enc3_stream_encoder_update_hdmi_info_packets()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dptp_clock_kernel.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
31 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp
39 * struct ptp_clock_info - describes a PTP hardware clock
50 * @pps: Indicates whether the clock supports a PPS callback.
109 * parameter chan: the function channel index to use.
119 * The callbacks must all return zero on success, non-zero otherwise.
130 int pps; member
159 * struct ptp_clock_event - decribes a PTP hardware clock event
179 * ptp_clock_register() - register a PTP hardware clock driver
194 * ptp_clock_unregister() - unregister a PTP hardware clock driver
[all …]

1234567