Home
last modified time | relevance | path

Searched refs:count (Results 1 - 25 of 14827) sorted by relevance

12345678910>>...594

/kernel/linux/linux-5.10/arch/parisc/lib/
H A Dio.c19 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 < in memcpy_fromio()
106 memset_io(volatile void __iomem *addr, unsigned char val, int count) memset_io() argument
127 insb(unsigned long port, void *dst, unsigned long count) insb() argument
167 insw(unsigned long port, void *dst, unsigned long count) insw() argument
239 insl(unsigned long port, void *dst, unsigned long count) insl() argument
319 outsb(unsigned long port, const void * src, unsigned long count) outsb() argument
337 outsw(unsigned long port, const void *src, unsigned long count) outsw() argument
409 outsl(unsigned long port, const void *src, unsigned long count) outsl() argument
[all...]
/kernel/linux/linux-6.6/arch/parisc/lib/
H A Dio.c19 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 < in memcpy_fromio()
106 memset_io(volatile void __iomem *addr, unsigned char val, int count) memset_io() argument
127 insb(unsigned long port, void *dst, unsigned long count) insb() argument
167 insw(unsigned long port, void *dst, unsigned long count) insw() argument
239 insl(unsigned long port, void *dst, unsigned long count) insl() argument
319 outsb(unsigned long port, const void * src, unsigned long count) outsb() argument
337 outsw(unsigned long port, const void *src, unsigned long count) outsw() argument
409 outsl(unsigned long port, const void *src, unsigned long count) outsl() argument
[all...]
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dio.c260 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
328 insw(unsigned long port, void *dst, unsigned long count) insw() argument
343 ioread32_rep(const void __iomem *port, void *dst, unsigned long count) ioread32_rep() argument
360 insl(unsigned long port, void *dst, unsigned long count) insl() argument
375 iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) iowrite8_rep() argument
382 outsb(unsigned long port, const void *src, unsigned long count) outsb() argument
397 iowrite16_rep(void __iomem *port, const void *src, unsigned long count) iowrite16_rep() argument
422 outsw(unsigned long port, const void *src, unsigned long count) outsw() argument
437 iowrite32_rep(void __iomem *port, const void *src, unsigned long count) iowrite32_rep() argument
454 outsl(unsigned long port, const void *src, unsigned long count) outsl() argument
467 memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio() argument
521 memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio() argument
575 _memset_c_io(volatile void __iomem *to, unsigned long c, long count) _memset_c_io() argument
637 scr_memcpyw(u16 *d, const u16 *s, unsigned int count) scr_memcpyw() argument
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dio.c277 void ioread8_rep(const void __iomem *port, void *dst, unsigned long count) in ioread8_rep() argument
280 if (!count) in ioread8_rep()
282 count--; in ioread8_rep()
287 while (count >= 4) { in ioread8_rep()
289 count -= 4; in ioread8_rep()
298 while (count) { in ioread8_rep()
299 --count; in ioread8_rep()
305 void insb(unsigned long port, void *dst, unsigned long count) in insb() argument
307 ioread8_rep(ioport_map(port, 1), dst, count); in insb()
320 void ioread16_rep(const void __iomem *port, void *dst, unsigned long count) in ioread16_rep() argument
345 insw(unsigned long port, void *dst, unsigned long count) insw() argument
360 ioread32_rep(const void __iomem *port, void *dst, unsigned long count) ioread32_rep() argument
377 insl(unsigned long port, void *dst, unsigned long count) insl() argument
392 iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) iowrite8_rep() argument
399 outsb(unsigned long port, const void *src, unsigned long count) outsb() argument
414 iowrite16_rep(void __iomem *port, const void *src, unsigned long count) iowrite16_rep() argument
439 outsw(unsigned long port, const void *src, unsigned long count) outsw() argument
454 iowrite32_rep(void __iomem *port, const void *src, unsigned long count) iowrite32_rep() argument
471 outsl(unsigned long port, const void *src, unsigned long count) outsl() argument
484 memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio() argument
538 memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio() argument
592 _memset_c_io(volatile void __iomem *to, unsigned long c, long count) _memset_c_io() argument
654 scr_memcpyw(u16 *d, const u16 *s, unsigned int count) scr_memcpyw() argument
[all...]
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/full/
H A Dpthread_rwlock_test_002.cpp34 static const int WRITE_THREAD_COUNT = 5; // 5, set w thread count.
35 static const int READ_THREAD_COUNT = 5; // 5, set read thread count.
37 static const int READ_LOOP_COUNT = 10; // 10, set read loop count.
51 int count; in RwlockWait() local
53 for (count = 0xFFFFFFF; count != 0; count--) { in RwlockWait()
59 int count = 0; in CheckReadThreadExit() local
63 count++; in CheckReadThreadExit()
67 if (count in CheckReadThreadExit()
76 int count = 0; CheckWriteThreadExit() local
94 int count = 0; ThreadReadFunc() local
134 int count = 0; ThreadWriteFunc1() local
179 int count = 0; ThreadWriteFunc() local
222 int count = 0; PthreadRwlockTest() local
[all...]
/kernel/liteos_a/testsuites/unittest/process/lock/rwlock/smoke/
H A Dpthread_rwlock_test_001.cpp34 static const int WRITE_THREAD_COUNT = 7; // 7, set w thread count.
35 static const int READ_THREAD_COUNT = 10; // 10, set read thread count.
36 static const int READ_LOOP_COUNT = 10; // 10, set read loop count.
52 int count; in RwlockWait() local
54 for (count = 0xFFFFFFF; count != 0; count--) { in RwlockWait()
60 int count = 0; in CheckReadThreadExit() local
64 count++; in CheckReadThreadExit()
68 if (count in CheckReadThreadExit()
77 int count = 0; CheckWriteThreadExit() local
95 int count = 0; ThreadReadFunc() local
135 int count = 0; ThreadWriteFunc1() local
180 int count = 0; ThreadWriteFunc() local
222 int count = 0; Testcase() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_ldsem.c12 * 1) Upper half of semaphore count is a wait count (differs from rwsem
67 atomic_long_set(&sem->count, LDSEM_UNLOCKED); in __init_ldsem()
78 long adjust, count; in __ldsem_wake_readers() local
82 * Note the 'active part' of the count is incremented by in __ldsem_wake_readers()
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, coun in __ldsem_wake_readers()
110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); writer_trylock() local
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) down_read_failed() argument
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) down_write_failed() argument
298 long count; __ldsem_down_read_nested() local
317 long count; __ldsem_down_write_nested() local
348 long count = atomic_long_read(&sem->count); ldsem_down_read_trylock() local
374 long count = atomic_long_read(&sem->count); ldsem_down_write_trylock() local
391 long count; ldsem_up_read() local
405 long count; ldsem_up_write() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_ldsem.c12 * 1) Upper half of semaphore count is a wait count (differs from rwsem
67 atomic_long_set(&sem->count, LDSEM_UNLOCKED); in __init_ldsem()
78 long adjust, count; in __ldsem_wake_readers() local
82 * Note the 'active part' of the count is incremented by in __ldsem_wake_readers()
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, coun in __ldsem_wake_readers()
110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); writer_trylock() local
156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) down_read_failed() argument
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) down_write_failed() argument
298 long count; __ldsem_down_read_nested() local
317 long count; __ldsem_down_write_nested() local
348 long count = atomic_long_read(&sem->count); ldsem_down_read_trylock() local
374 long count = atomic_long_read(&sem->count); ldsem_down_write_trylock() local
391 long count; ldsem_up_read() local
405 long count; ldsem_up_write() local
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-generic/
H A Dide.h60 unsigned int count) in __ide_insw()
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()
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()
59 __ide_insw(unsigned long port, void *addr, unsigned int count) __ide_insw() argument
76 __ide_outsw(unsigned long port, const void *addr, unsigned long count) __ide_outsw() argument
85 __ide_outsl(unsigned long port, const void *addr, unsigned long count) __ide_outsl() argument
94 __ide_mm_insw(void __iomem *port, void *addr, u32 count) __ide_mm_insw() argument
102 __ide_mm_insl(void __iomem *port, void *addr, u32 count) __ide_mm_insl() argument
110 __ide_mm_outsw(void __iomem *port, void *addr, u32 count) __ide_mm_outsw() argument
118 __ide_mm_outsl(void __iomem * port, void *addr, u32 count) __ide_mm_outsl() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dtuner-types.c74 .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
[all...]
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dtuner-types.c74 .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
[all...]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dibmphp_pci.c343 int count; in configure_device() local
356 for (count = 0; address[count]; count++) { /* for 6 BARs */ in configure_device()
363 PCI_BASE_ADDRESS_0 + 4 * count, &tmp); in configure_device()
366 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFD); in configure_device()
369 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFF); 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()
546 int count; configure_bridge() local
1049 int count, len[6]; scan_behind_bridge() local
1195 int count; unconfigure_boot_device() local
1306 int count; unconfigure_boot_bridge() local
1536 int count; ibmphp_unconfigure_card() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dibmphp_pci.c342 int count; in configure_device() local
355 for (count = 0; address[count]; count++) { /* for 6 BARs */ in configure_device()
362 PCI_BASE_ADDRESS_0 + 4 * count, &tmp); in configure_device()
365 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFD); in configure_device()
368 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFF); in configure_device()
370 pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF); in configure_device()
371 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &bar[count]); in configure_device()
545 int count; configure_bridge() local
1048 int count, len[6]; scan_behind_bridge() local
1194 int count; unconfigure_boot_device() local
1305 int count; unconfigure_boot_bridge() local
1534 int count; ibmphp_unconfigure_card() local
[all...]
/kernel/linux/linux-5.10/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,
104 .count = 1,
118 .count
[all...]
/kernel/linux/linux-6.6/arch/csky/kernel/
H A Dio.c10 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
12 while (count && !IS_ALIGNED((unsigned long)from, 4)) { in __memcpy_fromio()
16 count--; in __memcpy_fromio()
19 while (count >= 4) { in __memcpy_fromio()
23 count -= 4; in __memcpy_fromio()
26 while (count) { in __memcpy_fromio()
30 count--; in __memcpy_fromio()
38 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
40 while (count && !IS_ALIGNED((unsigned long)to, 4)) { in __memcpy_toio()
44 count in __memcpy_toio()
66 __memset_io(volatile void __iomem *dst, int c, size_t count) __memset_io() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
H A Dnsp_io.h70 unsigned long count) in nsp_multi_read_1()
72 insb(BaseAddr + Register, buf, count); in nsp_multi_read_1()
77 unsigned long count) in nsp_fifo8_read()
79 /*nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count=0x%lx", buf, count);*/ in nsp_fifo8_read()
80 nsp_multi_read_1(base, FIFODATA, buf, count); in nsp_fifo8_read()
89 unsigned long count) in nsp_multi_read_2()
91 insw(BaseAddr + Register, buf, count); in nsp_multi_read_2()
96 unsigned long count) in nsp_fifo16_read()
98 //nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count in nsp_fifo16_read()
67 nsp_multi_read_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_1() argument
75 nsp_fifo8_read(unsigned int base, void *buf, unsigned long count) nsp_fifo8_read() argument
86 nsp_multi_read_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_2() argument
94 nsp_fifo16_read(unsigned int base, void *buf, unsigned long count) nsp_fifo16_read() argument
105 nsp_multi_read_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_4() argument
113 nsp_fifo32_read(unsigned int base, void *buf, unsigned long count) nsp_fifo32_read() argument
124 nsp_multi_write_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_1() argument
132 nsp_fifo8_write(unsigned int base, void *buf, unsigned long count) nsp_fifo8_write() argument
142 nsp_multi_write_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_2() argument
150 nsp_fifo16_write(unsigned int base, void *buf, unsigned long count) nsp_fifo16_write() argument
160 nsp_multi_write_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_4() argument
168 nsp_fifo32_write(unsigned int base, void *buf, unsigned long count) nsp_fifo32_write() argument
219 nsp_mmio_multi_read_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) nsp_mmio_multi_read_4() argument
237 nsp_mmio_fifo32_read(unsigned int base, void *buf, unsigned long count) nsp_mmio_fifo32_read() argument
245 nsp_mmio_multi_write_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) nsp_mmio_multi_write_4() argument
263 nsp_mmio_fifo32_write(unsigned int base, void *buf, unsigned long count) nsp_mmio_fifo32_write() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/pcmcia/
H A Dnsp_io.h70 unsigned long count) in nsp_multi_read_1()
72 insb(BaseAddr + Register, buf, count); in nsp_multi_read_1()
77 unsigned long count) in nsp_fifo8_read()
79 /*nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count=0x%lx", buf, count);*/ in nsp_fifo8_read()
80 nsp_multi_read_1(base, FIFODATA, buf, count); in nsp_fifo8_read()
89 unsigned long count) in nsp_multi_read_2()
91 insw(BaseAddr + Register, buf, count); in nsp_multi_read_2()
96 unsigned long count) in nsp_fifo16_read()
98 //nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count in nsp_fifo16_read()
67 nsp_multi_read_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_1() argument
75 nsp_fifo8_read(unsigned int base, void *buf, unsigned long count) nsp_fifo8_read() argument
86 nsp_multi_read_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_2() argument
94 nsp_fifo16_read(unsigned int base, void *buf, unsigned long count) nsp_fifo16_read() argument
105 nsp_multi_read_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_read_4() argument
113 nsp_fifo32_read(unsigned int base, void *buf, unsigned long count) nsp_fifo32_read() argument
124 nsp_multi_write_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_1() argument
132 nsp_fifo8_write(unsigned int base, void *buf, unsigned long count) nsp_fifo8_write() argument
142 nsp_multi_write_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_2() argument
150 nsp_fifo16_write(unsigned int base, void *buf, unsigned long count) nsp_fifo16_write() argument
160 nsp_multi_write_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) nsp_multi_write_4() argument
168 nsp_fifo32_write(unsigned int base, void *buf, unsigned long count) nsp_fifo32_write() argument
219 nsp_mmio_multi_read_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) nsp_mmio_multi_read_4() argument
237 nsp_mmio_fifo32_read(unsigned int base, void *buf, unsigned long count) nsp_mmio_fifo32_read() argument
245 nsp_mmio_multi_write_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) nsp_mmio_multi_write_4() argument
263 nsp_mmio_fifo32_write(unsigned int base, void *buf, unsigned long count) nsp_mmio_fifo32_write() argument
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dio.h77 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)
111 #define readsw(addr, buffer, count) __readsw(addr, buffer, count)
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dio.h64 unsigned int count) \
67 if (count) { \
73 } while (--count); \
81 unsigned int count) \
84 if (count) { \
89 } while (--count); \
97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count)
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count)
[all...]
/kernel/linux/linux-5.10/lib/
H A Dlockref.c37 * lockref_get - Increments reference count unconditionally
41 * to the object, so you know the count cannot be zero.
46 new.count++; in lockref_get()
52 lockref->count++; in lockref_get()
58 * lockref_get_not_zero - Increments count unless the count is 0 or dead
60 * Return: 1 if count updated successfully or 0 if count was zero
67 new.count++; in lockref_get_not_zero()
68 if (old.count < in lockref_get_not_zero()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Datafb_utils.h49 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 < 1 in fb_memclear()
118 fb_memset255(void *s, size_t count) fb_memset255() argument
145 fb_memmove(void *d, const void *s, size_t count) fb_memmove() argument
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Datafb_utils.h49 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 < 1 in fb_memclear()
118 fb_memset255(void *s, size_t count) fb_memset255() argument
145 fb_memmove(void *d, const void *s, size_t count) fb_memmove() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
H A Dav7110_ipack.c20 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 in send_ipack()
123 write_ipack(struct ipack *p, const u8 *data, int count) write_ipack() argument
146 av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p) av7110_ipack_instant_repack() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/av7110/
H A Dav7110_ipack.c20 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 in send_ipack()
123 write_ipack(struct ipack *p, const u8 *data, int count) write_ipack() argument
146 av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p) av7110_ipack_instant_repack() argument
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dio.c16 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
18 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio()
22 count--; in __memcpy_fromio()
25 while (count >= 8) { in __memcpy_fromio()
29 count -= 8; in __memcpy_fromio()
32 while (count) { in __memcpy_fromio()
36 count--; in __memcpy_fromio()
44 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
46 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio()
50 count in __memcpy_toio()
72 __memset_io(volatile void __iomem *dst, int c, size_t count) __memset_io() argument
[all...]

Completed in 19 milliseconds

12345678910>>...594