Home
last modified time | relevance | path

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

12345678910>>...168

/linux/arch/parisc/lib/
H A Dio.c26 count--; in memcpy_toio()
32 count -= 4; in memcpy_toio()
68 count--; in memcpy_fromio()
111 count--; in memset_io()
136 count--; in insb()
153 --count; in insb()
196 count--; in insw()
214 --count; in insw()
260 --count; in insl()
276 --count; in insl()
[all …]
/linux/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/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/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/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
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 = atomic_long_read(&sem->count); in ldsem_down_write_trylock() local
377 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_WRITE_BIAS)) { in ldsem_down_write_trylock()
[all …]
/linux/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/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/arch/arm64/kernel/
H A Dio.c21 count--; in __memcpy_fromio()
28 count -= 8; in __memcpy_fromio()
31 while (count) { in __memcpy_fromio()
35 count--; in __memcpy_fromio()
91 count--; in __memcpy_toio()
98 count -= 8; in __memcpy_toio()
101 while (count) { in __memcpy_toio()
105 count--; in __memcpy_toio()
124 count--; in __memset_io()
130 count -= 8; in __memset_io()
[all …]
/linux/drivers/staging/media/av7110/
H A Dav7110_ipack.c20 p->count = 0; in av7110_ipack_reset()
86 p->count = 9; in send_ipack()
89 p->count += 4; in send_ipack()
106 p->count = 7; in send_ipack()
129 p->count = 6; in write_ipack()
132 if (p->count + count < p->size){ in write_ipack()
133 memcpy(p->buf+p->count, data, count); in write_ipack()
134 p->count += count; in write_ipack()
254 return count; in av7110_ipack_instant_repack()
389 c = count; in av7110_ipack_instant_repack()
[all …]
/linux/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()
119 dbm_assert(dbm, count); in dbm_reserve_chunk_locked()
124 if (!dbm->count) in dbm_reserve_chunk_locked()
129 if (used + count + spare > dbm->count) in dbm_reserve_chunk_locked()
133 index = bitmap_find_next_zero_area(dbm->bitmap, dbm->count, 0, count, 0); in dbm_reserve_chunk_locked()
134 if (index >= dbm->count) in dbm_reserve_chunk_locked()
[all …]
/linux/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/arch/csky/kernel/
H A Dio.c16 count--; in __memcpy_fromio()
23 count -= 4; in __memcpy_fromio()
26 while (count) { in __memcpy_fromio()
30 count--; in __memcpy_fromio()
44 count--; in __memcpy_toio()
51 count -= 4; in __memcpy_toio()
54 while (count) { in __memcpy_toio()
58 count--; in __memcpy_toio()
76 count--; in __memset_io()
82 count -= 4; in __memset_io()
[all …]
/linux/arch/loongarch/kernel/
H A Dio.c18 count--; in __memcpy_fromio()
25 count -= 8; in __memcpy_fromio()
28 while (count) { in __memcpy_fromio()
32 count--; in __memcpy_fromio()
46 count--; in __memcpy_toio()
53 count -= 8; in __memcpy_toio()
56 while (count) { in __memcpy_toio()
60 count--; in __memcpy_toio()
79 count--; in __memset_io()
85 count -= 8; in __memset_io()
[all …]
/linux/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/lib/
H A Dlockref.c45 new.count++; in lockref_get()
51 lockref->count++; in lockref_get()
66 new.count++; in lockref_get_not_zero()
76 lockref->count++; in lockref_get_not_zero()
94 new.count--; in lockref_put_not_zero()
104 lockref->count--; in lockref_put_not_zero()
122 new.count--; in lockref_put_return()
126 return new.count; in lockref_put_return()
140 new.count--; in lockref_put_or_lock()
150 lockref->count--; in lockref_put_or_lock()
[all …]
H A Dpercpu_counter.c89 s64 count; in percpu_counter_add_batch() local
96 fbc->count += count; in percpu_counter_add_batch()
115 s64 count; in percpu_counter_sync() local
119 fbc->count += count; in percpu_counter_sync()
144 ret = fbc->count; in __percpu_counter_sum()
260 s64 count; in __percpu_counter_compare() local
265 if (count > rhs) in __percpu_counter_compare()
272 if (count > rhs) in __percpu_counter_compare()
296 s64 count; in __percpu_counter_limited_add() local
318 count = fbc->count + amount; in __percpu_counter_limited_add()
[all …]
/linux/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/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()
639 size_t count; member
718 count = ti->count - 1; in irq_timings_test_next_index()
738 count = min_t(int, count, IRQ_TIMINGS_SIZE); in irq_timings_test_next_index()
808 if (irqs->count != ti->count) { in irq_timings_test_irqs()
[all …]
/linux/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/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/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/arch/sh/kernel/
H A Diomap.c79 while (--count >= 0) { in mmio_insb()
88 while (--count >= 0) { in mmio_insw()
97 while (--count >= 0) { in mmio_insl()
106 while (--count >= 0) { in mmio_outsb()
114 while (--count >= 0) { in mmio_outsw()
122 while (--count >= 0) { in mmio_outsl()
130 mmio_insb(addr, dst, count); in ioread8_rep()
136 mmio_insw(addr, dst, count); in ioread16_rep()
142 mmio_insl(addr, dst, count); in ioread32_rep()
148 mmio_outsb(addr, src, count); in iowrite8_rep()
[all …]
/linux/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/arch/arm64/lib/
H A Dmemset.S30 count .req x2 label
52 cmp count, #15
81 sub count, count, tmp2
88 cmp count, #64
106 ands count, count, #15
107 cbz count, 4f
120 sub count, count, #64
126 subs count, count, #64
195 sub count, count, zva_len_x
199 subs count, count, zva_len_x
[all …]
/linux/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 …]

12345678910>>...168