Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 46) sorted by relevance

12

/drivers/scsi/
Dscript_asm.pl416 $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/
Dradio-terratec.c86 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/
Dhvc_beat.c76 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/
Ddasd_eer.c133 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/
Ddvb_filter.c574 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/
Dav7110_ipack.c135 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()
Dav7110_hw.c145 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()
Dav7110_av.c649 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/
Dme4000.c683 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/
D6pack.c964 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/
Dvmwgfx_fifo.c386 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/
Dsentelic.c436 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/
Dsavage_bci.c365 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()
Dsavage_drv.h514 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \
516 if ((n) > rest) { \
/drivers/iommu/
Domap-iommu-debug.c74 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/
Dvmur.h50 char rest[200]; member
/drivers/usb/image/
DKconfig26 The scanner will appear as a scsi generic device to the rest
/drivers/staging/tidspbridge/rmgr/
Dproc.c607 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/
Dmi_pc.h92 dword volatile rest[((0x1020 >> 2) - 6) - 0x1b - 1 - 0x03 - (sizeof(MP_XCPTC) >> 2)]; member
/drivers/media/dvb-frontends/
Ddib0090.c188 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/
Dibmvstgt.c224 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/
Dohci.c3313 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/
Dsym_hipd.c2402 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/
DKconfig35 string (byte 5 of the event) and part of the string (the rest of the
/drivers/net/team/
DKconfig56 Only one port is active at a time and the rest of ports are used

12