Home
last modified time | relevance | path

Searched refs:rcnt (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/tools/power/cpupower/bench/
H A Dbenchmark.h8 #define ROUNDS(x) {unsigned int rcnt; \
9 for (rcnt = 0; rcnt < x*1000; rcnt++) { \
10 (void)(((int)(pow(rcnt, rcnt) * \
11 sqrt(rcnt*7230970)) ^ 7230716) ^ \
12 (int)atan2(rcnt, rcnt)); \
/openbmc/linux/drivers/phy/microchip/
H A Dsparx5_serdes.h55 int rcnt, int rwidth) in sdx5_addr() argument
59 WARN_ON((rinst) >= rcnt); in sdx5_addr()
69 int rcnt, int rwidth) in sdx5_inst_baseaddr() argument
72 WARN_ON((rinst) >= rcnt); in sdx5_inst_baseaddr()
81 int raddr, int rinst, int rcnt, int rwidth) in sdx5_rmw() argument
87 raddr, rinst, rcnt, rwidth); in sdx5_rmw()
96 int raddr, int rinst, int rcnt, int rwidth) in sdx5_inst_rmw() argument
102 raddr, rinst, rcnt, rwidth); in sdx5_inst_rmw()
128 int rinst, int rcnt, int rwidth) in sdx5_inst_addr() argument
131 raddr, rinst, rcnt, rwidth); in sdx5_inst_addr()
H A Dlan966x_serdes.c22 raddr, rinst, rcnt, rwidth) \ argument
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main.h575 int rcnt, int rwidth) in spx5_offset() argument
579 WARN_ON((rinst) >= rcnt); in spx5_offset()
592 int rcnt, int rwidth) in spx5_addr() argument
596 WARN_ON((rinst) >= rcnt); in spx5_addr()
606 int rcnt, int rwidth) in spx5_inst_addr() argument
609 WARN_ON((rinst) >= rcnt); in spx5_inst_addr()
638 raddr, rinst, rcnt, rwidth)); in spx5_wr()
648 raddr, rinst, rcnt, rwidth)); in spx5_inst_wr()
673 rinst, rcnt, rwidth)); in spx5_inst_rmw()
676 rinst, rcnt, rwidth)); in spx5_inst_rmw()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A D0001-unzip-fix-CVE-2018-1000035.patch21 @@ -1582,6 +1582,8 @@ int UZ_EXP UzpPassword (pG, rcnt, pwbuf, size, zfn, efn)
30 @@ -1590,9 +1592,12 @@ int UZ_EXP UzpPassword (pG, rcnt, pwbuf, size, zfn, efn)
32 if (*rcnt == 0) { /* First call for current entry */
33 *rcnt = 2;
/openbmc/linux/fs/pstore/
H A Dzone.c338 ssize_t rcnt; in psz_kmsg_recover_data() local
366 return rcnt < 0 ? rcnt : -EIO; in psz_kmsg_recover_data()
375 ssize_t rcnt, len; in psz_kmsg_recover_meta() local
397 if (rcnt == -ENOMSG) { in psz_kmsg_recover_meta()
401 } else if (rcnt != len) { in psz_kmsg_recover_meta()
403 return rcnt < 0 ? rcnt : -EIO; in psz_kmsg_recover_meta()
503 if (rcnt != len) { in psz_recover_zone()
505 return rcnt < 0 ? rcnt : -EIO; in psz_recover_zone()
547 ret = rcnt < 0 ? rcnt : -EIO; in psz_recover_zone()
553 if (rcnt != start) { in psz_recover_zone()
[all …]
/openbmc/qemu/hw/net/
H A Dne2000.c274 s->rcnt == 0) { in ne2000_ioport_write()
334 s->rcnt = (s->rcnt & 0xff00) | val; in ne2000_ioport_write()
337 s->rcnt = (s->rcnt & 0x00ff) | (val << 8); in ne2000_ioport_write()
504 if (s->rcnt <= len) { in ne2000_dma_update()
505 s->rcnt = 0; in ne2000_dma_update()
510 s->rcnt -= len; in ne2000_dma_update()
521 if (s->rcnt == 0) in ne2000_asic_ioport_write()
561 if (s->rcnt == 0) in ne2000_asic_ioport_writel()
618 VMSTATE_UINT16(rcnt, NE2000State),
H A Dne2000.h21 uint16_t rcnt; member
/openbmc/u-boot/board/synopsys/emsdp/
H A Demsdp.c27 int rcnt, fcnt; in mach_cpu_init() local
39 rcnt = ((data >> CGU_ARC_FMEAS_ARC_RCNT_OFFSET) & in mach_cpu_init()
46 gd->cpu_clk = ((100 * fcnt) / rcnt) * 1000000; in mach_cpu_init()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c466 if (rcnt < 0) in receive_dmsg()
468 rcnt++; in receive_dmsg()
475 rcnt); in receive_dmsg()
477 if ((rcnt > MAX_DFRAME_LEN + 3) || (rcnt < 4) || in receive_dmsg()
483 rcnt, in receive_dmsg()
501 rcnt -= 3; in receive_dmsg()
627 if (rcnt < 0) in main_rec_hfcpci()
629 rcnt++; in main_rec_hfcpci()
637 if (rcnt < 0) in main_rec_hfcpci()
640 rcnt = 0; in main_rec_hfcpci()
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.h750 int rcnt, int rwidth) in lan_addr() argument
754 WARN_ON((rinst) >= rcnt); in lan_addr()
762 int raddr, int rinst, int rcnt, int rwidth) in lan_rd() argument
765 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rd()
771 int raddr, int rinst, int rcnt, int rwidth) in lan_wr() argument
775 raddr, rinst, rcnt, rwidth)); in lan_wr()
781 int raddr, int rinst, int rcnt, int rwidth) in lan_rmw() argument
786 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
789 gcnt, gwidth, raddr, rinst, rcnt, rwidth)); in lan_rmw()
/openbmc/linux/net/sched/
H A Dcls_basic.c49 __this_cpu_inc(f->pf->rcnt); in basic_classify()
293 gpf.rcnt += pf->rcnt; in basic_dump()
H A Dcls_u32.c132 __this_cpu_inc(n->pf->rcnt); in u32_classify()
1415 gpf->rcnt += pf->rcnt; in u32_dump()
/openbmc/linux/arch/ia64/hp/common/
H A Dsba_iommu.c314 uint rcnt; in sba_dump_pdir_entry() local
319 rcnt = 0; in sba_dump_pdir_entry()
320 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry()
322 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
324 rcnt, ptr, (unsigned long long) *ptr ); in sba_dump_pdir_entry()
325 rcnt++; in sba_dump_pdir_entry()
349 int rcnt; /* number of bits we might check */ in sba_check_pdir() local
352 rcnt = 64; in sba_check_pdir()
354 while (rcnt) { in sba_check_pdir()
366 rcnt--; in sba_check_pdir()
/openbmc/linux/drivers/parisc/
H A Dsba_iommu.c207 uint rcnt; in sba_dump_pdir_entry() local
213 rcnt = 0; in sba_dump_pdir_entry()
214 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry()
216 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
218 rcnt, ptr, *ptr ); in sba_dump_pdir_entry()
219 rcnt++; in sba_dump_pdir_entry()
243 int rcnt = 32; /* number of bits we might check */ in sba_check_pdir() local
245 while (rcnt) { in sba_check_pdir()
257 rcnt--; in sba_check_pdir()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dprism2fw.c854 int rcnt = 0; in read_fwfile() local
862 rcnt++; in read_fwfile()
876 rcnt, in read_fwfile()
885 rcnt, in read_fwfile()
902 rcnt, in read_fwfile()
917 rcnt, in read_fwfile()
/openbmc/linux/drivers/regulator/
H A Dpca9450-regulator.c37 unsigned int rcnt; member
726 pca9450->rcnt = ARRAY_SIZE(pca9450a_regulators); in pca9450_i2c_probe()
730 pca9450->rcnt = ARRAY_SIZE(pca9450bc_regulators); in pca9450_i2c_probe()
764 for (i = 0; i < pca9450->rcnt; i++) { in pca9450_i2c_probe()
/openbmc/linux/drivers/isdn/mISDN/
H A Dlayer2.h30 int rcnt; member
H A Dtei.c687 tm->rcnt = 0; in tei_id_chk_req_net()
705 tm->rcnt++; in tei_id_chk_resp()
728 if (tm->rcnt == 1) { in tei_id_ver_tout_net()
733 } else if (tm->rcnt > 1) { in tei_id_ver_tout_net()
/openbmc/linux/include/uapi/linux/
H A Dpkt_cls.h269 __u64 rcnt; member
413 __u64 rcnt; member
/openbmc/linux/kernel/locking/
H A Drwsem.c999 long rcnt = (count >> RWSEM_READER_SHIFT); in rwsem_down_read_slowpath() local
1009 (rcnt > 1) && !(count & RWSEM_WRITER_LOCKED)) in rwsem_down_read_slowpath()
1023 if ((rcnt == 1) && (count & RWSEM_FLAG_WAITERS)) { in rwsem_down_read_slowpath()
/openbmc/linux/tools/include/uapi/linux/
H A Dpkt_cls.h193 __u64 rcnt; member