/linux-5.19.10/drivers/media/radio/ |
D | radio-shark2.c | 70 u8 *transfer_buffer; member 80 memset(shark->transfer_buffer, 0, TB_LEN); in shark_write_reg() 81 shark->transfer_buffer[0] = 0x81; /* Write register command */ in shark_write_reg() 83 shark->transfer_buffer[i + 1] = (reg >> (40 - i * 8)) & 0xff; in shark_write_reg() 86 7, shark->transfer_buffer); in shark_write_reg() 90 shark->transfer_buffer, TB_LEN, in shark_write_reg() 106 memset(shark->transfer_buffer, 0, TB_LEN); in shark_read_reg() 107 shark->transfer_buffer[0] = 0x82; in shark_read_reg() 110 shark->transfer_buffer, TB_LEN, in shark_read_reg() 119 shark->transfer_buffer, TB_LEN, in shark_read_reg() [all …]
|
D | radio-shark.c | 74 u8 *transfer_buffer; member 89 memset(shark->transfer_buffer, 0, TB_LEN); in shark_write_val() 90 shark->transfer_buffer[0] = 0xc0; /* Write shift register command */ in shark_write_val() 92 shark->transfer_buffer[i] |= (val >> (24 - i * 8)) & 0xff; in shark_write_val() 96 shark->transfer_buffer, TB_LEN, in shark_write_val() 110 memset(shark->transfer_buffer, 0, TB_LEN); in shark_read_val() 111 shark->transfer_buffer[0] = 0x80; in shark_read_val() 114 shark->transfer_buffer, TB_LEN, in shark_read_val() 123 shark->transfer_buffer, TB_LEN, in shark_read_val() 131 val |= shark->transfer_buffer[i] << (24 - i * 8); in shark_read_val() [all …]
|
D | dsbr100.c | 71 u8 *transfer_buffer; member 92 radio->transfer_buffer, 8, 300); in dsbr100_setfreq() 114 0x01, 0x00, radio->transfer_buffer, 8, 300); in dsbr100_start() 132 0x00, 0x00, radio->transfer_buffer, 8, 300); in dsbr100_stop() 151 0x00, 0x24, radio->transfer_buffer, 8, 300); in dsbr100_getstat() 159 radio->stereo = !(radio->transfer_buffer[0] & 0x01); in dsbr100_getstat() 261 0x00, 0x00, radio->transfer_buffer, 8, 300); in usb_dsbr100_disconnect() 305 kfree(radio->transfer_buffer); in usb_dsbr100_release() 346 radio->transfer_buffer = kmalloc(TB_LEN, GFP_KERNEL); in usb_dsbr100_probe() 348 if (!(radio->transfer_buffer)) { in usb_dsbr100_probe() [all …]
|
/linux-5.19.10/drivers/usb/serial/ |
D | kobil_sct.c | 169 unsigned char *transfer_buffer; in kobil_open() local 175 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_open() 176 if (!transfer_buffer) in kobil_open() 186 transfer_buffer, in kobil_open() 192 dev_dbg(dev, "Hardware version: %i.%i.%i\n", transfer_buffer[0], in kobil_open() 193 transfer_buffer[1], transfer_buffer[2]); in kobil_open() 203 transfer_buffer, in kobil_open() 209 dev_dbg(dev, "Firmware version: %i.%i.%i\n", transfer_buffer[0], in kobil_open() 210 transfer_buffer[1], transfer_buffer[2]); in kobil_open() 250 kfree(transfer_buffer); in kobil_open() [all …]
|
D | visor.c | 254 unsigned char *transfer_buffer; in visor_close() local 259 transfer_buffer = kmalloc(0x12, GFP_KERNEL); in visor_close() 260 if (!transfer_buffer) in visor_close() 266 transfer_buffer, 0x12, 300); in visor_close() 267 kfree(transfer_buffer); in visor_close() 301 urb->transfer_buffer); in visor_read_int_callback() 316 unsigned char *transfer_buffer; in palm_os_3_probe() local 322 transfer_buffer = kmalloc(sizeof(*connection_info), GFP_KERNEL); in palm_os_3_probe() 323 if (!transfer_buffer) in palm_os_3_probe() 330 0xc2, 0x0000, 0x0000, transfer_buffer, in palm_os_3_probe() [all …]
|
D | ir-usb.c | 290 *(u8 *)urb->transfer_buffer = ir_xbof | ir_baud; in ir_write() 292 memcpy(urb->transfer_buffer + 1, buf, count); in ir_write() 359 unsigned char *data = urb->transfer_buffer; in ir_process_read_urb() 382 unsigned char *transfer_buffer; in ir_set_termios() local 441 transfer_buffer = kmalloc(1, GFP_KERNEL); in ir_set_termios() 442 if (!transfer_buffer) in ir_set_termios() 445 *transfer_buffer = ir_xbof | ir_baud; in ir_set_termios() 449 transfer_buffer, 1, &actual_length, 5000); in ir_set_termios() 456 kfree(transfer_buffer); in ir_set_termios()
|
D | iuu_phoenix.c | 168 memset(port->write_urb->transfer_buffer, IUU_UART_RX, 1); in iuu_rxcmd() 172 port->write_urb->transfer_buffer, 1, in iuu_rxcmd() 181 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_reset() 196 port->write_urb->transfer_buffer, 4, iuu_rxcmd, port); in iuu_reset() 221 st = urb->transfer_buffer; in iuu_update_status_callback() 247 port->read_urb->transfer_buffer, 256, in iuu_status_callback() 256 memset(port->write_urb->transfer_buffer, IUU_GET_STATE_REGISTER, 1); in iuu_status() 260 port->write_urb->transfer_buffer, 1, in iuu_status() 350 char *buf_ptr = port->write_urb->transfer_buffer; in iuu_led_activity_on() 363 port->write_urb->transfer_buffer, 8 , in iuu_led_activity_on() [all …]
|
/linux-5.19.10/drivers/media/usb/cx231xx/ |
D | cx231xx-audio.c | 47 kfree(dev->adev.transfer_buffer[i]); in cx231xx_isoc_audio_deinit() 48 dev->adev.transfer_buffer[i] = NULL; in cx231xx_isoc_audio_deinit() 71 kfree(dev->adev.transfer_buffer[i]); in cx231xx_bulk_audio_deinit() 72 dev->adev.transfer_buffer[i] = NULL; in cx231xx_bulk_audio_deinit() 120 cp = (unsigned char *)urb->transfer_buffer + in cx231xx_audio_isocirq() 211 cp = (unsigned char *)urb->transfer_buffer; in cx231xx_audio_bulkirq() 275 dev->adev.transfer_buffer[i] = kmalloc(sb_size, GFP_ATOMIC); in cx231xx_init_audio_isoc() 276 if (!dev->adev.transfer_buffer[i]) in cx231xx_init_audio_isoc() 279 memset(dev->adev.transfer_buffer[i], 0x80, sb_size); in cx231xx_init_audio_isoc() 284 kfree(dev->adev.transfer_buffer[j]); in cx231xx_init_audio_isoc() [all …]
|
D | cx231xx-vbi.c | 92 p_buffer = urb->transfer_buffer; in cx231xx_isoc_vbi_copy() 313 if (dev->vbi_mode.bulk_ctl.transfer_buffer[i]) { in cx231xx_uninit_vbi_isoc() 316 transfer_buffer[i]); in cx231xx_uninit_vbi_isoc() 317 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = in cx231xx_uninit_vbi_isoc() 323 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_vbi_isoc() 327 kfree(dev->vbi_mode.bulk_ctl.transfer_buffer); in cx231xx_uninit_vbi_isoc() 330 dev->vbi_mode.bulk_ctl.transfer_buffer = NULL; in cx231xx_uninit_vbi_isoc() 382 dev->vbi_mode.bulk_ctl.transfer_buffer = in cx231xx_init_vbi_isoc() 384 if (!dev->vbi_mode.bulk_ctl.transfer_buffer) { in cx231xx_init_vbi_isoc() 407 dev->vbi_mode.bulk_ctl.transfer_buffer[i] = in cx231xx_init_vbi_isoc() [all …]
|
D | cx231xx-core.c | 883 if (dev->video_mode.isoc_ctl.transfer_buffer[i]) { in cx231xx_uninit_isoc() 887 transfer_buffer[i], in cx231xx_uninit_isoc() 896 dev->video_mode.isoc_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_isoc() 904 kfree(dev->video_mode.isoc_ctl.transfer_buffer); in cx231xx_uninit_isoc() 908 dev->video_mode.isoc_ctl.transfer_buffer = NULL; in cx231xx_uninit_isoc() 942 if (dev->video_mode.bulk_ctl.transfer_buffer[i]) { in cx231xx_uninit_bulk() 946 transfer_buffer[i], in cx231xx_uninit_bulk() 955 dev->video_mode.bulk_ctl.transfer_buffer[i] = NULL; in cx231xx_uninit_bulk() 963 kfree(dev->video_mode.bulk_ctl.transfer_buffer); in cx231xx_uninit_bulk() 967 dev->video_mode.bulk_ctl.transfer_buffer = NULL; in cx231xx_uninit_bulk() [all …]
|
/linux-5.19.10/sound/usb/line6/ |
D | playback.c | 32 p = (__le16 *)urb_out->transfer_buffer; in change_volume() 45 p = (unsigned char *)urb_out->transfer_buffer; in change_volume() 73 short *po = (short *)urb_out->transfer_buffer; in create_impulse_test_signal() 84 unsigned char *po = urb_out->transfer_buffer; in create_impulse_test_signal() 98 ((unsigned char *)(urb_out->transfer_buffer))[bytes_per_frame - in create_impulse_test_signal() 118 po = (__le16 *)urb_out->transfer_buffer; in add_monitor_signal() 197 urb_out->transfer_buffer = in submit_audio_out_urb() 218 memcpy(urb_out->transfer_buffer, in submit_audio_out_urb() 222 memcpy(urb_out->transfer_buffer + in submit_audio_out_urb() 229 memcpy(urb_out->transfer_buffer, in submit_audio_out_urb() [all …]
|
D | midi.c | 79 kfree(urb->transfer_buffer); in midi_sent() 109 unsigned char *transfer_buffer; in send_midi_async() local 116 transfer_buffer = kmemdup(data, length, GFP_ATOMIC); in send_midi_async() 118 if (transfer_buffer == NULL) { in send_midi_async() 126 transfer_buffer, length, midi_sent, line6, in send_midi_async()
|
/linux-5.19.10/drivers/media/usb/tm6000/ |
D | tm6000-dvb.c | 89 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in tm6000_urb_received() 96 kfree(urb->transfer_buffer); in tm6000_urb_received() 126 dvb->bulk_urb->transfer_buffer = kzalloc(size, GFP_KERNEL); in tm6000_start_stream() 127 if (!dvb->bulk_urb->transfer_buffer) { in tm6000_start_stream() 134 dvb->bulk_urb->transfer_buffer, in tm6000_start_stream() 143 kfree(dvb->bulk_urb->transfer_buffer); in tm6000_start_stream() 158 kfree(dvb->bulk_urb->transfer_buffer); in tm6000_start_stream() 175 kfree(dvb->bulk_urb->transfer_buffer); in tm6000_stop_stream() 368 kfree(bulk_urb->transfer_buffer); in unregister_dvb() 369 bulk_urb->transfer_buffer = NULL; in unregister_dvb()
|
D | tm6000-input.c | 198 buf = urb->transfer_buffer; in tm6000_ir_urb_received() 205 tm6000_ir_keydown(ir, urb->transfer_buffer, urb->actual_length); in tm6000_ir_urb_received() 346 ir->int_urb->transfer_buffer = kzalloc(size, GFP_ATOMIC); in __tm6000_ir_int_start() 347 if (!ir->int_urb->transfer_buffer) { in __tm6000_ir_int_start() 354 ir->int_urb->transfer_buffer, size, in __tm6000_ir_int_start() 374 kfree(ir->int_urb->transfer_buffer); in __tm6000_ir_int_stop()
|
/linux-5.19.10/drivers/media/usb/stk1160/ |
D | stk1160-video.c | 241 p = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in stk1160_process_isoc() 315 invalidate_kernel_vmap_range(stk_urb->transfer_buffer, in stk1160_isoc_irq() 367 dma_vunmap_noncontiguous(dma_dev, stk_urb->transfer_buffer); in stk_free_urb() 372 stk_urb->transfer_buffer = NULL; in stk_free_urb() 425 stk_urb->transfer_buffer = dma_vmap_noncontiguous(dma_dev, sb_size, in stk1160_fill_urb() 427 if (!stk_urb->transfer_buffer) in stk1160_fill_urb() 484 memset(dev->isoc_ctl.urb_ctl[i].transfer_buffer, 0, sb_size); in stk1160_alloc_isoc() 491 urb->transfer_buffer = dev->isoc_ctl.urb_ctl[i].transfer_buffer; in stk1160_alloc_isoc()
|
/linux-5.19.10/drivers/media/usb/go7007/ |
D | go7007-usb.c | 623 int value, int index, void *transfer_buffer, int length, int in) in go7007_usb_vendor_request() argument 632 value, index, transfer_buffer, length, timeout); in go7007_usb_vendor_request() 637 value, index, transfer_buffer, length, timeout); in go7007_usb_vendor_request() 748 __le16 *regs = (__le16 *)urb->transfer_buffer; in go7007_usb_readinterrupt_complete() 802 go7007_parse_video_stream(go, urb->transfer_buffer, urb->actual_length); in go7007_usb_read_video_pipe_complete() 825 go->audio_deliver(go, urb->transfer_buffer, urb->actual_length); in go7007_usb_read_audio_pipe_complete() 904 kfree(usb->intr_urb->transfer_buffer); in go7007_usb_release() 913 kfree(vurb->transfer_buffer); in go7007_usb_release() 919 kfree(aurb->transfer_buffer); in go7007_usb_release() 1143 usb->intr_urb->transfer_buffer = kmalloc_array(2, sizeof(u16), in go7007_usb_probe() [all …]
|
/linux-5.19.10/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 230 buf = (char *)urb->transfer_buffer; in udl_crtc_write_mode_to_hw() 299 cmd = urb->transfer_buffer; in udl_handle_damage() 313 if (cmd > (char *)urb->transfer_buffer) { in udl_handle_damage() 316 if (cmd < (char *)urb->transfer_buffer + urb->transfer_buffer_length) in udl_handle_damage() 318 len = cmd - (char *)urb->transfer_buffer; in udl_handle_damage() 404 buf = (char *)urb->transfer_buffer; in udl_simple_display_pipe_disable() 410 udl_submit_urb(dev, urb, buf - (char *)urb->transfer_buffer); in udl_simple_display_pipe_disable()
|
D | udl_transfer.c | 221 u8 *cmd_end = (u8 *) urb->transfer_buffer + urb->transfer_buffer_length; in udl_render_hline() 236 int len = cmd - (u8 *) urb->transfer_buffer; in udl_render_hline() 244 cmd = urb->transfer_buffer; in udl_render_hline()
|
/linux-5.19.10/drivers/media/usb/usbtv/ |
D | usbtv-audio.c | 133 urb_current = urb->transfer_buffer + i + USBTV_AUDIO_HDRSIZE; in usbtv_audio_urb_received() 206 chip->snd_bulk_urb->transfer_buffer = kzalloc( in usbtv_audio_start() 208 if (chip->snd_bulk_urb->transfer_buffer == NULL) in usbtv_audio_start() 212 chip->snd_bulk_urb->transfer_buffer, USBTV_AUDIO_URBSIZE, in usbtv_audio_start() 246 kfree(chip->snd_bulk_urb->transfer_buffer); in usbtv_audio_stop()
|
/linux-5.19.10/drivers/media/usb/gspca/ |
D | benq.c | 88 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in sd_start() 93 if (urb->transfer_buffer == NULL) { in sd_start() 206 data = (u8 *) urb0->transfer_buffer in sd_isoc_irq() 222 data = (u8 *) urb->transfer_buffer in sd_isoc_irq()
|
/linux-5.19.10/drivers/usb/usbip/ |
D | vudc_rx.c | 32 urb->transfer_buffer = kzalloc(urb->transfer_buffer_length, in alloc_urb_from_cmd() 34 if (!urb->transfer_buffer) in alloc_urb_from_cmd() 54 kfree(urb->transfer_buffer); in alloc_urb_from_cmd() 55 urb->transfer_buffer = NULL; in alloc_urb_from_cmd()
|
/linux-5.19.10/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 134 ptr = purb->transfer_buffer; in urb_completion() 151 purb->transfer_buffer, purb->actual_length / 188); in urb_completion() 154 memset(purb->transfer_buffer, 0, URB_BUFSIZE); in urb_completion() 179 kfree(dev->urbs[i]->transfer_buffer); in stop_urb_transfer() 209 purb->transfer_buffer = dev->dig_transfer_buffer[i]; in start_urb_transfer() 211 purb->transfer_buffer = kzalloc(URB_BUFSIZE, in start_urb_transfer() 214 if (!purb->transfer_buffer) { in start_urb_transfer() 228 purb->transfer_buffer, in start_urb_transfer()
|
/linux-5.19.10/drivers/comedi/drivers/ |
D | usbduxsigma.c | 263 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete() 348 datap = urb->transfer_buffer; in usbduxsigma_ao_handle_urb() 1065 urb->transfer_buffer, devpriv->pwm_buf_sz, in usbduxsigma_submit_pwm_urb() 1104 memset(devpriv->pwm_urb->transfer_buffer, 0, devpriv->pwm_buf_sz); in usbduxsigma_pwm_start() 1125 char *buf = (char *)(devpriv->pwm_urb->transfer_buffer); in usbduxsigma_pwm_pattern() 1357 urb->transfer_buffer = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers() 1358 if (!urb->transfer_buffer) in usbduxsigma_alloc_usb_buffers() 1379 urb->transfer_buffer = kzalloc(SIZEOUTBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers() 1380 if (!urb->transfer_buffer) in usbduxsigma_alloc_usb_buffers() 1396 urb->transfer_buffer = kzalloc(devpriv->pwm_buf_sz, in usbduxsigma_alloc_usb_buffers() [all …]
|
/linux-5.19.10/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 120 cp = (unsigned char *)urb->transfer_buffer + in em28xx_audio_isocirq() 177 memset(dev->adev.transfer_buffer[i], 0x80, in em28xx_init_audio_isoc() 646 dev->adev.transfer_buffer[i], in em28xx_audio_free_urb() 652 kfree(dev->adev.transfer_buffer); in em28xx_audio_free_urb() 757 dev->adev.transfer_buffer = kcalloc(num_urb, in em28xx_audio_urb_init() 758 sizeof(*dev->adev.transfer_buffer), in em28xx_audio_urb_init() 760 if (!dev->adev.transfer_buffer) in em28xx_audio_urb_init() 765 kfree(dev->adev.transfer_buffer); in em28xx_audio_urb_init() 791 dev->adev.transfer_buffer[i] = buf; in em28xx_audio_urb_init() 797 urb->transfer_buffer = buf; in em28xx_audio_urb_init()
|
/linux-5.19.10/drivers/usb/chipidea/ |
D | host.c | 383 temp = container_of(urb->transfer_buffer, in ci_hdrc_free_dma_aligned_buffer() 394 urb->transfer_buffer = temp->old_xfer_buffer; in ci_hdrc_free_dma_aligned_buffer() 407 !((uintptr_t)urb->transfer_buffer & (ci_hdrc_usb_dma_align - 1))) in ci_hdrc_alloc_dma_aligned_buffer() 422 temp->old_xfer_buffer = urb->transfer_buffer; in ci_hdrc_alloc_dma_aligned_buffer() 424 memcpy(temp->data, urb->transfer_buffer, in ci_hdrc_alloc_dma_aligned_buffer() 426 urb->transfer_buffer = temp->data; in ci_hdrc_alloc_dma_aligned_buffer()
|