/drivers/leds/ |
H A D | leds-atmel-pwm.c | 14 u32 mult; member in struct:pwmled 31 pwm_channel_writel(&led->pwmc, PWM_CUPD, led->mult * (unsigned) b); 81 * for scaling duty cycle: brightness * mult. 85 led->mult = tmp;
|
/drivers/cpufreq/ |
H A D | speedstep-lib.c | 175 u32 msr_lo, msr_hi, mult; local 215 mult = msr_lo >> 24; 218 fsb, mult, (fsb * mult)); 220 ret = (fsb * mult);
|
H A D | longhaul.c | 108 static unsigned int calc_speed(int mult) argument 111 khz = (mult/10)*fsb; 112 if (mult%10) 248 int speed, mult; local 258 mult = mults[mults_index & 0x1f]; 259 if (mult == -1) 261 speed = calc_speed(mult); 275 fsb, mult/10, mult%10, print_speed(speed/1000)); 407 static int guess_fsb(int mult) argument 429 int mult; local [all...] |
/drivers/cpuidle/governors/ |
H A D | menu.c | 172 int mult = 1; local 181 /* mult += 2 * get_loadavg(); */ 184 mult += 10 * nr_iowait_cpu(smp_processor_id()); 186 return mult;
|
/drivers/usb/core/ |
H A D | urb.c | 374 int mult = USB_SS_MULT(ep->ss_ep_comp.bmAttributes); local 376 max *= mult; 381 int mult = 1 + ((max >> 11) & 0x03); local 383 max *= mult;
|
/drivers/video/matrox/ |
H A D | matroxfb_misc.c | 649 unsigned int mult; local 651 mult = bd->pins[4]?8000:6000; 653 minfo->limits.pixel.vcomax = (bd->pins[ 38] == 0xFF) ? 600000 : bd->pins[ 38] * mult; 654 minfo->limits.system.vcomax = (bd->pins[ 36] == 0xFF) ? minfo->limits.pixel.vcomax : bd->pins[ 36] * mult; 655 minfo->limits.video.vcomax = (bd->pins[ 37] == 0xFF) ? minfo->limits.system.vcomax : bd->pins[ 37] * mult; 656 minfo->limits.pixel.vcomin = (bd->pins[123] == 0xFF) ? 256000 : bd->pins[123] * mult; 657 minfo->limits.system.vcomin = (bd->pins[121] == 0xFF) ? minfo->limits.pixel.vcomin : bd->pins[121] * mult; 658 minfo->limits.video.vcomin = (bd->pins[122] == 0xFF) ? minfo->limits.system.vcomin : bd->pins[122] * mult;
|
/drivers/hwmon/ |
H A D | ibmpex.c | 289 int mult = data->sensors[attr->index].multiplier; local 293 data->sensors[attr->index].values[attr->nr] * mult);
|
H A D | fschmd.c | 985 int i, mult[3] = { 0 }, offset[3] = { 0 }, vref = 0, found = 0; local 1022 mult[in] = dmi_data[i + 1] | (dmi_data[i + 2] << 8); 1042 dmi_mult[i] = mult[i] * 10; 1047 * for the mult's and offsets of in3-5 of the syl, but on
|
/drivers/infiniband/core/ |
H A D | verbs.c | 65 enum ib_rate mult_to_ib_rate(int mult) argument 67 switch (mult) {
|
/drivers/media/video/gspca/ |
H A D | se401.c | 409 int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; local 426 gspca_dev->width * mult, 0); 428 gspca_dev->height * mult, 0); 435 switch (mult) { 658 int mult = gspca_dev->cam.cam_mode[gspca_dev->curr_mode].priv; local 663 if (mult == 1) /* mult == 1 means raw bayer */
|
/drivers/regulator/ |
H A D | tps65910-regulator.c | 568 int opvsel = 0, srvsel = 0, vselmax = 0, mult = 0, sr = 0; local 573 mult = tps65910_reg_read(pmic, TPS65910_VDD1); 574 mult = (mult & VDD1_VGAIN_SEL_MASK) >> VDD1_VGAIN_SEL_SHIFT; 583 mult = tps65910_reg_read(pmic, TPS65910_VDD2); 584 mult = (mult & VDD2_VGAIN_SEL_MASK) >> VDD2_VGAIN_SEL_SHIFT; 602 if (!mult) 603 mult=1; 814 int volt, mult local [all...] |
/drivers/sh/clk/ |
H A D | core.c | 45 unsigned long mult, div; local 53 mult = 1; 59 mult = src_table->multipliers[i]; 61 if (!div || !mult || (bitmap && !test_bit(i, bitmap))) 64 freq = clk->parent->rate * mult / div;
|
/drivers/dma/ |
H A D | sa11x0-dma.c | 643 unsigned mult = DIV_ROUND_UP(tlen, local 646 tlen = (tlen / mult) & ~DMA_ALIGN;
|
/drivers/misc/ |
H A D | vmw_balloon.c | 602 unsigned int mult = i / b->rate_alloc; local 605 min(b->rate_alloc + mult * VMW_BALLOON_RATE_ALLOC_INC,
|
/drivers/scsi/ |
H A D | scsi_transport_spi.c | 461 int mult = 100; local 466 picosec += (*endp - '0') * mult; 467 mult /= 10; 468 } while (mult > 0);
|
/drivers/usb/dwc3/ |
H A D | gadget.c | 172 int mult = 1; local 183 mult = 3; 196 tmp = mult * (dep->endpoint.maxpacket + mdwidth);
|
/drivers/atm/ |
H A D | eni.c | 2003 struct eni_multipliers mult; local 2006 if (copy_from_user(&mult, arg, 2009 if ((mult.tx && mult.tx <= 100) || (mult.rx &&mult.rx <= 100) || 2010 mult.tx > 65536 || mult.rx > 65536) 2012 if (mult.tx) eni_dev->tx_mult = mult [all...] |
H A D | he.c | 667 int mult, buf, buf_limit = 4; local 750 mult = he_dev->atm_dev->link_rate / ATM_OC3_PCR; 751 if (rate_cps > (272 * mult)) 753 else if (rate_cps > (204 * mult)) 755 else if (rate_cps > (136 * mult)) 757 else if (rate_cps > (68 * mult))
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_verbs.c | 991 static enum ib_rate ipath_mult_to_ib_rate(unsigned mult) argument 993 switch (mult) {
|
/drivers/media/rc/ |
H A D | redrat3.c | 881 int mult = 6000000; local 884 return (u16)(65536 - (mult / mod_freq));
|
/drivers/mmc/core/ |
H A D | core.c | 492 unsigned int mult; local 506 mult = mmc_card_sd(card) ? 100 : 10; 513 mult <<= card->csd.r2w_factor; 515 data->timeout_ns = card->csd.tacc_ns * mult; 516 data->timeout_clks = card->csd.tacc_clks * mult; 1456 unsigned int mult = (10 << card->csd.r2w_factor); local 1457 unsigned int timeout_clks = card->csd.tacc_clks * mult; 1460 /* Avoid overflow: e.g. tacc_ns=80000000 mult=1280 */ 1462 timeout_us = (card->csd.tacc_ns * mult) / 1000; 1464 timeout_us = (card->csd.tacc_ns / 1000) * mult; [all...] |
/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 3335 int mult = 1; local 3340 mult = 4; break; 3342 mult = 16; break; 3344 mult = 64; break; 3350 return (val & 0x3f) * mult; 3355 u8 mult = 0; local 3359 mult = 1; /* mult with 4 */ 3363 mult = 2; /* mult wit [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 389 static void sym_getclock (struct sym_hcb *np, int mult) argument 400 if (mult > 1 && (stest1 & (DBLEN+DBLSEL)) == DBLEN+DBLSEL) { 403 np->multiplier = mult; 411 if (np->multiplier != mult || (scntl3 & 7) < 3 || !(scntl3 & 1)) { 422 if (f1 < 80000 && mult > 1) { 426 np->multiplier = mult;
|
/drivers/usb/gadget/ |
H A D | fsl_udc_core.c | 476 * @mult: Mult field 481 unsigned int zlt, unsigned char mult) 495 | (mult << EP_QUEUE_HEAD_MULT_POS); 545 unsigned char mult = 0, zlt; local 573 /* mult = 0. Execute N Transactions as demonstrated by 577 mult = 0; 581 mult = (unsigned char)(1 + ((max >> 11) & 0x03)); 584 if (mult > 3) 598 * according to max, zlt, mult) */ 604 max, zlt, mult); 478 struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, unsigned char dir, unsigned char ep_type, unsigned int max_pkt_len, unsigned int zlt, unsigned char mult) argument [all...] |
H A D | langwell_udc.c | 254 unsigned char zlt, ios = 0, mult = 0; local 327 mult = (unsigned char)(1 + ((max >> 11) & 0x03)); 330 if (mult > 3) 356 ep->dqh->dqh_mult = mult;
|