/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 1 // 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 …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-ptp | 41 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 …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 1 // 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 …]
|
/openbmc/linux/include/linux/ |
H A D | ptp_clock_kernel.h | 1 /* 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 …]
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | hpm2.h | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 23 * PIGEON POINT SYSTEMS ("PPS") AND ITS LICENSORS SHALL NOT BE LIABLE 26 * PPS OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, 30 * EVEN IF PPS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 70 /* HPM.2 LAN channel capabilities */
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | sm750_hw.c | 1 // 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lvds.c | 2 * 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 …]
|
H A D | intel_pps.c | 1 // 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 …]
|
/openbmc/ipmitool/lib/ |
H A D | hpm2.c | 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 23 * PIGEON POINT SYSTEMS ("PPS") AND ITS LICENSORS SHALL NOT BE LIABLE 26 * PPS OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, 30 * EVEN IF PPS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 85 rsp = intf->sendrecv(intf, &req); in hpm2_get_capabilities() 89 return -1; in hpm2_get_capabilities() 92 if (rsp->ccode == 0xC1) { in hpm2_get_capabilities() 94 return rsp->ccode; in hpm2_get_capabilities() 95 } else if (rsp->ccode) { in hpm2_get_capabilities() 97 " compcode = %x", rsp->ccode); in hpm2_get_capabilities() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_mipi_dsi.c | 4 * 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 …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | ptp_clock.h | 1 /* 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 …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-gw5907.dtsi | 1 // 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 …]
|
H A D | imx6qdl-gw5913.dtsi | 1 // 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 …]
|
H A D | imx6qdl-gw5912.dtsi | 1 // 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"; 28 user-pb { 34 user-pb1x { 37 interrupt-parent = <&gsc>; [all …]
|
H A D | imx6qdl-gw5910.dtsi | 1 // 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> 19 stdout-path = &uart2; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 user-pb { 36 user-pb1x { 39 interrupt-parent = <&gsc>; [all …]
|
H A D | imx6qdl-gw51xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; 40 key-erased { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | fsl,fec.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dio_stream_encoder.c | 37 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 …]
|
/openbmc/linux/include/drm/ |
H A D | drm_mipi_dsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012-2013, Samsung Electronics, Co., Ltd. 24 * struct mipi_dsi_msg - read/write DSI buffer 25 * @channel: virtual channel id 34 u8 channel; member 49 * struct mipi_dsi_packet - represents a MIPI DSI packet in protocol format 67 * struct mipi_dsi_host_ops - DSI bus operations 99 * struct mipi_dsi_host - DSI host device 124 /* enable hsync-end packets in vsync-pulse and v-porch area */ 126 /* disable hfront-porch area */ [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 115 #define PTP_ADDR_ETHER {0x01, 0x1b, 0x19, 0, 0, 0} /* 01-1B-19-00-00-00 */ 136 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1) 137 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1) 139 /* Maximum parts-per-billion adjustment that is acceptable */ 154 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area. 157 * @state: The state of the packet - whether it is ready for processing or 166 * struct efx_ptp_event_rx - A PTP receive event (from MC) 182 * struct efx_ptp_timeset - Synchronisation between host and MC [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 143 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1) 144 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1) 146 /* Maximum parts-per-billion adjustment that is acceptable */ 161 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area. 165 * @state: The state of the packet - whether it is ready for processing or 175 * struct efx_ptp_event_rx - A PTP receive event (from MC) 191 * struct efx_ptp_timeset - Synchronisation between host and MC 207 u32 window; /* Derived: end - start, allowing for wrap */ [all …]
|
/openbmc/linux/drivers/net/ethernet/synopsys/ |
H A D | dwc-xlgmac-common.c | 5 * This program is dual-licensed; you may select either version 2 of 21 #include "dwc-xlgmac.h" 22 #include "dwc-xlgmac-reg.h" 26 static int debug = -1; 36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() 39 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr() 44 pdata->tx_osp_mode = DMA_OSP_ENABLE; in xlgmac_default_config() 45 pdata->tx_sf_mode = MTL_TSF_ENABLE; in xlgmac_default_config() 46 pdata->rx_sf_mode = MTL_RSF_DISABLE; in xlgmac_default_config() 47 pdata->pblx8 = DMA_PBL_X8_ENABLE; in xlgmac_default_config() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/net/ti-dp83867.h> 17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn"; 24 stdout-path = &uart2; 33 compatible = "fixed-clock"; 34 #clock-cells = <0>; [all …]
|
/openbmc/linux/sound/usb/ |
H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 unsigned int fmt_type; /* USB audio format type (1-3) */ 18 unsigned int frame_size; /* samples per frame for non-audio */ 39 struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */ 68 int opened; /* open refcount; protect with chip->mutex */ 108 unsigned int sample_rem; /* remainder from division fs/pps */ 110 unsigned int pps; /* packets per second */ member 131 bool lowlatency_playback; /* low-latency playback mode */ 132 bool need_setup; /* (re-)need for hw_params? */ 133 bool need_prepare; /* (re-)need for prepare? */ [all …]
|
/openbmc/linux/tools/testing/selftests/ptp/ |
H A D | testptp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PTP 1588 clock support - User space test program 35 #define CLOCK_INVALID -1 113 return t->sec * NSEC_PER_SEC + t->nsec; in pctns() 120 " -c query the ptp clock's capabilities\n" in usage() 121 " -d name device to open\n" in usage() 122 " -e val read 'val' external time stamp events\n" in usage() 123 " -f val adjust the ptp clock frequency by 'val' ppb\n" in usage() 124 " -g get the ptp clock time\n" in usage() 125 " -h prints this message\n" in usage() [all …]
|