Home
last modified time | relevance | path

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

12345678910>>...198

/linux-6.3-rc2/arch/parisc/lib/
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-6.3-rc2/drivers/media/tuners/
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.3-rc2/drivers/pci/hotplug/
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.3-rc2/arch/alpha/kernel/
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.3-rc2/drivers/tty/
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-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
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 = 5,
[all …]
/linux-6.3-rc2/arch/mips/include/asm/mach-generic/
A Dide.h60 unsigned int count) in __ide_insw() argument
63 insw(port, addr, count); in __ide_insw()
71 insl(port, addr, count); in __ide_insl()
77 unsigned long count) in __ide_outsw() argument
80 outsw(port, addr, count); in __ide_outsw()
86 unsigned long count) in __ide_outsl() argument
89 outsl(port, addr, count); in __ide_outsl()
131 #define insw(port, addr, count) __ide_insw(port, addr, count) argument
132 #define insl(port, addr, count) __ide_insl(port, addr, count) argument
133 #define outsw(port, addr, count) __ide_outsw(port, addr, count) argument
[all …]
/linux-6.3-rc2/arch/riscv/include/asm/
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.3-rc2/drivers/staging/media/av7110/
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-6.3-rc2/drivers/scsi/pcmcia/
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.3-rc2/arch/arm64/kernel/
A Dio.c21 count--; in __memcpy_fromio()
28 count -= 8; in __memcpy_fromio()
31 while (count) { in __memcpy_fromio()
35 count--; in __memcpy_fromio()
49 count--; in __memcpy_toio()
56 count -= 8; in __memcpy_toio()
59 while (count) { in __memcpy_toio()
63 count--; in __memcpy_toio()
82 count--; in __memset_io()
88 count -= 8; in __memset_io()
[all …]
/linux-6.3-rc2/arch/csky/kernel/
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-6.3-rc2/arch/loongarch/kernel/
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-6.3-rc2/drivers/video/fbdev/
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.3-rc2/include/trace/events/
A Dcma.h22 __field(unsigned long, count)
30 __entry->count = count;
38 __entry->count,
45 unsigned long count),
60 __entry->count = count;
67 __entry->count)
74 TP_ARGS(name, count, align),
84 __entry->count = count;
90 __entry->count,
114 __entry->count = count;
[all …]
/linux-6.3-rc2/lib/
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 …]
/linux-6.3-rc2/arch/sparc/lib/
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.3-rc2/kernel/irq/
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-6.3-rc2/arch/csky/lib/
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.3-rc2/drivers/net/wireless/broadcom/b43legacy/
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
95 return count; in b43legacy_attr_interfmode_show()
110 mode = get_integer(buf, count); in b43legacy_attr_interfmode_store()
138 return err ? err : count; in b43legacy_attr_interfmode_store()
150 ssize_t count; in b43legacy_attr_preamble_show() local
166 return count; in b43legacy_attr_preamble_show()
[all …]
/linux-6.3-rc2/arch/sh/kernel/
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 …]
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 …]
/linux-6.3-rc2/arch/nios2/lib/
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.3-rc2/arch/arm64/lib/
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-6.3-rc2/drivers/acpi/acpica/
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 …]

Completed in 74 milliseconds

12345678910>>...198