| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | blkio-controller.rst | 2 Block IO Controller 7 cgroup subsys "blkio" implements the block io controller. There seems to be 8 a need of various kinds of IO control policies (like proportional BW, max BW) 11 and based on user options switch IO policies in the background. 13 One IO control policy is throttling policy which can be used to 14 specify upper IO rate limits on devices. This policy is implemented in 22 ----------------------------- 23 Enable Block IO controller:: 33 mount -t cgroup -o blkio none /sys/fs/cgroup/blkio 85 Block IO controller. [all …]
|
| /linux/drivers/md/ |
| H A D | dm-raid1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 9 #include "dm-bio-record.h" 17 #include <linux/device-mapper.h> 18 #include <linux/dm-io 264 struct dm_io_region io[MAX_NR_MIRRORS]; mirror_flush() local 471 map_region(struct dm_io_region * io,struct mirror * m,struct bio * bio) map_region() argument 544 struct dm_io_region io; read_async_bio() local 656 struct dm_io_region io[MAX_NR_MIRRORS], *dest = io; do_write() local 690 struct bio_list sync, nosync, recover, *this_list = NULL; do_writes() local [all...] |
| H A D | dm-log.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 13 #include <linux/dm-io.h> 14 #include <linux/dm-dirty-log.h> 16 #include <linux/device-mappe 237 enum sync { global() enum 241 } sync; global() member 372 enum sync sync = DEFAULTSYNC; create_log_context() local [all...] |
| /linux/arch/powerpc/platforms/44x/ |
| H A D | misc_44x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This file contains miscellaneous low-level functions for PPC 44x. 13 * Do an IO access in AS1 18 sync 20 sync 23 sync 25 sync 32 sync 34 sync 37 sync [all …]
|
| /linux/Documentation/devicetree/bindings/mux/ |
| H A D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.yaml 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 32 mux: mux-controller@50 { 35 #mux-control-cells = <1>; [all …]
|
| H A D | gpio-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/gpio-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based multiplexer controller 10 - Peter Rosin <peda@axentia.se> 22 const: gpio-mux 24 mux-gpios: 28 mux-supply: 32 '#mux-control-cells': [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | st,stm32-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Alexandre TORGUE <alexandre.torgue@foss.st.com> 17 on-chip controllers onto these pads. 22 - st,stm32f429-pinctrl 23 - st,stm32f469-pinctrl 24 - st,stm32f746-pinctrl 25 - st,stm32f769-pinctrl [all …]
|
| /linux/rust/pin-init/ |
| H A D | README.md | 1 [](https://crates.io/crates/pin-init) 2 [](https://docs.rs/pin-init/) 3 [ 2001-2008, LINBIT Information Technologies GmbH. 9 Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>. 10 Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 28 architecture as of Linux-2.6.24-rc4 where the bitfields' endianness 48 FP_NOT_AVAIL = -1, /* Not a policy */ 188 C_UNCONNECTED, /* >= C_UNCONNECTED -> inc_net() succeeds */ 203 C_STARTING_SYNC_S, /* starting full sync by admin request. */ 204 C_STARTING_SYNC_T, /* starting full sync by admin request. */ 226 D_ATTACHING, /* In the process of reading the meta-data */ [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Low-level I/O routines. 10 * Copied from <file:arch/powerpc/include/asm/io.h> (which has no copyright) 23 __asm__ __volatile__("stb%U0%X0 %1,%0; sync" in out_8() 48 __asm__ __volatile__("sthbrx %1,0,%2; sync" : "=m" (*addr) in out_le16() 54 __asm__ __volatile__("sth%U0%X0 %1,%0; sync" in out_be16() 78 __asm__ __volatile__("stwbrx %1,0,%2; sync" : "=m" (*addr) in out_le32() 84 __asm__ __volatile__("stw%U0%X0 %1,%0; sync" in out_be32() 88 static inline void sync(void) in sync() function 90 asm volatile("sync" : : : "memory"); in sync()
|
| /linux/rust/pin-init/examples/ |
| H A D | pthread_mutex.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 3 // inspired by <https://github.com/nbdd0121/pin-init/blob/trunk/examples/pthread_mutex.rs> 32 unsafe impl<T: Send> Sync for PThreadMutex<T> {} 46 IO(std::io::Error), enumerator 52 fn from(e: Infallible) -> Self { in from() 59 fn from(_: AllocError) -> Self { in from() 66 pub fn new(data: T) -> imp [all...] |
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.c | 3 NinjaSCSI-3 / NinjaSCSI-32Bi PCMCIA SCSI host adapter card driver 21 I-O DATA PCSC-F (Workbit NinjaSCSI-3) 22 "WBT", "NinjaSCSI-3", "R1.0" 23 I-O DATA CBSC-II (Workbit NinjaSCSI-32Bi in 16bit mode) 24 "IO DAT 450 sync_data *sync = &(data->Sync[target]); nsp_analyze_sdtr() local 925 sync_data *sync = &(data->Sync[target]); nsp_nexus() local [all...] |
| /linux/fs/iomap/ |
| H A D | direct-io.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2016-2025 Christoph Hellwig. 6 #include <linux/blk-crypto.h> 56 if (dio->dops && dio->dops->bio_set) in iomap_dio_alloc_bio() 57 return bio_alloc_bioset(iter->iomap.bdev, nr_vecs, opf, in iomap_dio_alloc_bio() 58 GFP_KERNEL, dio->dop in iomap_dio_alloc_bio() [all...] |
| /linux/Documentation/devicetree/bindings/power/ |
| H A D | rockchip-io-domain.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/rockchip-io-domain.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SRAM for IO Voltage Domains 10 - Heiko Stuebner <heiko@sntech.de> 13 IO domain voltages on some Rockchip SoCs are variable but need to be 14 kept in sync between the regulators and the SoC using a special 23 General Register File (GRF) in sync with the actual value of a voltage 42 to report their voltage. The IO Voltage Domain for any non-specified [all …]
|
| /linux/Documentation/devicetree/bindings/iio/multiplexer/ |
| H A D | io-channel-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/multiplexer/io-channel-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 16 For each non-empty string in the channels property, an io-channel will be 17 created. The number of this io-channel is the same as the index into the list 20 Documentation/devicetree/bindings/mux/mux-controller.yaml 25 const: io-channel-mux 27 io-channels: [all …]
|
| /linux/drivers/media/dvb-frontends/cxd2880/ |
| H A D | cxd2880_tnrdmd_dvbt_mon.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Sony CXD2880 DVB-T2/T tuner + demodulator driver 5 * DVB-T monitor functions 17 {-93000, -91000, -90000, -89000, -88000}, 18 {-87000, -85000, -84000, -83000, -82000}, 19 {-82000, -80000, -78000, -77000, -76000}, 33 return -EINVAL; in cxd2880_tnrdmd_dvbt_mon_sync_stat() 35 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_tnrdmd_dvbt_mon_sync_stat() 36 return -EINVAL; in cxd2880_tnrdmd_dvbt_mon_sync_stat() 37 if (tnr_dmd->sys != CXD2880_DTV_SYS_DVBT) in cxd2880_tnrdmd_dvbt_mon_sync_stat() [all …]
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-tegra-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/io.h> 7 #include <linux/clk-provider.h> 15 #include "clk-id.h" 38 #define SYNC(_name) \ macro 95 SYNC(spdif_in_sync), 96 SYNC(i2s0_sync), 97 SYNC(i2s1_sync), 98 SYNC(i2s2_sync), 99 SYNC(i2s3_sync), [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
| /linux/drivers/mfd/ |
| H A D | ucb1x00-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mfd/ucb1x00-core.c 7 * The UCB1x00 core driver provides basic services for handling IO, 11 * to be used on other non-MCP-enabled hardware platforms. 35 * ucb1x00_io_set_dir - set IO directio 240 ucb1x00_adc_read(struct ucb1x00 * ucb,int adc_channel,int sync) ucb1x00_adc_read() argument [all...] |
| /linux/rust/kernel/ |
| H A D | devres.rs | 1 // SPDX-License-Identifier: GPL-2.0 21 sync::{ 56 /// io::{ 57 /// Io, 75 /// unsafe fn new(paddr: usize) -> Result<Self>{ 97 /// fn deref(&self) -> &Self::Target { 102 /// # fn no_run(dev: &Device<Bound>) -> Result<(), Error> { 127 pub fn new<E>(dev: &Device<Bound>, data: impl PinInit<T, E>) -> Resul [all...] |
| /linux/fs/ |
| H A D | fs-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/fs-writeback.c 14 * Additions for address_space-based writeback 29 #include <linux/backing-dev.h> 46 unsigned int for_sync:1; /* sync(2) WB_SYNC_ALL writeback */ 86 set_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_populated() 87 WARN_ON_ONCE(!wb->avg_write_bandwidt in wb_io_lists_populated() 2940 write_inode_now(struct inode * inode,int sync) write_inode_now() argument [all...] |
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-io.rst | 2 dm-io 5 Dm-io provides synchronous and asynchronous I/O services. There are three 6 types of I/O services available, and each type has a sync and an async 10 of the I/O. Each io_region indicates a block-device along with the starting 19 Dm-io can read from one io_region or write to one or more io_regions. Writes 38 for the I/O. This service can be handy if the caller has a pre-assembled bio, 65 In the case of an write-I/O to multiple regions, this bitset allows dm-io to 68 Before using any of the dm-io services, the user should call dm_io_get() 70 Dm-io will attempt to resize its mempool to make sure enough pages are 73 When the user is finished using the dm-io services, they should call
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | qe_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * QE TDM API Set - TDM specific routines implementations. 10 #include <linux/io.h> 22 return -EINVAL; in set_tdm_framer() 27 struct si_mode_info *si_info = &ut_info->si_info; in set_si_param() 29 if (utdm->tdm_mode == TDM_INTERNAL_LOOPBACK) { in set_si_param() 30 si_info->simr_crt = 1; in set_si_param() 31 si_info->simr_rfsd = 0; in set_si_param() 42 sprop = of_get_property(np, "fsl,rx-sync-clock", NULL); in ucc_of_parse_tdm() 44 ut_info->uf_info.rx_sync = qe_clock_source(sprop); in ucc_of_parse_tdm() [all …]
|
| /linux/drivers/media/platform/ti/am437x/ |
| H A D | am437x-vpfe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2013 - 2014 Texas Instruments, Inc. 12 #include <linux/am437x-vpfe.h> 16 #include <linux/io.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/videobuf2-v4l2.h> 24 #include <media/videobuf2-dma-contig.h> 26 #include "am437x-vpfe_regs.h" [all …]
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | sti_vtg.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/io.h> 74 #define AWG_DELAY_HD (-9) 75 #define AWG_DELAY_ED (-8) 76 #define AWG_DELAY_SD (-7) 154 put_device(&pdev->dev); in of_vtg_find() 161 writel(1, vtg->regs + VTG_DRST_AUTOC); in vtg_reset() 173 u32 xstop = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1); in vtg_set_output_window() 174 u32 ystop = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); in vtg_set_output_window() 190 static void vtg_set_hsync_vsync_pos(struct sti_vtg_sync_params *sync, in vtg_set_hsync_vsync_pos() argument [all …]
|