Home
last modified time | relevance | path

Searched refs:pre (Results 1 – 25 of 35) sorted by relevance

12

/drivers/atm/
Dhorizon.c593 u32 pre; in make_rate() local
623 pre = DIV_ROUND_UP(br, c<<div); in make_rate()
625 if (!pre) in make_rate()
626 pre = 1; in make_rate()
629 pre = DIV_ROUND_CLOSEST(br, c<<div); in make_rate()
631 if (!pre) in make_rate()
632 pre = 1; in make_rate()
635 pre = br/(c<<div); in make_rate()
637 if (!pre) in make_rate()
640 PRINTD (DBG_QOS, "A: p=%u, d=%u", pre, div); in make_rate()
[all …]
Deni.c1250 static int comp_tx(struct eni_dev *eni_dev,int *pcr,int reserved,int *pre, in comp_tx() argument
1256 if (unlimited) *pre = *res = 0; in comp_tx()
1261 for (*pre = 0; *pre < 3; (*pre)++) in comp_tx()
1262 if (TS_CLOCK/pre_div[*pre]/64 <= *pcr) break; in comp_tx()
1263 div = pre_div[*pre]**pcr; in comp_tx()
1271 for (*pre = 3; *pre >= 0; (*pre)--) in comp_tx()
1272 if (TS_CLOCK/pre_div[*pre]/64 > -*pcr) break; in comp_tx()
1273 if (*pre < 3) (*pre)++; /* else fail later */ in comp_tx()
1274 div = pre_div[*pre]*-*pcr; in comp_tx()
1281 *pcr = TS_CLOCK/pre_div[*pre]/(*res+1); in comp_tx()
[all …]
/drivers/iio/adc/
Dqcom-spmi-vadc.c505 unsigned int pre; in vadc_prescaling_from_dt() local
507 for (pre = 0; pre < ARRAY_SIZE(vadc_prescale_ratios); pre++) in vadc_prescaling_from_dt()
508 if (vadc_prescale_ratios[pre].num == num && in vadc_prescaling_from_dt()
509 vadc_prescale_ratios[pre].den == den) in vadc_prescaling_from_dt()
512 if (pre == ARRAY_SIZE(vadc_prescale_ratios)) in vadc_prescaling_from_dt()
515 return pre; in vadc_prescaling_from_dt()
/drivers/staging/rtl8192u/
Dchanges4 This is based on the rtl8180-sa2400 pre-0.22-CVS code..
/drivers/misc/genwqe/
Dcard_ddcb.h61 u8 pre; /* Preamble */ member
Dcard_ddcb.c443 pddcb->pre, VCRC_LENGTH(req->cmd.asv_length), in genwqe_check_ddcb_queue()
604 pddcb->pre = DDCB_PRESET_PRE; /* 128 */ in get_next_ddcb()
/drivers/video/fbdev/
Dpm3fb.c150 int f, pre, post; in pm3fb_calculate_clock() local
156 for (pre = 1; pre < 256; pre++) { in pm3fb_calculate_clock()
158 freq = ((2*PM3_REF_CLOCK * f) >> post) / pre; in pm3fb_calculate_clock()
165 *prescale = pre; in pm3fb_calculate_clock()
/drivers/staging/speakup/
DKconfig36 requires software to be pre-loaded on to the card before
118 contains the software which must be pre-loaded on to the
122 PC software has been pre-loaded on to the board.
/drivers/spi/
Dspi-imx.c255 unsigned int pre, post; in mx51_ecspi_clkdiv() local
273 pre = DIV_ROUND_UP(fin, fspi << post) - 1; in mx51_ecspi_clkdiv()
276 __func__, fin, fspi, post, pre); in mx51_ecspi_clkdiv()
279 *fres = (fin / (pre + 1)) >> post; in mx51_ecspi_clkdiv()
281 return (pre << MX51_ECSPI_CTRL_PREDIV_OFFSET) | in mx51_ecspi_clkdiv()
/drivers/staging/fsl-mc/
DTODO7 DPIO, DPMAC. Other pre-requisites include:
/drivers/net/plip/
DKconfig26 driver (<http://oak.oakland.edu/simtel.net/msdos/pktdrvr-pre.html>)
/drivers/gpu/drm/sti/
DNOTES13 - The TV OUT pre-formats (convert, clip, round) the compositor output data
/drivers/mmc/host/
Drtsx_pci_sdmmc.c161 struct mmc_data *data, bool pre) in sd_pre_dma_transfer() argument
168 if (!pre && data->host_cookie && data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
175 if (pre || data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
182 if (pre) { in sd_pre_dma_transfer()
Ds3cmci.c154 u32 con, pre, cmdarg, cmdcon, cmdsta, r0, r1, r2, r3, timer, bsize; in dbg_dumpregs() local
158 pre = readl(host->base + S3C2410_SDIPRE); in dbg_dumpregs()
175 prefix, con, pre, timer); in dbg_dumpregs()
/drivers/staging/android/
Dashmem.c215 size_t pre = range_size(range); in range_shrink() local
221 lru_count -= pre - range_size(range); in range_shrink()
/drivers/crypto/qat/qat_common/
Dqat_uclo.c206 struct icp_qat_uof_batch_init *pre; in qat_uclo_cleanup_batch_init_list() local
208 pre = umem_init; in qat_uclo_cleanup_batch_init_list()
210 kfree(pre); in qat_uclo_cleanup_batch_init_list()
/drivers/staging/rdma/hfi1/
Dpcie.c723 #define eq_value(pre, curr, post) \ argument
724 ((((u32)(pre)) << \
/drivers/ata/
Dsata_mv.c547 u32 pre; member
3129 hpriv->signal[idx].pre = tmp & 0x1800; /* bits 12:11 */ in mv5_read_preamp()
3167 tmp |= hpriv->signal[port].pre; in mv5_phy_errata()
3342 hpriv->signal[idx].pre = 0x1 << 5; in mv6_read_preamp()
3350 hpriv->signal[idx].pre = tmp & 0xe0; /* bits 7:5 */ in mv6_read_preamp()
3422 m2 |= hpriv->signal[port].pre; in mv6_phy_errata()
3452 hpriv->signal[idx].pre = tmp & 0xe0; /* bits 7:5 */ in mv_soc_read_preamp()
/drivers/media/pci/cx88/
Dcx88-core.c732 static const u32 pre[] = { 0, 0, 0, 3, 2, 1 }; in set_pll() local
744 reg = (pll & 0x3ffffff) | (pre[prescale] << 26); in set_pll()
/drivers/md/
DKconfig451 a pre-generated tree of cryptographic checksums stored on a second
469 makes it possible to use pre-generated error correction data to
/drivers/mtd/chips/
DKconfig159 A subset of them are pre-programmed at the factory with a
/drivers/net/wireless/mwifiex/
DREADME127 ps_state = <0/1/2/3, full power state/awake state/pre-sleep state/sleep state>
/drivers/block/
DKconfig255 int "Number of loop devices to pre-create at init time"
259 Static number of loop devices to be unconditionally pre-created
/drivers/usb/misc/
DKconfig86 driver supports the pre-programmed devices (incl. firmware)
/drivers/net/wireless/
DKconfig12 This section contains all the pre 802.11 and 802.11 wireless

12