| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | bitfield.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2006-2013 Solarflare Communications Inc. 15 * wide. Since there is no native 128-bit datatype on most systems, 16 * and since 64-bit datatypes are inefficient on 32-bit systems and 20 * The NICs are PCI devices and therefore little-endian. Since most 23 * ef4_dword_t) to be little-endian. 48 /* Bit width of the specified field */ 49 #define EF4_WIDTH(field) EF4_VAL(field, WIDTH) 51 #define EF4_HIGH_BIT(field) (EF4_LOW_BIT(field) + EF4_WIDTH(field) - 1) [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | bitfield.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2006-2013 Solarflare Communications Inc. 15 * wide. Since there is no native 128-bit datatype on most systems, 16 * and since 64-bit datatypes are inefficient on 32-bit systems and 20 * The NICs are PCI devices and therefore little-endian. Since most 23 * efx_dword_t) to be little-endian. 50 /* Bit width of the specified field */ 51 #define EFX_WIDTH(field) EFX_VAL(field, WIDTH) 53 #define EFX_HIGH_BIT(field) (EFX_LOW_BIT(field) + EFX_WIDTH(field) - 1) [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | bitfield.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2006-2013 Solarflare Communications Inc. 15 * wide. Since there is no native 128-bit datatype on most systems, 16 * and since 64-bit datatypes are inefficient on 32-bit systems and 20 * The NICs are PCI devices and therefore little-endian. Since most 23 * efx_dword_t) to be little-endian. 48 /* Bit width of the specified field */ 49 #define EFX_WIDTH(field) EFX_VAL(field, WIDTH) 51 #define EFX_HIGH_BIT(field) (EFX_LOW_BIT(field) + EFX_WIDTH(field) - 1) [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | cavium-mmc.txt | 10 - compatible : should be one of: 11 cavium,octeon-6130-mmc 12 cavium,octeon-7890-mmc 13 cavium,thunder-8190-mmc 14 cavium,thunder-8390-mmc 15 mmc-slot 16 - reg : mmc controller base registers 17 - clocks : phandle 20 - for cd, bus-width and additional generic mmc parameters 22 - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command [all …]
|
| /linux/include/media/ |
| H A D | v4l2-rect.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * v4l2-rect.h - v4l2_rect helper functions 14 * v4l2_rect_set_size_to() - copy the width/height values. 15 * @r: rect whose width and height fields will be set 16 * @size: rect containing the width and height fields you need. 21 r->width = size->width; in v4l2_rect_set_size_to() 22 r->height = size->height; in v4l2_rect_set_size_to() 26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size. 27 * @r: rect whose width and height will be modified 28 * @min_size: rect containing the minimal width and height [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6sx-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "imx6sx-sdb.dtsi" 12 clock-frequency = <100000>; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_i2c1>; 23 regulator-min-microvolt = <300000>; 24 regulator-max-microvolt = <1875000>; 25 regulator-boot-on; 26 regulator-always-on; 27 regulator-ramp-delay = <6250>; [all …]
|
| H A D | imx6sx-sdb-reva.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "imx6sx-sdb.dtsi" 9 compatible = "fsl,imx6sx-sdb-reva", "fsl,imx6sx"; 13 clock-frequency = <100000>; 14 pinctrl-names = "default"; 15 pinctrl-0 = <&pinctrl_i2c1>; 24 regulator-min-microvolt = <300000>; 25 regulator-max-microvolt = <1875000>; 26 regulator-boot-on; 27 regulator-always-on; [all …]
|
| H A D | imx31-lite.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com> 5 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "logicpd,imx31-lite", "fsl,imx31"; 17 stdout-path = &uart1; 26 compatible = "gpio-leds"; 43 nand-bus-width = <8>; 44 nand-ecc-mode = "hw"; [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1088a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls1088a.dtsi" 17 compatible = "fsl,ls1088a-qds", "fsl,ls1088a"; 21 bus-num = <0>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "jedec,spi-nor"; 29 spi-max-frequency = <1000000>; 33 #address-cells = <1>; [all …]
|
| H A D | fsl-ls208xa-qds.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 phy-handle = <&mdio0_phy12>; 15 phy-connection-type = "sgmii"; 19 phy-handle = <&mdio0_phy13>; 20 phy-connection-type = "sgmii"; 24 phy-handle = <&mdio0_phy14>; 25 phy-connection-type = "sgmii"; 29 phy-handle = <&mdio0_phy15>; 30 phy-connection-type = "sgmii"; 34 mmc-hs200-1_8v; [all …]
|
| H A D | fsl-ls2081a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls2088a.dtsi" 17 compatible = "fsl,ls2081a-rdb", "fsl,ls2081a"; 25 stdout-path = "serial1:115200n8"; 33 compatible = "jedec,spi-nor"; 34 #address-cells = <1>; 35 #size-cells = <1>; 36 spi-max-frequency = <3000000>; 51 #address-cells = <1>; [all …]
|
| H A D | fsl-ls1088a-tqmls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright (c) 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 10 #include "fsl-ls1088a.dtsi" 14 num-cs = <2>; 18 compatible = "jedec,spi-nor"; 20 spi-max-frequency = <62500000>; 21 spi-rx-bus-width = <4>; 22 spi-tx-bus-width = <4>; 23 vcc-supply = <®_vcc1v8>; [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | anatop-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/anatop-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> 13 - $ref: regulator.yaml# 17 const: fsl,anatop-regulator 19 regulator-name: true 21 anatop-reg-offset: 25 anatop-vol-bit-shift: [all …]
|
| /linux/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-hw.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "bdisp-filter.h" 11 #include "bdisp-reg.h" 13 /* Max width of the source frame in a single node */ 27 bool cconv; /* RGB - YUV conversion */ 45 u16 max; /* Filter max scale factor (6.10 fixed point) */ member 53 .max = 921, 67 .max = 1024, 81 .max = 1126, 95 .max = 1228, [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | t4ka3.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include <media/media-entity.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-cci.h> 28 #include <media/v4l2-common.h> 29 #include <media/v4l2-ctrls.h> 30 #include <media/v4l2-fwnode.h> 31 #include <media/v4l2-subdev.h> 55 * link-freq = pixel_rate * bpp / (lanes * 2) 56 * (lanes * 2) because CSI lanes use double-data-rate (DDR) signalling. [all …]
|
| H A D | ov2680.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved. 9 * Copyright (C) 2014-2017 Mentor Graphics Inc. 24 #include <media/v4l2-cci.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-fwnode.h> 28 #include <media/v4l2-subdev.h> 80 /* Fixed pre-div of 1/2 */ 83 /* Pre-div configurable through reg 0x3080, left at its default of 0x02 : 1/2 */ [all …]
|
| /linux/samples/bpf/ |
| H A D | lathist_user.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2013-2015 PLUMgrid, http://plumgrid.com 18 long max; member 23 static void stars(char *str, long val, long max, int width) in stars() argument 27 for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) in stars() 29 if (val > max) in stars() 30 str[i - 1] = '+'; in stars() 47 if (hist->max == 0) in print_hist() 53 stars(starstr, hist->data[i - 1], hist->max, MAX_STARS); in print_hist() 54 printf("%8ld -> %-8ld : %-8ld |%-*s|\n", in print_hist() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | framer-codec.c | 1 // SPDX-License-Identifier: GPL-2.0 34 unsigned int rx_mask, int slots, int width) in framer_dai_set_tdm_slot() argument 36 struct framer_codec *framer = snd_soc_component_get_drvdata(dai->component); in framer_dai_set_tdm_slot() 38 switch (width) { in framer_dai_set_tdm_slot() 40 /* Not set -> default 8 */ in framer_dai_set_tdm_slot() 44 dev_err(dai->dev, "tdm slot width %d not supported\n", width); in framer_dai_set_tdm_slot() 76 int width; framer_dai_hw_rule_channels_by_format() local [all...] |
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun8i-s3-pinecube.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "gpio-leds"; 38 compatible = "regulator-fixed"; 39 regulator-name = "vcc5v0"; [all …]
|
| /linux/drivers/media/i2c/ccs/ |
| H A D | ccs-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs/ccs-core.c 8 * Copyright (C) 2010--2012 Nokia Corporation 13 * Based on smia-sensor.c by Tuukka Toivonen <tuukkat76@gmail.com> 28 #include <linux/v4l2-mediabus.h> 29 #include <media/mipi-csi2.h> 30 #include <media/v4l2-cci.h> 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-fwnode.h> 48 * ccs_module_idents - supported camera modules [all …]
|
| /linux/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-a64-pinetab.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "sun50i-a64.dtsi" 10 #include "sun50i-a64-cpu-opp.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pwm/pwm.h> 18 compatible = "pine64,pinetab", "allwinner,sun50i-a64"; 19 chassis-type = "tablet"; 27 compatible = "pwm-backlight"; [all …]
|
| H A D | sun50i-a64-amarula-relic.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 /dts-v1/; 7 #include "sun50i-a64.dtsi" 8 #include "sun50i-a64-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 13 model = "Amarula A64-Relic"; 14 compatible = "amarula,a64-relic", "allwinner,sun50i-a64"; 21 stdout-path = "serial0:115200n8"; 25 compatible = "i2c-gpio"; 26 sda-gpios = <&pio 4 13 GPIO_ACTIVE_HIGH>; [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #include <sound/soc-dapm.h> 33 * Mapping LRCK fs and frame width, table 3 & 4 in datasheet 35 * @rmax: max rate 37 * @wmax: max frame ratio 47 * Mapping TDM mode and frame width 51 unsigned int max; member 56 * struct imx_card_plat_data - specific info for codecs 90 * struct dai_link_data - specific info for dai link [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| H A D | meson-a1-ad402.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-a1.dtsi" 10 #include <dt-bindings/thermal/thermal.h> 21 stdout-path = "serial0:115200n8"; 29 reserved-memory { 33 no-map; 39 compatible = "linaro,optee-tz"; 44 battery_4v2: regulator-battery-4v2 { 45 compatible = "regulator-fixed"; [all …]
|
| H A D | meson-gxl-s905x-p212.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on meson-gx-p23x-q20x.dtsi: 5 * - Copyright (c) 2016 Endless Computers, Inc. 7 * - Copyright (c) 2016 BayLibre, SAS. 13 #include "meson-gxl-s905x.dtsi" 22 stdout-path = "serial0:115200n8"; 30 hdmi_5v: regulator-hdmi-5v { 31 compatible = "regulator-fixed"; 33 regulator-name = "HDMI_5V"; 34 regulator-min-microvolt = <5000000>; [all …]
|