Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 7398) sorted by relevance

12345678910>>...296

/linux-6.15/arch/alpha/kernel/
H A Dio.c280 if (!count) in ioread8_rep()
282 count--; in ioread8_rep()
289 count -= 4; in ioread8_rep()
299 --count; in ioread8_rep()
323 if (!count) in ioread16_rep()
326 count--; in ioread16_rep()
333 count -= 2; in ioread16_rep()
422 --count; in iowrite16_rep()
524 count--; in memcpy_fromio()
579 count--; in memcpy_toio()
[all …]
/linux-6.15/drivers/pci/hotplug/
H A Dibmphp_pci.c355 for (count = 0; address[count]; count++) { /* for 6 BARs */ in configure_device()
383 len[count] = ~len[count] + 1; in configure_device()
395 io[count]->len = len[count]; in configure_device()
398 func->io[count] = io[count]; in configure_device()
420 len[count] = ~len[count] + 1; in configure_device()
631 for (count = 0; address[count]; count++) { /* for 2 BARs */ in configure_bridge()
647 len[count] = ~len[count] + 1; in configure_bridge()
785 for (count = 0; address[count]; count++) { in configure_bridge()
1109 for (count = 0; address[count]; count++) { in scan_behind_bridge()
1215 for (count = 0; address[count]; count++) { /* for 6 BARs */ in unconfigure_boot_device()
[all …]
/linux-6.15/drivers/media/tuners/
H A Dtuner-types.c74 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
157 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
205 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
268 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
395 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
405 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
419 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
429 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
455 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
465 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
[all …]
/linux-6.15/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cfg.c20 .count = 1,
34 .count = 5,
39 .count = 3,
48 .count = 3,
56 .count = 2,
63 .count = 5,
82 .count = 3,
86 .count = 3,
109 .count = 1,
123 .count = 2,
[all …]
/linux-6.15/arch/parisc/lib/
H A Dio.c26 if (!count) in insb()
28 count--; in insb()
35 count -= 4; in insb()
45 --count; in insb()
66 if (!count) in insw()
88 count--; in insw()
106 --count; in insw()
152 --count; in insl()
168 --count; in insl()
185 --count; in insl()
[all …]
/linux-6.15/drivers/tty/
H A Dtty_ldsem.c86 count = atomic_long_add_return(adjust, &sem->count); in __ldsem_wake_readers()
90 if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust)) in __ldsem_wake_readers()
114 if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS)) in writer_trylock()
170 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) { in down_read_failed()
245 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) in down_write_failed()
298 long count; in __ldsem_down_read_nested() local
317 long count; in __ldsem_down_write_nested() local
348 long count = atomic_long_read(&sem->count); in ldsem_down_read_trylock() local
351 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) { in ldsem_down_read_trylock()
374 long count; in ldsem_up_read() local
[all …]
/linux-6.15/arch/riscv/include/asm/
H A Dio.h67 if (count) { \
84 if (count) { \
97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument
99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument
104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument
111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument
112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument
113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument
124 #define readsq(addr, buffer, count) __readsq(addr, buffer, count) argument
[all …]
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c63 weight, dbm->count); in __fini_dbm()
69 dbm->count = 0; in __fini_dbm()
91 if (count == ~0) in xe_guc_db_mgr_init()
97 if (!count) in xe_guc_db_mgr_init()
103 dbm->count = count; in xe_guc_db_mgr_init()
110 dbm->count, str_plural(dbm->count)); in xe_guc_db_mgr_init()
120 dbm_assert(dbm, count); in dbm_reserve_chunk_locked()
125 if (!dbm->count) in dbm_reserve_chunk_locked()
130 if (used + count + spare > dbm->count) in dbm_reserve_chunk_locked()
134 index = bitmap_find_next_zero_area(dbm->bitmap, dbm->count, 0, count, 0); in dbm_reserve_chunk_locked()
[all …]
/linux-6.15/drivers/staging/media/av7110/
H A Dav7110_ipack.c19 p->count = 0; in av7110_ipack_reset()
81 p->count = 9; in send_ipack()
101 p->count = 7; in send_ipack()
122 p->count = 6; in write_ipack()
125 if (p->count + count < p->size) { in write_ipack()
126 memcpy(p->buf + p->count, data, count); in write_ipack()
127 p->count += count; in write_ipack()
247 return count; in av7110_ipack_instant_repack()
254 return count; in av7110_ipack_instant_repack()
379 c = count; in av7110_ipack_instant_repack()
[all …]
/linux-6.15/drivers/scsi/pcmcia/
H A Dnsp_io.h70 unsigned long count) in nsp_multi_read_1() argument
77 unsigned long count) in nsp_fifo8_read() argument
89 unsigned long count) in nsp_multi_read_2() argument
96 unsigned long count) in nsp_fifo16_read() argument
108 unsigned long count) in nsp_multi_read_4() argument
115 unsigned long count) in nsp_fifo32_read() argument
134 unsigned long count) in nsp_fifo8_write() argument
222 unsigned long count) in nsp_mmio_multi_read_4() argument
239 unsigned long count) in nsp_mmio_fifo32_read() argument
248 unsigned long count) in nsp_mmio_multi_write_4() argument
[all …]
/linux-6.15/lib/
H A Dpercpu_counter.c95 s64 count; in percpu_counter_add_batch() local
107 fbc->count += count + amount; in percpu_counter_add_batch()
122 s64 count; in percpu_counter_add_batch() local
129 fbc->count += count; in percpu_counter_add_batch()
149 s64 count; in percpu_counter_sync() local
153 fbc->count += count; in percpu_counter_sync()
294 s64 count; in __percpu_counter_compare() local
306 if (count > rhs) in __percpu_counter_compare()
330 s64 count; in __percpu_counter_limited_add() local
352 count = fbc->count + amount; in __percpu_counter_limited_add()
[all …]
H A Diomem_copy.c30 count--; in memset_io()
41 count -= sizeof(long); in memset_io()
44 while (count) { in memset_io()
47 count--; in memset_io()
68 count--; in memcpy_fromio()
82 count -= sizeof(long); in memcpy_fromio()
85 while (count) { in memcpy_fromio()
89 count--; in memcpy_fromio()
110 count--; in memcpy_toio()
126 while (count) { in memcpy_toio()
[all …]
H A Dlockref.c45 new.count++; in lockref_get()
51 lockref->count++; in lockref_get()
66 new.count++; in lockref_get_not_zero()
67 if (old.count <= 0) in lockref_get_not_zero()
75 lockref->count++; in lockref_get_not_zero()
93 new.count--; in lockref_put_return()
97 return new.count; in lockref_put_return()
111 new.count--; in lockref_put_or_lock()
121 lockref->count--; in lockref_put_or_lock()
148 new.count++; in lockref_get_not_dead()
[all …]
/linux-6.15/drivers/video/fbdev/
H A Datafb_utils.h51 if (!count) in fb_memclear_small()
60 : "=a" (s), "=d" (count) in fb_memclear_small()
61 : "d" (0), "0" ((char *)s + count), "1" (count)); in fb_memclear_small()
80 if (!count) in fb_memclear()
83 if (count < 16) { in fb_memclear()
120 if (!count) in fb_memset255()
130 : "d" (-1), "0" ((char *)s+count), "1" (count)); in fb_memset255()
148 if (count < 16) { in fb_memmove()
180 if (count < 16) { in fb_memmove()
188 : "0" ((char *) d + count), "1" ((char *) s + count), "2" (count)); in fb_memmove()
[all …]
/linux-6.15/arch/sparc/lib/
H A DPeeCeeI.c18 while (count--) in outsb()
27 while (count--) { in outsw()
39 if (!count) in outsl()
92 if (count) { in insb()
107 count -= 4; in insb()
120 if (count) { in insw()
126 count--; in insw()
135 count -= 2; in insw()
138 if (count) in insw()
148 if (count) { in insl()
[all …]
/linux-6.15/kernel/irq/
H A Dtimings.c286 irqts->count > 0; irqts->count--, \
294 int count; member
409 count = irqs->count < IRQ_TIMINGS_SIZE ? in __irq_timings_next_event()
457 irqs->count = 0; in __irq_timings_store()
470 irqs->count++; in __irq_timings_store()
503 irqs->count = 0; in irq_timings_store()
640 size_t count; member
719 count = ti->count - 1; in irq_timings_test_next_index()
739 count = min_t(int, count, IRQ_TIMINGS_SIZE); in irq_timings_test_next_index()
809 if (irqs->count != ti->count) { in irq_timings_test_irqs()
[all …]
/linux-6.15/include/trace/events/
H A Dcma.h14 unsigned long count),
22 __field(unsigned long, count)
29 __entry->count = count;
36 __entry->count)
43 TP_ARGS(name, count, align),
53 __entry->count = count;
59 __entry->count,
83 __entry->count = count;
92 __entry->count,
116 __entry->count = count;
[all …]
/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_sysfs.c31 count += sysfs_emit_at(buf, count, in reboot_show()
33 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show()
34 return count; in reboot_show()
152 count += sysfs_emit_at(buf, count, in version_show()
165 count += sysfs_emit_at(buf, count, in version_show()
184 count += sysfs_emit_at(buf, count, in version_show()
190 count += sysfs_emit_at(buf, count, in version_show()
325 count += sysfs_emit_at(buf, count, " USB=%d", in usbpdmuxinfo_show()
327 count += sysfs_emit_at(buf, count, " DP=%d", in usbpdmuxinfo_show()
336 count += sysfs_emit_at(buf, count, " SAFE=%d", in usbpdmuxinfo_show()
[all …]
/linux-6.15/arch/csky/lib/
H A Dstring.c36 if (count < MIN_THRESHOLD) in memcpy()
57 for (; count >= BYTES_LONG; count -= BYTES_LONG) { in memcpy()
75 for (; count >= BYTES_LONG; count -= BYTES_LONG) in memcpy()
80 while (count--) in memcpy()
97 const char *s = src + count; in memmove()
98 char *tmp = dest + count; in memmove()
100 while (count--) in memmove()
111 if (count >= MIN_THRESHOLD) { in memset()
120 for (; count && dest.as_uptr & WORD_MASK; count--) in memset()
124 for (; count >= BYTES_LONG; count -= BYTES_LONG) in memset()
[all …]
/linux-6.15/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c30 if (count == 0) in get_integer()
32 count = min_t(size_t, count, 10); in get_integer()
33 memcpy(tmp, buf, count); in get_integer()
43 if (count != 0) { in get_boolean()
69 ssize_t count = 0; in b43legacy_attr_interfmode_show() local
81 count = sysfs_emit(buf, in b43legacy_attr_interfmode_show()
93 return count; in b43legacy_attr_interfmode_show()
136 return err ? err : count; in b43legacy_attr_interfmode_store()
148 ssize_t count; in b43legacy_attr_preamble_show() local
162 return count; in b43legacy_attr_preamble_show()
[all …]
/linux-6.15/arch/arm64/lib/
H A Dmemset.S31 count .req x2 label
53 cmp count, #15
82 sub count, count, tmp2
89 cmp count, #64
107 ands count, count, #15
108 cbz count, 4f
121 sub count, count, #64
127 subs count, count, #64
196 sub count, count, zva_len_x
200 subs count, count, zva_len_x
[all …]
/linux-6.15/arch/nios2/lib/
H A Dmemmove.c17 if (!count) in memmove()
29 count--; in memmove()
35 count -= 2; in memmove()
37 while (count > 3) { in memmove()
41 count -= 4; in memmove()
44 while (count--) in memmove()
56 count--; in memmove()
62 count -= 2; in memmove()
65 while (count > 3) { in memmove()
68 count -= 4; in memmove()
[all …]
/linux-6.15/drivers/s390/crypto/
H A Dpkey_sysfs.c192 off, count); in protkey_aes_128_read()
202 off, count); in protkey_aes_192_read()
212 off, count); in protkey_aes_256_read()
219 size_t count) in protkey_aes_128_xts_read() argument
222 off, count); in protkey_aes_128_xts_read()
229 size_t count) in protkey_aes_256_xts_read() argument
232 off, count); in protkey_aes_256_xts_read()
239 size_t count) in protkey_aes_xts_128_read() argument
249 size_t count) in protkey_aes_xts_256_read() argument
376 size_t count) in ccadata_aes_128_xts_read() argument
[all …]
/linux-6.15/drivers/acpi/acpica/
H A Dnsprepkg.c59 u32 count; in acpi_ns_check_package() local
83 count = return_object->package.count; in acpi_ns_check_package()
89 if (!count) { in acpi_ns_check_package()
221 count--; in acpi_ns_check_package()
249 count = expected_count; in acpi_ns_check_package()
289 count = 1; in acpi_ns_check_package()
309 if (count & 1) { in acpi_ns_check_package()
314 while (count > 0) { in acpi_ns_check_package()
340 count -= 2; in acpi_ns_check_package()
468 count - in acpi_ns_check_package_list()
[all …]
/linux-6.15/arch/sh/kernel/
H A Dio.c16 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) in memcpy_fromio() argument
23 if ((count >= 0x20) && in memcpy_fromio()
50 : "=&r" (to), "=&r" (count), in memcpy_fromio()
53 : "7"(from), "0" (to), "1" (count) in memcpy_fromio()
59 for (; count > 3; count -= 4) { in memcpy_fromio()
66 for (; count > 0; count--) { in memcpy_fromio()
82 for ( ; count > 3; count -= 4) { in memcpy_toio()
89 for (; count > 0; count--) { in memcpy_toio()
103 void memset_io(volatile void __iomem *dst, int c, unsigned long count) in memset_io() argument
105 while (count) { in memset_io()
[all …]

12345678910>>...296