Home
last modified time | relevance | path

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

/linux-4.4.14/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.c3379 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local
3417 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3418 pcnt = 16; in pvr2_full_eeprom_fetch()
3419 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3427 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
/linux-4.4.14/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.4.14/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.4.14/include/linux/netfilter/
Dx_tables.h394 static inline void xt_percpu_counter_free(u64 pcnt) in xt_percpu_counter_free() argument
397 free_percpu((void __percpu *) (unsigned long) pcnt); in xt_percpu_counter_free()
404 return this_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt); in xt_get_this_cpu_counter()
413 return per_cpu_ptr((void __percpu *) (unsigned long) cnt->pcnt, cpu); in xt_get_per_cpu_counter()
461 compat_u64 pcnt, bcnt; /* Packet and byte counters */ member
/linux-4.4.14/net/ipv4/netfilter/
Darp_tables.c402 e->counters.pcnt = pos; in mark_source_chains()
439 pos = e->counters.pcnt; in mark_source_chains()
440 e->counters.pcnt = 0; in mark_source_chains()
456 e->counters.pcnt = pos; in mark_source_chains()
487 e->counters.pcnt = pos; in mark_source_chains()
526 e->counters.pcnt = xt_percpu_counter_alloc(); in find_check_entry()
527 if (IS_ERR_VALUE(e->counters.pcnt)) in find_check_entry()
547 xt_percpu_counter_free(e->counters.pcnt); in find_check_entry()
635 xt_percpu_counter_free(e->counters.pcnt); in cleanup_entry()
738 u64 bcnt, pcnt; in get_counters() local
[all …]
Dip_tables.c476 e->counters.pcnt = pos; in mark_source_chains()
520 pos = e->counters.pcnt; in mark_source_chains()
521 e->counters.pcnt = 0; in mark_source_chains()
537 e->counters.pcnt = pos; in mark_source_chains()
567 e->counters.pcnt = pos; in mark_source_chains()
667 e->counters.pcnt = xt_percpu_counter_alloc(); in find_check_entry()
668 if (IS_ERR_VALUE(e->counters.pcnt)) in find_check_entry()
708 xt_percpu_counter_free(e->counters.pcnt); in find_check_entry()
804 xt_percpu_counter_free(e->counters.pcnt); in cleanup_entry()
904 u64 bcnt, pcnt; in get_counters() local
[all …]
/linux-4.4.14/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.4.14/net/ipv6/netfilter/
Dip6_tables.c488 e->counters.pcnt = pos; in mark_source_chains()
532 pos = e->counters.pcnt; in mark_source_chains()
533 e->counters.pcnt = 0; in mark_source_chains()
549 e->counters.pcnt = pos; in mark_source_chains()
579 e->counters.pcnt = pos; in mark_source_chains()
680 e->counters.pcnt = xt_percpu_counter_alloc(); in find_check_entry()
681 if (IS_ERR_VALUE(e->counters.pcnt)) in find_check_entry()
720 xt_percpu_counter_free(e->counters.pcnt); in find_check_entry()
816 xt_percpu_counter_free(e->counters.pcnt); in cleanup_entry()
916 u64 bcnt, pcnt; in get_counters() local
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c35 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument
45 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
48 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
/linux-4.4.14/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.4.14/include/uapi/linux/netfilter_bridge/
Debtables.h36 uint64_t pcnt; member
/linux-4.4.14/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.4.14/arch/s390/include/asm/
Dqdio.h294 u8 pcnt; member
/linux-4.4.14/net/bridge/netfilter/
Debtables.c236 (*(counter_base + i)).pcnt++; in ebt_do_table()
973 counters[i].pcnt += counter_base[i].pcnt; in get_counters()
1316 t->private->counters[i].pcnt += tmp[i].pcnt; in do_update_counters()