/linux-6.1.9/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-6.1.9/drivers/usb/serial/ |
D | kobil_sct.c | 170 unsigned char *transfer_buffer; in kobil_open() local 176 transfer_buffer = kzalloc(transfer_buffer_length, GFP_KERNEL); in kobil_open() 177 if (!transfer_buffer) in kobil_open() 187 transfer_buffer, in kobil_open() 193 dev_dbg(dev, "Hardware version: %i.%i.%i\n", transfer_buffer[0], in kobil_open() 194 transfer_buffer[1], transfer_buffer[2]); in kobil_open() 204 transfer_buffer, in kobil_open() 210 dev_dbg(dev, "Firmware version: %i.%i.%i\n", transfer_buffer[0], in kobil_open() 211 transfer_buffer[1], transfer_buffer[2]); in kobil_open() 251 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 | 291 *(u8 *)urb->transfer_buffer = ir_xbof | ir_baud; in ir_write() 293 memcpy(urb->transfer_buffer + 1, buf, count); in ir_write() 360 unsigned char *data = urb->transfer_buffer; in ir_process_read_urb() 384 unsigned char *transfer_buffer; in ir_set_termios() local 443 transfer_buffer = kmalloc(1, GFP_KERNEL); in ir_set_termios() 444 if (!transfer_buffer) in ir_set_termios() 447 *transfer_buffer = ir_xbof | ir_baud; in ir_set_termios() 451 transfer_buffer, 1, &actual_length, 5000); in ir_set_termios() 458 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-6.1.9/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-6.1.9/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 | 81 kfree(urb->transfer_buffer); in midi_sent() 111 unsigned char *transfer_buffer; in send_midi_async() local 118 transfer_buffer = kmemdup(data, length, GFP_ATOMIC); in send_midi_async() 120 if (transfer_buffer == NULL) { in send_midi_async() 128 transfer_buffer, length, midi_sent, line6, in send_midi_async()
|
/linux-6.1.9/drivers/staging/media/deprecated/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-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/udl/ |
D | udl_modeset.c | 230 buf = (char *)urb->transfer_buffer; in udl_crtc_write_mode_to_hw() 270 cmd = urb->transfer_buffer; in udl_handle_damage() 284 if (cmd > (char *)urb->transfer_buffer) { in udl_handle_damage() 287 if (cmd < (char *)urb->transfer_buffer + urb->transfer_buffer_length) in udl_handle_damage() 289 len = cmd - (char *)urb->transfer_buffer; in udl_handle_damage() 373 buf = (char *)urb->transfer_buffer; in udl_simple_display_pipe_disable() 379 udl_submit_urb(dev, urb, buf - (char *)urb->transfer_buffer); in udl_simple_display_pipe_disable()
|
D | udl_transfer.c | 181 u8 *cmd_end = (u8 *) urb->transfer_buffer + urb->transfer_buffer_length; in udl_render_hline() 200 int len = cmd - (u8 *) urb->transfer_buffer; in udl_render_hline() 208 cmd = urb->transfer_buffer; in udl_render_hline()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 110 cp = (unsigned char *)urb->transfer_buffer + in em28xx_audio_isocirq() 167 memset(dev->adev.transfer_buffer[i], 0x80, in em28xx_init_audio_isoc() 636 dev->adev.transfer_buffer[i], in em28xx_audio_free_urb() 642 kfree(dev->adev.transfer_buffer); in em28xx_audio_free_urb() 747 dev->adev.transfer_buffer = kcalloc(num_urb, in em28xx_audio_urb_init() 748 sizeof(*dev->adev.transfer_buffer), in em28xx_audio_urb_init() 750 if (!dev->adev.transfer_buffer) in em28xx_audio_urb_init() 755 kfree(dev->adev.transfer_buffer); in em28xx_audio_urb_init() 781 dev->adev.transfer_buffer[i] = buf; in em28xx_audio_urb_init() 787 urb->transfer_buffer = buf; in em28xx_audio_urb_init()
|
/linux-6.1.9/drivers/usb/chipidea/ |
D | host.c | 390 temp = container_of(urb->transfer_buffer, in ci_hdrc_free_dma_aligned_buffer() 401 urb->transfer_buffer = temp->old_xfer_buffer; in ci_hdrc_free_dma_aligned_buffer() 414 !((uintptr_t)urb->transfer_buffer & (ci_hdrc_usb_dma_align - 1))) in ci_hdrc_alloc_dma_aligned_buffer() 429 temp->old_xfer_buffer = urb->transfer_buffer; in ci_hdrc_alloc_dma_aligned_buffer() 431 memcpy(temp->data, urb->transfer_buffer, in ci_hdrc_alloc_dma_aligned_buffer() 433 urb->transfer_buffer = temp->data; in ci_hdrc_alloc_dma_aligned_buffer()
|