/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_93cx6.h | 16 * substantially similar to the "NO WARRANTY" disclaimer below 20 * 3. Neither the names of the above-listed copyright holders nor the names 28 * NO WARRANTY 32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 68 * This function will read count 16-bit words from the serial EEPROM and 73 * CS - Chip select 74 * CK - Clock 75 * DO - Data out 76 * DI - Data in 77 * RDY - SEEPROM ready [all …]
|
H A D | aic7xxx_proc.c | 2 * Copyright (c) 2000-2001 Adaptec Inc. 12 * substantially similar to the "NO WARRANTY" disclaimer below 16 * 3. Neither the names of the above-listed copyright holders nor the names 24 * NO WARRANTY 28 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 37 * String handling code courtesy of Gerard Roudier's <groudier@club-internet.fr> 61 { 0x08, 625 }, /* FAST-160 */ 62 { 0x09, 1250 }, /* FAST-80 */ 63 { 0x0a, 2500 }, /* FAST-40 40MHz */ 64 { 0x0b, 3030 }, /* FAST-40 33MHz */ [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums512-1h10.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Unisoc UMS512-1h10 boards DTS file 8 /dts-v1/; 13 model = "Unisoc UMS512-1H10 Board"; 15 compatible = "sprd,ums512-1h10", "sprd,ums512"; 28 stdout-path = "serial1:115200n8"; 40 /* SD card */ 42 bus-width = <4>; 43 no-sdio; 44 no-mmc; [all …]
|
/linux/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <media/v4l2-ctrls.h> 10 #include <media/v4l2-event.h> 11 #include <media/v4l2-ioctl.h> 12 #include <media/v4l2-mc.h> 13 #include "imx-media.h" 21 * Create the missing media links from the CSI-2 receiver. 26 struct v4l2_subdev *sd, *csi2 = NULL; in imx_media_create_csi2_links() local 28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 29 if (sd->grp_id == IMX_MEDIA_GRP_ID_CSI2) { in imx_media_create_csi2_links() [all …]
|
H A D | imx-media-fim.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <media/v4l2-ctrls.h> 14 #include <media/v4l2-subdev.h> 16 #include "imx-media.h" 37 #define FIM_CL_TOLERANCE_MAX_DEF 0 /* no max tolerance (unbounded) */ 41 struct v4l2_subdev *sd; member 73 return fim->icap_flags != IRQ_TYPE_NONE; in icap_enabled() 79 if (fi->denominator == 0) { in update_fim_nominal() 80 dev_dbg(fim->sd->dev, "no frame interval, FIM disabled\n"); in update_fim_nominal() 81 fim->enabled = false; in update_fim_nominal() [all …]
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "cx23888-ir.h" 16 #include <media/v4l2-device.h> 17 #include <media/rc-core.h> 117 struct v4l2_subdev sd; member 133 static inline struct cx23888_ir_state *to_state(struct v4l2_subdev *sd) in to_state() argument 135 return v4l2_get_subdevdata(sd); in to_state() 174 d--; in count_to_clock_divider() 306 count--; in pulse_clocks_to_clock_divider() 384 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window() [all …]
|
/linux/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx_st6422.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * st6422 stv06xx alike bridge, as its integrated there are no i2c writes 9 * Strongly based on qc-usb-messenger, which is: 10 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 11 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 20 static int st6422_probe(struct sd *sd); 21 static int st6422_start(struct sd *sd); 22 static int st6422_init(struct sd *sd); 23 static int st6422_init_controls(struct sd *sd); 24 static int st6422_stop(struct sd *sd); [all …]
|
H A D | stv06xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 12 * P/N 861075-0040: Sensor HDCS1000 ASIC 13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web 73 struct sd { struct [all …]
|
/linux/block/ |
H A D | bfq-wf2q.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hierarchical Budget Worst-case Fair Weighted Fair Queueing 4 * (B-WF2Q+): hierarchical scheduling algorithm by which the BFQ I/O 9 #include "bfq-iosched.h" 12 * bfq_gt - compare two timestamps. 20 return (s64)(a - b) > 0; in bfq_gt() 25 struct rb_node *node = tree->rb_node; in bfq_root_active_entity() 34 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx() 35 BFQ_DEFAULT_GRP_CLASS - 1; in bfq_class_idx() 40 return bfqd->busy_queues[0] + bfqd->busy_queues[1] + in bfq_tot_busy_queues() [all …]
|
/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/drv-intf/cx25840.h> 14 #include <media/rc-core.h> 16 #include "cx25840-core.h" 114 static inline struct cx25840_ir_state *to_ir_state(struct v4l2_subdev *sd) in to_ir_state() argument 116 struct cx25840_state *state = to_state(sd); in to_ir_state() 117 return state ? state->ir_state : NULL; in to_ir_state() 135 d--; in count_to_clock_divider() 293 count--; in pulse_clocks_to_clock_divider() 371 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window() [all …]
|
/linux/drivers/media/i2c/ |
H A D | tvp514x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * Karicheri Muralidharan <m-karicheri2@ti.com> 26 #include <linux/v4l2-mediabus.h> 30 #include <media/media-entity.h> 31 #include <media/v4l2-async.h> 32 #include <media/v4l2-common.h> 33 #include <media/v4l2-ctrls.h> 34 #include <media/v4l2-device.h> 35 #include <media/v4l2-fwnode.h> 36 #include <media/v4l2-mediabus.h> [all …]
|
H A D | saa7110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * saa7110 - Philips SAA7110(A) video decoder driver 9 * - some corrections for Pinnacle Systems Inc. DC10plus card. 12 * - moved over to linux>=2.4.x i2c protocol (1/1/2003) 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-ctrls.h> 34 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 42 struct v4l2_subdev sd; member 53 static inline struct saa7110 *to_saa7110(struct v4l2_subdev *sd) in to_saa7110() argument 55 return container_of(sd, struct saa7110, sd); in to_saa7110() [all …]
|
H A D | ak881x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AK8813 / AK8814 TV-ecoders from Asahi Kasei Microsystems Co., Ltd. (AKM) 16 #include <media/v4l2-common.h> 17 #include <media/v4l2-device.h> 61 static int ak881x_g_register(struct v4l2_subdev *sd, in ak881x_g_register() argument 64 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register() 66 if (reg->reg > 0x26) in ak881x_g_register() 67 return -EINVAL; in ak881x_g_register() 69 reg->size = 1; in ak881x_g_register() 70 reg->val = reg_read(client, reg->reg); in ak881x_g_register() [all …]
|
H A D | tvp7002.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Texas Instruments Triple 8-/10-BIT 165-/110-MSPS Video and Graphics 6 * Author: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com> 21 #include <linux/v4l2-dv-timings.h> 23 #include <media/v4l2-async.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-fwnode.h> 32 MODULE_AUTHOR("Santiago Nunez-Corrales <santiago.nunez@ridgerun.com>"); [all …]
|
H A D | tvp5150.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 7 #include <dt-bindings/media/tvp5150.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/v4l2-mc.h> 24 #include <media/v4l2-rect.h> [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 | pac7302.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008-2012 Jean-Francois Moine <http://moinejf.free.fr> 6 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li 10 * Copyright (C) 2009-2010 Márton Németh <nm127@freemail.hu> 23 * the settable values (0-200) on register values: 25 * 0x0f-0x20 Color and saturation control 26 * 0xa2-0xab Brightness, contrast and gamma control 27 * 0xb6 Sharpness control (bits 0-4) 39 * as the quality gain is small and the generated JPG-s are 40 * only understood by v4l-utils >= 0.8.9 [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * v4l2-spi - SPI helpers for Video4Linux2 8 #include <media/v4l2-common.h> 9 #include <media/v4l2-device.h> 11 void v4l2_spi_subdev_unregister(struct v4l2_subdev *sd) in v4l2_spi_subdev_unregister() argument 13 struct spi_device *spi = v4l2_get_subdevdata(sd); in v4l2_spi_subdev_unregister() 15 if (spi && !spi->dev.of_node && !spi->dev.fwnode) in v4l2_spi_subdev_unregister() 19 void v4l2_spi_subdev_init(struct v4l2_subdev *sd, struct spi_device *spi, in v4l2_spi_subdev_init() argument 22 v4l2_subdev_init(sd, ops); in v4l2_spi_subdev_init() 23 sd->flags |= V4L2_SUBDEV_FL_IS_SPI; in v4l2_spi_subdev_init() [all …]
|
H A D | v4l2-flash-led-class.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * V4L2 flash LED sub-device registration helpers. 9 #include <linux/led-class-flash.h> 15 #include <media/v4l2-flash-led-class.h> 18 (v4l2_flash && v4l2_flash->ops && v4l2_flash->ops->op) 22 v4l2_flash->ops->op(v4l2_flash, arg) : \ 23 -EINVAL) 46 intensity -= ctrl->minimum; in __intensity_to_led_brightness() 47 intensity /= (u32) ctrl->step; in __intensity_to_led_brightness() 55 if (ctrl->minimum) in __intensity_to_led_brightness() [all …]
|
/linux/fs/crypto/ |
H A D | hooks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Encryption hooks for higher-level filesystem operations. 13 * fscrypt_file_open() - prepare to open a possibly-encrypted regular file 30 * Return: 0 on success, -ENOKEY if the key is missing, or another -errno code 46 * encryption policy comparison, but it's expensive on multi-core in fscrypt_file_open() 48 * with a lightweight RCU-mode check for the parent directory being in fscrypt_file_open() 54 dentry_parent = READ_ONCE(dentry->d_parent); in fscrypt_file_open() 66 d_inode(dentry_parent)->i_ino); in fscrypt_file_open() 67 err = -EPERM; in fscrypt_file_open() 78 return -ENOKEY; in __fscrypt_prepare_link() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-radxa-zero-3w.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-radxa-zero-3.dtsi" 9 compatible = "radxa,zero-3w", "rockchip,rk3566"; 17 sdio_pwrseq: sdio-pwrseq { 18 compatible = "mmc-pwrseq-simple"; 20 clock-names = "ext_clock"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&wifi_reg_on_h>; 23 post-power-on-delay-ms = <100>; [all …]
|
/linux/kernel/sched/ |
H A D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 43 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() argument 46 struct sched_group *group = sd->groups; in sched_domain_debug_one() 47 unsigned long flags = sd->flags; in sched_domain_debug_one() 52 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one() 54 cpumask_pr_args(sched_domain_span(sd)), sd->name); in sched_domain_debug_one() 56 if (!cpumask_test_cpu(cpu, sched_domain_span(sd))) { in sched_domain_debug_one() 57 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one() 60 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one() 67 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && in sched_domain_debug_one() [all …]
|
/linux/drivers/media/spi/ |
H A D | gs1662.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2015-2016 Nexvision 6 * Author: Charles-Antoine Couret <charles-antoine.couret@nexvision.fr> 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-ctrls.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-subdev.h> 23 #include <media/v4l2-dv-timings.h> 24 #include <linux/v4l2-dv-timings.h> 48 struct v4l2_subdev sd; member [all …]
|
/linux/include/media/ |
H A D | v4l2-async.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de> 22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used 37 * struct v4l2_async_match_desc - async connection match information 65 * struct v4l2_async_connection - sub-device connection descriptor, as known to 68 * @match: struct of match type and per-bus type matching data sets 73 * @sd: the related sub-device 84 struct v4l2_subdev *sd; member 88 * struct v4l2_async_notifier_operations - Asynchronous V4L2 notifier operations 89 * @bound: a sub-device has been bound by the given connection [all …]
|