Home
last modified time | relevance | path

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

12345678910>>...73

/linux/Documentation/hwmon/
H A 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/drivers/memstick/host/
H A 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/drivers/nvdimm/
H A Dclaim.c261 long cleared; in nsio_rw_bytes() local
264 cleared = nvdimm_clear_poison(&ndns->dev, in nsio_rw_bytes()
266 if (cleared < size) in nsio_rw_bytes()
268 if (cleared > 0 && cleared / 512) { in nsio_rw_bytes()
269 cleared /= 512; in nsio_rw_bytes()
270 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
H A 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/include/linux/
H A Dsbitmap.h36 * @cleared: word holding cleared bits
38 unsigned long cleared ____cacheline_aligned_in_smp;
41 * @swap_lock: serializes simultaneous updates of ->word and ->cleared
143 * @completion_cnt: Number of bits cleared passed to the
255 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
313 * sets the corresponding bit in the ->cleared mask instead. Paired with
319 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
325 * Pair of sbitmap_get, and this one applies both cleared bit and
370 * sbitmap_weight() - Return how many set and not cleared bits in a &struct
374 * Return: How many set and not cleared bits set
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpin_system.c59 evict_data.cleared = 0; in sdma_cache_evict()
62 return evict_data.cleared; in sdma_cache_evict()
119 int pinned, cleared; in pin_system_pages() local
131 cleared = sdma_cache_evict(pq, npages); in pin_system_pages()
132 if (cleared >= npages) in pin_system_pages()
459 evict_data->cleared += node->npages; in sdma_rb_evict()
461 /* have enough pages been cleared? */ in sdma_rb_evict()
462 if (evict_data->cleared >= evict_data->target) in sdma_rb_evict()
/linux/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c609 /* Nodes with all bits cleared may be removed. */ in node_reduce()
835 /* Skip bits that are already cleared */ in bit_clear()
936 * of the newly allocated sparsebit array has all bits cleared.
970 * if different from src will be cleared.
996 /* Find the next cleared bit */ in sparsebit_is_set_num()
1000 * If no cleared bits beyond idx, then there are at least num in sparsebit_is_set_num()
1002 * there are enough set bits between idx and the next cleared bit. in sparsebit_is_set_num()
1014 /* Returns whether num consecutive bits starting at idx are all cleared. */
1023 /* With num > 0, the first bit must be cleared. */ in sparsebit_is_clear_num()
1032 * cleared bits. idx + num doesn't wrap. Otherwise check if in sparsebit_is_clear_num()
[all …]
/linux/kernel/sched/
H A Dwait_bit.c139 * given bit to be cleared.
147 * barrier after the bit is cleared and before this function is called.
148 * If the bit was cleared atomically, such as a by clear_bit() then
150 * If the bit was cleared with a fully-ordered operation, no further
153 * Normally the bit should be cleared by an operation with RELEASE
155 * cleared are guaranteed to be visible after the matching wait_on_bit()
/linux/Documentation/userspace-api/media/v4l/
H A 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/fs/hfs/
H A 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/Documentation/admin-guide/mm/
H A Didle_page_tracking.rst69 their idle flag cleared in the interim.
101 section), and cleared automatically whenever a page is referenced as defined
104 When a page is marked idle, the Accessed bit must be cleared in all PTEs it is
109 cleared as a result of setting or updating a page's Idle flag, the Young flag
H A Dsoft-dirty.rst22 Internally, to do this tracking, the writable bit is cleared from PTEs
23 when the soft-dirty bit is cleared. So, after this, when the task tries to
/linux/arch/sparc/include/asm/
H A 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/lib/
H A Dsbitmap.c70 if (!map->cleared) { in sbitmap_deferred_clear()
77 * ->cleared to word, and we change it to retry in case in sbitmap_deferred_clear()
89 * First get a stable cleared mask, setting the old mask to 0. in sbitmap_deferred_clear()
91 mask = xchg(&map->cleared, 0); in sbitmap_deferred_clear()
346 if (sb->map[i].word & ~sb->map[i].cleared) in sbitmap_any_bit_set()
364 weight += bitmap_weight(&word->cleared, word_depth); in __sbitmap_weight()
384 seq_printf(m, "cleared=%u\n", sbitmap_cleared(sb)); in sbitmap_show()
411 unsigned long cleared = READ_ONCE(sb->map[i].cleared); in sbitmap_bitmap_show() local
414 word &= ~cleared; in sbitmap_bitmap_show()
/linux/Documentation/ABI/testing/
H A 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/arch/x86/platform/pvh/
H A Dhead.S36 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared.
37 * - `cr4`: all bits are cleared.
45 * - `eflags`: bit 17 (VM) must be cleared. Bit 9 (IF) must be cleared.
46 * Bit 8 (TF) must be cleared. Other bits are all unspecified.
/linux/drivers/firmware/tegra/
H A Divc.c24 * established state, indicating that has cleared the counters in our
41 * return to the established state once it has cleared its counters.
459 * Ensure that counters appear cleared before new state can be in tegra_ivc_notified()
465 * Move to ACK state. We have just cleared our counters, so it in tegra_ivc_notified()
498 * Ensure that counters appear cleared before new state can be in tegra_ivc_notified()
505 * already cleared its counters, so it is safe to start in tegra_ivc_notified()
528 * cleared our counters, and we know that the remote end has in tegra_ivc_notified()
529 * cleared its counters, so it is safe to start writing/reading in tegra_ivc_notified()
/linux/drivers/net/ethernet/3com/
H A 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
/linux/fs/btrfs/
H A Dsubpage.c230 unsigned int cleared = 0; in btrfs_subpage_end_and_test_lock() local
251 cleared++; in btrfs_subpage_end_and_test_lock()
253 ASSERT(atomic_read(&bfs->nr_locked) >= cleared); in btrfs_subpage_end_and_test_lock()
254 last = atomic_sub_and_test(cleared, &bfs->nr_locked); in btrfs_subpage_end_and_test_lock()
313 int cleared = 0; in btrfs_folio_end_lock_bitmap() local
330 cleared++; in btrfs_folio_end_lock_bitmap()
332 ASSERT(atomic_read(&bfs->nr_locked) >= cleared); in btrfs_folio_end_lock_bitmap()
333 last = atomic_sub_and_test(cleared, &bfs->nr_locked); in btrfs_folio_end_lock_bitmap()
699 * Make sure not only the page dirty bit is cleared, but also subpage dirty bit
700 * is cleared.
/linux/include/linux/reset/
H A 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/kernel/bpf/
H A Dcpumask.c175 * @cpu: The CPU to be cleared from the cpumask.
176 * @cpumask: The BPF cpumask in which a bit is being cleared.
223 * @cpu: The CPU being cleared and queried for.
224 * @cpumask: The BPF cpumask being cleared and queried for containing a CPU.
249 * @cpumask: The BPF cpumask being cleared.
374 * * false - At least one bit in @cpumask is cleared. in bpf_cpumask_copy()
/linux/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c86 u32 cleared; member
202 return pmt_crashlog_rc(crashlog, crashlog->info->status.cleared); in pmt_crashlog_cleared()
237 bool cleared = pmt_crashlog_cleared(crashlog); in clear_show() local
239 return sysfs_emit(buf, "%d\n", cleared); in clear_show()
458 .status.cleared = TYPE1_VER0_CLEAR,
473 .status.cleared = TYPE1_VER2_CLEARED,
/linux/tools/include/linux/
H A Dfind.h82 * find_next_zero_bit - find the next cleared bit in a memory region
157 * find_first_zero_bit - find the first cleared bit in a memory region
161 * Returns the bit number of the first cleared bit.
/linux/Documentation/arch/parisc/
H A Ddebugging.rst39 happens when the Q bit is cleared is the CPU does not update the
44 instruction that cleared the Q bit, if you're not it points anywhere
/linux/block/
H A Dbadblocks.c351 * For the above situations, no bad block to be cleared and no failure
388 * For this situation the whole bad blocks range E will be cleared and its
984 * already set bad block range are cleared. If the whole bad block range is
985 * covered by the clearing range and fully cleared, 'delete' is set as 1 for
994 int cleared = 0; in front_clear() local
1002 cleared = sectors; in front_clear()
1005 cleared = BB_LEN(p[prev]); in front_clear()
1013 cleared = BB_END(p[prev]) - s; in front_clear()
1023 return cleared; in front_clear()
1029 * block range is split into two after the middle part is cleared.
[all …]

12345678910>>...73