| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra194-p3668.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 24 stdout-path = "serial0:115200n8"; 31 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(R, 1) GPIO_ACTIVE_LOW>; 32 phy-handle = <&phy>; 33 phy-mode = "rgmii-id"; 36 #address-cells = <1>; 37 #size-cells = <0>; 39 phy: ethernet-phy@0 { 40 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
| H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 18 stdout-path = "serial0:115200n8"; 21 reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; 33 vdd-supply = <&vdd_gpu>; 39 /delete-property/ dmas; 40 /delete-property/ dma-names; 45 /delete-property/ reg-shift; [all …]
|
| H A D | tegra186-p3310.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 27 stdout-path = "serial0:115200n8"; 38 phy-reset-gpios = <&gpio TEGRA186_MAIN_GPIO(M, 4) 40 phy-handle = <&phy>; 41 phy-mode = "rgmii"; 44 #address-cells = <1>; 45 #size-cells = <0>; 47 phy: ethernet-phy@0 { 48 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
| H A D | tegra194-p2888.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/mfd/max77620.h> 27 stdout-path = "serial0:115200n8"; 34 phy-reset-gpios = <&gpio TEGRA194_MAIN_GPIO(G, 5) GPIO_ACTIVE_LOW>; 35 phy-handle = <&phy>; 36 phy-mode = "rgmii-id"; 39 #address-cells = <1>; 40 #size-cells = <0>; 42 phy: ethernet-phy@0 { 43 compatible = "ethernet-phy-ieee802.3-c22"; [all …]
|
| H A D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 25 reserved-memory { 26 #address-cells = <2>; 27 #size-cells = <2>; [all …]
|
| H A D | tegra186-p3509-0000+p3636-0001.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186"; 30 stdout-path = "serial0:115200n8"; 41 phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>; 42 phy-handle = <&phy>; 43 phy-mode = "rgmii-id"; [all …]
|
| H A D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 36 nvidia,open-drain = <TEGRA_PIN_DISABLE>; [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-max77620.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <linux/pinctrl/pinconf-generic.h> 26 #include "pinctrl-utils.h" 52 .property = "maxim,active-fps-source", 55 .property = "maxim,active-fps-power-up-slot", 58 .property = "maxim,active-fps-power-down-slot", 61 .property = "maxim,suspend-fps-source", 64 .property = "maxim,suspend-fps-power-up-slot", 67 .property = "maxim,suspend-fps-power-down-slot", 148 FUNCTION_GROUP("lpm-control-in", LOW_POWER_MODE_CONTROL_IN), [all …]
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe_transport.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 20 MODULE_AUTHOR("Open-FCoE.org"); 111 * fcoe_link_speed_update() - Update the supported and actual link speeds 115 * -1 if the ethtool query failed 123 lport->link_supported_speeds &= ~(FC_PORTSPEED_1GBIT | in fcoe_link_speed_update() 132 lport->link_supported_speeds |= FC_PORTSPEED_1GBIT; in fcoe_link_speed_update() 139 lport->link_supported_speeds |= FC_PORTSPEED_10GBIT; in fcoe_link_speed_update() 144 lport->link_supported_speeds |= FC_PORTSPEED_20GBIT; in fcoe_link_speed_update() [all …]
|
| H A D | fcoe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 40 MODULE_AUTHOR("Open-FCoE.org"); 274 .this_id = -1, 284 * fcoe_interface_setup() - Setup a FCoE interface 300 fcoe->netdev = netdev; in fcoe_interface_setup() 303 ops = netdev->netdev_ops; in fcoe_interface_setup() 304 if (ops->ndo_fcoe_enable) { in fcoe_interface_setup() 305 if (ops->ndo_fcoe_enable(netdev)) in fcoe_interface_setup() [all …]
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-v4l2-enc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> 17 #include <media/v4l2-ioctl.h> 18 #include <media/v4l2-common.h> 19 #include <media/v4l2-event.h> 20 #include <media/videobuf2-dma-sg.h> 23 #include "solo6x10-tw28.h" 24 #include "solo6x10-jpeg.h" 95 struct solo_dev *solo_dev = solo_enc->solo_dev; in solo_is_motion_on() 97 return (solo_dev->motion_mask >> solo_enc->ch) & 1; in solo_is_motion_on() [all …]
|
| H A D | solo6x10-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> 23 #include "solo6x10-tw28.h" 30 static unsigned video_nr = -1; 32 MODULE_PARM_DESC(video_nr, "videoX start number, -1 is autodetect (default)"); 56 if (solo_dev->type != SOLO_DEV_6110) in solo_timer_sync() 59 if (++solo_dev->time_sync < 60) in solo_timer_sync() 62 solo_dev->time_sync = 0; in solo_timer_sync() 69 diff = (s32)ts.tv_sec - (s32)sec; in solo_timer_sync() 71 + ((s32)(ts.tv_nsec / NSEC_PER_USEC) - (s32)usec); in solo_timer_sync() [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | venc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 12 #include <media/v4l2-mem2mem.h> 13 #include <media/videobuf2-dma-contig.h> 14 #include <media/v4l2-ioctl.h> 15 #include <media/v4l2-event.h> 16 #include <media/v4l2-ctrls.h> 30 * - the MPLANE formats allow only one plane to be used 31 * - the downstream driver use MPLANE formats too 32 * - future firmware versions could add support for >1 planes [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-dv-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * v4l2-dv-timings - dv-timings helper functions 14 #include <linux/v4l2-dv-timings.h> 15 #include <media/v4l2-dv-timings.h> 145 const struct v4l2_bt_timings *bt = &t->bt; in v4l2_valid_dv_timings() 146 const struct v4l2_bt_timings_cap *cap = &dvcap->bt; in v4l2_valid_dv_timings() 147 u32 caps = cap->capabilities; in v4l2_valid_dv_timings() 149 u32 max_hor = 3 * bt->width; in v4l2_valid_dv_timings() 151 if (t->type != V4L2_DV_BT_656_1120) in v4l2_valid_dv_timings() 153 if (t->type != dvcap->type || in v4l2_valid_dv_timings() [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
| H A D | thp7312.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/mtd/spi-nor.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-cci.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-fwnode.h> 31 #include <media/v4l2-subdev.h> 129 * enum thp7312_focus_state - State of the focus handler 133 * @THP7312_FOCUS_STATE_AUTO: Continuous auto-focus [all …]
|
| /linux/drivers/media/usb/hdpvr/ |
| H A D | hdpvr-video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Hauppauge HD PVR USB driver - video 4 linux 2 interface 19 #include <linux/v4l2-dv-timings.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-common.h> 22 #include <media/v4l2-dv-timings.h> 23 #include <media/v4l2-ioctl.h> 24 #include <media/v4l2-event.h> 30 v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, \ 33 list_size(&dev->free_buff_list), \ [all …]
|
| /linux/drivers/media/usb/gspca/ |
| H A D | sonixb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr> 17 0x05 red gain 0-127 18 0x06 blue gain 0-127 19 0x07 green gain 0-127 21 0x08-0x0f i2c / 3wire registers 24 0x15 hsize (hsize = register-value * 16) 25 0x16 vsize (vsize = register-value * 16) 27 0x18 bit 7 enables compression, bit 4-5 set image down scaling: 29 0x19 high-nibble is sensor clock divider, changes exposure on sensors which [all …]
|
| H A D | pac7311.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li 6 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 26 * 15 fps or 320x240 / 160x120. Note currently the driver 28 * generated JPG-s are only understood by v4l-utils >= 0.8.9 35 * 0x02 Clock divider 2-63, fps =~ 60 / val. Must be a multiple of 3 on 37 * 0x0f Master gain 1-245, low value = high gain 38 * 0x10 Another gain 0-15, limited influence (1-2x gain I guess) 39 * 0x21 Bitfield: 0-1 unused, 2-3 vflip/hflip, 4-5 unknown, 6-7 unused 57 #define PAC7311_EXPOSURE_DEFAULT 3 /* 20 fps, avoid using high compr. */ [all …]
|
| /linux/drivers/media/usb/go7007/ |
| H A D | go7007-fw.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 10 * run-time are generated dynamically. Note that the format headers 24 #include "go7007-priv.h" 49 /* Little data class for creating MPEG headers bit-by-bit */ 54 int b; /* bit position of most recently-written bit */ 55 int len; /* written out so far */ 61 name.b -= (length); \ 72 #define CODE_LENGTH(name) (name.len + (32 - name.b)) 265 /* Zig-zag mapping for quant table [all …]
|
| /linux/drivers/scsi/bnx2fc/ |
| H A D | bnx2fc_hwi.c | 5 * Copyright (c) 2008-2013 Broadcom Corporation 6 * Copyright (c) 2014-2016 QLogic Corporation 7 * Copyright (c) 2016-2017 Cavium Inc. 42 stat_req.stat_params_addr_lo = (u32) hba->stats_buf_dma; in bnx2fc_send_stat_req() 43 stat_req.stat_params_addr_hi = (u32) ((u64)hba->stats_buf_dma >> 32); in bnx2fc_send_stat_req() 47 if (hba->cnic && hba->cnic->submit_kwqes) in bnx2fc_send_stat_req() 48 rc = hba->cnic->submit_kwqes(hba->cnic, kwqe_arr, num_kwqes); in bnx2fc_send_stat_req() 54 * bnx2fc_send_fw_fcoe_init_msg - initiates initial handshake with FCoE f/w 71 if (!hba->cnic) { in bnx2fc_send_fw_fcoe_init_msg() 72 printk(KERN_ERR PFX "hba->cnic NULL during fcoe fw init\n"); in bnx2fc_send_fw_fcoe_init_msg() [all …]
|
| /linux/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_encoder.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 99 * struct vidtv_encoder - A generic encoder type. 112 * @ctx: Encoder-specific state. 113 * @stream_id: Examples: Audio streams (0xc0-0xdf), Video streams 114 * (0xe0-0xef). 119 * @sampling_rate_hz: The sampling rate (or fps, if video) used. 120 * @last_sample_cb: Called when the encoder runs out of data.This is
|
| /linux/drivers/media/usb/pwc/ |
| H A D | pwc-v4l.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 (C) 1999-2004 Nemosoft Unv. 5 (C) 2004-2006 Luc Saillard (luc@saillard.org) 11 The decompression routines have been implemented by reverse-engineering the 156 hdl = &pdev->ctrl_handler; in pwc_init_controls() 165 pdev->brightness = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 171 pdev->contrast = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 174 if (pdev->type >= 675) { in pwc_init_controls() 175 if (pdev->type < 730) in pwc_init_controls() 176 pdev->saturation_fmt = SATURATION_MODE_FORMATTER2; in pwc_init_controls() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
| H A D | smu13_driver_if_yellow_carp.h | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 90 uint8_t FPS; member 176 uint16_t CoreTemperature[8]; //[centi-Celsius] 178 uint16_t L3Temperature; //[centi-Celsius] 180 uint16_t GfxTemperature; //[centi-Celsius] 181 uint16_t SocTemperature; //[centi-Celsius]
|
| H A D | smu12_driver_if.h | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 91 uint8_t FPS; member 191 uint16_t CoreTemperature[8]; //[centi-Celsius] 193 uint16_t L3Temperature[2]; //[centi-Celsius] 195 uint16_t GfxTemperature; //[centi-Celsius] 196 uint16_t SocTemperature; //[centi-Celsius]
|