Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/mtd/maps/
H A Dpmcmsp-flash.c57 int pcnt; in init_msp_flash() local
95 for (pcnt = 0; (env = prom_getenv(part_name)); pcnt++) in init_msp_flash()
96 part_name[7] = '0' + pcnt + 1; in init_msp_flash()
98 if (pcnt == 0) { in init_msp_flash()
104 msp_parts[i] = kcalloc(pcnt, sizeof(struct mtd_partition), in init_msp_flash()
149 for (j = 0; j < pcnt; j++) { in init_msp_flash()
174 mtd_device_register(msp_flash[i], msp_parts[i], pcnt); in init_msp_flash()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/staging/kpc2000/kpc_dma/
H A Dfileops.c46 unsigned int pcnt; in kpc_dma_transfer() local
130 pcnt = count_parts_for_sge(sg); in kpc_dma_transfer()
131 for (p = 0 ; p < pcnt ; p++) { in kpc_dma_transfer()
135 if (p != pcnt - 1) in kpc_dma_transfer()
145 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
157 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
163 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/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
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/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
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Darp_tables.c318 e->counters.pcnt = pos; in mark_source_chains()
344 pos = e->counters.pcnt; in mark_source_chains()
345 e->counters.pcnt = 0; in mark_source_chains()
359 e->counters.pcnt = pos; in mark_source_chains()
378 e->counters.pcnt = pos; in mark_source_chains()
612 u64 bcnt, pcnt; in get_counters() local
619 pcnt = tmp->pcnt; in get_counters()
622 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
641 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1033 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
H A Dip_tables.c384 e->counters.pcnt = pos; in mark_source_chains()
408 pos = e->counters.pcnt; in mark_source_chains()
409 e->counters.pcnt = 0; in mark_source_chains()
423 e->counters.pcnt = pos; in mark_source_chains()
442 e->counters.pcnt = pos; in mark_source_chains()
753 u64 bcnt, pcnt; in get_counters() local
760 pcnt = tmp->pcnt; in get_counters()
763 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
782 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1188 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dx_tables.h435 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter()
444 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()
491 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-quark/
H A Dglobal_nvs.h11 u8 pcnt; /* processor count */ member
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6_tables.c403 e->counters.pcnt = pos; in mark_source_chains()
427 pos = e->counters.pcnt; in mark_source_chains()
428 e->counters.pcnt = 0; in mark_source_chains()
442 e->counters.pcnt = pos; in mark_source_chains()
461 e->counters.pcnt = pos; in mark_source_chains()
771 u64 bcnt, pcnt; in get_counters() local
778 pcnt = tmp->pcnt; in get_counters()
781 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
800 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1205 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-baytrail/
H A Dglobal_nvs.h11 u8 pcnt; /* processor count */ member
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/ebtables/ebtables-2.0.11/
H A Debtables-legacy-save33 line=${line/, pcnt \=/ -c}
/OK3568_Linux_fs/u-boot/arch/x86/cpu/baytrail/
H A Dacpi.c148 gnvs->pcnt = 1; in acpi_create_gnvs()
154 gnvs->pcnt = ret; in acpi_create_gnvs()
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-report.c119 double pcnt = strtof(value, NULL); in report__config() local
121 rep->min_percent = pcnt; in report__config()
122 callchain_param.min_percent = pcnt; in report__config()
1090 double pcnt = strtof(str, NULL); in parse_percent_limit() local
1092 rep->min_percent = pcnt; in parse_percent_limit()
1093 callchain_param.min_percent = pcnt; in parse_percent_limit()
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.c629 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local
634 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr()
636 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr()
646 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local
649 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr()
651 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
/OK3568_Linux_fs/buildroot/package/ebtables/
H A D0001-replace-ebtables-save-perl-script-with-bash.patch66 + line=${line/, pcnt \=/ -c}
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/netfilter_bridge/
H A Debtables.h40 __u64 pcnt; member
/OK3568_Linux_fs/kernel/include/uapi/linux/netfilter_bridge/
H A Debtables.h40 __u64 pcnt; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/netfilter_bridge/
H A Debtables.h40 __u64 pcnt; member

12