Home
last modified time | relevance | path

Searched full:cleared (Results 1 – 25 of 1984) sorted by relevance

12345678910>>...80

/Linux-v6.1/include/linux/
Dwait_bit.h55 * wait_on_bit - wait for a bit to be cleared
66 * Returned value will be zero if the bit was cleared, or non-zero
82 * wait_on_bit_io - wait for a bit to be cleared
88 * to be cleared. This is similar to wait_on_bit(), but calls
91 * Returned value will be zero if the bit was cleared, or non-zero
107 * wait_on_bit_timeout - wait for a bit to be cleared or a timeout elapses
114 * to be cleared. This is similar to wait_on_bit(), except also takes a
117 * Returned value will be zero if the bit was cleared before the
134 * wait_on_bit_action - wait for a bit to be cleared
141 * to be cleared, and allow the waiting action to be specified.
[all …]
Dsbitmap.h36 * @cleared: word holding cleared bits
38 unsigned long cleared ____cacheline_aligned_in_smp;
261 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
319 * sets the corresponding bit in the ->cleared mask instead. Paired with
325 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
331 * Pair of sbitmap_get, and this one applies both cleared bit and
376 * sbitmap_weight() - Return how many set and not cleared bits in a &struct
380 * Return: How many set and not cleared bits set
578 * @nr: Number of bits cleared.
/Linux-v6.1/Documentation/hwmon/
Dltc2992.rst39 inX_min_alarm An undervoltage occurred. Cleared on read.
40 inX_max_alarm An overvoltage occurred. Cleared on read.
47 currX_min_alarm An undercurrent occurred. Cleared on read.
48 currX_max_alarm An overcurrent occurred. Cleared on read.
55 powerX_min_alarm An underpower occurred. Cleared on read.
56 powerX_max_alarm An overpower occurred. Cleared on read.
/Linux-v6.1/drivers/memstick/host/
Dr592.h55 #define R592_IO_16 (1 << 16) /* Set by default, can be cleared */
56 #define R592_IO_18 (1 << 18) /* Set by default, can be cleared */
57 #define R592_IO_SERIAL1 (1 << 20) /* Set by default, can be cleared, (cleared on parallel) */
58 #define R592_IO_22 (1 << 22) /* Set by default, can be cleared */
60 #define R592_IO_26 (1 << 26) /* Set by default, can be cleared */
61 #define R592_IO_SERIAL2 (1 << 30) /* Set by default, can be cleared (cleared on parallel), serial…
67 #define R592_POWER_0 (1 << 0) /* set on start, cleared on stop - must be set*/
68 #define R592_POWER_1 (1 << 1) /* set on start, cleared on stop - must be set*/
/Linux-v6.1/drivers/nvdimm/
Dpmem.c101 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len); in __pmem_clear_poison() local
103 if (cleared > 0) { in __pmem_clear_poison()
104 pmem_mkpage_present(pmem, offset, cleared); in __pmem_clear_poison()
107 return cleared; in __pmem_clear_poison()
113 long cleared = __pmem_clear_poison(pmem, offset, len); in pmem_clear_poison() local
115 if (cleared < 0) in pmem_clear_poison()
118 pmem_clear_bb(pmem, to_sect(pmem, offset), cleared >> SECTOR_SHIFT); in pmem_clear_poison()
119 if (cleared < len) in pmem_clear_poison()
355 long cleared; in pmem_recovery_write() local
373 cleared = __pmem_clear_poison(pmem, pmem_off, len); in pmem_recovery_write()
[all …]
Dclaim.c280 long cleared; in nsio_rw_bytes() local
283 cleared = nvdimm_clear_poison(&ndns->dev, in nsio_rw_bytes()
285 if (cleared < size) in nsio_rw_bytes()
287 if (cleared > 0 && cleared / 512) { in nsio_rw_bytes()
288 cleared /= 512; in nsio_rw_bytes()
289 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
Dbus.c161 resource_size_t phys, cleared; member
180 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
184 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
193 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
197 .cleared = cleared, in nvdimm_clear_badblocks_regions()
205 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
207 if (cleared > 0) in nvdimm_account_cleared_poison()
208 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
210 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
211 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
[all …]
/Linux-v6.1/drivers/md/
Dmd-bitmap.h38 * It is cleared (and resync-active set) when a resync starts across all drives
44 * resync_needed will be cleared (as long as resync_active wasn't already set).
45 * It is cleared when a resync completes.
49 * bit can be cleared as well, thus setting the counter to 0.
57 * If the sweep find the counter at 1, the on-disk bit is cleared and the
128 __le64 events_cleared;/*32 event counter when last bit cleared (2) */
146 * array is not degraded. As bits are not cleared when the array is degraded,
147 * this represents the last time that any bits were cleared.
170 * cleared then that page is marked as 'pending'
/Linux-v6.1/arch/x86/platform/pvh/
Dhead.S31 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared.
32 * - `cr4`: all bits are cleared.
40 * - `eflags`: bit 17 (VM) must be cleared. Bit 9 (IF) must be cleared.
41 * Bit 8 (TF) must be cleared. Other bits are all unspecified.
/Linux-v6.1/tools/testing/selftests/kvm/lib/
Dsparsebit.c609 /* Nodes with all bits cleared may be removed. */ in node_reduce()
836 /* Skip bits that are already cleared */ in bit_clear()
937 * of the newly allocated sparsebit array has all bits cleared.
971 * if different from src will be cleared.
997 /* Find the next cleared bit */ in sparsebit_is_set_num()
1001 * If no cleared bits beyond idx, then there are at least num in sparsebit_is_set_num()
1003 * there are enough set bits between idx and the next cleared bit. in sparsebit_is_set_num()
1015 /* Returns whether num consecutive bits starting at idx are all cleared. */
1024 /* With num > 0, the first bit must be cleared. */ in sparsebit_is_clear_num()
1033 * cleared bits. idx + num doesn't wrap. Otherwise check if in sparsebit_is_clear_num()
[all …]
/Linux-v6.1/fs/hfs/
Dbitmap.c116 * Search for 'num_bits' consecutive cleared bits in the bitmap blocks of
123 * u16 *num_bits: Pointer to the number of cleared bits
130 * The number of the first bit of the range of cleared bits which has been
135 * the number of cleared bits to find.
190 * are cleared. The affected bitmap blocks are marked "dirty", the free
/Linux-v6.1/Documentation/userspace-api/media/v4l/
Dvidioc-g-dv-timings.rst112 the bit is set (1) it is positive polarity and if is cleared (0),
267 will also be cleared. This is a read-only flag, applications must
272 set. This flag is cleared otherwise. It is also only valid for
274 formats the flag will be cleared by the driver.
279 generate such frequencies, then the flag will be cleared.
314 cleared by transmitters.
/Linux-v6.1/arch/ia64/kernel/
Defi_stub.S20 * psr.dfl and psr.dfh MUST be cleared, despite what this manual says.
23 * cleared). Fortunately, SAL promises not to touch the floating
65 andcm r16=loc3,r16 // get psr with IT, DT, and RT bits cleared
Desi_stub.S23 * psr.dfl and psr.dfh MUST be cleared, despite what this manual says.
26 * cleared). Fortunately, SAL promises not to touch the floating
83 andcm r16=loc3,r16 // get psr with IT, DT, and RT bits cleared
Dperfmon_itanium.h63 * we must clear the (instruction) debug registers if pmc13.ta bit is cleared in pfm_ita_pmc_check()
68 DPRINT(("pmc[%d]=0x%lx has active pmc13.ta cleared, clearing ibr\n", cnum, *val)); in pfm_ita_pmc_check()
75 * ensure that they are properly cleared. in pfm_ita_pmc_check()
82 * we must clear the (data) debug registers if pmc11.pt bit is cleared in pfm_ita_pmc_check()
87 DPRINT(("pmc[%d]=0x%lx has active pmc11.pt cleared, clearing dbr\n", cnum, *val)); in pfm_ita_pmc_check()
94 * ensure that they are properly cleared. in pfm_ita_pmc_check()
/Linux-v6.1/Documentation/admin-guide/mm/
Didle_page_tracking.rst71 their idle flag cleared in the interim.
104 section), and cleared automatically whenever a page is referenced as defined
107 When a page is marked idle, the Accessed bit must be cleared in all PTEs it is
112 cleared as a result of setting or updating a page's Idle flag, the Young flag
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-bus-platform-devices-occ-hwmon7 the file is empty. The data is cleared when it's been
9 from the first error is saved, until it's cleared upon read. The OCC hwmon driver, running on
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/
Dgaudi2P.h468 * Each bit is cleared upon reset of its corresponding H/W
474 * later code paths. Each respective bit is cleared upon reset
480 * Each bit is cleared upon reset of its corresponding H/W
486 * Each bit is cleared upon reset of its corresponding H/W
490 * set. Each respective bit is cleared upon reset of its
495 * set. Each respective bit is cleared upon reset of its
499 * @events_stat_aggregate: same as events_stat but doesn't get cleared on reset.
/Linux-v6.1/arch/sparc/include/asm/
Dchafsr.h206 * for which the M_SYND is reported, is cleared, the contents of the M_SYND
225 /* The AFSR must be explicitly cleared by software, it is not cleared automatically
227 * bits in the AFSR. Bits associated with disrupting traps must be cleared before
236 * cleared. For example, if AFSR.CE is detected, then AFSR.UE (which overwrites
237 * the AFAR), and AFSR.UE is cleared by not AFSR.CE, then the AFAR will be unlocked
/Linux-v6.1/arch/powerpc/include/asm/nohash/32/
Dpte-40x.h23 * - bits 20 and 21 must be cleared, because we use 4k pages (40x can
27 * of the 16 available. Bit 24-26 of the TLB are cleared in the TLB
33 * is cleared in the TLB miss handler before the TLB entry is loaded.
/Linux-v6.1/drivers/staging/media/atomisp/pci/
Datomisp-regs.h57 * cache line. When cleared, each 32-byte read request is sent as a
64 * If cleared, the high speed clock going to the digital logic is gated when
73 * cache line. When cleared, each 32-byte write request is sent as a
/Linux-v6.1/lib/
Dsbitmap.c67 if (!READ_ONCE(map->cleared)) in sbitmap_deferred_clear()
71 * First get a stable cleared mask, setting the old mask to 0. in sbitmap_deferred_clear()
73 mask = xchg(&map->cleared, 0); in sbitmap_deferred_clear()
297 if (sb->map[i].word & ~sb->map[i].cleared) in sbitmap_any_bit_set()
315 weight += bitmap_weight(&word->cleared, word_depth); in __sbitmap_weight()
335 seq_printf(m, "cleared=%u\n", sbitmap_cleared(sb)); in sbitmap_show()
362 unsigned long cleared = READ_ONCE(sb->map[i].cleared); in sbitmap_bitmap_show() local
365 word &= ~cleared; in sbitmap_bitmap_show()
/Linux-v6.1/include/linux/reset/
Dreset-simple.h24 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
27 * @status_active_low: if true, bits read back as cleared while the reset is
/Linux-v6.1/drivers/firmware/tegra/
Divc.c24 * established state, indicating that has cleared the counters in our
41 * return to the established state once it has cleared its counters.
446 * Ensure that counters appear cleared before new state can be in tegra_ivc_notified()
452 * Move to ACK state. We have just cleared our counters, so it in tegra_ivc_notified()
485 * Ensure that counters appear cleared before new state can be in tegra_ivc_notified()
492 * already cleared its counters, so it is safe to start in tegra_ivc_notified()
515 * cleared our counters, and we know that the remote end has in tegra_ivc_notified()
516 * cleared its counters, so it is safe to start writing/reading in tegra_ivc_notified()
/Linux-v6.1/drivers/net/ethernet/3com/
Dtyphoon.h52 * rxHiCleared: entry we've cleared to in the Hi receive ring
53 * rxLoCleared: entry we've cleared to in the Lo receive ring
55 * respCleared: entry we've cleared to in the response ring
57 * txLoCleared: entry the NIC has cleared to in the Lo transmit ring
58 * txHiCleared: entry the NIC has cleared to in the Hi transmit ring
60 * rxBuffCleared: entry the NIC has cleared in the free buffer ring
61 * cmdCleared: entry the NIC has cleared in the command ring

12345678910>>...80