/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 …]
|
D | scsi_debug.c | 2365 u64 block, rest = 0; in do_device_access() local 2384 rest = block + num - sdebug_store_sectors; in do_device_access() 2388 (num - rest) * scsi_debug_sector_size, 0, do_write); in do_device_access() 2389 if (ret != (num - rest) * scsi_debug_sector_size) in do_device_access() 2392 if (rest) { in do_device_access() 2394 fake_storep, rest * scsi_debug_sector_size, in do_device_access() 2395 (num - rest) * scsi_debug_sector_size, do_write); in do_device_access() 2408 u64 block, rest = 0; in comp_write_worker() local 2414 rest = block + num - store_blks; in comp_write_worker() 2417 (num - rest) * lb_size); in comp_write_worker() [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/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 | 153 int blocks, rest; in load_dram() local 159 rest = len % AV7110_BOOT_MAX_SIZE; in load_dram() 177 if (rest > 0) { in load_dram() 182 if (rest > 4) in load_dram() 184 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE, rest); in load_dram() 187 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE - 4, rest + 4); in load_dram() 190 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 | 590 int rest; in me4000_ai_round_cmd_args() local 598 rest = (cmd->start_arg * 33) % 1000; in me4000_ai_round_cmd_args() 601 if (rest > 33) in me4000_ai_round_cmd_args() 604 if (rest) in me4000_ai_round_cmd_args() 611 rest = (cmd->scan_begin_arg * 33) % 1000; in me4000_ai_round_cmd_args() 614 if (rest > 33) in me4000_ai_round_cmd_args() 617 if (rest) in me4000_ai_round_cmd_args() 624 rest = (cmd->convert_arg * 33) % 1000; in me4000_ai_round_cmd_args() 627 if (rest > 33) in me4000_ai_round_cmd_args() 630 if (rest) in me4000_ai_round_cmd_args()
|
/drivers/net/hamradio/ |
D | 6pack.c | 954 unsigned char checksum = 0, rest = 0, channel; in decode_std_command() local 970 rest = sp->rx_count; in decode_std_command() 971 if (rest != 0) in decode_std_command() 972 for (i = rest; i <= 3; i++) in decode_std_command() 974 if (rest == 2) in decode_std_command() 976 else if (rest == 3) in decode_std_command()
|
/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 | 513 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \ 515 if ((n) > rest) { \
|
/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 = kstrtouint(rest + 1, 16, &val); in fsp_attr_set_setreg()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 414 uint32_t rest; in vmw_fifo_res_copy() local 424 rest = bytes - chunk_size; in vmw_fifo_res_copy() 425 if (rest) in vmw_fifo_res_copy() 426 memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest); in vmw_fifo_res_copy()
|
/drivers/s390/char/ |
D | vmur.h | 50 char rest[200]; member
|
/drivers/mmc/host/ |
D | usdhi6rol0.c | 1216 int i, rest; in usdhi6_blk_read() local 1236 rest = data->blksz % 4; in usdhi6_blk_read() 1237 for (i = 0; i < (rest + 1) / 2; i++) { in usdhi6_blk_read() 1240 if (rest > 1 && !i) in usdhi6_blk_read() 1256 int i, rest; in usdhi6_blk_write() local 1276 rest = data->blksz % 4; in usdhi6_blk_write() 1277 for (i = 0; i < (rest + 1) / 2; i++) { in usdhi6_blk_write() 1280 if (rest > 1 && !i) in usdhi6_blk_write()
|
/drivers/usb/image/ |
D | Kconfig | 26 The scanner will appear as a scsi generic device to the rest
|
/drivers/dma/sh/ |
D | rcar-hpbdma.c | 542 struct resource *chan, *comm, *rest, *mode, *irq_res; in hpb_dmae_probe() local 551 rest = platform_get_resource(pdev, IORESOURCE_MEM, 2); in hpb_dmae_probe() 573 hpbdev->reset_reg = devm_ioremap_resource(&pdev->dev, rest); in hpb_dmae_probe()
|
/drivers/staging/media/bcm2048/ |
D | TODO | 23 until the rest of the driver is cleaned up. Then I have a better idea of
|
/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() 2139 …if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug… in dib0090_captrim_search() 2383 state->rest = Rest; in dib0090_tune()
|
/drivers/firewire/ |
D | ohci.c | 3319 u32 z, header_z, rest; in queue_iso_packet_per_buffer() local 3353 rest = payload_per_buffer; in queue_iso_packet_per_buffer() 3360 if (offset + rest < PAGE_SIZE) in queue_iso_packet_per_buffer() 3361 length = rest; in queue_iso_packet_per_buffer() 3376 rest -= length; in queue_iso_packet_per_buffer() 3399 int page, offset, rest, z, i, length; in queue_iso_buffer_fill() local 3403 rest = packet->payload_length; in queue_iso_buffer_fill() 3406 z = DIV_ROUND_UP(offset + rest, PAGE_SIZE); in queue_iso_buffer_fill() 3408 if (WARN_ON(offset & 3 || rest & 3 || page + z > buffer->page_count)) in queue_iso_buffer_fill() 3423 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/net/team/ |
D | Kconfig | 56 Only one port is active at a time and the rest of ports are used
|
/drivers/nvmem/ |
D | Kconfig | 45 functions for QFPROM data to rest of the drivers via nvmem interface.
|