Home
last modified time | relevance | path

Searched refs:usb_alloc_coherent (Results 1 – 81 of 81) sorted by relevance

/linux-4.4.14/drivers/hid/usbhid/
Dusbkbd.c255 if (!(kbd->new = usb_alloc_coherent(dev, 8, GFP_ATOMIC, &kbd->new_dma))) in usb_kbd_alloc_mem()
259 if (!(kbd->leds = usb_alloc_coherent(dev, 1, GFP_ATOMIC, &kbd->leds_dma))) in usb_kbd_alloc_mem()
Dusbmouse.c146 mouse->data = usb_alloc_coherent(dev, 8, GFP_ATOMIC, &mouse->data_dma); in usb_mouse_probe()
Dhid-core.c840 usbhid->inbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers()
842 usbhid->outbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers()
845 usbhid->ctrlbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers()
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_io.h32 #define rtw_usb_buffer_alloc(dev, size, dma) usb_alloc_coherent((dev), (size), (in_interrupt() ? GF…
/linux-4.4.14/drivers/usb/misc/
Dyurex.c247 dev->cntl_buffer = usb_alloc_coherent(dev->udev, YUREX_BUF_SIZE, in yurex_probe()
278 dev->int_buffer = usb_alloc_coherent(dev->udev, YUREX_BUF_SIZE, in yurex_probe()
Dappledisplay.c270 pdata->urbdata = usb_alloc_coherent(pdata->udev, ACD_URB_BUFFER_LEN, in appledisplay_probe()
Dusblcd.c246 buf = usb_alloc_coherent(dev->udev, count, GFP_KERNEL, in lcd_write()
Dftdi-elan.c793 buf = usb_alloc_coherent(ftdi->udev, total_size, GFP_KERNEL, in ftdi_elan_command_engine()
1159 buf = usb_alloc_coherent(ftdi->udev, count, GFP_KERNEL, in ftdi_elan_write()
1955 buf = usb_alloc_coherent(ftdi->udev, I, GFP_KERNEL, &urb->transfer_dma); in ftdi_elan_synchronize_flush()
1995 buf = usb_alloc_coherent(ftdi->udev, I, GFP_KERNEL, &urb->transfer_dma); in ftdi_elan_synchronize_reset()
Dusbtest.c267 urb->transfer_buffer = usb_alloc_coherent(udev, bytes + offset, in usbtest_alloc_urb()
1528 buf = usb_alloc_coherent(udev, size, GFP_KERNEL, &buf_dma); in unlink_queued()
1901 urb->transfer_buffer = usb_alloc_coherent(udev, bytes + offset, in iso_alloc_urb()
Diowarrior.c420 buf = usb_alloc_coherent(dev->udev, dev->report_size, in iowarrior_write()
/linux-4.4.14/drivers/net/usb/
Dipheth.c171 tx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE, in ipheth_alloc_urbs()
176 rx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE, in ipheth_alloc_urbs()
Dkaweth.c1154 kaweth->intbuffer = usb_alloc_coherent( kaweth->dev, in kaweth_probe()
1160 kaweth->rx_buf = usb_alloc_coherent( kaweth->dev, in kaweth_probe()
/linux-4.4.14/drivers/input/tablet/
Dkbtab.c130 kbtab->data = usb_alloc_coherent(dev, 8, GFP_KERNEL, &kbtab->data_dma); in kbtab_probe()
Dacecad.c163 acecad->data = usb_alloc_coherent(dev, 8, GFP_KERNEL, &acecad->data_dma); in usb_acecad_probe()
Dhanwang.c355 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, in hanwang_probe()
Dgtco.c845 gtco->buffer = usb_alloc_coherent(gtco->usbdev, REPORT_MAX_SIZE, in gtco_probe()
Daiptek.c1718 aiptek->data = usb_alloc_coherent(usbdev, AIPTEK_PACKET_LENGTH, in aiptek_probe()
/linux-4.4.14/drivers/media/usb/gspca/
Dbenq.c103 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in sd_start()
Dkonica.c216 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in sd_start()
Dgspca.c216 buffer = usb_alloc_coherent(dev, buffer_len, in alloc_and_submit_int_urb()
803 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in create_urbs()
/linux-4.4.14/drivers/media/rc/
Diguanair.c440 ir->buf_in = usb_alloc_coherent(udev, MAX_IN_PACKET, GFP_KERNEL, in iguanair_probe()
442 ir->packet = usb_alloc_coherent(udev, MAX_OUT_PACKET, GFP_KERNEL, in iguanair_probe()
Dati_remote.c694 ati_remote->inbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers()
699 ati_remote->outbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers()
Dttusbir.c268 buffer = usb_alloc_coherent(tt->udev, 128, GFP_KERNEL, in ttusbir_probe()
Dstreamzap.c392 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
Dredrat3.c969 rr3->bulk_in_buf = usb_alloc_coherent(udev, in redrat3_dev_probe()
Dmceusb.c1339 ir->buf_in = usb_alloc_coherent(dev, maxp, GFP_ATOMIC, &ir->dma_in); in mceusb_dev_probe()
/linux-4.4.14/drivers/usb/core/
Dusb.c730 void *usb_alloc_coherent(struct usb_device *dev, size_t size, gfp_t mem_flags, in usb_alloc_coherent() function
737 EXPORT_SYMBOL_GPL(usb_alloc_coherent);
/linux-4.4.14/drivers/usb/storage/
Donetouch.c207 onetouch->data = usb_alloc_coherent(udev, ONETOUCH_PKT_LEN, in onetouch_connect_input()
Dusb.c457 us->iobuf = usb_alloc_coherent(us->pusb_dev, US_IOBUF_SIZE, in associate_dev()
/linux-4.4.14/drivers/input/misc/
Dcm109.c698 dev->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
703 dev->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in cm109_usb_probe()
Dpowermate.c279 pm->data = usb_alloc_coherent(udev, POWERMATE_PAYLOAD_SIZE_MAX, in powermate_alloc_buffers()
Dyealink.c894 yld->irq_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
899 yld->ctl_data = usb_alloc_coherent(udev, USB_PKT_LEN, in usb_probe()
Dkeyspan_remote.c474 remote->in_buffer = usb_alloc_coherent(udev, RECV_SIZE, GFP_ATOMIC, &remote->in_dma); in keyspan_probe()
Dims-pcu.c1529 pcu->urb_in_buf = usb_alloc_coherent(pcu->udev, pcu->max_in_size, in ims_pcu_buffers_alloc()
1564 pcu->urb_ctrl_buf = usb_alloc_coherent(pcu->udev, pcu->max_ctrl_size, in ims_pcu_buffers_alloc()
Dati_remote2.c638 ar2->buf[i] = usb_alloc_coherent(udev, 4, GFP_KERNEL, &ar2->buf_dma[i]); in ati_remote2_urb_init()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dusb-urb.c120 usb_alloc_coherent(stream->udev, size, GFP_ATOMIC, in usb_allocate_stream_buffers()
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_main.c205 buf = usb_alloc_coherent(udl->udev, MAX_TRANSFER, GFP_KERNEL, in udl_alloc_urb_list()
/linux-4.4.14/drivers/net/can/usb/
Dusb_8dev.c631 buf = usb_alloc_coherent(priv->udev, size, GFP_ATOMIC, in usb_8dev_start_xmit()
756 buf = usb_alloc_coherent(priv->udev, RX_BUFFER_SIZE, GFP_KERNEL, in usb_8dev_start()
Dgs_usb.c481 hf = usb_alloc_coherent(dev->udev, sizeof(*hf), GFP_ATOMIC, in gs_can_start_xmit()
590 buf = usb_alloc_coherent(dev->udev, in gs_can_open()
Dems_usb.c610 buf = usb_alloc_coherent(dev->udev, RX_BUFFER_SIZE, GFP_KERNEL, in ems_usb_start()
762 buf = usb_alloc_coherent(dev->udev, size, GFP_ATOMIC, &urb->transfer_dma); in ems_usb_start_xmit()
Desd_usb2.c567 buf = usb_alloc_coherent(dev->udev, RX_BUFFER_SIZE, GFP_KERNEL, in esd_usb2_setup_rx_urbs()
739 buf = usb_alloc_coherent(dev->udev, size, GFP_ATOMIC, in esd_usb2_start_xmit()
Dkvaser_usb.c1396 buf = usb_alloc_coherent(dev->udev, RX_BUFFER_SIZE, in kvaser_usb_setup_rx_urbs()
/linux-4.4.14/drivers/media/usb/as102/
Das102_usb_drv.c255 dev->stream = usb_alloc_coherent(dev->bus_adap.usb_dev, in as102_alloc_usb_stream_buffer()
/linux-4.4.14/drivers/input/mouse/
Dbcm5974.c946 dev->bt_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
953 dev->tp_data = usb_alloc_coherent(dev->udev, in bcm5974_probe()
Dsynaptics_usb.c335 synusb->data = usb_alloc_coherent(udev, SYNUSB_RECV_SIZE, GFP_KERNEL, in synusb_probe()
Dappletouch.c888 dev->data = usb_alloc_coherent(dev->udev, dev->info->datalen, GFP_KERNEL, in atp_probe()
/linux-4.4.14/drivers/media/usb/stk1160/
Dstk1160-video.c468 dev->isoc_ctl.transfer_buffer[i] = usb_alloc_coherent(dev->udev, in stk1160_alloc_isoc()
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dusb.c49 buf->buf = usb_alloc_coherent(usb_dev, buf->len, GFP_KERNEL, &buf->dma); in mt7601u_usb_alloc_buf()
/linux-4.4.14/sound/usb/
Dendpoint.c769 usb_alloc_coherent(ep->chip->dev, u->buffer_size, in data_ep_set_params()
795 ep->syncbuf = usb_alloc_coherent(ep->chip->dev, SYNC_URBS * 4, in sync_ep_set_params()
Dmidi.c1303 buffer = usb_alloc_coherent(umidi->dev, length, GFP_KERNEL, in snd_usbmidi_in_endpoint_create()
1403 buffer = usb_alloc_coherent(umidi->dev, in snd_usbmidi_out_endpoint_create()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c238 stream->buf_list[stream->buf_num] = usb_alloc_coherent( in usb_alloc_stream_buffers()
Dlmedm04.c429 lme_int->buffer = usb_alloc_coherent(d->udev, 128, GFP_ATOMIC, in lme2510_int_read()
/linux-4.4.14/drivers/watchdog/
Dpcwd_usb.c661 usb_pcwd->intr_buffer = usb_alloc_coherent(udev, usb_pcwd->intr_size, in usb_pcwd_probe()
/linux-4.4.14/drivers/input/joystick/
Dxpad.c724 xpad->odata = usb_alloc_coherent(xpad->udev, XPAD_PKT_LEN, in xpad_init_output()
1226 xpad->idata = usb_alloc_coherent(udev, XPAD_PKT_LEN, in xpad_probe()
/linux-4.4.14/drivers/usb/
Dusb-skeleton.c411 buf = usb_alloc_coherent(dev->udev, writesize, GFP_KERNEL, in skel_write()
/linux-4.4.14/drivers/usb/class/
Dcdc-acm.c1061 wb->buf = usb_alloc_coherent(acm->dev, acm->writesize, GFP_KERNEL, in acm_write_buffers_alloc()
1348 buf = usb_alloc_coherent(usb_dev, ctrlsize, GFP_KERNEL, &acm->ctrl_dma); in acm_probe()
1364 rb->base = usb_alloc_coherent(acm->dev, readsize, GFP_KERNEL, in acm_probe()
/linux-4.4.14/Documentation/usb/
Ddma.txt46 void *usb_alloc_coherent (struct usb_device *dev, size_t size,
/linux-4.4.14/drivers/media/usb/b2c2/
Dflexcop-usb.c410 fc_usb->iso_buffer = usb_alloc_coherent(fc_usb->udev, in flexcop_usb_transfer_init()
/linux-4.4.14/drivers/mfd/
Drtsx_usb.c645 ucr->iobuf = usb_alloc_coherent(ucr->pusb_dev, IOBUF_SIZE, in rtsx_usb_probe()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-core.c1042 usb_alloc_coherent(dev->udev, sb_size, GFP_KERNEL, in cx231xx_init_isoc()
1180 usb_alloc_coherent(dev->udev, sb_size, GFP_KERNEL, in cx231xx_init_bulk()
/linux-4.4.14/drivers/media/usb/pwc/
Dpwc-if.c425 urb->transfer_buffer = usb_alloc_coherent(udev, in pwc_isoc_init()
/linux-4.4.14/include/linux/
Dusb.h1660 void *usb_alloc_coherent(struct usb_device *dev, size_t size,
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-audio.c859 buf = usb_alloc_coherent(dev->udev, npackets * ep_size, GFP_ATOMIC, in em28xx_audio_urb_init()
Dem28xx-core.c943 usb_bufs->transfer_buffer[i] = usb_alloc_coherent(dev->udev, in em28xx_alloc_urbs()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_usb.c551 intr->buffer = usb_alloc_coherent(udev, USB_MAX_EP_INT_BUFFER, in zd_usb_enable_int()
734 buffer = usb_alloc_coherent(udev, USB_MAX_RX_SIZE, GFP_KERNEL, in alloc_rx_urb()
/linux-4.4.14/drivers/net/wireless/ath/ar5523/
Dar5523.c177 ar->rx_cmd_buf = usb_alloc_coherent(ar->dev, AR5523_MAX_RXCMDSZ, in ar5523_alloc_rx_cmd()
956 cmd->buf_tx = usb_alloc_coherent(ar->dev, AR5523_MAX_TXCMDSZ, in ar5523_alloc_tx_cmd()
/linux-4.4.14/drivers/media/usb/airspy/
Dairspy.c385 s->buf_list[s->buf_num] = usb_alloc_coherent(s->udev, in airspy_alloc_stream_bufs()
/linux-4.4.14/drivers/media/usb/msi2500/
Dmsi2500.c523 urb->transfer_buffer = usb_alloc_coherent(dev->udev, in msi2500_isoc_init()
/linux-4.4.14/drivers/media/usb/hdpvr/
Dhdpvr-video.c164 mem = usb_alloc_coherent(dev->udev, dev->bulk_in_size, GFP_KERNEL, in hdpvr_alloc_buffers()
/linux-4.4.14/drivers/input/touchscreen/
Dusbtouchscreen.c1596 usbtouch->data = usb_alloc_coherent(udev, usbtouch->data_size, in usbtouch_probe()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dusb.c431 buf = usb_alloc_coherent(rtlusb->udev, rtlusb->rx_max_size, gfp_mask, in _rtl_prep_rx_urb()
/linux-4.4.14/sound/usb/misc/
Dua101.c1075 usb_alloc_coherent(ua->dev, size, GFP_KERNEL, in alloc_stream_buffers()
/linux-4.4.14/drivers/media/usb/ttusb-dec/
Dttusb_dec.c1250 dec->irq_buffer = usb_alloc_coherent(dec->udev,IRQ_PACKET_SIZE, in ttusb_dec_init_usb()
/linux-4.4.14/drivers/media/usb/uvc/
Duvc_video.c1418 stream->urb_buffer[i] = usb_alloc_coherent( in uvc_alloc_urb_buffers()
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-video.c493 dev->urb_buffer[i] = usb_alloc_coherent( in tm6000_alloc_urb_buffers()
/linux-4.4.14/drivers/media/usb/hackrf/
Dhackrf.c638 dev->buf_list[dev->buf_num] = usb_alloc_coherent(dev->udev, in hackrf_alloc_stream_bufs()
/linux-4.4.14/drivers/media/dvb-frontends/
Drtl2832_sdr.c386 dev->buf_list[dev->buf_num] = usb_alloc_coherent(dev->udev, in rtl2832_sdr_alloc_stream_bufs()
/linux-4.4.14/drivers/video/fbdev/
Dsmscufx.c1894 buf = usb_alloc_coherent(dev->udev, size, GFP_KERNEL, in ufx_alloc_urb_list()
Dudlfb.c1884 buf = usb_alloc_coherent(dev->udev, MAX_TRANSFER, GFP_KERNEL, in dlfb_alloc_urb_list()
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-video.c252 dev->isoc_ctl.transfer_buffer[i] = usb_alloc_coherent(dev->usbdev, in au0828_init_isoc()
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-core.c2318 usb_alloc_coherent(usbvision->dev, in usbvision_init_isoc()