Home
last modified time | relevance | path

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

12345678910>>...174

/linux/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/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/arch/alpha/kernel/
A Dio.c263 if (!count) in ioread8_rep()
265 count--; in ioread8_rep()
272 count -= 4; in ioread8_rep()
282 --count; in ioread8_rep()
306 if (!count) in ioread16_rep()
309 count--; in ioread16_rep()
316 count -= 2; in ioread16_rep()
405 --count; in iowrite16_rep()
507 count--; in memcpy_fromio()
562 count--; in memcpy_toio()
[all …]
/linux/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/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/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/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/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
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
127 #define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count) argument
[all …]
/linux/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/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/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/lib/
A Dlockref.c47 new.count++; in lockref_get()
53 lockref->count++; in lockref_get()
68 new.count++; in lockref_get_not_zero()
78 lockref->count++; in lockref_get_not_zero()
96 new.count--; in lockref_put_not_zero()
123 new.count++; in lockref_get_or_lock()
133 lockref->count++; in lockref_get_or_lock()
149 new.count--; in lockref_put_return()
167 new.count--; in lockref_put_or_lock()
177 lockref->count--; in lockref_put_or_lock()
[all …]
A Dstring.c113 while (count) { in strncpy()
117 count--; in strncpy()
181 if (count == 0 || WARN_ON_ONCE(count > INT_MAX)) in strscpy()
224 count--; in strscpy()
293 if (count) { in strncat()
376 count--; in strncmp()
530 ++count; in strspn()
532 return count; in strspn()
555 ++count; in strcspn()
557 return count; in strcspn()
[all …]
/linux/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/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/drivers/platform/chrome/
A Dcros_ec_sysfs.c30 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show()
32 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show()
141 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
143 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
145 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
155 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
160 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
169 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
178 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
180 count += scnprintf(buf + count, PAGE_SIZE - count, in version_show()
[all …]
/linux/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/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/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 …]
/linux/include/trace/events/
A Dcma.h22 __field(unsigned long, count)
30 __entry->count = count;
38 __entry->count,
45 unsigned long count),
53 __field(unsigned long, count)
60 __entry->count = count;
67 __entry->count)
74 TP_ARGS(name, count, align),
78 __field(unsigned long, count)
84 __entry->count = count;
[all …]
/linux/drivers/gpu/drm/savage/
A Dsavage_state.c208 unsigned int count = cmd_header->state.count; in savage_dispatch_state() local
215 if (!count) in savage_dispatch_state()
267 unsigned int n = count < 255 ? count : 255; in savage_dispatch_state()
270 count -= n; in savage_dispatch_state()
276 count = count2; in savage_dispatch_state()
418 n -= count; in savage_dispatch_dma_prim()
537 n -= count; in savage_dispatch_vb_prim()
678 idx += count; in savage_dispatch_dma_idx()
679 n -= count; in savage_dispatch_dma_idx()
793 idx += count; in savage_dispatch_vb_idx()
[all …]
/linux/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 …]
/linux/arch/arm64/lib/
A Dmemset.S30 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/fs/sysv/
A Dballoc.c48 unsigned count; in sysv_free_block() local
76 if (count == sbi->s_flc_size || count == 0) { in sysv_free_block()
90 count = 0; in sysv_free_block()
106 unsigned count; in sysv_new_block() local
128 unsigned count; in sysv_new_block() local
163 int count; in sysv_count_free_blocks() local
184 count = 0; in sysv_count_free_blocks()
193 count++; in sysv_count_free_blocks()
212 if (count != sb_count) in sysv_count_free_blocks()
216 return count; in sysv_count_free_blocks()
[all …]
/linux/drivers/media/usb/pvrusb2/
A Dpvrusb2-debugifc.c19 unsigned int count) in debugifc_count_whitespace() argument
36 unsigned int count) in debugifc_count_nonwhitespace() argument
64 if (!count) goto done; in debugifc_isolate_word()
87 count -= 2; in debugifc_parse_unsigned_number()
93 while (count--) { in debugifc_parse_unsigned_number()
111 if (kl != count) return 0; in debugifc_match_keyword()
180 unsigned int count) in pvr2_debugifc_do1cmd() argument
188 count -= scnt; buf += scnt; in pvr2_debugifc_do1cmd()
290 unsigned int count) in pvr2_debugifc_docmd() argument
295 while (count) { in pvr2_debugifc_docmd()
[all …]

Completed in 58 milliseconds

12345678910>>...174