Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-eeprom.c55 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
93 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
94 pcnt = 16; in pvr2_eeprom_fetch()
95 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
103 msg[1].len = pcnt; in pvr2_eeprom_fetch()
Dpvrusb2-hdw.c3370 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local
3408 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3409 pcnt = 16; in pvr2_full_eeprom_fetch()
3410 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3418 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
/linux-4.1.27/drivers/mtd/maps/
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()
151 for (j = 0; j < pcnt; j++) { in init_msp_flash()
176 mtd_device_register(msp_flash[i], msp_parts[i], pcnt); in init_msp_flash()
/linux-4.1.27/include/uapi/linux/netfilter/
Dx_tables.h106 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
107 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
110 __u64 pcnt, bcnt; /* Packet and byte counters */ member
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-sli-defs.h558 uint64_t pcnt:1; member
568 uint64_t pcnt:1;
654 uint64_t pcnt:1; member
664 uint64_t pcnt:1;
739 uint64_t pcnt:1; member
749 uint64_t pcnt:1;
817 uint64_t pcnt:1; member
827 uint64_t pcnt:1;
911 uint64_t pcnt:1; member
921 uint64_t pcnt:1;
[all …]
Dcvmx-npei-defs.h1639 uint64_t pcnt:1; member
1675 uint64_t pcnt:1;
1773 uint64_t pcnt:1; member
1809 uint64_t pcnt:1;
1906 uint64_t pcnt:1; member
1942 uint64_t pcnt:1;
2041 uint64_t pcnt:1; member
2077 uint64_t pcnt:1;
2173 uint64_t pcnt:1; member
2209 uint64_t pcnt:1;
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_phy.c62 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument
72 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
75 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c384 e->counters.pcnt = pos; in mark_source_chains()
422 pos = e->counters.pcnt; in mark_source_chains()
423 e->counters.pcnt = 0; in mark_source_chains()
437 e->counters.pcnt = pos; in mark_source_chains()
462 e->counters.pcnt = pos; in mark_source_chains()
726 u64 bcnt, pcnt; in get_counters() local
732 pcnt = iter->counters.pcnt; in get_counters()
735 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
1189 ADD_COUNTER(iter->counters, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
Dip_tables.c459 e->counters.pcnt = pos; in mark_source_chains()
504 pos = e->counters.pcnt; in mark_source_chains()
505 e->counters.pcnt = 0; in mark_source_chains()
519 e->counters.pcnt = pos; in mark_source_chains()
543 e->counters.pcnt = pos; in mark_source_chains()
891 u64 bcnt, pcnt; in get_counters() local
897 pcnt = iter->counters.pcnt; in get_counters()
900 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
1377 ADD_COUNTER(iter->counters, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c472 e->counters.pcnt = pos; in mark_source_chains()
517 pos = e->counters.pcnt; in mark_source_chains()
518 e->counters.pcnt = 0; in mark_source_chains()
532 e->counters.pcnt = pos; in mark_source_chains()
556 e->counters.pcnt = pos; in mark_source_chains()
904 u64 bcnt, pcnt; in get_counters() local
910 pcnt = iter->counters.pcnt; in get_counters()
913 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
1391 ADD_COUNTER(iter->counters, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debtables.h36 uint64_t pcnt; member
/linux-4.1.27/drivers/s390/net/
Dqeth_core_sys.c140 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac.c676 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local
681 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr()
683 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr()
693 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local
696 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr()
698 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
/linux-4.1.27/arch/s390/include/asm/
Dqdio.h294 u8 pcnt; member
/linux-4.1.27/include/linux/netfilter/
Dx_tables.h397 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
/linux-4.1.27/net/bridge/netfilter/
Debtables.c234 (*(counter_base + i)).pcnt++; in ebt_do_table()
971 counters[i].pcnt += counter_base[i].pcnt; in get_counters()
1314 t->private->counters[i].pcnt += tmp[i].pcnt; in do_update_counters()