/drivers/tty/hvc/ |
H A D | hvc_beat.c | 76 int rest, nlen; local 78 for (rest = cnt; rest > 0; rest -= nlen) { 79 nlen = (rest > 16) ? 16 : rest;
|
/drivers/media/radio/ |
H A D | radio-terratec.c | 86 long rest; local 92 rest = freq * 10 + 10700; /* I once had understood what is going on here */ 97 while (rest != 0) { 98 if (rest % temp == rest) 102 rest = rest - temp;
|
/drivers/scsi/ |
H A D | script_asm.pl | 416 $rest = $2; 417 foreach $rest (split (/\s*,\s*/, $rest)) { 418 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) { 469 $rest = $1; 470 if ($rest =~ /^FROM\s+($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 479 } elsif ($rest =~ /^($value)\s*,\s*(PTR\s+|)($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 491 } elsif ($rest =~ /^MEMORY\s+(.*)/i) { 492 $rest = $1; 494 if ($rest [all...] |
H A D | ncr53c8xx.c | 1542 ** the rest of the data. 6238 ** to transfer the rest of the current block. 6246 u32 rest; local 6263 rest = dbc & 0xffffff; 6276 delta=(((ctest5 << 8) | (INB (nc_dfifo) & 0xff)) - rest) & 0x3ff; 6278 delta=(INB (nc_dfifo) - rest) & 0x7f; 6282 ** the target -> add the amount to the rest 6287 rest += delta; 6289 if (ss0 & OLF) rest++; 6290 if (ss0 & ORF) rest [all...] |
/drivers/s390/char/ |
H A D | vmur.h | 50 char rest[200]; member in struct:file_control_block
|
/drivers/media/dvb/dvb-core/ |
H A D | dvb_filter.c | 574 int ret=0, rest; local 593 rest=183-len; 594 if (rest) { 596 if (rest-1) 597 memset(buf+6, 0xff, rest-1); 599 buf[4]=rest; 600 memcpy(buf+5+rest, pes, len);
|
/drivers/s390/block/ |
H A D | dasd_eer.c | 73 * keep track of the rest of the record. residual stores the number of bytes 74 * that are still to deliver. If the rest of the record is invalidated between 133 unsigned long rest, len; local 137 rest = count; 138 while (rest > 0) { 141 len = min(rest, PAGE_SIZE - localhead); 144 rest -= len; 159 unsigned long rest, len, finalcount; local 164 rest = finalcount; 165 while (rest > [all...] |
/drivers/media/dvb/ttpci/ |
H A D | av7110_ipack.c | 135 int rest = p->size - p->count; local 136 memcpy(p->buf+p->count, data, rest); 137 p->count += rest; 139 if (count - rest > 0) 140 write_ipack(p, data + rest, count - rest);
|
H A D | av7110_hw.c | 145 int blocks, rest; local 151 rest = len % AV7110_BOOT_MAX_SIZE; 169 if (rest > 0) { 174 if (rest > 4) 176 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE, rest); 179 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE - 4, rest + 4); 182 iwdebi(av7110, DEBINOSWAP, AV7110_BOOT_SIZE, rest, 2);
|
H A D | av7110_av.c | 649 int check, rest; local 730 rest = l % (TS_SIZE - 4); 731 l -= rest; 733 memcpy(p->pes, buf + c + l, rest); 734 p->pos = rest;
|
/drivers/char/ipmi/ |
H A D | Kconfig | 35 string (byte 5 of the event) and part of the string (the rest of the
|
/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 365 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - local 367 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / 372 DRM_DEBUG("cur=%u, cur->used=%u, n=%u, rest=%u, nr_pages=%u\n", 373 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); 378 if (n < rest) 379 rest = n; 380 dev_priv->dma_pages[cur].used += rest; 381 n -= rest;
|
H A D | savage_drv.h | 514 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \ 516 if ((n) > rest) { \
|
/drivers/iommu/ |
H A D | omap-iommu-debug.c | 74 ssize_t bytes, rest; local 85 rest = count - (p - buf); 86 p += omap_dump_tlb_entries(obj, p, rest);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fifo.c | 386 uint32_t rest; local 396 rest = bytes - chunk_size; 397 if (rest) 399 rest);
|
/drivers/isdn/hardware/eicon/ |
H A D | mi_pc.h | 92 dword volatile rest[((0x1020 >> 2) - 6) - 0x1b - 1 - 0x03 - (sizeof(MP_XCPTC) >> 2)]; member in struct:mp_load
|
/drivers/net/hamradio/ |
H A D | 6pack.c | 964 unsigned char checksum = 0, rest = 0, channel; local 980 rest = sp->rx_count; 981 if (rest != 0) 982 for (i = rest; i <= 3; i++) 984 if (rest == 2) 986 else if (rest == 3)
|
/drivers/staging/comedi/drivers/ |
H A D | me4000.c | 1179 int rest; local 1194 rest = (cmd->start_arg * 33) % 1000; 1197 if (rest > 33) 1200 if (rest) 1207 rest = (cmd->scan_begin_arg * 33) % 1000; 1210 if (rest > 33) 1213 if (rest) 1220 rest = (cmd->convert_arg * 33) % 1000; 1223 if (rest > 33) 1226 if (rest) [all...] |
/drivers/input/mouse/ |
H A D | sentelic.c | 415 char *rest; local 418 reg = simple_strtoul(buf, &rest, 16); 419 if (rest == buf || *rest != ' ' || reg > 0xff) 422 retval = kstrtoint(rest + 1, 16, &val);
|
/drivers/net/ethernet/fujitsu/ |
H A D | eth16i.c | 555 eth16i_initialize(dev, 1); /* Initialize rest of the chip's registers */ 1193 unsigned short rest[2]; local 1194 rest[0] = inw( ioaddr + DATAPORT ); 1196 rest[1] = inw( ioaddr + DATAPORT ); 1198 memcpy(buf + (pkt_len & 0xfffc), (char *)rest, frag);
|
/drivers/scsi/ibmvscsi/ |
H A D | ibmvstgt.c | 224 enum dma_data_direction dir, unsigned int rest) 237 for (i = 0; i < nmd && rest; i++) { 240 mlen = min(rest, md[i].len); 280 rest -= mlen; 222 ibmvstgt_rdma(struct scsi_cmnd *sc, struct scatterlist *sg, int nsg, struct srp_direct_buf *md, int nmd, enum dma_data_direction dir, unsigned int rest) argument
|
/drivers/staging/tidspbridge/rmgr/ |
H A D | proc.c | 613 ssize_t rest; local 631 rest = min_t(ssize_t, PAGE_SIZE - offset, len); 633 sg_set_page(&sg[i], page, rest, offset); 635 len -= rest; 636 start += rest;
|
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 2397 * to transfer the rest of the current block. 2402 u32 rest; local 2421 rest = dbc & 0xffffff; 2454 (dfifo & 0xff)) - rest) & 0x3ff; 2456 delta = ((dfifo & 0xff) - rest) & 0x7f; 2461 * the target -> add the amount to the rest 2465 rest += delta; 2467 if (ss0 & OLF) rest++; 2469 if (ss0 & ORF) rest++; 2472 if (ss2 & OLF1) rest [all...] |
/drivers/media/dvb/frontends/ |
H A D | dib0090.c | 188 u32 rest; member in struct:dib0090_state 892 u16 rest; local 896 rest = slopes[i].range; 898 rest = val; 899 ret += (rest * slopes[i].slope) / slopes[i].range; 900 val -= rest; 2159 if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug : TO CHECK IN ACI for SOCS !!! if 400 for 8090p SOC => tune issue !!! */ 2403 state->rest = Rest;
|
/drivers/firewire/ |
H A D | ohci.c | 3259 u32 z, header_z, rest; local 3293 rest = payload_per_buffer; 3300 if (offset + rest < PAGE_SIZE) 3301 length = rest; 3316 rest -= length; 3339 int page, offset, rest, z, i, length; local 3343 rest = packet->payload_length; 3346 z = DIV_ROUND_UP(offset + rest, PAGE_SIZE); 3348 if (WARN_ON(offset & 3 || rest & 3 || page + z > buffer->page_count)) 3363 if (offset + rest < PAGE_SIZ [all...] |