/drivers/block/drbd/ |
H A D | drbd_vli.h | 148 u64 adj = 1; local 153 *out = ((in & ((~0ULL) >> (64-t))) >> b) + adj; \ 156 adj += 1ULL << (t - b); \ 171 u64 adj = 1; local 180 *out = ((in - adj) << b) | v; \ 183 adj = max + 1; \
|
/drivers/rtc/ |
H A D | rtc-rx8025.c | 452 static int rx8025_get_clock_adjust(struct device *dev, int *adj) argument 462 *adj = digoff >= 64 ? digoff - 128 : digoff; 463 if (*adj > 0) 464 (*adj)--; 465 *adj *= -RX8025_ADJ_RESOLUTION; 470 static int rx8025_set_clock_adjust(struct device *dev, int adj) argument 476 adj /= -RX8025_ADJ_RESOLUTION; 477 if (adj > RX8025_ADJ_DATA_MAX) 478 adj = RX8025_ADJ_DATA_MAX; 479 else if (adj < RX8025_ADJ_DATA_MI 500 int err, adj; local 513 int adj, err; local [all...] |
/drivers/ide/ |
H A D | pdc202xx_new.c | 135 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; local 150 set_indexed_reg(hwif, 0x10 + adj, 152 set_indexed_reg(hwif, 0x11 + adj, 154 set_indexed_reg(hwif, 0x12 + adj, 157 set_indexed_reg(hwif, 0x0e + adj, 159 set_indexed_reg(hwif, 0x0f + adj, 164 u8 tmp = get_indexed_reg(hwif, 0x10 + adj); 166 set_indexed_reg(hwif, 0x10 + adj, tmp & 0x7f); 173 u8 adj = (drive->dn & 1) ? 0x08 : 0x00; local 177 set_indexed_reg(hwif, 0x0c + adj, pio_timing [all...] |
/drivers/usb/gadget/ |
H A D | r8a66597-udc.h | 207 int adj = 0; local 229 adj = 0x03; /* 32-bit wide */ 231 adj = 0x01; /* 16-bit wide */ 237 iowrite8(buf[i], fifoaddr + adj - (i & adj));
|
/drivers/macintosh/ |
H A D | windfarm_pid.c | 92 s32 error, target, sval, adj; local 121 adj = min(st->param.ttarget, sval); 123 DBG("integ: %lx, sval: %lx, adj: %lx\n", integ, sval, adj); 132 prop = st->last_delta = (new_temp - adj);
|
/drivers/ptp/ |
H A D | ptp_ixp46x.c | 138 u64 adj; local 149 adj = addend; 150 adj *= ppb; 151 diff = div_u64(adj, 1000000000ULL);
|
H A D | ptp_pch.c | 411 u64 adj; local 422 adj = addend; 423 adj *= ppb; 424 diff = div_u64(adj, 1000000000ULL);
|
/drivers/staging/android/ |
H A D | lowmemorykiller.c | 6 * /sys/module/lowmemorykiller/parameters/adj and the number of free pages in 10 * For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and 144 lowmem_print(2, "select %d (%s), adj %d, size %d, to kill\n", 148 lowmem_print(1, "send sigkill to %d (%s), adj %d, size %d\n", 257 __module_param_call(MODULE_PARAM_PREFIX, adj, 261 __MODULE_PARM_TYPE(adj, "array of int"); 263 module_param_array_named(adj, lowmem_adj, int, &lowmem_adj_size,
|
/drivers/video/backlight/ |
H A D | corgi_lcd.c | 193 int adj; local 198 adj = sharpsl_param.phadadj; 199 adj = (adj < 0) ? PHACTRL_PHASE_MANUAL : 200 PHACTRL_PHASE_MANUAL | ((adj & 0xf) << 1); 205 adj = (DEFAULT_PHAD_QVGA << 1) | PHACTRL_PHASE_MANUAL; 209 corgi_ssp_lcdtg_send(lcd, PHACTRL_ADRS, adj);
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar_ptp.c | 284 u64 adj; local 294 adj = tmr_add; 295 adj *= ppb; 296 diff = div_u64(adj, 1000000000ULL); 460 get_of_u32(node, "fsl,max-adj", &etsects->caps.max_adj)) {
|
/drivers/ata/ |
H A D | pata_pdc2027x.c | 198 u8 adj = (adev->devno) ? 0x08 : 0x00; local 199 return port_mmio(ap, offset) + adj;
|
/drivers/gpu/drm/nouveau/ |
H A D | nv50_crtc.c | 179 int adj; local 191 adj = (nv_crtc->color_vibrance > 0) ? 50 : 0; 192 vib = ((nv_crtc->color_vibrance * 2047 + adj) / 100) & 0xfff;
|
/drivers/media/video/gspca/ |
H A D | zc3xx.c | 5844 int g, i, brightness, contrast, adj, gp1, gp2; local 5871 adj = 0; 5875 - delta_c[i] * contrast / 256 - adj / 2; 5882 adj--; 5884 adj++;
|