| /OK3568_Linux_fs/kernel/arch/parisc/lib/ |
| H A D | io.c | 19 void memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() argument 26 count--; in memcpy_toio() 28 while (count > 3) { in memcpy_toio() 32 count -= 4; in memcpy_toio() 35 while (count--) { in memcpy_toio() 54 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() argument 57 if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) ) in memcpy_fromio() 60 if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) ) in memcpy_fromio() 68 count--; in memcpy_fromio() 69 if (count < 2) goto bytecopy; in memcpy_fromio() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | tuner-types.c | 74 .count = ARRAY_SIZE(tuner_temic_pal_ranges), 90 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges), 106 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges), 123 .count = ARRAY_SIZE(tuner_philips_secam_ranges), 140 .count = ARRAY_SIZE(tuner_philips_pal_ranges), 157 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges), 173 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges), 189 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges), 205 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), 216 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/hotplug/ |
| H A D | ibmphp_pci.c | 343 int count; in configure_device() local 356 for (count = 0; address[count]; count++) { /* for 6 BARs */ in configure_device() 371 pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF); in configure_device() 372 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]); in configure_device() 374 if (!bar[count]) /* This BAR is not implemented */ in configure_device() 377 debug("Device %x BAR %d wants %x\n", func->device, count, bar[count]); in configure_device() 379 if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) { in configure_device() 383 len[count] = bar[count] & 0xFFFFFFFC; in configure_device() 384 len[count] = ~len[count] + 1; in configure_device() 386 debug("len[count] in IO %x, count %d\n", len[count], count); in configure_device() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | io.c | 260 void ioread8_rep(const void __iomem *port, void *dst, unsigned long count) in ioread8_rep() argument 263 if (!count) in ioread8_rep() 265 count--; in ioread8_rep() 270 while (count >= 4) { in ioread8_rep() 272 count -= 4; in ioread8_rep() 281 while (count) { in ioread8_rep() 282 --count; in ioread8_rep() 288 void insb(unsigned long port, void *dst, unsigned long count) in insb() argument 290 ioread8_rep(ioport_map(port, 1), dst, count); in insb() 303 void ioread16_rep(const void __iomem *port, void *dst, unsigned long count) in ioread16_rep() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | tty_ldsem.c | 67 atomic_long_set(&sem->count, LDSEM_UNLOCKED); in __init_ldsem() 78 long adjust, count; in __ldsem_wake_readers() local 86 count = atomic_long_add_return(adjust, &sem->count); in __ldsem_wake_readers() 88 if (count > 0) in __ldsem_wake_readers() 90 if (atomic_long_try_cmpxchg(&sem->count, &count, count - adjust)) in __ldsem_wake_readers() 110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); in writer_trylock() local 112 if ((count & LDSEM_ACTIVE_MASK) == LDSEM_ACTIVE_BIAS) in writer_trylock() 114 if (atomic_long_try_cmpxchg(&sem->count, &count, count - LDSEM_ACTIVE_BIAS)) in writer_trylock() 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() argument 170 if (atomic_long_try_cmpxchg(&sem->count, &count, count + adjust)) { in down_read_failed() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_cfg.c | 20 .count = 1, 34 .count = 5, 39 .count = 3, 48 .count = 3, 56 .count = 2, 63 .count = 5, 82 .count = 3, 86 .count = 3, 104 .count = 1, 118 .count = 5, [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/ |
| H A D | tst_geocoding.qml | 71 compare (querySpy.count, 0) 73 compare (querySpy.count, 1) 76 compare (querySpy.count, 1) 80 compare (querySpy.count, 2) 83 compare (querySpy.count, 2) 87 compare (querySpy.count, 3) 90 compare (querySpy.count, 3) 94 compare (limitSpy.count, 0) 95 compare (offsetSpy.count, 0) 99 compare (limitSpy.count, 1) [all …]
|
| H A D | tst_routing.qml | 97 compare(mapRouteRouteSpy.count, 0) 98 compare(mapRouteColorSpy.count, 0) 99 compare(mapRouteDetailLevelSpy.count, 0) 103 compare(mapRouteRouteSpy.count, 0) 104 compare(mapRouteColorSpy.count, 1) 105 compare(mapRouteDetailLevelSpy.count, 1) 108 compare(mapRouteColorSpy.count, 1) 109 compare(mapRouteDetailLevelSpy.count, 1) 111 compare(mapRouteRouteSpy.count, 1) 114 compare(mapRouteWidthSpy.count, 0) [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-generic/ |
| H A D | ide.h | 60 unsigned int count) in __ide_insw() argument 63 insw(port, addr, count); in __ide_insw() 64 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_insw() 68 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) in __ide_insl() argument 71 insl(port, addr, count); in __ide_insl() 72 __ide_flush_dcache_range((unsigned long)addr, count * 4); in __ide_insl() 77 unsigned long count) in __ide_outsw() argument 80 outsw(port, addr, count); in __ide_outsw() 81 __ide_flush_dcache_range((unsigned long)addr, count * 2); in __ide_outsw() 86 unsigned long count) in __ide_outsl() argument [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/ |
| H A D | tst_map_mouse.qml | 256 compare(mouseUpperEnabledChangedSpy.count, 1) 257 compare(mouseUpperClickedSpy.count, 0) 259 compare(mouseUpperClickedSpy.count, 0) 262 tryCompare(mouseUpperClickedSpy, "count", 1) 263 compare(mouseUpperEnabledChangedSpy.count, 2) 265 compare(mouseOverlapperClickedSpy.count, 0) 267 tryCompare(mouseUpperClickedSpy, "count", 1) 268 compare(mouseOverlapperClickedSpy.count, 1) 270 compare(mouseOverlapperEnabledChangedSpy.count, 1) 273 tryCompare(mouseOverlapperClickedSpy, "count", 1) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/ |
| H A D | av7110_ipack.c | 20 p->count = 0; in av7110_ipack_reset() 56 if (p->count < 10) in send_ipack() 59 p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8); in send_ipack() 60 p->buf[5] = (u8)((p->count - 6) & 0x00ff); in send_ipack() 68 if (ac3_off < p->count) in send_ipack() 70 p->count - ac3_off, &ai, 0); in send_ipack() 72 nframes = (p->count - off - 3 - ac3_off) / in send_ipack() 77 ac3_off += nframes * ai.framesize - p->count; in send_ipack() 81 p->func(p->buf, p->count, p->data); in send_ipack() 86 p->count = 9; in send_ipack() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_ex_fun.c | 85 struct file *filp, const char __user *buff, size_t count, loff_t *ppos) in fts_debug_write() argument 89 int buflen = count; in fts_debug_write() 211 struct file *filp, char __user *buff, size_t count, loff_t *ppos) in fts_debug_read() argument 215 int buflen = count; in fts_debug_read() 298 int buflen = count; in fts_debug_write() 420 char *page, char **start, off_t off, int count, int *eof, void *data ) in fts_debug_read() argument 424 int buflen = count; in fts_debug_read() 541 ssize_t count = 0; in fts_hw_reset_show() local 545 count = snprintf(buf, PAGE_SIZE, "hw reset executed\n"); in fts_hw_reset_show() 548 return count; in fts_hw_reset_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/pcmcia/ |
| H A D | nsp_io.h | 70 unsigned long count) in nsp_multi_read_1() argument 72 insb(BaseAddr + Register, buf, count); in nsp_multi_read_1() 77 unsigned long count) in nsp_fifo8_read() argument 80 nsp_multi_read_1(base, FIFODATA, buf, count); in nsp_fifo8_read() 89 unsigned long count) in nsp_multi_read_2() argument 91 insw(BaseAddr + Register, buf, count); in nsp_multi_read_2() 96 unsigned long count) in nsp_fifo16_read() argument 99 nsp_multi_read_2(base, FIFODATA, buf, count); in nsp_fifo16_read() 108 unsigned long count) in nsp_multi_read_4() argument 110 insl(BaseAddr + Register, buf, count); in nsp_multi_read_4() [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/include/asm/ |
| H A D | io.h | 77 unsigned int count) \ 80 if (count) { \ 86 } while (--count); \ 94 unsigned int count) \ 97 if (count) { \ 102 } while (--count); \ 110 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 111 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 112 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 117 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | atafb_utils.h | 49 static inline void *fb_memclear_small(void *s, size_t count) in fb_memclear_small() argument 51 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() 69 : "=a" (s), "=d" (count) in fb_memclear_small() 70 : "d" (0), "0" (s), "1" (count) in fb_memclear_small() 78 static inline void *fb_memclear(void *s, size_t count) in fb_memclear() argument 80 if (!count) in fb_memclear() 83 if (count < 16) { in fb_memclear() 90 : "=a" (s), "=d" (count) in fb_memclear() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | lockref.c | 47 new.count++; in lockref_get() 53 lockref->count++; in lockref_get() 68 new.count++; in lockref_get_not_zero() 69 if (old.count <= 0) in lockref_get_not_zero() 77 if (lockref->count > 0) { in lockref_get_not_zero() 78 lockref->count++; in lockref_get_not_zero() 96 new.count--; in lockref_put_not_zero() 97 if (old.count <= 1) in lockref_put_not_zero() 105 if (lockref->count > 1) { in lockref_put_not_zero() 106 lockref->count--; in lockref_put_not_zero() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/irq/ |
| H A D | timings.c | 282 for (i = irqts->count < IRQ_TIMINGS_SIZE ? \ 283 0 : irqts->count & IRQ_TIMINGS_MASK, \ 284 irqts->count = min(IRQ_TIMINGS_SIZE, \ 285 irqts->count); \ 286 irqts->count > 0; irqts->count--, \ 294 int count; member 384 int index, i, period_max, count, start, min = INT_MAX; in __irq_timings_next_event() local 387 irqs->count = irqs->last_ts = 0; in __irq_timings_next_event() 396 period_max = irqs->count > (3 * PREDICTION_PERIOD_MAX) ? in __irq_timings_next_event() 397 PREDICTION_PERIOD_MAX : irqs->count / 3; in __irq_timings_next_event() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | io.c | 15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 17 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio() 21 count--; in __memcpy_fromio() 24 while (count >= 8) { in __memcpy_fromio() 28 count -= 8; in __memcpy_fromio() 31 while (count) { in __memcpy_fromio() 35 count--; in __memcpy_fromio() 43 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 45 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio() 49 count--; in __memcpy_toio() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_sysfs.c | 28 int count = 0; in reboot_show() local 30 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show() 32 count += scnprintf(buf + count, PAGE_SIZE - count, in reboot_show() 34 return count; in reboot_show() 39 const char *buf, size_t count) in reboot_store() argument 94 count = -EINVAL; in reboot_store() 104 count = ret; in reboot_store() 107 return count; in reboot_store() 119 int count = 0; in version_show() local 133 count = ret; in version_show() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/qgeosatelliteinfosource/ |
| H A D | testqgeosatelliteinfosource.cpp | 260 QTRY_VERIFY_WITH_TIMEOUT((spyView.count() == 1) && (spyUse.count() == 1), 9500); in startUpdates_testIntervals() 262 …QTRY_VERIFY_WITH_TIMEOUT((spyView.count() == 1) && (spyUse.count() == 1) && (timeout.count() == 0)… in startUpdates_testIntervals() 294 QTRY_VERIFY_WITH_TIMEOUT((spyView.count() > 0) && (spyUse.count() > 0), 7000); in startUpdates_testIntervalChangesWhileRunning() 295 QCOMPARE(timeout.count(), 0); in startUpdates_testIntervalChangesWhileRunning() 301 …QTRY_VERIFY_WITH_TIMEOUT((spyView.count() == 2) && (spyUse.count() == 2) && (timeout.count() == 0)… in startUpdates_testIntervalChangesWhileRunning() 307 …QTRY_VERIFY_WITH_TIMEOUT((spyView.count() == 2) && (spyUse.count() == 2) && (timeout.count() == 0)… in startUpdates_testIntervalChangesWhileRunning() 313 …QTRY_VERIFY_WITH_TIMEOUT((spyView.count() == 2) && (spyUse.count() == 2) && (timeout.count() == 0)… in startUpdates_testIntervalChangesWhileRunning() 319 …QTRY_VERIFY_WITH_TIMEOUT( (spyView.count() == 2) && (spyUse.count() == 2) && (timeout.count() == 0… in startUpdates_testIntervalChangesWhileRunning() 325 …QTRY_VERIFY_WITH_TIMEOUT( (spyView.count() > 0 ) && (spyUse.count() > 0) && (timeout.count() == 0)… in startUpdates_testIntervalChangesWhileRunning() 331 …QTRY_VERIFY_WITH_TIMEOUT( (spyView.count() > 0 ) && (spyUse.count() > 0) && (timeout.count() == 0)… in startUpdates_testIntervalChangesWhileRunning() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| H A D | PeeCeeI.c | 13 void outsb(unsigned long __addr, const void *src, unsigned long count) in outsb() argument 18 while (count--) in outsb() 23 void outsw(unsigned long __addr, const void *src, unsigned long count) in outsw() argument 27 while (count--) { in outsw() 34 void outsl(unsigned long __addr, const void *src, unsigned long count) in outsl() argument 39 if (!count) in outsl() 45 while (count--) { in outsl() 52 while (count--) { in outsl() 64 while (count--) { in outsl() 76 while (count--) { in outsl() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_ex_fun.c | 92 static ssize_t fts_debug_write(struct file *filp, const char __user *buff, size_t count, loff_t *pp… in fts_debug_write() argument 96 int buflen = count; in fts_debug_write() 207 static ssize_t fts_debug_read(struct file *filp, char __user *buff, size_t count, loff_t *ppos) in fts_debug_read() argument 211 int buflen = count; in fts_debug_read() 414 off_t off, int count, int *eof, void *data ) in fts_debug_read() argument 420 int buflen = count; in fts_debug_read() 545 …ts_hw_reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in fts_hw_reset_store() argument 553 ssize_t count = 0; in fts_hw_reset_show() local 557 count = snprintf(buf, PAGE_SIZE, "hw reset executed\n"); in fts_hw_reset_show() 560 return count; in fts_hw_reset_show() [all …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | cma.h | 14 unsigned int count, unsigned int align), 16 TP_ARGS(name, pfn, page, count, align), 22 __field(unsigned int, count) 30 __entry->count = count; 38 __entry->count, 45 unsigned int count), 47 TP_ARGS(name, pfn, page, count), 53 __field(unsigned int, count) 60 __entry->count = count; 67 __entry->count) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | sysfs.c | 25 static int get_integer(const char *buf, size_t count) in get_integer() argument 30 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() 41 static int get_boolean(const char *buf, size_t count) in get_boolean() argument 43 if (count != 0) { in get_boolean() 48 if (count >= 4 && memcmp(buf, "true", 4) == 0) in get_boolean() 50 if (count >= 5 && memcmp(buf, "false", 5) == 0) in get_boolean() 52 if (count >= 3 && memcmp(buf, "yes", 3) == 0) in get_boolean() 54 if (count >= 2 && memcmp(buf, "no", 2) == 0) in get_boolean() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | nsprepkg.c | 22 union acpi_operand_object **elements, u32 count); 33 union acpi_operand_object **elements, u32 count); 59 u32 count; in acpi_ns_check_package() local 71 return_object->package.count)); in acpi_ns_check_package() 83 count = return_object->package.count; in acpi_ns_check_package() 89 if (!count) { in acpi_ns_check_package() 110 status = acpi_ns_custom_package(info, elements, count); in acpi_ns_check_package() 122 if (count < expected_count) { in acpi_ns_check_package() 124 } else if (count > expected_count) { in acpi_ns_check_package() 128 info->full_pathname, count, in acpi_ns_check_package() [all …]
|