/linux/drivers/mtd/spi-nor/ |
H A D | sfdp.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/mtd/spi-nor.h> 14 #define SFDP_PARAM_HEADER_ID(p) (((p)->id_msb << 8) | (p)->id_lsb) 16 (((p)->parameter_table_pointer[2] << 16) | \ 17 ((p)->parameter_table_pointer[1] << 8) | \ 18 ((p)->parameter_table_pointer[0] << 0)) 19 #define SFDP_PARAM_HEADER_PARAM_LEN(p) ((p)->length * 4) 23 #define SFDP_4BAIT_ID 0xff84 /* 4-byte Address Instruction Table */ 31 * Register Map Offsets for Multi-Chip 41 u8 nph; /* 0-base number of parameter headers */ [all …]
|
/linux/drivers/bus/ |
H A D | qcom-ebi2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 * Bits 31-28: RECOVERY recovery cycles (0 = 1, 1 = 2 etc) this is the time the 42 * memory continues to drive the data bus after OE is de-asserted. 43 * Inserted when reading one CS and switching to another CS or read 45 * Bits 27-24: WR_HOLD write hold cycles, these are extra cycles inserted after 49 * Bits 23-16: WR_DELTA initial latency for write cycles inserted for the first 51 * Bits 15-8: RD_DELTA initial latency for read cycles inserted for the first 52 * read to a page or burst memory 53 * Bits 7-4: WR_WAIT number of wait cycles for every write access, 0=1 cycle 55 * Bits 3-0: RD_WAIT number of wait cycles for every read access, 0=1 cycle [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 9 Access: Read 14 Contact: linux-pm@vger.kernel.org 18 Access: Read 23 Contact: linux-pm@vger.kernel.org 27 Access: Read 32 Contact: linux-pm@vger.kernel.org 36 Access: Read 43 Contact: linux-pm@vger.kernel.org 58 Access: Read [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | qcom,ebi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 external memory (such as NAND or other memory-mapped peripherals) whereas 25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 32 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 33 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) 34 CS3 GPIO133 0x1d000000-0x25000000 (128 MB) 35 CS4 GPIO132 0x1c800000-0x1d000000 (8MB) [all …]
|
/linux/Documentation/filesystems/ext4/ |
H A D | journal.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 -------------- 10 “important” data writes on-disk as quickly as possible. Once the important 15 read-write-erases) before erasing the commit record. Should the system 31 In case of ``data=ordered`` mode, Ext4 also supports fast commits which 33 mode works by logging metadata blocks to the journal. In fast commit 35 affected metadata in fast commit space that is shared with JBD2. 36 Once the fast commit area fills in or if fast commit is not possible 38 A full commit invalidates all the fast commits that happened before 39 it and thus it makes the fast commit area empty for further fast [all …]
|
/linux/Documentation/devicetree/bindings/mtd/ |
H A D | jedec,spi-nor.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: mtd.yaml# 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 19 - items: 20 - pattern: "^((((micron|spansion|st),)?\ 33 - const: jedec,spi-nor [all …]
|
H A D | spear_smi.txt | 4 - compatible : "st,spear600-smi" 5 - reg : Address range of the mtd chip 6 - #address-cells, #size-cells : Must be present if the device has sub-nodes 8 - interrupts: Should contain the STMMAC interrupts 9 - clock-rate : Functional clock rate of SMI in Hz 12 - st,smi-fast-mode : Flash supports read in fast mode 17 compatible = "st,spear600-smi"; 18 #address-cells = <1>; 19 #size-cells = <1>; 21 interrupt-parent = <&vic1>; [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | cache.rst | 8 dm-cache is a device mapper target written by Joe Thornber, Heinz 15 This device-mapper solution allows us to insert this caching at 17 a thin-provisioning pool. Caching solutions that are integrated more 20 The target reuses the metadata library used in the thin-provisioning 23 The decision as to what data to migrate and when is left to a plug-in 35 Migration from slow device to fast device. 37 Migration from fast device to slow device. 46 Sub-devices 47 ----------- 52 1. An origin device - the big, slow one. [all …]
|
/linux/drivers/power/supply/ |
H A D | bd99954-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * a) Trickle-charge with constant current (8). 21 * b) pre-charge with constant current (6) 22 * c) fast-charge, first with constant current (5) phase. After 30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------. 32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5) 34 * . + /- -- . 35 * . +`/- + . 36 * . o/- -: . 38 * . .--+ `/ . [all …]
|
/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 62 SRP_DEFAULT_CMD_SQ_SIZE = SRP_DEFAULT_QUEUE_SIZE - SRP_RSP_SQ_SIZE - 146 * @max_it_iu_len: Maximum initiator-to-target information unit length. 147 * @max_ti_iu_len: Maximum target-to-initiator information unit length. 155 /* These are read-only in the hot path */ 196 * struct srp_target_port - RDMA port in the SRP target system 201 /* read and written in the hot path */ 204 /* read only in the hot path */ 283 * struct srp_fr_desc - fast registration work request arguments [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcp_hdr_options.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #define CG_NAME "/tcpbpf-hdr-opt-test" 46 return -1; in create_netns() 49 return -1; in create_netns() 57 prefix ? : "", hdr_stg->active, hdr_stg->resend_syn, in print_hdr_stg() 58 hdr_stg->syncookie, hdr_stg->fastopen); in print_hdr_stg() 64 prefix ? : "", opt->flags, opt->max_delack_ms, opt->rand); in print_option() 69 close(sk_fds->srv_fd); in sk_fds_close() 70 close(sk_fds->passive_fd); in sk_fds_close() 71 close(sk_fds->active_fd); in sk_fds_close() [all …]
|
/linux/arch/mips/include/asm/ |
H A D | mips-gic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 # error Please include asm/mips-cps.h rather than asm/mips-gic.h 29 /* For read-only shared registers */ 34 /* For read-write shared registers */ 39 /* For read-only local registers */ 44 /* For read-write local registers */ 49 /* For read-only shared per-interrupt registers */ 62 /* For read-write shared per-interrupt registers */ 81 /* For read-only local per-interrupt registers */ 88 /* For read-write local per-interrupt registers */ [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-opp-vesnin.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g4.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "yadro,vesnin-bmc", "aspeed,ast2400"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
H A D | ast2500-facebook-netbmc-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include "aspeed-g5.dtsi" 22 aspeed,reset-type = "system"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_txd1_default 38 pinctrl-names = "default"; 39 pinctrl-0 = <&pinctrl_txd3_default 52 m25p,fast-read; 58 m25p,fast-read; 65 pinctrl-names = "default"; [all …]
|
H A D | aspeed-bmc-qcom-dc-scm-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 // Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 9 model = "Qualcomm DC-SCM V1 BMC"; 10 compatible = "qcom,dc-scm-v1-bmc", "aspeed,ast2600"; 17 stdout-path = &uart5; 30 ethphy3: ethernet-phy@1 { 31 compatible = "ethernet-phy-ieee802.3-c22"; 40 phy-mode = "rgmii"; [all …]
|
H A D | aspeed-ast2500-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g5.dtsi" 8 compatible = "aspeed,ast2500-evb", "aspeed,ast2500"; 15 stdout-path = &uart5; 23 reserved-memory { 24 #address-cells = <1>; 25 #size-cells = <1>; 31 compatible = "shared-dma-pool"; 41 m25p,fast-read; [all …]
|
H A D | ast2600-facebook-netbmc-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include "aspeed-g6.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 24 * GPIO-based SPI Master is required to access SPI TPM, because 25 * full-duplex SPI transactions are not supported by ASPEED SPI 30 compatible = "spi-gpio"; 31 #address-cells = <1>; 32 #size-cells = <0>; 34 gpio-sck = <&gpio0 ASPEED_GPIO(X, 3) GPIO_ACTIVE_HIGH>; 35 gpio-mosi = <&gpio0 ASPEED_GPIO(X, 4) GPIO_ACTIVE_HIGH>; [all …]
|
H A D | aspeed-bmc-supermicro-x11spi.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 6 #include "aspeed-g5.dtsi" 10 compatible = "supermicro,x11spi-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; 32 iio-hwmon { [all …]
|
H A D | aspeed-bmc-intel-s2600wf.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 9 compatible = "intel,s2600wf-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; 31 iio-hwmon { [all …]
|
/linux/include/linux/ |
H A D | i2c-algo-pca.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #define I2C_PCA_OSC_PER 3 /* e10-8s */ 23 #define I2C_PCA_STA 0x00 /* STATUS Read Only */ 25 #define I2C_PCA_DAT 0x01 /* DATA Read/Write */ 26 #define I2C_PCA_ADR 0x02 /* OWN ADR Read/Write */ 27 #define I2C_PCA_CON 0x03 /* CONTROL Read/Write */ 31 #define I2C_PCA_IND 0x02 /* INDIRECT Read/Write */ 44 #define I2C_PCA_MODE_FAST 0x01 /* Fast mode */ 45 #define I2C_PCA_MODE_FASTP 0x02 /* Fast Plus mode */ 57 * struct pca_i2c_bus_settings - The configured PCA i2c bus settings
|
H A D | tcp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 return th->doff * 4; in __tcp_hdrlen() 46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen() 50 * skb_tcp_all_headers - Returns size of all headers for a TCP packet 65 * skb_inner_tcp_all_headers - Returns size of all headers for an encap TCP packet 70 * if (skb_is_gso(skb) && skb->encapsulation) { 81 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen() 84 /* TCP Fast Open */ 85 #define TCP_FASTOPEN_COOKIE_MIN 4 /* Min Fast Open Cookie size in bytes */ 86 #define TCP_FASTOPEN_COOKIE_MAX 16 /* Max Fast Open Cookie size in bytes */ [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-designware-master.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 #include "i2c-designware-core.h" 36 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 37 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 40 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 47 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master() 56 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master() 61 /* Set standard and fast speed dividers for high/low periods */ in i2c_dw_set_timings_master() 62 sda_falling_time = t->sda_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 63 scl_falling_time = t->scl_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() [all …]
|
/linux/drivers/net/ethernet/realtek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 tristate "AT-LAN-TEC/RealTek pocket adapter support" 26 port. Read the file <file:drivers/net/ethernet/realtek/atp.c> 35 tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support" 40 This is a driver for the Fast Ethernet PCI network cards based on 47 tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support" 52 This is a driver for the Fast Ethernet PCI network cards based on 69 bool "Support for uncommon RTL-8139 rev. K (automatic channel equalization)" 74 RTL-8139 revision K boards, and totally unused otherwise. It tries 80 bool "Support for older RTL-8129/8130 boards" [all …]
|
/linux/drivers/scsi/ |
H A D | esp_scsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 40 /* ESP config reg 1, read-write, found on all ESP chips */ 48 /* ESP config reg 2, read-write, found only on esp100a+esp200+esp236 chips */ 52 #define ESP_CONFIG2_SCSI2ENAB 0x08 /* Enable SCSI-2 features (tgtmode) */ 55 #define ESP_CONFIG2_BCM 0x20 /* Enable byte-ctrl (236) */ 58 #define ESP_CONFIG2_SPL 0x40 /* Enable status-phase latch (236) */ 63 /* ESP config register 3 read-write, found only esp236+fas236+fas100a+hme chips */ 64 #define ESP_CONFIG3_FCLOCK 0x01 /* FAST SCSI clock rate (esp100a/hme) */ 65 #define ESP_CONFIG3_TEM 0x01 /* Enable thresh-8 mode (esp/fas236) */ 66 #define ESP_CONFIG3_FAST 0x02 /* Enable FAST SCSI (esp100a/hme) */ [all …]
|
/linux/fs/bcachefs/ |
H A D | varint.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * bch2_varint_encode - encode a variable length integer 18 * Returns: size in bytes of the encoded integer - at most 9 bytes 28 v |= ~(~0 << (bytes - 1)); in bch2_varint_encode() 41 * bch2_varint_decode - encode a variable length integer 45 * Returns: size in bytes of the decoded integer - or -1 on failure (would 46 * have read past the end of the buffer) 56 return -1; in bch2_varint_decode() 73 * bch2_varint_encode_fast - fast version of bch2_varint_encode 76 * Returns: size in bytes of the encoded integer - at most 9 bytes [all …]
|