Home
last modified time | relevance | path

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

12

/drivers/firmware/broadcom/
Dbcm47xx_sprom.c202 const char *pre = prefix; in bcm47xx_sprom_fill_auto() local
206 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto()
208 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto()
209 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto()
210 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto()
211 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto()
212 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto()
213 ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true); in bcm47xx_sprom_fill_auto()
214 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto()
215 ENTRY(0x00000002, u8, pre, "cc", country_code, 0, fb); in bcm47xx_sprom_fill_auto()
[all …]
/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/spi/
Dspi-loopback-test.c334 static void spi_test_print_hex_dump(char *pre, const void *ptr, size_t len) in spi_test_print_hex_dump() argument
338 print_hex_dump(KERN_INFO, pre, in spi_test_print_hex_dump()
344 print_hex_dump(KERN_INFO, pre, in spi_test_print_hex_dump()
349 pre, len - 512); in spi_test_print_hex_dump()
350 print_hex_dump(KERN_INFO, pre, in spi_test_print_hex_dump()
Dspi-imx.c283 unsigned int pre, post; in mx51_ecspi_clkdiv() local
302 pre = DIV_ROUND_UP(fin, fspi << post) - 1; in mx51_ecspi_clkdiv()
305 __func__, fin, fspi, post, pre); in mx51_ecspi_clkdiv()
308 *fres = (fin / (pre + 1)) >> post; in mx51_ecspi_clkdiv()
310 return (pre << MX51_ECSPI_CTRL_PREDIV_OFFSET) | in mx51_ecspi_clkdiv()
/drivers/staging/rtl8192u/
Dchanges4 This is based on the rtl8180-sa2400 pre-0.22-CVS code..
/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi.c464 unsigned int i, pre; in dw_mipi_dsi_get_lane_bps() local
491 pre = pllref / i; in dw_mipi_dsi_get_lane_bps()
492 if ((tmp > (target_mbps % pre)) && (target_mbps / pre < 512)) { in dw_mipi_dsi_get_lane_bps()
493 tmp = target_mbps % pre; in dw_mipi_dsi_get_lane_bps()
495 m = target_mbps / pre; in dw_mipi_dsi_get_lane_bps()
/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/staging/fsl-mc/
DTODO4 DPIO, DPMAC. Other pre-requisites include:
/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/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/staging/android/
Dashmem.c228 size_t pre = range_size(range); in range_shrink() local
234 lru_count -= pre - range_size(range); in range_shrink()
/drivers/mmc/host/
Drtsx_pci_sdmmc.c160 struct mmc_data *data, bool pre) in sd_pre_dma_transfer() argument
167 if (!pre && data->host_cookie && data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
174 if (pre || data->host_cookie != host->cookie) { in sd_pre_dma_transfer()
181 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/net/wireless/
DKconfig12 This section contains all the pre 802.11 and 802.11 wireless
/drivers/ata/
Dsata_mv.c547 u32 pre; member
3125 hpriv->signal[idx].pre = tmp & 0x1800; /* bits 12:11 */ in mv5_read_preamp()
3163 tmp |= hpriv->signal[port].pre; in mv5_phy_errata()
3338 hpriv->signal[idx].pre = 0x1 << 5; in mv6_read_preamp()
3346 hpriv->signal[idx].pre = tmp & 0xe0; /* bits 7:5 */ in mv6_read_preamp()
3418 m2 |= hpriv->signal[port].pre; in mv6_phy_errata()
3448 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/infiniband/hw/hfi1/
Dpcie.c753 #define eq_value(pre, curr, post) \ argument
754 ((((u32)(pre)) << \
/drivers/crypto/qat/qat_common/
Dqat_uclo.c231 struct icp_qat_uof_batch_init *pre; in qat_uclo_cleanup_batch_init_list() local
233 pre = umem_init; in qat_uclo_cleanup_batch_init_list()
235 kfree(pre); in qat_uclo_cleanup_batch_init_list()
/drivers/md/
DKconfig451 a pre-generated tree of cryptographic checksums stored on a second
484 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

12