Searched refs:shark (Results 1 – 4 of 4) sorted by relevance
/drivers/media/radio/ |
D | radio-shark.c | 86 struct shark_device *shark = tea->private_data; in shark_write_val() local 90 if (shark->last_val == val) in shark_write_val() 93 memset(shark->transfer_buffer, 0, TB_LEN); in shark_write_val() 94 shark->transfer_buffer[0] = 0xc0; /* Write shift register command */ in shark_write_val() 96 shark->transfer_buffer[i] |= (val >> (24 - i * 8)) & 0xff; in shark_write_val() 98 res = usb_interrupt_msg(shark->usbdev, in shark_write_val() 99 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_write_val() 100 shark->transfer_buffer, TB_LEN, in shark_write_val() 103 shark->last_val = val; in shark_write_val() 105 v4l2_err(&shark->v4l2_dev, "set-freq error: %d\n", res); in shark_write_val() [all …]
|
D | radio-shark2.c | 81 struct shark_device *shark = tea->private_data; in shark_write_reg() local 84 memset(shark->transfer_buffer, 0, TB_LEN); in shark_write_reg() 85 shark->transfer_buffer[0] = 0x81; /* Write register command */ in shark_write_reg() 87 shark->transfer_buffer[i + 1] = (reg >> (40 - i * 8)) & 0xff; in shark_write_reg() 90 7, shark->transfer_buffer); in shark_write_reg() 92 res = usb_interrupt_msg(shark->usbdev, in shark_write_reg() 93 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_write_reg() 94 shark->transfer_buffer, TB_LEN, in shark_write_reg() 106 struct shark_device *shark = tea->private_data; in shark_read_reg() local 110 memset(shark->transfer_buffer, 0, TB_LEN); in shark_read_reg() [all …]
|
D | Makefile | 14 obj-$(CONFIG_RADIO_SHARK) += radio-shark.o
|
D | Kconfig | 103 module will be called radio-shark.
|