/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 662 struct stk_sio_buffer *sbuf; in stk_read() local 701 sbuf = list_first_entry(&dev->sio_full, struct stk_sio_buffer, list); in stk_read() 704 if (copy_to_user(buf, sbuf->buffer + *f_pos, count)) in stk_read() 712 list_move_tail(&sbuf->list, &dev->sio_avail); in stk_read() 750 struct stk_sio_buffer *sbuf = vma->vm_private_data; in stk_v4l_vm_open() local 751 sbuf->mapcount++; in stk_v4l_vm_open() 755 struct stk_sio_buffer *sbuf = vma->vm_private_data; in stk_v4l_vm_close() local 756 sbuf->mapcount--; in stk_v4l_vm_close() 757 if (sbuf->mapcount == 0) in stk_v4l_vm_close() 758 sbuf->v4lbuf.flags &= ~V4L2_BUF_FLAG_MAPPED; in stk_v4l_vm_close() [all …]
|
/drivers/media/usb/cpia2/ |
D | cpia2_usb.c | 525 if(cam->sbuf[i].urb) { in free_sbufs() 526 usb_kill_urb(cam->sbuf[i].urb); in free_sbufs() 527 usb_free_urb(cam->sbuf[i].urb); in free_sbufs() 528 cam->sbuf[i].urb = NULL; in free_sbufs() 530 if(cam->sbuf[i].data) { in free_sbufs() 531 kfree(cam->sbuf[i].data); in free_sbufs() 532 cam->sbuf[i].data = NULL; in free_sbufs() 669 if (cam->sbuf[i].data) in submit_urbs() 671 cam->sbuf[i].data = in submit_urbs() 673 if (!cam->sbuf[i].data) { in submit_urbs() [all …]
|
D | cpia2.h | 401 struct cpia2_sbuf sbuf[NUM_SBUF]; /* Double buffering */ member
|
/drivers/s390/net/ |
D | ctcm_sysfs.c | 77 char *sbuf; in ctcm_print_statistics() local 82 sbuf = kmalloc(2048, GFP_KERNEL); in ctcm_print_statistics() 83 if (sbuf == NULL) in ctcm_print_statistics() 85 p = sbuf; in ctcm_print_statistics() 107 priv->channel[CTCM_WRITE]->netdev->name, sbuf); in ctcm_print_statistics() 108 kfree(sbuf); in ctcm_print_statistics()
|
/drivers/staging/i4l/act2000/ |
D | act2000_isa.c | 306 if (!(card->sbuf)) { in act2000_isa_send() 307 card->sbuf = skb_dequeue(&card->sndq); in act2000_isa_send() 308 if (card->sbuf) { in act2000_isa_send() 309 card->ack_msg = card->sbuf->data; in act2000_isa_send() 310 msg = (actcapi_msg *)card->sbuf->data; in act2000_isa_send() 320 if (!(card->sbuf)) { in act2000_isa_send() 325 skb = card->sbuf; in act2000_isa_send() 351 card->sbuf = NULL; in act2000_isa_send()
|
D | act2000.h | 166 struct sk_buff *sbuf; /* skb which is currently sent */ member
|
/drivers/char/pcmcia/ |
D | cm4000_cs.c | 110 unsigned char sbuf[512]; member 1118 if (copy_from_user(dev->sbuf, buf, ((count > 512) ? 512 : count))) in cmm_write() 1174 "-> 0x%.2x\n", (unsigned char)dev->sbuf[i], in cmm_write() 1175 invert_revert(dev->sbuf[i])); in cmm_write() 1177 xoutb(invert_revert(dev->sbuf[i]), in cmm_write() 1181 xoutb(dev->sbuf[i], REG_BUF_DATA(iobase)); in cmm_write() 1204 nsend = 5 + (unsigned char)dev->sbuf[4]; in cmm_write() 1205 if (dev->sbuf[4] == 0) in cmm_write() 1215 "0x%.2x\n", invert_revert(dev->sbuf[1])); in cmm_write() 1216 xoutb(invert_revert(dev->sbuf[1]), REG_NUM_BYTES(iobase)); in cmm_write() [all …]
|
/drivers/usb/class/ |
D | cdc-wdm.c | 76 u8 *sbuf; /* buffer for status */ member 240 dr = (struct usb_cdc_notification *)desc->sbuf; in wdm_int_callback() 339 kfree(desc->sbuf); in cleanup() 824 desc->sbuf = kmalloc(desc->wMaxPacketSize, GFP_KERNEL); in wdm_create() 825 if (!desc->sbuf) in wdm_create() 836 desc->sbuf, in wdm_create()
|
/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 2308 usbvision->sbuf[buf_idx].urb = urb; in usbvision_init_isoc() 2309 usbvision->sbuf[buf_idx].data = in usbvision_init_isoc() 2319 urb->transfer_buffer = usbvision->sbuf[buf_idx].data; in usbvision_init_isoc() 2334 err_code = usb_submit_urb(usbvision->sbuf[buf_idx].urb, in usbvision_init_isoc() 2367 usb_kill_urb(usbvision->sbuf[buf_idx].urb); in usbvision_stop_isoc() 2368 if (usbvision->sbuf[buf_idx].data) { in usbvision_stop_isoc() 2371 usbvision->sbuf[buf_idx].data, in usbvision_stop_isoc() 2372 usbvision->sbuf[buf_idx].urb->transfer_dma); in usbvision_stop_isoc() 2374 usb_free_urb(usbvision->sbuf[buf_idx].urb); in usbvision_stop_isoc() 2375 usbvision->sbuf[buf_idx].urb = NULL; in usbvision_stop_isoc()
|
D | usbvision.h | 417 struct usbvision_sbuf sbuf[USBVISION_NUMSBUF]; /* S buffering */ member
|
/drivers/scsi/ibmvscsi_tgt/ |
D | libsrp.h | 100 struct srp_buf *sbuf; member
|
D | ibmvscsi_tgt.h | 329 #define vio_iu(IUE) ((union viosrp_iu *)((IUE)->sbuf->buf))
|
D | ibmvscsi_tgt.c | 1337 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma); in ibmvscsis_copy_crq_packet() 1873 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma, in ibmvscsis_send_mad_resp() 2004 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn, in ibmvscsis_login_rsp() 2061 iue->sbuf->dma, vscsi->dds.window[REMOTE].liobn, in ibmvscsis_srp_login_rej() 2548 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_parse_cmd() 2939 struct srp_cmd *srp = (struct srp_cmd *)iue->sbuf->buf; in ibmvscsis_fast_fail() 3049 rc = h_copy_rdma(len, vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma, in srp_build_response()
|
D | libsrp.c | 51 iue->sbuf = ring[i]; in srp_iu_pool_alloc()
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 752 unsigned long sbuf[3]; in qib_disarm_7220_senderrbufs() local 760 sbuf[0] = qib_read_kreg64(dd, kr_sendbuffererror); in qib_disarm_7220_senderrbufs() 761 sbuf[1] = qib_read_kreg64(dd, kr_sendbuffererror + 1); in qib_disarm_7220_senderrbufs() 762 sbuf[2] = qib_read_kreg64(dd, kr_sendbuffererror + 2); in qib_disarm_7220_senderrbufs() 764 if (sbuf[0] || sbuf[1] || sbuf[2]) in qib_disarm_7220_senderrbufs() 765 qib_disarm_piobufs_set(dd, sbuf, in qib_disarm_7220_senderrbufs() 910 unsigned long sbuf[3]; in sdma_7220_errors() local 912 sbuf[0] = qib_read_kreg64(dd, kr_sendbuffererror); in sdma_7220_errors() 913 sbuf[1] = qib_read_kreg64(dd, kr_sendbuffererror + 1); in sdma_7220_errors() 914 sbuf[2] = qib_read_kreg64(dd, kr_sendbuffererror + 2); in sdma_7220_errors() [all …]
|
D | qib_iba6120.c | 970 unsigned long sbuf[2]; in qib_disarm_6120_senderrbufs() local 977 sbuf[0] = qib_read_kreg64(dd, kr_sendbuffererror); in qib_disarm_6120_senderrbufs() 978 sbuf[1] = qib_read_kreg64(dd, kr_sendbuffererror + 1); in qib_disarm_6120_senderrbufs() 980 if (sbuf[0] || sbuf[1]) in qib_disarm_6120_senderrbufs() 981 qib_disarm_piobufs_set(dd, sbuf, in qib_disarm_6120_senderrbufs()
|
D | qib_iba7322.c | 1339 unsigned long sbuf[4]; in qib_disarm_7322_senderrbufs() local 1347 sbuf[i] = qib_read_kreg64(dd, kr_sendbuffererror + i); in qib_disarm_7322_senderrbufs() 1348 if (sbuf[i]) { in qib_disarm_7322_senderrbufs() 1350 qib_write_kreg(dd, kr_sendbuffererror + i, sbuf[i]); in qib_disarm_7322_senderrbufs() 1355 qib_disarm_piobufs_set(dd, sbuf, piobcnt); in qib_disarm_7322_senderrbufs()
|
/drivers/media/dvb-core/ |
D | dvbdev.c | 849 char sbuf[128]; in dvb_usercopy() local 866 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) { in dvb_usercopy() 867 parg = sbuf; in dvb_usercopy()
|
/drivers/usb/host/ |
D | max3421-hcd.c | 1286 char sbuf[16 * 16], *dp, *end; in max3421_handle_irqs() local 1290 dp = sbuf; in max3421_handle_irqs() 1291 end = sbuf + sizeof(sbuf); in max3421_handle_irqs() 1300 pr_info("%s: hrsl_stats %s\n", __func__, sbuf); in max3421_handle_irqs()
|
/drivers/crypto/ |
D | mv_cesa.c | 224 void *sbuf; in copy_src_to_buf() local 235 sbuf = p->src_sg_it.addr + p->src_start; in copy_src_to_buf() 238 memcpy(dbuf, sbuf, copy_len); in copy_src_to_buf()
|
/drivers/block/drbd/ |
D | drbd_main.c | 624 return sock->sbuf + drbd_header_size(connection); in __conn_prepare_command() 661 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command() 663 err = drbd_send_all(connection, sock->socket, sock->sbuf, header_size, in __send_command() 1224 struct p_compressed_bm *p = sock->sbuf + header_size; in send_bitmap_rle_or_plain() 1247 unsigned long *p = sock->sbuf + header_size; in send_bitmap_rle_or_plain() 2562 socket->sbuf = (void *) __get_free_page(GFP_KERNEL); in drbd_alloc_socket() 2563 if (!socket->sbuf) in drbd_alloc_socket() 2570 free_page((unsigned long) socket->sbuf); in drbd_free_socket()
|
D | drbd_receiver.c | 948 sock.sbuf = connection->data.sbuf; in conn_connect() 952 msock.sbuf = connection->meta.sbuf; in conn_connect()
|
D | drbd_int.h | 584 void *sbuf; member
|
/drivers/media/usb/dvb-usb-v2/ |
D | anysee.c | 50 u8 *sbuf, u8 slen, u8 *rbuf, u8 rlen) in anysee_ctrl_msg() argument 57 memcpy(&state->buf[0], sbuf, slen); in anysee_ctrl_msg()
|
/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 2812 char sbuf[128]; in video_usercopy() local 2823 if (_IOC_SIZE(cmd) <= sizeof(sbuf)) { in video_usercopy() 2824 parg = sbuf; in video_usercopy()
|