| /linux/drivers/pci/hotplug/ |
| H A D | ibmphp_pci.c | 342 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() 373 if (!bar[count]) /* This BAR is not implemented */ in configure_device() 376 debug("Device %x BAR %d wants %x\n", func->device, count, bar[count]); in configure_device() 378 if (bar[count] & PCI_BASE_ADDRESS_SPACE_IO) { in configure_device() [all …]
|
| /linux/tools/usb/ |
| H A D | hcd-tests.sh | 32 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 transfers, unaligned DMA map by core" [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
| H A D | floating-point.json | 12 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 43 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 48 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 52 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
| H A D | floating-point.json | 12 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 43 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 48 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 52 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | floating-point.json | 12 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 43 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 48 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 52 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelake/ |
| H A D | floating-point.json | 12 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 43 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 48 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 52 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_guc_db_mgr.c | 58 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() [all …]
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110_ipack.c | 19 p->count = 0; in av7110_ipack_reset() 51 if (p->count < 10) in send_ipack() 54 p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8); in send_ipack() 55 p->buf[5] = (u8)((p->count - 6) & 0x00ff); in send_ipack() 63 if (ac3_off < p->count) in send_ipack() 65 p->count - ac3_off, &ai, 0); in send_ipack() 67 nframes = (p->count - off - 3 - ac3_off) / in send_ipack() 72 ac3_off += nframes * ai.framesize - p->count; in send_ipack() 76 p->func(p->buf, p->count, p->data); in send_ipack() 81 p->count = 9; in send_ipack() [all …]
|
| /linux/tools/perf/pmu-events/arch/riscv/andes/ax45/ |
| H A D | instructions.json | 5 "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/arch/riscv/include/asm/ |
| H A D | io.h | 68 unsigned int count) \ 71 if (count) { \ 77 } while (--count); \ 85 unsigned int count) \ 88 if (count) { \ 93 } while (--count); \ 101 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 102 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 103 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 109 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
| /linux/lib/ |
| H A D | percpu_counter.c | 70 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...] |
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_sysfs.c | 28 int count = 0; in reboot_show() local 30 count += sysfs_emit_at(buf, count, in reboot_show() 32 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show() 33 return count; in reboot_show() 38 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 …]
|
| /linux/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 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=0x%lx*2", buf, count); in nsp_fifo16_read() 99 nsp_multi_read_2(base, FIFODATA, buf, count); in nsp_fifo16_read() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | floating-point.json | 77 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 81 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 86 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 90 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 95 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 99 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 104 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 108 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 113 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 117 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | floating-point.json | 77 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 81 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 86 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 90 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 95 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 99 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 104 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 108 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 113 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 117 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
| H A D | floating-point.json | 77 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 81 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 86 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 90 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 95 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 99 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 104 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 108 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 113 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 117 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/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 > 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...] |
| /linux/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | floating-point.json | 7 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 43 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… 48 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 52 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 57 …count twice as noted below. Each count represents 16 computation operations, one for each element… 61 …count twice as noted below. Each count represents 16 computation operations, one for each element… [all …]
|
| /linux/net/mac80211/ |
| H A D | debugfs.c | 20 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 109 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read() 115 size_t count, in aqm_write() argument 121 if (count >= sizeof(buf)) in aqm_write() 124 if (copy_from_user(buf, user_buf, count)) in aqm_write() 127 if (count in aqm_write() 150 airtime_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_read() argument 171 airtime_flags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) airtime_flags_write() argument 188 aql_pending_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_pending_read() argument 219 aql_txq_limit_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_read() argument 248 aql_txq_limit_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_write() argument 305 aql_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_enable_read() argument 317 aql_enable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_enable_write() argument 342 force_tx_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_read() argument 357 force_tx_status_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_write() argument 380 reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) reset_write() argument 469 hwflags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) hwflags_read() argument 498 hwflags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) hwflags_write() argument 538 misc_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) misc_read() argument 570 queues_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) queues_read() argument 594 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/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | floating-point.json | 7 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 43 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… 48 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 52 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 57 …count twice as noted below. Each count represents 16 computation operations, one for each element… 61 …count twice as noted below. Each count represents 16 computation operations, one for each element… [all …]
|
| /linux/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 …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | floating-point.json | 3 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 7 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 12 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 43 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | floating-point.json | 3 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 7 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 12 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 43 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | floating-point.json | 3 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 7 …count twice as noted below. Each count represents 2 computation operations, one for each element.… 12 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 16 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 21 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 25 …count twice as noted below. Each count represents 4 computation operations, one for each element.… 30 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 34 …count twice as noted below. Each count represents 8 computation operations, one for each element.… 39 …count twice as noted below. Each count represents 2 or/and 4 computation operations, 1 for each e… 43 …count twice as noted below. Each count represents 2 or/and 4 computation operations, one for each… [all …]
|
| /linux/tools/testing/selftests/drivers/ntsync/ |
| H A D | ntsync.c | 23 static int read_sem_state(int sem, __u32 *count, __u32 *max) in read_sem_state() 30 *count = args.count; 35 #define check_sem_state(sem, count, max) \ 40 EXPECT_EQ((count), __count); \ in release_sem() 44 static int release_sem(int sem, __u32 *count) in read_mutex_state() 46 return ioctl(sem, NTSYNC_IOC_SEM_RELEASE, count); in read_mutex_state() 49 static int read_mutex_state(int mutex, __u32 *count, __u32 *owner) in read_mutex_state() 56 *count = args.count; 17 read_sem_state(int sem,__u32 * count,__u32 * max) read_sem_state() argument 29 check_sem_state(sem,count,max) global() argument 38 release_sem(int sem,__u32 * count) release_sem() argument 43 read_mutex_state(int mutex,__u32 * count,__u32 * owner) read_mutex_state() argument 55 check_mutex_state(mutex,count,owner) global() argument 64 unlock_mutex(int mutex,__u32 owner,__u32 * count) unlock_mutex() argument 97 wait_objs(int fd,unsigned long request,__u32 count,const int * objs,__u32 owner,int alert,__u32 * index) wait_objs() argument 117 wait_any(int fd,__u32 count,const int * objs,__u32 owner,__u32 * index) wait_any() argument 122 wait_all(int fd,__u32 count,const int * objs,__u32 owner,__u32 * index) wait_all() argument 127 wait_any_alert(int fd,__u32 count,const int * objs,__u32 owner,int alert,__u32 * index) wait_any_alert() argument 134 wait_all_alert(int fd,__u32 count,const int * objs,__u32 owner,int alert,__u32 * index) wait_all_alert() argument 145 __u32 count, index; TEST() local 228 __u32 owner, count, index; TEST() local 505 __u32 owner, index, count, i; TEST() local 619 __u32 owner, index, count; TEST() local 753 __u32 count, index, signaled; TEST() local 946 __u32 count, index, signaled; TEST() local 1068 __u32 index, count, signaled; TEST() local 1180 __u32 index, count, signaled; TEST() local 1280 __u32 index, count, i; stress_thread() local [all...] |