/drivers/media/dvb-core/ |
D | dvb_ringbuffer.c | 114 size_t split; in dvb_ringbuffer_read_user() local 116 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read_user() 117 if (split > 0) { in dvb_ringbuffer_read_user() 118 if (copy_to_user(buf, rbuf->data+rbuf->pread, split)) in dvb_ringbuffer_read_user() 120 buf += split; in dvb_ringbuffer_read_user() 121 todo -= split; in dvb_ringbuffer_read_user() 135 size_t split; in dvb_ringbuffer_read() local 137 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read() 138 if (split > 0) { in dvb_ringbuffer_read() 139 memcpy(buf, rbuf->data+rbuf->pread, split); in dvb_ringbuffer_read() [all …]
|
/drivers/staging/line6/ |
D | midibuf.c | 52 int line6_midibuf_init(struct midi_buffer *this, int size, int split) in line6_midibuf_init() argument 60 this->split = split; in line6_midibuf_init() 68 this->size, this->split, this->pos_read, this->pos_write, in line6_midibuf_status() 210 if (!this->split) in line6_midibuf_read()
|
D | midibuf.h | 18 int split; member 28 extern int line6_midibuf_init(struct midi_buffer *mb, int size, int split);
|
/drivers/firewire/ |
D | nosy.c | 173 size_t split = end - buffer->head->data; in packet_buffer_get() local 175 if (copy_to_user(data, buffer->head->data, split)) in packet_buffer_get() 177 if (copy_to_user(data + split, buffer->data, length - split)) in packet_buffer_get() 179 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get() 212 size_t split = end - buffer->tail->data; in packet_buffer_put() local 214 memcpy(buffer->tail->data, data, split); in packet_buffer_put() 215 memcpy(buffer->data, data + split, length - split); in packet_buffer_put() 216 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put()
|
/drivers/vfio/ |
D | vfio_iommu_type1.c | 318 struct vfio_dma *split; in vfio_remove_dma_overlap() local 361 split = kzalloc(sizeof *split, GFP_KERNEL); in vfio_remove_dma_overlap() 362 if (!split) in vfio_remove_dma_overlap() 369 split->npage = npage_hi; in vfio_remove_dma_overlap() 370 split->iova = start + size; in vfio_remove_dma_overlap() 371 split->vaddr = dma->vaddr + NPAGE_TO_SIZE(npage_lo) + size; in vfio_remove_dma_overlap() 372 split->prot = dma->prot; in vfio_remove_dma_overlap() 373 list_add(&split->next, &iommu->dma_list); in vfio_remove_dma_overlap()
|
/drivers/media/pci/ivtv/ |
D | ivtv-udma.c | 75 …udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32 split) { in ivtv_udma_fill_sg_array() argument 85 split -= sg_dma_len(sg); in ivtv_udma_fill_sg_array() 86 if (split == 0) in ivtv_udma_fill_sg_array()
|
D | ivtv-udma.h | 27 …v_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32 split);
|
/drivers/media/dvb-frontends/ |
D | dib7000m.c | 638 …if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.… in dib7000m_agc_soft_split() 644 if (agc > state->current_agc->split.min_thres) in dib7000m_agc_soft_split() 645 split_offset = state->current_agc->split.min; in dib7000m_agc_soft_split() 646 else if (agc < state->current_agc->split.max_thres) in dib7000m_agc_soft_split() 647 split_offset = state->current_agc->split.max; in dib7000m_agc_soft_split() 649 split_offset = state->current_agc->split.max * in dib7000m_agc_soft_split() 650 (agc - state->current_agc->split.min_thres) / in dib7000m_agc_soft_split() 651 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib7000m_agc_soft_split()
|
D | dibx000_common.h | 113 } split; member
|
D | dib8000.c | 1178 …if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split… in dib8000_agc_soft_split() 1184 if (agc > state->current_agc->split.min_thres) in dib8000_agc_soft_split() 1185 split_offset = state->current_agc->split.min; in dib8000_agc_soft_split() 1186 else if (agc < state->current_agc->split.max_thres) in dib8000_agc_soft_split() 1187 split_offset = state->current_agc->split.max; in dib8000_agc_soft_split() 1189 split_offset = state->current_agc->split.max * in dib8000_agc_soft_split() 1190 (agc - state->current_agc->split.min_thres) / in dib8000_agc_soft_split() 1191 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib8000_agc_soft_split()
|
/drivers/staging/vt6656/ |
D | TODO | 7 - split rf.c
|
/drivers/staging/vt6655/ |
D | TODO | 6 - split rf.c
|
/drivers/net/wan/ |
D | sdla.c | 764 short dlci, len, len2, split; in sdla_receive() local 854 split = addr + len > buf_top + 1 ? len - (buf_top - addr + 1) : 0; in sdla_receive() 855 len2 = len - split; in sdla_receive() 858 if (split) in sdla_receive() 859 __sdla_read(dev, buf_base, skb_put(skb, split), split); in sdla_receive()
|
/drivers/xen/xenbus/ |
D | xenbus_xs.c | 330 static char **split(char *strings, unsigned int len, unsigned int *num) in split() function 368 return split(strings, len, num); in xenbus_directory() 863 msg->u.watch.vec = split(body, msg->hdr.len, in process_msg()
|
/drivers/staging/wlags49_h2/ |
D | TODO | 18 - the driver is split into a Hermes II and a Hermes II.5 part, it
|
/drivers/staging/wlags49_h25/ |
D | TODO | 18 - the driver is split into a Hermes II and a Hermes II.5 part, it
|
/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 376 u32 split, task=0, ctrl=0, irq=0; in saa7134_set_dmabits() local 440 split = 0; in saa7134_set_dmabits() 454 split = 1; in saa7134_set_dmabits() 470 task, ctrl, irq, split ? "no" : "yes"); in saa7134_set_dmabits()
|
/drivers/staging/media/davinci_vpfe/ |
D | davinci-vpfe-mc.txt | 30 The Davinci VPFE is split into V4L2 subdevs, each of the blocks inside the VPFE
|
/drivers/mtd/ubi/ |
D | Kconfig | 50 flash chip admits maximum 40 bad eraseblocks, and it is split on two
|
/drivers/message/i2o/ |
D | Kconfig | 7 drivers to be split into two parts: an operating system specific
|
/drivers/mtd/maps/ |
D | Kconfig | 132 System's TS-5500 board. The 2MB flash is split into 3 partitions 149 By default the flash is split into 3 partitions which are accessed
|
/drivers/md/bcache/ |
D | btree.c | 1919 bool split, root = b == b->c->root; in btree_split() local 1930 split = set_blocks(n1->sets[0].data, n1->c) > (btree_blocks(b) * 4) / 5; in btree_split() 1932 pr_debug("%ssplitting at %s keys %i", split ? "" : "not ", in btree_split() 1935 if (split) { in btree_split()
|
D | request.c | 495 struct bio_set *split = s->d in bch_insert_data_loop() local 512 n = bch_bio_split(bio, KEY_SIZE(k), GFP_NOIO, split); in bch_insert_data_loop()
|
/drivers/ide/ |
D | Kconfig | 295 # TODO: split it on per host driver config options (or module parameters)
|
/drivers/scsi/aic7xxx/ |
D | aic79xx.seq | 457 * PCI-X mode, we do this to avoid split transactions since 458 * many chipsets seem to be unable to format proper split
|