Home
last modified time | relevance | path

Searched full:count (Results 1 – 25 of 6639) sorted by relevance

12345678910>>...266

/linux/arch/alpha/kernel/
H A Dio.c275 * Read COUNT 8-bit bytes from port PORT into memory starting at SRC.
277 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 ioread16_rep(const void __iomem * port,void * dst,unsigned long count) 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
658 scr_memcpyw(u16 * d,const u16 * s,unsigned int count) scr_memcpyw() argument
688 scr_memmovew(u16 * d,const u16 * s,unsigned int count) scr_memmovew() argument
[all...]
/linux/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...]
/linux/tools/usb/
H A Dhcd-tests.sh32 declare -i COUNT BUFLEN
34 COUNT=50000
51 if ! ./testusb $TEST_ARGS -s $BUFLEN -c $COUNT $* 2>/dev/null
95 COUNT=5000
98 # FIXME automatically multiply COUNT by 10 when
101 # COUNT=50000
126 echo "test 1: $COUNT transfers, same size"
128 echo "test 3: $COUNT transfers, variable/short size"
131 COUNT=100
132 echo "test 17: $COUNT transfer
[all...]
/linux/lib/
H A Dlockref.c36 * lockref_get - Increments reference count unconditionally
40 * to the object, so you know the count cannot be zero.
45 new.count++; in lockref_get()
51 lockref->count++; in lockref_get()
57 * lockref_get_not_zero - Increments count unless the count is 0 or dead
59 * Return: 1 if count updated successfully or 0 if count was zero
66 new.count++; in lockref_get_not_zero()
67 if (old.count < in lockref_get_not_zero()
[all...]
H A Dpercpu_counter.c70 fbc->count = amount; in percpu_counter_set()
95 s64 count; in percpu_counter_add_batch() local
98 count = this_cpu_read(*fbc->counters); in percpu_counter_add_batch()
100 if (unlikely(abs(count + amount) >= batch)) { in percpu_counter_add_batch()
106 count = __this_cpu_read(*fbc->counters); in percpu_counter_add_batch()
107 fbc->count += count + amount; in percpu_counter_add_batch()
108 __this_cpu_sub(*fbc->counters, count); in percpu_counter_add_batch()
112 } while (!this_cpu_try_cmpxchg(*fbc->counters, &count, count in percpu_counter_add_batch()
122 s64 count; percpu_counter_add_batch() local
149 s64 count; percpu_counter_sync() local
294 s64 count; __percpu_counter_compare() local
330 s64 count; __percpu_counter_limited_add() local
[all...]
H A Diomem_copy.c17 * @count: The number of bytes to set
21 void memset_io(volatile void __iomem *addr, int val, size_t count) in memset_io() argument
27 while (count && !IS_ALIGNED((long)addr, sizeof(long))) { in memset_io()
30 count--; in memset_io()
33 while (count >= sizeof(long)) { in memset_io()
41 count -= sizeof(long); in memset_io()
44 while (count) { in memset_io()
47 count--; in memset_io()
58 * @count: The number of bytes to copy
62 void memcpy_fromio(void *dst, const volatile void __iomem *src, size_t count) in memcpy_fromio() argument
104 memcpy_toio(volatile void __iomem * dst,const void * src,size_t count) memcpy_toio() argument
[all...]
/linux/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; ldsem_up_read() local
388 long count; ldsem_up_write() local
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelakex/
H A Dfloating-point.json12 "BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
16 "PublicDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
21 "BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
25 "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twic
[all...]
/linux/tools/perf/pmu-events/arch/x86/tigerlake/
H A Dfloating-point.json12 "BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
16 "PublicDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
21 "BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
25 "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twic
[all...]
/linux/tools/perf/pmu-events/arch/x86/icelake/
H A Dfloating-point.json12 "BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
16 "PublicDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
21 "BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
25 "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twic
[all...]
/linux/tools/perf/pmu-events/arch/x86/rocketlake/
H A Dfloating-point.json12 "BriefDescription": "Counts number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
16 "PublicDescription": "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 2 computation operations, one for each element. Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events.",
21 "BriefDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below. Each count represents 4 computation operations, one for each element. Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX RCP14 RSQRT14 SQRT DPP FM(N)ADD/SUB. DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element.",
25 "PublicDescription": "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twic
[all...]
/linux/tools/perf/pmu-events/arch/riscv/andes/ax45/
H A Dinstructions.json5 "BriefDescription": "Cycle count"
10 "BriefDescription": "Retired instruction count"
15 "BriefDescription": "Integer load instruction count"
20 "BriefDescription": "Integer store instruction count"
25 "BriefDescription": "Atomic instruction count"
30 "BriefDescription": "System instruction count"
35 "BriefDescription": "Integer computational instruction count"
40 "BriefDescription": "Conditional branch instruction count"
45 "BriefDescription": "Taken conditional branch instruction count"
50 "BriefDescription": "JAL instruction count"
[all...]
/linux/include/trace/events/
H A Dcma.h14 unsigned long count),
16 TP_ARGS(name, pfn, page, count),
22 __field(unsigned long, count)
29 __entry->count = count;
32 TP_printk("name=%s pfn=0x%lx page=%p count=%lu",
36 __entry->count)
41 TP_PROTO(const char *name, unsigned long count, unsigned int align),
43 TP_ARGS(name, count, align),
47 __field(unsigned long, count)
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c58 weight = bitmap_weight(dbm->bitmap, dbm->count); in __fini_dbm()
63 weight, dbm->count); in __fini_dbm()
69 dbm->count = 0; in __fini_dbm()
77 * @count: number of doorbells to manage
79 * The bare-metal or PF driver can pass ~0 as &count to indicate that all
87 int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count) in xe_guc_db_mgr_init() argument
91 if (count == ~0) in xe_guc_db_mgr_init()
92 count = GUC_NUM_DOORBELLS; in xe_guc_db_mgr_init()
95 dbm_assert(dbm, count <= GUC_NUM_DOORBELLS); in xe_guc_db_mgr_init()
97 if (!count) in xe_guc_db_mgr_init()
115 dbm_reserve_chunk_locked(struct xe_guc_db_mgr * dbm,unsigned int count,unsigned int spare) dbm_reserve_chunk_locked() argument
144 dbm_release_chunk_locked(struct xe_guc_db_mgr * dbm,unsigned int start,unsigned int count) dbm_release_chunk_locked() argument
200 xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr * dbm,unsigned int count,unsigned int spare) xe_guc_db_mgr_reserve_range() argument
218 xe_guc_db_mgr_release_range(struct xe_guc_db_mgr * dbm,unsigned int start,unsigned int count) xe_guc_db_mgr_release_range() argument
[all...]
/linux/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) argument
98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument
99 readsl(addr,buffer,count) global() argument
104 insb(addr,buffer,count) global() argument
105 insw(addr,buffer,count) global() argument
106 insl(addr,buffer,count) global() argument
111 writesb(addr,buffer,count) global() argument
112 writesw(addr,buffer,count) global() argument
113 writesl(addr,buffer,count) global() argument
118 outsb(addr,buffer,count) global() argument
119 outsw(addr,buffer,count) global() argument
120 outsl(addr,buffer,count) global() argument
124 readsq(addr,buffer,count) global() argument
127 insq(addr,buffer,count) global() argument
130 writesq(addr,buffer,count) global() argument
133 outsq(addr,buffer,count) global() argument
[all...]
/linux/arch/parisc/lib/
H A Dio.c16 * Read COUNT 8-bit bytes from port PORT into memory starting at
19 void insb (unsigned long port, void *dst, unsigned long count) in insb() argument
26 if (!count) in insb()
28 count--; in insb()
33 while (count >= 4) { in insb()
35 count -= 4; in insb()
44 while (count) { in insb()
45 --count; in insb()
53 * Read COUNT 16-bit words from port PORT into memory starting at
59 void insw (unsigned long port, void *dst, unsigned long count) in insw() argument
131 insl(unsigned long port,void * dst,unsigned long count) insl() argument
211 outsb(unsigned long port,const void * src,unsigned long count) outsb() argument
229 outsw(unsigned long port,const void * src,unsigned long count) outsw() argument
301 outsl(unsigned long port,const void * src,unsigned long count) outsl() argument
[all...]
/linux/drivers/s390/crypto/
H A Dpkey_sysfs.c48 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
51 loff_t off, size_t count) in pkey_protkey_aes_attr_read() argument
57 if (off != 0 || count < sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
60 if (count < 2 * sizeof(protkeytoken)) in pkey_protkey_aes_attr_read()
105 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
108 loff_t off, size_t count) in pkey_protkey_aes_xts_attr_read() argument
125 if (off != 0 || count < sizeof(*t) + protlen) in pkey_protkey_aes_xts_attr_read()
147 * (i.e. off != 0 or count < key blob size) -EINVAL is returned.
150 loff_t off, size_t count) in pkey_protkey_hmac_attr_read() argument
167 if (off != 0 || count < sizeo in pkey_protkey_hmac_attr_read()
189 protkey_aes_128_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_128_read() argument
199 protkey_aes_192_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_192_read() argument
209 protkey_aes_256_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_256_read() argument
219 protkey_aes_128_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_128_xts_read() argument
229 protkey_aes_256_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_256_xts_read() argument
239 protkey_aes_xts_128_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_xts_128_read() argument
249 protkey_aes_xts_256_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_aes_xts_256_read() argument
259 protkey_hmac_512_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_hmac_512_read() argument
269 protkey_hmac_1024_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) protkey_hmac_1024_read() argument
310 pkey_ccadata_aes_attr_read(u32 keytype,bool is_xts,char * buf,loff_t off,size_t count) pkey_ccadata_aes_attr_read() argument
346 ccadata_aes_128_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_128_read() argument
356 ccadata_aes_192_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_192_read() argument
366 ccadata_aes_256_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_256_read() argument
376 ccadata_aes_128_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_128_xts_read() argument
386 ccadata_aes_256_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccadata_aes_256_xts_read() argument
422 pkey_ccacipher_aes_attr_read(enum pkey_key_size keybits,bool is_xts,char * buf,loff_t off,size_t count) pkey_ccacipher_aes_attr_read() argument
460 ccacipher_aes_128_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_128_read() argument
470 ccacipher_aes_192_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_192_read() argument
480 ccacipher_aes_256_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_256_read() argument
490 ccacipher_aes_128_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_128_xts_read() argument
500 ccacipher_aes_256_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ccacipher_aes_256_xts_read() argument
537 pkey_ep11_aes_attr_read(enum pkey_key_size keybits,bool is_xts,char * buf,loff_t off,size_t count) pkey_ep11_aes_attr_read() argument
575 ep11_aes_128_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_128_read() argument
585 ep11_aes_192_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_192_read() argument
595 ep11_aes_256_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_256_read() argument
605 ep11_aes_128_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_128_xts_read() argument
615 ep11_aes_256_xts_read(struct file * filp,struct kobject * kobj,const struct bin_attribute * attr,char * buf,loff_t off,size_t count) ep11_aes_256_xts_read() argument
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-counter31 What: /sys/bus/counter/devices/counterX/countY/count
35 Count data of Count Y represented as a string.
42 used to compare counter channels against a particular count --
43 the compare count for channel Y is provided by this attribute.
49 Historical capture of the Count Y count data.
55 Count value ceiling for Count Y. This is the upper limit for the
62 Count valu
[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
[all...]
/linux/arch/arm64/lib/
H A Dmemset.S31 count .req x2 label
53 cmp count, #15
56 tbz count, #3, 1f
59 tbz count, #2, 2f
62 tbz count, #1, 3f
65 tbz count, #0, 4f
76 * The count is not less than 16, we can use stp to store the start 16 bytes,
82 sub count, count, tmp2
89 cmp count, #6
[all...]
/linux/drivers/platform/chrome/
H A Dcros_ec_sysfs.c29 int count = 0; in reboot_show() local
31 count += sysfs_emit_at(buf, count, in reboot_show()
33 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show()
34 return count; in reboot_show()
39 const char *buf, size_t count) in reboot_store() argument
95 count = -EINVAL; in reboot_store()
105 count = ret; in reboot_store()
108 return count; in reboot_store()
120 int count = 0; version_show() local
268 kb_wake_angle_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) kb_wake_angle_store() argument
304 ssize_t count = 0; usbpdmuxinfo_show() local
[all...]
/linux/net/mac80211/
H A Ddebugfs.c20 int mac80211_format_buffer(char __user *userbuf, size_t count, in mac80211_format_buffer() argument
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in mac80211_format_buffer()
36 size_t count, loff_t *ppos) \
40 return mac80211_format_buffer(userbuf, count, ppos, \
76 size_t count, in aqm_read() argument
111 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
117 size_t count, in aqm_write() argument
123 if (count >= sizeof(buf)) in aqm_write()
126 if (copy_from_user(buf, user_buf, count)) in aqm_write()
129 if (count in aqm_write()
152 airtime_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_read() argument
173 airtime_flags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_write() argument
203 aql_pending_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_pending_read() argument
232 aql_txq_limit_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_read() argument
259 aql_txq_limit_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_write() argument
311 aql_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_enable_read() argument
323 aql_enable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_enable_write() argument
361 force_tx_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_read() argument
376 force_tx_status_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_write() argument
411 reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) reset_write() argument
499 hwflags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) hwflags_read() argument
528 hwflags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) hwflags_write() argument
568 misc_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) misc_read() argument
600 queues_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) queues_read() argument
624 format_devstat_counter(struct ieee80211_local * local,char __user * userbuf,size_t count,loff_t * ppos,int (* printvalue)(struct ieee80211_low_level_stats * stats,char * buf,int buflen)) format_devstat_counter() argument
[all...]
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-debugfs.c15 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() argument
28 if (count < strlen(buf)) { in xgbe_common_read()
33 len = simple_read_from_buffer(buffer, count, ppos, buf, strlen(buf)); in xgbe_common_read()
39 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() argument
49 if (count >= sizeof(workarea)) in xgbe_common_write()
53 buffer, count); in xgbe_common_write()
66 size_t count, loff_t *ppos) in xgmac_reg_addr_read() argument
70 return xgbe_common_read(buffer, count, ppos, pdata->debugfs_xgmac_reg); in xgmac_reg_addr_read()
75 size_t count, loff_t *ppos) in xgmac_reg_addr_write() argument
79 return xgbe_common_write(buffer, count, ppo in xgmac_reg_addr_write()
84 xgmac_reg_value_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xgmac_reg_value_read() argument
96 xgmac_reg_value_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xgmac_reg_value_write() argument
126 xpcs_mmd_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xpcs_mmd_read() argument
134 xpcs_mmd_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xpcs_mmd_write() argument
143 xpcs_reg_addr_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xpcs_reg_addr_read() argument
151 xpcs_reg_addr_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xpcs_reg_addr_write() argument
160 xpcs_reg_value_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xpcs_reg_value_read() argument
173 xpcs_reg_value_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xpcs_reg_value_write() argument
211 xprop_reg_addr_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xprop_reg_addr_read() argument
220 xprop_reg_addr_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xprop_reg_addr_write() argument
229 xprop_reg_value_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xprop_reg_value_read() argument
241 xprop_reg_value_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xprop_reg_value_write() argument
271 xi2c_reg_addr_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xi2c_reg_addr_read() argument
280 xi2c_reg_addr_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xi2c_reg_addr_write() argument
289 xi2c_reg_value_read(struct file * filp,char __user * buffer,size_t count,loff_t * ppos) xi2c_reg_value_read() argument
301 xi2c_reg_value_write(struct file * filp,const char __user * buffer,size_t count,loff_t * ppos) xi2c_reg_value_write() argument
[all...]
/linux/drivers/scsi/pcmcia/
H A Dnsp_io.h70 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
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() argument
91 insw(BaseAddr + Register, buf, count); in nsp_multi_read_2()
96 unsigned long count) in nsp_fifo16_read() argument
98 //nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count in nsp_fifo16_read()
108 nsp_multi_read_4(unsigned int BaseAddr,unsigned int Register,void * buf,unsigned long count) nsp_multi_read_4() argument
115 nsp_fifo32_read(unsigned int base,void * buf,unsigned long count) nsp_fifo32_read() argument
127 nsp_multi_write_1(unsigned int BaseAddr,unsigned int Register,void * buf,unsigned long count) nsp_multi_write_1() argument
134 nsp_fifo8_write(unsigned int base,void * buf,unsigned long count) nsp_fifo8_write() argument
145 nsp_multi_write_2(unsigned int BaseAddr,unsigned int Register,void * buf,unsigned long count) nsp_multi_write_2() argument
152 nsp_fifo16_write(unsigned int base,void * buf,unsigned long count) nsp_fifo16_write() argument
163 nsp_multi_write_4(unsigned int BaseAddr,unsigned int Register,void * buf,unsigned long count) nsp_multi_write_4() argument
170 nsp_fifo32_write(unsigned int base,void * buf,unsigned long count) nsp_fifo32_write() argument
222 nsp_mmio_multi_read_4(unsigned long base,unsigned int Register,void * buf,unsigned long count) nsp_mmio_multi_read_4() argument
239 nsp_mmio_fifo32_read(unsigned int base,void * buf,unsigned long count) nsp_mmio_fifo32_read() argument
248 nsp_mmio_multi_write_4(unsigned long base,unsigned int Register,void * buf,unsigned long count) nsp_mmio_multi_write_4() argument
265 nsp_mmio_fifo32_write(unsigned int base,void * buf,unsigned long count) nsp_mmio_fifo32_write() argument
[all...]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c25 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 > in get_boolean()
69 ssize_t count = 0; b43legacy_attr_interfmode_show() local
98 b43legacy_attr_interfmode_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) b43legacy_attr_interfmode_store() argument
148 ssize_t count; b43legacy_attr_preamble_show() local
167 b43legacy_attr_preamble_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) b43legacy_attr_preamble_store() argument
[all...]

12345678910>>...266