Home
last modified time | relevance | path

Searched refs:begin (Results 1 – 25 of 69) sorted by relevance

123

/drivers/scsi/
Dgdth_proc.c155 off_t begin = 0,pos = 0; in gdth_get_info() local
191 len += size; pos = begin + len; in gdth_get_info()
205 len += size; pos = begin + len; in gdth_get_info()
209 len += size; pos = begin + len; in gdth_get_info()
213 len += size; pos = begin + len; in gdth_get_info()
218 len += size; pos = begin + len; in gdth_get_info()
234 len += size; pos = begin + len; in gdth_get_info()
241 len += size; pos = begin + len; in gdth_get_info()
247 len += size; pos = begin + len; in gdth_get_info()
251 len += size; pos = begin + len; in gdth_get_info()
[all …]
Deata_pio.c111 off_t begin = 0, pos = 0; in eata_pio_proc_info() local
130 pos = begin + len; in eata_pio_proc_info()
134 begin = pos; in eata_pio_proc_info()
141 *start = buffer + (offset - begin); /* Start of wanted data */ in eata_pio_proc_info()
142 len -= (offset - begin); /* Start slop */ in eata_pio_proc_info()
Dsun3_NCR5380.c765 off_t begin = 0; in NCR5380_proc_info() local
768 if (pos - buffer < offset - begin) { \ in NCR5380_proc_info()
769 begin += pos - buffer; \ in NCR5380_proc_info()
806 *start = buffer + (offset - begin); in NCR5380_proc_info()
807 if (pos - buffer < offset - begin) in NCR5380_proc_info()
809 else if (pos - buffer - (offset - begin) < length) in NCR5380_proc_info()
810 return pos - buffer - (offset - begin); in NCR5380_proc_info()
Datari_NCR5380.c771 off_t begin = 0; in NCR5380_proc_info() local
774 if (pos - buffer < offset - begin) { \ in NCR5380_proc_info()
775 begin += pos - buffer; \ in NCR5380_proc_info()
811 *start = buffer + (offset - begin); in NCR5380_proc_info()
812 if (pos - buffer < offset - begin) in NCR5380_proc_info()
814 else if (pos - buffer - (offset - begin) < length) in NCR5380_proc_info()
815 return pos - buffer - (offset - begin); in NCR5380_proc_info()
/drivers/net/ixp2000/
Dixp2400_rx.uc67 .begin
87 .begin
94 .begin
116 .begin
131 .begin
144 .begin
152 .begin
169 .begin
190 .begin
202 .begin
[all …]
Dixp2400_tx.uc60 .begin
67 .begin
87 .begin
99 .begin
112 .begin
143 .begin
176 .begin
206 .begin
224 .begin
242 .begin
[all …]
/drivers/staging/comedi/
Drt_pend_tq.c31 #define INC_CIRCULAR_PTR(ptr,begin,size) do {if(++(ptr)>=(begin)+(size)) (ptr)=(begin); } while(0) argument
32 #define DEC_CIRCULAR_PTR(ptr,begin,size) do {if(--(ptr)<(begin)) (ptr)=(begin)+(size)-1; } while(0) argument
/drivers/mtd/
Dmtdcore.c369 off_t begin = 0; in mtd_read_proc() local
378 if (len+begin > off+count) in mtd_read_proc()
380 if (len+begin < off) { in mtd_read_proc()
381 begin += len; in mtd_read_proc()
390 if (off >= len+begin) in mtd_read_proc()
392 *start = page + (off-begin); in mtd_read_proc()
393 return ((count < begin+len-off) ? count : begin+len-off); in mtd_read_proc()
Dmtdconcat.c852 uint64_t begin, position; in mtd_concat_create() local
872 begin = position = 0; in mtd_concat_create()
881 erase_region_p->offset = begin; in mtd_concat_create()
884 tmp64 = position - begin; in mtd_concat_create()
887 begin = position; in mtd_concat_create()
900 erase_region_p->offset = begin; in mtd_concat_create()
903 tmp64 = position - begin; in mtd_concat_create()
906 begin = position; in mtd_concat_create()
920 erase_region_p->offset = begin; in mtd_concat_create()
922 tmp64 = position - begin; in mtd_concat_create()
/drivers/acpi/
Dsleep.c300 .begin = acpi_suspend_begin,
328 .begin = acpi_suspend_begin_old,
497 .begin = acpi_hibernation_begin,
550 .begin = acpi_hibernation_begin_old,
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c69 u_int begin; member
431 cur_patch->patch_func, cur_patch->begin, in output_code()
509 new_patch->begin = scope->begin_addr; in emit_patch()
512 new_patch->begin = scope->end_addr; in emit_patch()
656 while (cur_patch != NULL && start_instr == cur_patch->begin) { in check_patch()
/drivers/staging/rtl8187se/
Dr8180_core.c897 u32* begin; in check_tx_ring() local
907 begin = priv->txmapring; in check_tx_ring()
917 begin = priv->txbkpring; in check_tx_ring()
926 begin = priv->txbepring; in check_tx_ring()
935 begin = priv->txvipring; in check_tx_ring()
945 begin = priv->txvopring; in check_tx_ring()
954 begin = priv->txhpring; in check_tx_ring()
970 for(i=0,buf=buffer, tmp=begin; in check_tx_ring()
971 tmp<begin+(priv->txringcount)*8; in check_tx_ring()
982 DMESG("tail at %d", ((int)tail - (int)begin) /8 /4); in check_tx_ring()
[all …]
/drivers/mmc/card/
Dsdio_uart.c940 off_t begin = 0; in sdio_uart_read_proc() local
981 if (len + begin > off + count) in sdio_uart_read_proc()
983 if (len + begin < off) { in sdio_uart_read_proc()
984 begin += len; in sdio_uart_read_proc()
991 if (off >= len + begin) in sdio_uart_read_proc()
993 *start = page + (off - begin); in sdio_uart_read_proc()
994 return (count < begin + len - off) ? count : (begin + len - off); in sdio_uart_read_proc()
/drivers/nubus/
Dnubus.c975 int nprinted, len, begin = 0; in nubus_read_proc() local
987 if (len+begin < off) { in nubus_read_proc()
988 begin += len; in nubus_read_proc()
991 if (len+begin >= off+count) in nubus_read_proc()
994 if (len+begin < off) in nubus_read_proc()
996 off -= begin; in nubus_read_proc()
/drivers/usb/serial/
Dusb-serial.c425 off_t begin = 0; in serial_read_proc() local
452 if ((length + begin) > (off + count)) { in serial_read_proc()
456 if ((length + begin) < off) { in serial_read_proc()
457 begin += length; in serial_read_proc()
464 if (off >= (length + begin)) in serial_read_proc()
466 *start = page + (off-begin); in serial_read_proc()
467 return (count < begin+length-off) ? count : begin+length-off; in serial_read_proc()
/drivers/net/wireless/b43/
Dlo.c613 int begin, end; in lo_probe_possible_loctls() local
629 begin = 1; in lo_probe_possible_loctls()
632 begin = d->current_state - 1; in lo_probe_possible_loctls()
635 begin = d->current_state - 2; in lo_probe_possible_loctls()
638 if (begin < 1) in lo_probe_possible_loctls()
639 begin += 8; in lo_probe_possible_loctls()
644 i = begin; in lo_probe_possible_loctls()
/drivers/ieee1394/
Dohci1394.c640 d->prg_cpu[idx]->begin.address = 0; in insert_packet()
641 d->prg_cpu[idx]->begin.branchAddress = 0; in insert_packet()
649 d->prg_cpu[idx]->begin.status = cpu_to_le32( in insert_packet()
654 cycleTimer, d->prg_cpu[idx]->begin.status); in insert_packet()
656 d->prg_cpu[idx]->begin.status = 0; in insert_packet()
684 d->prg_cpu[idx]->begin.control = in insert_packet()
688 d->prg_cpu[idx]->begin.control = in insert_packet()
729 d->prg_cpu[idx]->begin.control = in insert_packet()
736 d->prg_cpu[idx]->begin.control = in insert_packet()
747 &(d->prg_cpu[idx]->begin.branchAddress); in insert_packet()
[all …]
Dvideo1394.c65 struct dma_cmd begin; member
602 it_prg[i].begin.control = cpu_to_le32(DMA_CTL_OUTPUT_MORE | in initialize_dma_it_prg()
604 it_prg[i].begin.address = 0; in initialize_dma_it_prg()
606 it_prg[i].begin.status = 0; in initialize_dma_it_prg()
626 it_prg[i].begin.branchAddress = in initialize_dma_it_prg()
637 it_prg[i].begin.branchAddress = 0; in initialize_dma_it_prg()
671 it_prg[i].begin.branchAddress = in initialize_dma_it_prg_var_packet_queue()
682 it_prg[i].begin.branchAddress = 0; in initialize_dma_it_prg_var_packet_queue()
1083 [ d->last_used_cmd[d->last_buffer] ].begin.branchAddress = in video1394_ioctl()
/drivers/md/
Ddm-table.c586 return !ti->begin; in adjoin()
589 return (ti->begin == (prev->begin + prev->len)); in adjoin()
723 tgt->begin = start; in dm_table_add_target()
747 t->highs[t->num_targets++] = tgt->begin + tgt->len - 1; in dm_table_add_target()
Ddm-delay.c284 (bio->bi_sector - ti->begin); in delay_map()
291 (bio->bi_sector - ti->begin); in delay_map()
/drivers/pcmcia/
Dpcmcia_ioctl.c187 unsigned long begin, end; in pcmcia_adjust_resource_info() local
202 begin = adj->resource.memory.Base; in pcmcia_adjust_resource_info()
205 ret =s->resource_ops->add_mem(s, adj->Action, begin, end); in pcmcia_adjust_resource_info()
207 begin = adj->resource.io.BasePort; in pcmcia_adjust_resource_info()
210 ret = s->resource_ops->add_io(s, adj->Action, begin, end); in pcmcia_adjust_resource_info()
/drivers/char/
Damiserial.c1897 off_t begin = 0; in rs_read_proc() local
1902 if (len+begin > off+count) in rs_read_proc()
1904 if (len+begin < off) { in rs_read_proc()
1905 begin += len; in rs_read_proc()
1910 if (off >= len+begin) in rs_read_proc()
1912 *start = page + (off-begin); in rs_read_proc()
1913 return ((count < begin+len-off) ? count : begin+len-off); in rs_read_proc()
/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c803 unsigned long begin; in ipoib_ib_dev_stop() local
820 begin = jiffies; in ipoib_ib_dev_stop()
823 if (time_after(jiffies, begin + 5 * HZ)) { in ipoib_ib_dev_stop()
874 begin = jiffies; in ipoib_ib_dev_stop()
879 if (time_after(jiffies, begin + HZ)) { in ipoib_ib_dev_stop()
/drivers/serial/
Dserial_core.c1777 off_t begin = 0; in uart_read_proc() local
1784 if (len + begin > off + count) in uart_read_proc()
1786 if (len + begin < off) { in uart_read_proc()
1787 begin += len; in uart_read_proc()
1793 if (off >= len + begin) in uart_read_proc()
1795 *start = page + (off - begin); in uart_read_proc()
1796 return (count < begin + len - off) ? count : (begin + len - off); in uart_read_proc()
D68360serial.c2033 off_t begin = 0; in rs_360_read_proc() local
2038 if (len+begin > off+count) in rs_360_read_proc()
2040 if (len+begin < off) { in rs_360_read_proc()
2041 begin += len; in rs_360_read_proc()
2047 if (off >= len+begin) in rs_360_read_proc()
2049 *start = page + (begin-off); in rs_360_read_proc()
2050 return ((count < begin+len-off) ? count : begin+len-off); in rs_360_read_proc()

123