/drivers/scsi/ |
D | script_asm.pl | 403 $rest = $2; 404 foreach $rest (split (/\s*,\s*/, $rest)) { 405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) { 456 $rest = $1; 457 if ($rest =~ /^FROM\s+($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 466 } elsif ($rest =~ /^($value)\s*,\s*(PTR\s+|)($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 478 } elsif ($rest =~ /^MEMORY\s+(.*)/i) { 479 $rest = $1; 481 if ($rest =~ /^($value)\s*,\s*($value)\s*,\s*($value)\s*$/) { 504 $rest = $3; [all …]
|
D | scsi_debug.c | 2937 u64 block, rest = 0; in do_device_access() local 2957 rest = block + num - sdebug_store_sectors; in do_device_access() 2961 (num - rest) * sdebug_sector_size, sg_skip, do_write); in do_device_access() 2962 if (ret != (num - rest) * sdebug_sector_size) in do_device_access() 2965 if (rest) { in do_device_access() 2967 fsp, rest * sdebug_sector_size, in do_device_access() 2968 sg_skip + ((num - rest) * sdebug_sector_size), in do_device_access() 2995 u64 block, rest = 0; in comp_write_worker() local 3002 rest = block + num - store_blks; in comp_write_worker() 3004 res = !memcmp(fsp + (block * lb_size), arr, (num - rest) * lb_size); in comp_write_worker() [all …]
|
/drivers/staging/media/av7110/ |
D | dvb_filter.c | 87 int ret=0, rest; in dvb_filter_pes2ts() local 106 rest=183-len; in dvb_filter_pes2ts() 107 if (rest) { in dvb_filter_pes2ts() 109 if (rest-1) in dvb_filter_pes2ts() 110 memset(buf+6, 0xff, rest-1); in dvb_filter_pes2ts() 112 buf[4]=rest; in dvb_filter_pes2ts() 113 memcpy(buf+5+rest, pes, len); in dvb_filter_pes2ts()
|
D | av7110_ipack.c | 136 int rest = p->size - p->count; in write_ipack() local 137 memcpy(p->buf+p->count, data, rest); in write_ipack() 138 p->count += rest; in write_ipack() 140 if (count - rest > 0) in write_ipack() 141 write_ipack(p, data + rest, count - rest); in write_ipack()
|
D | av7110_hw.c | 138 int blocks, rest; in load_dram() local 144 rest = len % AV7110_BOOT_MAX_SIZE; in load_dram() 162 if (rest > 0) { in load_dram() 167 if (rest > 4) in load_dram() 169 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE, rest); in load_dram() 172 ((u8 *)data) + i * AV7110_BOOT_MAX_SIZE - 4, rest + 4); in load_dram() 175 iwdebi(av7110, DEBINOSWAP, AV7110_BOOT_SIZE, rest, 2); in load_dram()
|
D | av7110_av.c | 635 int check, rest; in av7110_p2t_write() local 716 rest = l % (TS_SIZE - 4); in av7110_p2t_write() 717 l -= rest; in av7110_p2t_write() 719 memcpy(p->pes, buf + c + l, rest); in av7110_p2t_write() 720 p->pos = rest; in av7110_p2t_write()
|
/drivers/media/radio/ |
D | radio-terratec.c | 87 long rest; in terratec_s_frequency() local 93 rest = freq * 10 + 10700; /* I once had understood what is going on here */ in terratec_s_frequency() 98 while (rest != 0) { in terratec_s_frequency() 99 if (rest % temp == rest) in terratec_s_frequency() 103 rest = rest - temp; in terratec_s_frequency()
|
/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ |
D | ia_css_sc.host.c | 85 u32 slice, rest, i; in ia_css_sc_config() local 90 rest = internal_org_x_bqs; in ia_css_sc_config() 92 slice = min(rest, ((uint32_t)ISP_SLICE_NELEMS)); in ia_css_sc_config() 93 rest = rest - slice; in ia_css_sc_config()
|
/drivers/s390/block/ |
D | dasd_eer.c | 134 unsigned long rest, len; in dasd_eer_write_buffer() local 138 rest = count; in dasd_eer_write_buffer() 139 while (rest > 0) { in dasd_eer_write_buffer() 142 len = min(rest, PAGE_SIZE - localhead); in dasd_eer_write_buffer() 145 rest -= len; in dasd_eer_write_buffer() 160 unsigned long rest, len, finalcount; in dasd_eer_read_buffer() local 165 rest = finalcount; in dasd_eer_read_buffer() 166 while (rest > 0) { in dasd_eer_read_buffer() 169 len = min(rest, PAGE_SIZE - localtail); in dasd_eer_read_buffer() 172 rest -= len; in dasd_eer_read_buffer()
|
/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
D | ia_css_s3a.host.c | 339 int out_width, out_height, chunk, rest, kmax, y, x, k, elm_start, elm, ofs; in ia_css_s3a_vmem_decode() local 359 rest = out_width; in ia_css_s3a_vmem_decode() 362 kmax = (rest > chunk) ? chunk : rest; in ia_css_s3a_vmem_decode() 384 rest -= chunk; in ia_css_s3a_vmem_decode()
|
/drivers/comedi/drivers/ |
D | me4000.c | 581 int rest; in me4000_ai_round_cmd_args() local 589 rest = (cmd->start_arg * 33) % 1000; in me4000_ai_round_cmd_args() 592 if (rest > 33) in me4000_ai_round_cmd_args() 595 if (rest) in me4000_ai_round_cmd_args() 602 rest = (cmd->scan_begin_arg * 33) % 1000; in me4000_ai_round_cmd_args() 605 if (rest > 33) in me4000_ai_round_cmd_args() 608 if (rest) in me4000_ai_round_cmd_args() 615 rest = (cmd->convert_arg * 33) % 1000; in me4000_ai_round_cmd_args() 618 if (rest > 33) in me4000_ai_round_cmd_args() 621 if (rest) in me4000_ai_round_cmd_args()
|
/drivers/net/hamradio/ |
D | 6pack.c | 901 unsigned char checksum = 0, rest = 0; in decode_std_command() local 916 rest = sp->rx_count; in decode_std_command() 917 if (rest != 0) in decode_std_command() 918 for (i = rest; i <= 3; i++) in decode_std_command() 920 if (rest == 2) in decode_std_command() 922 else if (rest == 3) in decode_std_command()
|
/drivers/gpu/drm/savage/ |
D | savage_bci.c | 375 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - in savage_dma_alloc() local 377 unsigned int nr_pages = (n - rest + SAVAGE_DMA_PAGE_SIZE - 1) / in savage_dma_alloc() 383 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); in savage_dma_alloc() 388 if (n < rest) in savage_dma_alloc() 389 rest = n; in savage_dma_alloc() 390 dev_priv->dma_pages[cur].used += rest; in savage_dma_alloc() 391 n -= rest; in savage_dma_alloc()
|
D | savage_drv.h | 519 unsigned int rest = SAVAGE_DMA_PAGE_SIZE - \ 521 if ((n) > rest) { \
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmd.c | 391 uint32_t rest; in vmw_fifo_res_copy() local 401 rest = bytes - chunk_size; in vmw_fifo_res_copy() 402 if (rest) in vmw_fifo_res_copy() 403 memcpy(fifo_mem + (min >> 2), buffer + (chunk_size >> 2), rest); in vmw_fifo_res_copy()
|
/drivers/input/mouse/ |
D | sentelic.c | 423 char *rest; in fsp_attr_set_setreg() local 426 reg = simple_strtoul(buf, &rest, 16); in fsp_attr_set_setreg() 427 if (rest == buf || *rest != ' ' || reg > 0xff) in fsp_attr_set_setreg() 430 retval = kstrtouint(rest + 1, 16, &val); in fsp_attr_set_setreg()
|
/drivers/s390/char/ |
D | vmur.h | 53 char rest[200]; member
|
/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 215 int ret=0, rest; in dvb_filter_pes2ts() local 234 rest=183-len; in dvb_filter_pes2ts() 235 if (rest) { in dvb_filter_pes2ts() 237 if (rest-1) in dvb_filter_pes2ts() 238 memset(buf+6, 0xff, rest-1); in dvb_filter_pes2ts() 240 buf[4]=rest; in dvb_filter_pes2ts() 241 memcpy(buf+5+rest, pes, len); in dvb_filter_pes2ts()
|
/drivers/mmc/host/ |
D | usdhi6rol0.c | 1266 int i, rest; in usdhi6_blk_read() local 1286 rest = data->blksz % 4; in usdhi6_blk_read() 1287 for (i = 0; i < (rest + 1) / 2; i++) { in usdhi6_blk_read() 1290 if (rest > 1 && !i) in usdhi6_blk_read() 1306 int i, rest; in usdhi6_blk_write() local 1326 rest = data->blksz % 4; in usdhi6_blk_write() 1327 for (i = 0; i < (rest + 1) / 2; i++) { in usdhi6_blk_write() 1330 if (rest > 1 && !i) in usdhi6_blk_write()
|
/drivers/usb/image/ |
D | Kconfig | 27 The scanner will appear as a scsi generic device to the rest
|
/drivers/usb/chipidea/ |
D | udc.c | 427 unsigned int rest = hwreq->req.length; in prepare_td_for_non_sg() local 431 if (rest == 0) { in prepare_td_for_non_sg() 444 while (rest > 0) { in prepare_td_for_non_sg() 452 rest -= count; in prepare_td_for_non_sg() 468 unsigned int rest = sg_dma_len(s); in prepare_td_per_sg() local 472 while (rest > 0) { in prepare_td_per_sg() 473 unsigned int count = min_t(unsigned int, rest, in prepare_td_per_sg() 480 rest -= count; in prepare_td_per_sg()
|
/drivers/media/dvb-frontends/ |
D | dib0090.c | 172 u32 rest; member 863 u16 rest; in slopes_to_scale() local 867 rest = slopes[i].range; in slopes_to_scale() 869 rest = val; in slopes_to_scale() 870 ret += (rest * slopes[i].slope) / slopes[i].range; in slopes_to_scale() 871 val -= rest; in slopes_to_scale() 2140 …if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug… in dib0090_captrim_search() 2384 state->rest = Rest; in dib0090_tune()
|
/drivers/firewire/ |
D | ohci.c | 3348 u32 z, header_z, rest; in queue_iso_packet_per_buffer() local 3382 rest = payload_per_buffer; in queue_iso_packet_per_buffer() 3389 if (offset + rest < PAGE_SIZE) in queue_iso_packet_per_buffer() 3390 length = rest; in queue_iso_packet_per_buffer() 3405 rest -= length; in queue_iso_packet_per_buffer() 3428 int page, offset, rest, z, i, length; in queue_iso_buffer_fill() local 3432 rest = packet->payload_length; in queue_iso_buffer_fill() 3435 z = DIV_ROUND_UP(offset + rest, PAGE_SIZE); in queue_iso_buffer_fill() 3437 if (WARN_ON(offset & 3 || rest & 3 || page + z > buffer->page_count)) in queue_iso_buffer_fill() 3452 if (offset + rest < PAGE_SIZE) in queue_iso_buffer_fill() [all …]
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 2389 u32 rest; local 2408 rest = dbc & 0xffffff; 2441 (dfifo & 0xff)) - rest) & 0x3ff; 2443 delta = ((dfifo & 0xff) - rest) & 0x7f; 2452 rest += delta; 2454 if (ss0 & OLF) rest++; 2456 if (ss0 & ORF) rest++; 2459 if (ss2 & OLF1) rest++; 2461 if (ss2 & ORF1) rest++; 2476 (unsigned) rest, (unsigned) delta); [all …]
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 433 u32 rest = 0; in aq_ptp_pps_pin_configure() local 440 div_u64_rem(start, NSEC_PER_SEC, &rest); in aq_ptp_pps_pin_configure() 442 start = on ? start - rest + NSEC_PER_SEC * in aq_ptp_pps_pin_configure() 443 (rest > 990000000LL ? 2 : 1) : 0; in aq_ptp_pps_pin_configure()
|