| /linux/include/linux/ |
| H A D | srcu.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion 11 * For detailed explanation of Read-Copy Update mechanism see - 68 /* Values for SRCU Tree srcu_data ->srcu_reader_flavor, but also used by rcutorture. */ 71 // 0x4 // SRCU-lite is no longer with us. 98 * get_completed_synchronize_srcu - Return a pre-completed polled state cookie 113 // not-yet-completed SRCU grace periods. 117 * same_state_synchronize_srcu - Are two old-state values identical? 118 * @oldstate1: First old-state value. 119 * @oldstate2: Second old-state value. [all …]
|
| H A D | srcutree.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion, 27 * Per-CPU structure feeding into leaf srcu_node, similar in function 31 /* Read-side state. */ 36 /* Update-side state. */ 49 /* ->srcu_data_have_cbs[]. */ 60 /* if greater than ->srcu_gp_seq. */ 69 * Per-SRCU-domain structure, update-side data linked from srcu_struct. 75 int srcu_size_state; /* Small-to-big transition state. */ 79 unsigned long srcu_gp_seq; /* Grace-period seq #. */ [all …]
|
| 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
|
| /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)->lengt 236 spi_nor_set_read_settings_from_bfpt(struct spi_nor_read_command * read,u16 half,enum spi_nor_protocol proto) spi_nor_set_read_settings_from_bfpt() argument 502 struct spi_nor_read_command *read; spi_nor_parse_bfpt() local 1037 const struct sfdp_4bait *read = &reads[i]; spi_nor_parse_4bait() local [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/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/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/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/Documentation/devicetree/bindings/mtd/ |
| 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/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 | 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 …]
|
| H A D | aspeed-bmc-inspur-on5263m5.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "inspur,on5263m5-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 no-map; [all …]
|
| H A D | aspeed-bmc-portwell-neptune.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 10 compatible = "portwell,neptune-bmc", "aspeed,ast2500"; 16 stdout-path = &uart5; 25 compatible = "gpio-leds"; 29 default-state = "on"; 34 linux,default-trigger = "heartbeat"; 40 // postcode3-7 are GPIOH3-H7 [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/Documentation/filesystems/ |
| H A D | affs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Supported read/write. 15 DOS\1 The original Fast File System. Supported read/write. 19 in file names are case-insensitive, as they ought to be. 20 Supported read/write. 22 DOS\3 The "international" Fast File System. Supported read/write. 27 sense on hard disks. Supported read only. 29 DOS\5 The Fast File System with directory cache. Supported read only. 107 Amiga -> Linux: 111 - R maps to r for user, group and others. On directories, R implies x. [all …]
|
| /linux/Documentation/arch/arm/nwfpe/ |
| H A D | netwinder-fpe.rst | 14 {P|M|Z} = {round to +infinity,round to -infinity,round to zero}, 20 ------------------------------------------------------------ 22 LDF/STF - load and store floating 30 LFM/SFM - load and store multiple floating 47 ---------------------------------------------------------------- 49 Conversions, read/write status/control register instructions 54 RFS{cond} Rd Read floating point status register 56 RFC{cond} Rd Read floating point control register 76 --------------------------------------------------- 80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-designware-master.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 #include "i2c-designware-core.h" 37 regmap_write(dev->map, DW_IC_TX_TL, dev->tx_fifo_depth / 2); in i2c_dw_configure_fifo_master() 38 regmap_write(dev->map, DW_IC_RX_TL, 0); in i2c_dw_configure_fifo_master() 41 regmap_write(dev->map, DW_IC_CON, dev->master_cfg); in i2c_dw_configure_fifo_master() 48 struct i2c_timings *t = &dev->timings; in i2c_dw_set_timings_master() 57 ret = regmap_read(dev->map, DW_IC_COMP_PARAM_1, &comp_param1); in i2c_dw_set_timings_master() 62 /* Set standard and fast speed dividers for high/low periods */ in i2c_dw_set_timings_master() 63 sda_falling_time = t->sda_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() 64 scl_falling_time = t->scl_fall_ns ?: 300; /* ns */ in i2c_dw_set_timings_master() [all …]
|
| /linux/drivers/net/usb/ |
| H A D | dm9601.c | 26 http://ptm2.cc.utu.fi/ftp/network/cards/DM9601/From_NET/DM9601-DS-P01-930914.pdf 68 err = -EINVAL; in dm_read() 85 err = -EINVAL; in dm_write() 115 mutex_lock(&dev->phy_mutex); in dm_read_shared_word() 134 netdev_err(dev->net, "%s read timed out!\n", phy ? "phy" : "eeprom"); in dm_read_shared_word() 135 ret = -EIO; in dm_read_shared_word() 142 netdev_dbg(dev->net, "read shared %d 0x%02x returned 0x%04x, %d\n", in dm_read_shared_word() 146 mutex_unlock(&dev->phy_mutex); in dm_read_shared_word() 154 mutex_lock(&dev->phy_mutex); in dm_write_shared_word() 177 netdev_err(dev->net, "%s write timed out!\n", phy ? "phy" : "eeprom"); in dm_write_shared_word() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | cow.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 for (; size; addr += pagesize, size -= pagesize) in range_is_swapped() 85 if (pipe(comm_pipes->child_ready) < 0) { in setup_comm_pipes() 87 return -errno; in setup_comm_pipes() 89 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes() 91 close(comm_pipes->child_ready[0]); in setup_comm_pipes() 92 close(comm_pipes->child_ready[1]); in setup_comm_pipes() 93 return -errno; in setup_comm_pipes() 101 close(comm_pipes->child_ready[0]); in close_comm_pipes() 102 close(comm_pipes->child_ready[1]); in close_comm_pipes() [all …]
|