/drivers/scsi/ |
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 =~ /^($value)\s*,\s*($value)\s*,\s*($value)\s*$/) { 517 $rest = $3; [all …]
|
/drivers/media/radio/ |
D | radio-terratec.c | 86 long rest; in terratec_s_frequency() local 92 rest = freq * 10 + 10700; /* I once had understood what is going on here */ in terratec_s_frequency() 97 while (rest != 0) { in terratec_s_frequency() 98 if (rest % temp == rest) in terratec_s_frequency() 102 rest = rest - temp; in terratec_s_frequency()
|
/drivers/tty/hvc/ |
D | hvc_beat.c | 76 int rest, nlen; in hvc_beat_put_chars() local 78 for (rest = cnt; rest > 0; rest -= nlen) { in hvc_beat_put_chars() 79 nlen = (rest > 16) ? 16 : rest; in hvc_beat_put_chars()
|
/drivers/s390/block/ |
D | dasd_eer.c | 133 unsigned long rest, len; in dasd_eer_write_buffer() local 137 rest = count; in dasd_eer_write_buffer() 138 while (rest > 0) { in dasd_eer_write_buffer() 141 len = min(rest, PAGE_SIZE - localhead); in dasd_eer_write_buffer() 144 rest -= len; in dasd_eer_write_buffer() 159 unsigned long rest, len, finalcount; in dasd_eer_read_buffer() local 164 rest = finalcount; in dasd_eer_read_buffer() 165 while (rest > 0) { in dasd_eer_read_buffer() 168 len = min(rest, PAGE_SIZE - localtail); in dasd_eer_read_buffer() 171 rest -= len; in dasd_eer_read_buffer()
|
/drivers/media/dvb-core/ |
D | dvb_filter.c | 574 int ret=0, rest; in dvb_filter_pes2ts() local 593 rest=183-len; in dvb_filter_pes2ts() 594 if (rest) { in dvb_filter_pes2ts() 596 if (rest-1) in dvb_filter_pes2ts() 597 memset(buf+6, 0xff, rest-1); in dvb_filter_pes2ts() 599 buf[4]=rest; in dvb_filter_pes2ts() 600 memcpy(buf+5+rest, pes, len); in dvb_filter_pes2ts()
|
/drivers/media/pci/ttpci/ |
D | av7110_ipack.c | 135 int rest = p->size - p->count; in write_ipack() local 136 memcpy(p->buf+p->count, data, rest); in write_ipack() 137 p->count += rest; in write_ipack() 139 if (count - rest > 0) in write_ipack() 140 write_ipack(p, data + rest, count - rest); in write_ipack()
|
D | av7110_hw.c | 145 int blocks, rest; in load_dram() local 151 rest = len % AV7110_BOOT_MAX_SIZE; in load_dram() 169 if (rest > 0) { in load_dram() 174 if (rest > 4) in load_dram() 176 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE, rest); in load_dram() 179 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE - 4, rest + 4); in load_dram() 182 iwdebi(av7110, DEBINOSWAP, AV7110_BOOT_SIZE, rest, 2); in load_dram()
|
D | av7110_av.c | 649 int check, rest; in av7110_p2t_write() local 730 rest = l % (TS_SIZE - 4); in av7110_p2t_write() 731 l -= rest; in av7110_p2t_write() 733 memcpy(p->pes, buf + c + l, rest); in av7110_p2t_write() 734 p->pos = rest; in av7110_p2t_write()
|
/drivers/staging/comedi/drivers/ |
D | me4000.c | 683 int rest; in ai_round_cmd_args() local 691 rest = (cmd->start_arg * 33) % 1000; in ai_round_cmd_args() 694 if (rest > 33) in ai_round_cmd_args() 697 if (rest) in ai_round_cmd_args() 704 rest = (cmd->scan_begin_arg * 33) % 1000; in ai_round_cmd_args() 707 if (rest > 33) in ai_round_cmd_args() 710 if (rest) in ai_round_cmd_args() 717 rest = (cmd->convert_arg * 33) % 1000; in ai_round_cmd_args() 720 if (rest > 33) in ai_round_cmd_args() 723 if (rest) in ai_round_cmd_args()
|
/drivers/net/hamradio/ |
D | 6pack.c | 964 unsigned char checksum = 0, rest = 0, channel; in decode_std_command() local 980 rest = sp->rx_count; in decode_std_command() 981 if (rest != 0) in decode_std_command() 982 for (i = rest; i <= 3; i++) in decode_std_command() 984 if (rest == 2) in decode_std_command() 986 else if (rest == 3) in decode_std_command()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 386 uint32_t rest; in vmw_fifo_res_copy() local 396 rest = bytes - chunk_size; in vmw_fifo_res_copy() 397 if (rest) in vmw_fifo_res_copy() 399 rest); in vmw_fifo_res_copy()
|
/drivers/input/mouse/ |
D | sentelic.c | 436 char *rest; in fsp_attr_set_setreg() local 439 reg = simple_strtoul(buf, &rest, 16); in fsp_attr_set_setreg() 440 if (rest == buf || *rest != ' ' || reg > 0xff) in fsp_attr_set_setreg() 443 retval = kstrtoint(rest + 1, 16, &val); in fsp_attr_set_setreg()
|
/drivers/gpu/drm/savage/ |
D | savage_bci.c | 365 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - in savage_dma_alloc() local 367 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc() 373 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); in savage_dma_alloc() 378 if (n < rest) in savage_dma_alloc() 379 rest = n; in savage_dma_alloc() 380 dev_priv->dma_pages[cur].used += rest; in savage_dma_alloc() 381 n -= rest; in savage_dma_alloc()
|
D | savage_drv.h | 514 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \ 516 if ((n) > rest) { \
|
/drivers/iommu/ |
D | omap-iommu-debug.c | 74 ssize_t bytes, rest; in debug_read_tlb() local 85 rest = count - (p - buf); in debug_read_tlb() 86 p += omap_dump_tlb_entries(obj, p, rest); in debug_read_tlb()
|
/drivers/s390/char/ |
D | vmur.h | 50 char rest[200]; member
|
/drivers/usb/image/ |
D | Kconfig | 26 The scanner will appear as a scsi generic device to the rest
|
/drivers/staging/tidspbridge/rmgr/ |
D | proc.c | 607 ssize_t rest; in build_dma_sg() local 625 rest = min_t(ssize_t, PAGE_SIZE - offset, len); in build_dma_sg() 627 sg_set_page(&sg[i], page, rest, offset); in build_dma_sg() 629 len -= rest; in build_dma_sg() 630 start += rest; in build_dma_sg()
|
/drivers/isdn/hardware/eicon/ |
D | mi_pc.h | 92 dword volatile rest[((0x1020 >> 2) - 6) - 0x1b - 1 - 0x03 - (sizeof(MP_XCPTC) >> 2)]; member
|
/drivers/media/dvb-frontends/ |
D | dib0090.c | 188 u32 rest; member 873 u16 rest; in slopes_to_scale() local 877 rest = slopes[i].range; in slopes_to_scale() 879 rest = val; in slopes_to_scale() 880 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale() 881 val -= rest; in slopes_to_scale() 2141 …if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug… in dib0090_captrim_search() 2385 state->rest = Rest; in dib0090_tune()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvstgt.c | 224 enum dma_data_direction dir, unsigned int rest) in ibmvstgt_rdma() argument 237 for (i = 0; i < nmd && rest; i++) { in ibmvstgt_rdma() 240 mlen = min(rest, md[i].len); in ibmvstgt_rdma() 280 rest -= mlen; in ibmvstgt_rdma()
|
/drivers/firewire/ |
D | ohci.c | 3313 u32 z, header_z, rest; in queue_iso_packet_per_buffer() local 3347 rest = payload_per_buffer; in queue_iso_packet_per_buffer() 3354 if (offset + rest < PAGE_SIZE) in queue_iso_packet_per_buffer() 3355 length = rest; in queue_iso_packet_per_buffer() 3370 rest -= length; in queue_iso_packet_per_buffer() 3393 int page, offset, rest, z, i, length; in queue_iso_buffer_fill() local 3397 rest = packet->payload_length; in queue_iso_buffer_fill() 3400 z = DIV_ROUND_UP(offset + rest, PAGE_SIZE); in queue_iso_buffer_fill() 3402 if (WARN_ON(offset & 3 || rest & 3 || page + z > buffer->page_count)) in queue_iso_buffer_fill() 3417 if (offset + rest < PAGE_SIZE) in queue_iso_buffer_fill() [all …]
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 2402 u32 rest; local 2421 rest = dbc & 0xffffff; 2454 (dfifo & 0xff)) - rest) & 0x3ff; 2456 delta = ((dfifo & 0xff) - rest) & 0x7f; 2465 rest += delta; 2467 if (ss0 & OLF) rest++; 2469 if (ss0 & ORF) rest++; 2472 if (ss2 & OLF1) rest++; 2474 if (ss2 & ORF1) rest++; 2489 (unsigned) rest, (unsigned) delta); [all …]
|
/drivers/char/ipmi/ |
D | Kconfig | 35 string (byte 5 of the event) and part of the string (the rest of the
|
/drivers/net/team/ |
D | Kconfig | 56 Only one port is active at a time and the rest of ports are used
|