Home
last modified time | relevance | path

Searched refs:pcnt (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
78 pcnt = 16; in pvr2_eeprom_fetch()
79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
87 msg[1].len = pcnt; in pvr2_eeprom_fetch()
/openbmc/linux/tools/perf/util/
H A Dtime-utils.c180 static int parse_percent(double *pcnt, char *str) in parse_percent() argument
195 *pcnt = d / 100.0; in parse_percent()
222 double pcnt, start_pcnt, end_pcnt; in percent_slash_split() local
236 if (parse_percent(&pcnt, str) < 0) in percent_slash_split()
244 if (pcnt <= 0.0) in percent_slash_split()
247 start_pcnt = pcnt * (i - 1); in percent_slash_split()
248 end_pcnt = pcnt * i; in percent_slash_split()
/openbmc/linux/include/uapi/linux/netfilter/
H A Dx_tables.h107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
111 __u64 pcnt, bcnt; /* Packet and byte counters */ member
/openbmc/linux/drivers/ntb/test/
H A Dntb_perf.c192 int pcnt; member
318 for (*pidx = 0; *pidx < perf->pcnt; (*pidx)++) { in perf_spad_cmd_recv()
489 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_link_event()
662 if (ntb_peer_mw_count(perf->ntb) < perf->pcnt) { in perf_init_service()
678 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service()
679 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service()
755 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service()
758 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service()
761 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_disable_service()
1214 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info()
[all …]
H A Dntb_pingpong.c295 int pidx, lport, pcnt; in pp_init_flds() local
299 pcnt = ntb_peer_port_count(pp->ntb); in pp_init_flds()
300 for (pidx = 0; pidx < pcnt; pidx++) { in pp_init_flds()
307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c230 uint32_t chan, epnum, epdir, eptype, mps, pid, pcnt, len, tlen, intr = 0; in dwc2_handle_packet() local
239 pcnt = get_field(hctsiz, TSIZ_PKTCNT); in dwc2_handle_packet()
251 dirs[epdir], mps, len, pcnt); in dwc2_handle_packet()
316 p->pcnt = pcnt; in dwc2_handle_packet()
346 pcnt -= tpcnt < pcnt ? tpcnt : pcnt; in dwc2_handle_packet()
347 set_field(&hctsiz, pcnt, TSIZ_PKTCNT); in dwc2_handle_packet()
354 if (!pcnt || len == 0 || actual == 0) { in dwc2_handle_packet()
386 trace_usb_dwc2_packet_done(pstatus[stsidx], actual, len, pcnt); in dwc2_handle_packet()
397 p->pcnt = pcnt; in dwc2_handle_packet()
400 trace_usb_dwc2_packet_next(pstatus[stsidx], len, pcnt); in dwc2_handle_packet()
[all …]
H A Dhcd-dwc2.h53 uint32_t pcnt; member
/openbmc/u-boot/arch/x86/cpu/tangier/
H A Dacpi.c77 gnvs->pcnt = 1; in acpi_create_gnvs()
84 gnvs->pcnt = ret; in acpi_create_gnvs()
/openbmc/u-boot/arch/x86/include/asm/arch-quark/
H A Dglobal_nvs.h10 u8 pcnt; /* processor count */ member
/openbmc/u-boot/arch/x86/include/asm/arch-tangier/
H A Dglobal_nvs.h12 u8 pcnt; /* processor count */ member
/openbmc/u-boot/arch/x86/include/asm/arch-baytrail/
H A Dglobal_nvs.h10 u8 pcnt; /* processor count */ member
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.c943 int32_t pcnt = 0; in qla_edif_app_getfcinfo() local
978 if (pcnt >= app_req.num_ports) in qla_edif_app_getfcinfo()
1002 app_reply->ports[pcnt].version = EDIF_VERSION1; in qla_edif_app_getfcinfo()
1003 app_reply->ports[pcnt].remote_type = in qla_edif_app_getfcinfo()
1006 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
1009 app_reply->ports[pcnt].remote_type |= in qla_edif_app_getfcinfo()
1012 app_reply->ports[pcnt].remote_pid = fcport->d_id; in qla_edif_app_getfcinfo()
1016 fcport->node_name, fcport->port_name, pcnt, in qla_edif_app_getfcinfo()
1023 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
1026 app_reply->ports[pcnt].auth_state = in qla_edif_app_getfcinfo()
[all …]
/openbmc/linux/include/linux/netfilter/
H A Dx_tables.h436 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter()
445 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()
495 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c319 e->counters.pcnt = pos; in mark_source_chains()
345 pos = e->counters.pcnt; in mark_source_chains()
346 e->counters.pcnt = 0; in mark_source_chains()
360 e->counters.pcnt = pos; in mark_source_chains()
379 e->counters.pcnt = pos; in mark_source_chains()
613 u64 bcnt, pcnt; in get_counters() local
620 pcnt = tmp->pcnt; in get_counters()
623 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
642 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1038 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
H A Dip_tables.c383 e->counters.pcnt = pos; in mark_source_chains()
407 pos = e->counters.pcnt; in mark_source_chains()
408 e->counters.pcnt = 0; in mark_source_chains()
422 e->counters.pcnt = pos; in mark_source_chains()
441 e->counters.pcnt = pos; in mark_source_chains()
752 u64 bcnt, pcnt; in get_counters() local
759 pcnt = tmp->pcnt; in get_counters()
762 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
781 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1190 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/openbmc/linux/net/ipv6/netfilter/
H A Dip6_tables.c401 e->counters.pcnt = pos; in mark_source_chains()
425 pos = e->counters.pcnt; in mark_source_chains()
426 e->counters.pcnt = 0; in mark_source_chains()
440 e->counters.pcnt = pos; in mark_source_chains()
459 e->counters.pcnt = pos; in mark_source_chains()
769 u64 bcnt, pcnt; in get_counters() local
776 pcnt = tmp->pcnt; in get_counters()
779 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
798 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1206 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/openbmc/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py148 pcnt = 0
156 pcnt += 1
165 pcnt += 1
168 self.failtests['PositiveValueTest']['Passed Tests'] = pcnt
/openbmc/u-boot/arch/x86/cpu/baytrail/
H A Dacpi.c147 gnvs->pcnt = 1; in acpi_create_gnvs()
153 gnvs->pcnt = ret; in acpi_create_gnvs()
/openbmc/linux/tools/lib/bpf/
H A Delf.c387 unsigned long **poffsets, size_t *pcnt) in elf_resolve_pattern_offsets() argument
430 *pcnt = cnt; in elf_resolve_pattern_offsets()
/openbmc/linux/tools/perf/
H A Dbuiltin-report.c130 double pcnt = strtof(value, NULL); in report__config() local
132 rep->min_percent = pcnt; in report__config()
133 callchain_param.min_percent = pcnt; in report__config()
1157 double pcnt = strtof(str, NULL); in parse_percent_limit() local
1159 rep->min_percent = pcnt; in parse_percent_limit()
1160 callchain_param.min_percent = pcnt; in parse_percent_limit()
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_sys.c121 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_bist.c310 int fcnt = 0, pcnt = 0; in interval_proc() local
321 pcnt++; in interval_proc()
334 if (pcnt == intrvl->size) { in interval_proc()
/openbmc/qemu/tests/tcg/mips/include/
H A Dwrappers_msa.h180 DO_MSA__WD__WS(PCNT_B, pcnt.b)
181 DO_MSA__WD__WS(PCNT_H, pcnt.h)
182 DO_MSA__WD__WS(PCNT_W, pcnt.w)
183 DO_MSA__WD__WS(PCNT_D, pcnt.d)
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npei-defs.h1562 uint64_t pcnt:1; member
1598 uint64_t pcnt:1;
1695 uint64_t pcnt:1; member
1731 uint64_t pcnt:1;
1827 uint64_t pcnt:1; member
1863 uint64_t pcnt:1;
1962 uint64_t pcnt:1; member
1998 uint64_t pcnt:1;
2093 uint64_t pcnt:1; member
2129 uint64_t pcnt:1;
[all …]
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h40 __u64 pcnt; member

12