/linux/arch/arm64/boot/dts/apple/ |
H A D | t8103-jxxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple M1 Mac mini, MacBook Air/Pro, iMac 24" (M1, 2020/2021) 5 * This file contains parts common to all Apple M1 devices using the t8103. 7 * target-type: J274, J293, J313, J456, J457 21 #address-cells = <2>; 22 #size-cells = <2>; 25 stdout-path = "serial0"; 28 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 50 hpm0: usb-pd@38 { 53 interrupt-parent = <&pinctrl_ap>; [all …]
|
H A D | t8103-j457.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 2x USB-C, M1, 2020) 5 * target-type: J457 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 2x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,santorini"; 29 brcm,board-type = "apple,santorini"; 33 * Force the bus number assignments so that we can declare some of the [all …]
|
H A D | t8103-j274.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple Mac mini (M1, 2020) 5 * target-type: J274 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j274", "apple,t8103", "apple,arm-platform"; 17 model = "Apple Mac mini (M1, 2020)"; 25 brcm,board-type = "apple,atlantisb"; 29 brcm,board-type = "apple,atlantisb"; 33 * Force the bus number assignments so that we can declare some of the [all …]
|
H A D | t8103-j456.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 4x USB-C, M1, 2020) 5 * target-type: J456 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j456", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,capri"; 29 brcm,board-type = "apple,capri"; 33 hpm2: usb-pd@3b { [all …]
|
H A D | t8112-j493.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple MacBook Pro (13-inch, M1, 2022) 5 * target-type: J493 10 /dts-v1/; 13 #include "t8112-jxxx.dtsi" 14 #include <dt-bindings/leds/common.h> 17 compatible = "apple,j493", "apple,t8112", "apple,arm-platform"; 18 model = "Apple MacBook Pro (13-inch, M2, 2022)"; 25 led-controller { 26 compatible = "pwm-leds"; [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | st,asc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrice Chotard <patrice.chotard@foss.st.com> 13 - $ref: serial.yaml# 28 st,hw-flow-ctrl: 32 st,force-m1: 33 description: When set, force asc to be in Mode-1. This is recommended for 38 - compatible 39 - reg [all …]
|
/linux/include/linux/ssb/ |
H A D | ssb_driver_chipcommon.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 #define SSB_CHIPCO_CAP_UARTGPIO 0x00000020 /* UARTs on GPIO 15-12 */ 52 #define SSB_CHIPCO_CAP_64BIT 0x08000000 /* 64-bit Backplane */ 115 #define SSB_CHIPCO_JCTL_FORCE_CLK 4 /* Force clock */ 172 #define SSB_CHIPCO_SYSCLKCTL_FORCEALP 0x00000008 /* Force ALP (or HT if ALPen is not set */ 173 #define SSB_CHIPCO_SYSCLKCTL_FORCEHT 0x00000010 /* Force HT */ 190 #define SSB_CHIPCO_CLKCTLST_FORCEALP 0x00000001 /* Force ALP request */ 191 #define SSB_CHIPCO_CLKCTLST_FORCEHT 0x00000002 /* Force HT request */ 192 #define SSB_CHIPCO_CLKCTLST_FORCEILP 0x00000004 /* Force ILP request */ 195 #define SSB_CHIPCO_CLKCTLST_HWCROFF 0x00000020 /* Force HW clock request off */ [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | nv04.c | 38 struct nvkm_subdev *subdev = &init->subdev; in nv04_devinit_meminit() 39 struct nvkm_device *device = subdev->device; in nv04_devinit_meminit() 115 int shift = -4; in powerctrl_1_shift() 137 shift = -4; in powerctrl_1_shift() 146 struct nvkm_device *device = init->subdev.device; in setPLL_single() 147 int chip_version = device->bios->version.chip; in setPLL_single() 150 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1; in setPLL_single() 164 if (oldM && pv->M1 && (oldN / oldM < pv->N1 / pv->M1)) in setPLL_single() 165 /* upclock -- write new post divider first */ in setPLL_single() 166 nvkm_wr32(device, reg, pv->log2P << 16 | (oldpll & 0xffff)); in setPLL_single() [all …]
|
/linux/drivers/usb/mon/ |
H A D | mon_main.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * This must be called with mon_lock taken because of mbus->ref. 41 spin_lock_irqsave(&mbus->lock, flags); in mon_reader_add() 42 if (mbus->nreaders == 0) { in mon_reader_add() 45 struct mon_bus *m1; in mon_reader_add() local 46 m1 = list_entry(p, struct mon_bus, bus_link); in mon_reader_add() 47 m1->u_bus->monitored = 1; in mon_reader_add() 50 mbus->u_bus->monitored = 1; in mon_reader_add() 53 mbus->nreaders++; in mon_reader_add() 54 list_add_tail(&r->r_link, &mbus->r_list); in mon_reader_add() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2011 Intel Corporation 41 .m1 = {.min = 0, .max = 0}, 53 .m1 = {.min = 0, .max = 0}, 57 /* The single-channel range is 25-112Mhz, and dual-channel 58 * is 80-224Mhz. Prefer single channel as much as possible. 68 .m1 = {.min = 0, .max = 0}, 80 .m1 = {.min = 0, .max = 0}, 92 .m1 = {.min = 0, .max = 0}, 104 .m1 = {.min = 0, .max = 0}, [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 1 // SPDX-License-Identifier: MIT 36 } dot, vco, n, m, m1, m2, p, p1; member 48 .m1 = { .min = 18, .max = 26 }, 61 .m1 = { .min = 18, .max = 26 }, 74 .m1 = { .min = 18, .max = 26 }, 87 .m1 = { .min = 8, .max = 18 }, 100 .m1 = { .min = 8, .max = 18 }, 114 .m1 = { .min = 17, .max = 23 }, 129 .m1 = { .min = 16, .max = 23 }, 142 .m1 = { .min = 17, .max = 23 }, [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramnv50.c | 71 #define T(t) cfg->timing_10_##t 75 struct nvbios_ramcfg *cfg = &ram->base.target.bios; in nv50_ram_timing_calc() 76 struct nvkm_subdev *subdev = &ram->base.fb->subdev; in nv50_ram_timing_calc() 77 struct nvkm_device *device = subdev->device; in nv50_ram_timing_calc() 86 switch ((!T(CWL)) * ram->base.type) { in nv50_ram_timing_calc() 88 T(CWL) = T(CL) - 1; in nv50_ram_timing_calc() 96 if (device->chipset == 0xa0) { in nv50_ram_timing_calc() 97 unkt3b = 0x19 + ram->base.next->bios.rammap_00_16_40; in nv50_ram_timing_calc() 98 timing[6] = (0x2d + T(CL) - T(CWL) + in nv50_ram_timing_calc() 99 ram->base.next->bios.rammap_00_16_40) << 16 | in nv50_ram_timing_calc() [all …]
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.c | 4 * Copyright 2007-2009 Stuart Bennett 92 if (drm->client.device.info.chipset == 0x11) { in NVSetOwner() 103 if (drm->client.device.info.chipset == 0x11) { /* set me harder */ in NVSetOwner() 137 /* to force parsing as single stage (i.e. nv40 vplls) pass pll2 as 0 */ in nouveau_hw_decode_pll() 140 pllvals->log2P = (pll1 >> 16) & 0x7; in nouveau_hw_decode_pll() 141 pllvals->N2 = pllvals->M2 = 1; in nouveau_hw_decode_pll() 144 pllvals->NM1 = pll2 & 0xffff; in nouveau_hw_decode_pll() 147 pllvals->NM2 = pll2 >> 16; in nouveau_hw_decode_pll() 149 pllvals->NM1 = pll1 & 0xffff; in nouveau_hw_decode_pll() 151 pllvals->NM2 = pll2 & 0xffff; in nouveau_hw_decode_pll() [all …]
|
/linux/drivers/bus/mhi/host/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 9 #include <linux/dma-direction.h> 10 #include <linux/dma-mapping.h> 32 * L0: DISABLE <--> POR 33 * POR <--> POR 34 * POR -> M0 -> M2 --> M0 35 * POR -> FW_DL_ERR 36 * FW_DL_ERR <--> FW_DL_ERR 37 * M0 <--> M0 [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun50i-a100.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 23 #include "ccu-sun50i-a100.h" 37 * For now we can just model it as a multiplier clock, and force P to /1. 41 * testing", so it's not modelled and then force to 0. 50 .hw.init = CLK_HW_INIT("pll-cpux", "dcxo24M", 66 .hw.init = CLK_HW_INIT("pll-ddr0", "dcxo24M", 84 .hw.init = CLK_HW_INIT("pll-periph0", "dcxo24M", 101 .hw.init = CLK_HW_INIT("pll-periph1", "dcxo24M", 117 .hw.init = CLK_HW_INIT("pll-gpu", "dcxo24M", [all …]
|
H A D | ccu-sun50i-h616.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 25 #include "ccu-sun50i-h616.h" 31 * For now we can just model it as a multiplier clock, and force P to /1. 35 * testing", so it's not modelled and then force to 0. 44 .hw.init = CLK_HW_INIT("pll-cpux", "osc24M", 60 .hw.init = CLK_HW_INIT("pll-ddr0", "osc24M", 75 .hw.init = CLK_HW_INIT("pll-ddr1", "osc24M", 92 .hw.init = CLK_HW_INIT("pll-periph0", "osc24M", 109 .hw.init = CLK_HW_INIT("pll-periph1", "osc24M", [all …]
|
H A D | ccu-sun20i-d1.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 26 #include "ccu-sun20i-d1.h" 43 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-cpux", osc24M, 59 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-ddr0", osc24M, 73 .hw.init = CLK_HW_INIT_PARENTS_DATA("pll-periph0-4x", osc24M, 82 static SUNXI_CCU_M_HWS(pll_periph0_2x_clk, "pll-periph0-2x", 84 static SUNXI_CCU_M_HWS(pll_periph0_800M_clk, "pll-periph0-800M", 90 static CLK_FIXED_FACTOR_HWS(pll_periph0_clk, "pll-periph0", 94 static CLK_FIXED_FACTOR_HWS(pll_periph0_div3_clk, "pll-periph0-div3", [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
/linux/scripts/kconfig/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 # These targets are used from top-level makefile 17 silent := -s 22 kernel-release := $(shell uname -r) 24 /lib/modules/$(kernel-release)/.config \ 25 /etc/kernel-config \ 26 /boot/config-$(kernel-release) 41 config-prog := conf 42 menuconfig-prog := mconf 43 nconfig-prog := nconf [all …]
|
/linux/tools/lib/bpf/ |
H A D | linker.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 158 libbpf_print(LIBBPF_WARN, "libbpf: " fmt ": %s\n", ##__VA_ARGS__, elf_errmsg(-1)) 189 free(linker->filename); in bpf_linker__free() 191 if (linker->elf) in bpf_linker__free() 192 elf_end(linker->elf); in bpf_linker__free() 194 if (linker->fd >= 0) in bpf_linker__free() 195 close(linker->fd); in bpf_linker__free() 197 strset__free(linker->strtab_strs); in bpf_linker__free() 199 btf__free(linker->btf); in bpf_linker__free() 200 btf_ext__free(linker->btf_ext); in bpf_linker__free() [all …]
|
/linux/drivers/usb/serial/ |
H A D | f81534.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 * The F81532/F81534 had 1 control endpoint for setting, 1 endpoint bulk-out 13 * for all serial port TX and 1 endpoint bulk-in for all serial port read in 122 * Bit2-1: Clock source selector 181 /* Pin output value for M2/M1/M0(SD) */ 197 usb_get_serial_data(port->serial); in f81534_logic_to_phy_port() 202 if (serial_priv->conf_data[i] & F81534_PORT_UNAVAILABLE) in f81534_logic_to_phy_port() 205 if (port->port_number == count) in f81534_logic_to_phy_port() 211 return -ENODEV; in f81534_logic_to_phy_port() 216 struct usb_interface *interface = serial->interface; in f81534_set_register() [all …]
|
/linux/include/linux/ |
H A D | mhi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 10 #include <linux/dma-direction.h> 27 * enum mhi_callback - MHI callback 51 * enum mhi_flags - Transfer flags 63 * enum mhi_device_type - Device types 73 * enum mhi_ch_type - Channel types 89 * struct image_info - Firmware and RDDM table 102 * struct mhi_link_info - BW requirement 103 * target_link_speed - Link speed as defined by TLS bits in LinkControl reg [all …]
|
/linux/drivers/input/mouse/ |
H A D | vsxxxaa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers) 4 * DEC VSXXX-GA mouse (rectangular mouse, with ball) 5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus) 7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 24 * supply at +5V and -12V. 30 * | 4 --- 3 | 32 * ------- 35 * 1 (GND) 5 7 - 36 * 2 (RxD) 2 3 - [all …]
|
/linux/drivers/acpi/nfit/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. 24 * For readq() and writeq() on 32-bit builds, the hi-lo, lo-hi order is 27 #include <linux/io-64-nonatomic-hi-lo.h> 42 static int default_dsm_family = -1; 53 MODULE_PARM_DESC(force_labels, "Opt-in to labels despite missing methods"); 91 struct nvdimm_bus_descriptor *nd_desc = &acpi_desc->nd_desc; in to_acpi_dev() 97 if (!nd_desc->provider_name in to_acpi_dev() 98 || strcmp(nd_desc->provider_name, "ACPI.NFIT") != 0) in to_acpi_dev() 101 return to_acpi_device(acpi_desc->dev); in to_acpi_dev() [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-apple-aic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Based on irq-lpc32xx: 6 * Copyright 2015-2016 Vladimir Zapolskiy <vz@mleia.com> 7 * Based on irq-bcm2836: 14 * - 896 level-triggered hardware IRQs 15 * - Single mask bit per IRQ 16 * - Per-IRQ affinity setting 17 * - Automatic masking on event delivery (auto-ack) 18 * - Software triggering (ORed with hw line) 19 * - 2 per-CPU IPIs (meant as "self" and "other", but they are [all …]
|