| /linux/drivers/media/radio/si470x/ |
| H A D | radio-si470x-usb.c | 198 static int si470x_get_report(struct si470x_device *radio, void *buf, int size) in si470x_get_report() argument 203 retval = usb_control_msg(radio->usbdev, in si470x_get_report() 204 usb_rcvctrlpipe(radio->usbdev, 0), in si470x_get_report() 211 dev_warn(&radio->intf->dev, in si470x_get_report() 221 static int si470x_set_report(struct si470x_device *radio, void *buf, int size) in si470x_set_report() argument 226 retval = usb_control_msg(radio->usbdev, in si470x_set_report() 227 usb_sndctrlpipe(radio->usbdev, 0), in si470x_set_report() 234 dev_warn(&radio->intf->dev, in si470x_set_report() 244 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument 248 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_get_register() [all …]
|
| H A D | radio-si470x-i2c.c | 84 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument 89 .addr = radio->client->addr, in si470x_get_register() 96 if (i2c_transfer(radio->client->adapter, msgs, 1) != 1) in si470x_get_register() 99 radio->registers[regnr] = __be16_to_cpu(buf[READ_INDEX(regnr)]); in si470x_get_register() 108 static int si470x_set_register(struct si470x_device *radio, int regnr) in si470x_set_register() argument 114 .addr = radio->client->addr, in si470x_set_register() 121 buf[i] = __cpu_to_be16(radio->registers[WRITE_INDEX(i)]); in si470x_set_register() 123 if (i2c_transfer(radio->client->adapter, msgs, 1) != 1) in si470x_set_register() 138 static int si470x_get_all_registers(struct si470x_device *radio) in si470x_get_all_registers() argument 144 .addr = radio->client->addr, in si470x_get_all_registers() [all …]
|
| H A D | radio-si470x-common.c | 179 static int si470x_set_band(struct si470x_device *radio, int band) in si470x_set_band() argument 181 if (radio->band == band) in si470x_set_band() 184 radio->band = band; in si470x_set_band() 185 radio->registers[SYSCONFIG2] &= ~SYSCONFIG2_BAND; in si470x_set_band() 186 radio->registers[SYSCONFIG2] |= radio->band << 6; in si470x_set_band() 187 return radio->set_register(radio, SYSCONFIG2); in si470x_set_band() 193 static int si470x_set_chan(struct si470x_device *radio, unsigned short chan) in si470x_set_chan() argument 199 retval = radio->get_register(radio, POWERCFG); in si470x_set_chan() 203 if ((radio->registers[POWERCFG] & (POWERCFG_ENABLE|POWERCFG_DMUTE)) in si470x_set_chan() 209 radio->registers[CHANNEL] &= ~CHANNEL_CHAN; in si470x_set_chan() [all …]
|
| H A D | radio-si470x.h | 157 int (*get_register)(struct si470x_device *radio, int regnr); 158 int (*set_register)(struct si470x_device *radio, int regnr); 217 int si470x_disconnect_check(struct si470x_device *radio); 218 int si470x_set_freq(struct si470x_device *radio, unsigned int freq); 219 int si470x_start(struct si470x_device *radio); 220 int si470x_stop(struct si470x_device *radio);
|
| H A D | Kconfig | 9 Say Y here if you want to connect this type of radio to your 14 module will be called radio-si470x-common. 32 to redirect the audio stream from the radio to your sound device: 35 Say Y here if you want to connect this type of radio to your 39 module will be called radio-usb-si470x. 48 Say Y here if you want to connect this type of radio to your 52 module will be called radio-i2c-si470x.
|
| H A D | Makefile | 6 obj-$(CONFIG_RADIO_SI470X) += radio-si470x-common.o 7 obj-$(CONFIG_USB_SI470X) += radio-si470x-usb.o 8 obj-$(CONFIG_I2C_SI470X) += radio-si470x-i2c.o
|
| /linux/drivers/media/radio/ |
| H A D | radio-mr800.c | 135 static int amradio_send_cmd(struct amradio_device *radio, u8 cmd, u8 arg, in amradio_send_cmd() argument 141 radio->buffer[0] = 0x00; in amradio_send_cmd() 142 radio->buffer[1] = 0x55; in amradio_send_cmd() 143 radio->buffer[2] = 0xaa; in amradio_send_cmd() 144 radio->buffer[3] = extralen; in amradio_send_cmd() 145 radio->buffer[4] = cmd; in amradio_send_cmd() 146 radio->buffer[5] = arg; in amradio_send_cmd() 147 radio->buffer[6] = 0x00; in amradio_send_cmd() 148 radio->buffer[7] = extra || reply ? 8 : 0; in amradio_send_cmd() 150 retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), in amradio_send_cmd() [all …]
|
| H A D | radio-ma901.c | 93 static int ma901radio_set_freq(struct ma901radio_device *radio, int freq) in ma901radio_set_freq() argument 98 radio->buffer[0] = 0x0a; in ma901radio_set_freq() 99 radio->buffer[1] = MA901_RADIO_SET_FREQ; in ma901radio_set_freq() 100 radio->buffer[2] = ((freq_send >> 8) & 0xff) + 0x80; in ma901radio_set_freq() 101 radio->buffer[3] = freq_send & 0xff; in ma901radio_set_freq() 102 radio->buffer[4] = 0x00; in ma901radio_set_freq() 103 radio->buffer[5] = 0x00; in ma901radio_set_freq() 104 radio->buffer[6] = 0x00; in ma901radio_set_freq() 105 radio->buffer[7] = 0x00; in ma901radio_set_freq() 107 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901radio_set_freq() [all …]
|
| H A D | dsbr100.c | 81 static int dsbr100_setfreq(struct dsbr100_device *radio, unsigned freq) in dsbr100_setfreq() argument 86 if (!radio->muted) { in dsbr100_setfreq() 87 retval = usb_control_msg(radio->usbdev, in dsbr100_setfreq() 88 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_setfreq() 92 radio->transfer_buffer, 8, 300); in dsbr100_setfreq() 98 radio->curfreq = freq; in dsbr100_setfreq() 101 dev_err(&radio->usbdev->dev, in dsbr100_setfreq() 108 static int dsbr100_start(struct dsbr100_device *radio) in dsbr100_start() argument 110 int retval = usb_control_msg(radio->usbdev, in dsbr100_start() 111 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_start() [all …]
|
| H A D | radio-tea5764.c | 140 static int tea5764_i2c_read(struct tea5764_device *radio) in tea5764_i2c_read() argument 143 u16 *p = (u16 *) &radio->regs; in tea5764_i2c_read() 146 { .addr = radio->i2c_client->addr, in tea5764_i2c_read() 148 .len = sizeof(radio->regs), in tea5764_i2c_read() 149 .buf = (void *)&radio->regs in tea5764_i2c_read() 152 if (i2c_transfer(radio->i2c_client->adapter, msgs, 1) != 1) in tea5764_i2c_read() 160 static int tea5764_i2c_write(struct tea5764_device *radio) in tea5764_i2c_write() argument 163 struct tea5764_regs *r = &radio->regs; in tea5764_i2c_write() 166 .addr = radio->i2c_client->addr, in tea5764_i2c_write() 177 if (i2c_transfer(radio->i2c_client->adapter, msgs, 1) != 1) in tea5764_i2c_write() [all …]
|
| /linux/drivers/media/radio/si4713/ |
| H A D | radio-usb-si4713.c | 68 struct si4713_usb_device *radio = video_drvdata(file); in vidioc_querycap() local 72 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap() 79 struct si4713_usb_device *radio = video_drvdata(file); in vidioc_g_modulator() local 81 return v4l2_subdev_call(radio->v4l2_subdev, tuner, g_modulator, vm); in vidioc_g_modulator() 87 struct si4713_usb_device *radio = video_drvdata(file); in vidioc_s_modulator() local 89 return v4l2_subdev_call(radio->v4l2_subdev, tuner, s_modulator, vm); in vidioc_s_modulator() 95 struct si4713_usb_device *radio = video_drvdata(file); in vidioc_s_frequency() local 97 return v4l2_subdev_call(radio->v4l2_subdev, tuner, s_frequency, vf); in vidioc_s_frequency() 103 struct si4713_usb_device *radio = video_drvdata(file); in vidioc_g_frequency() local 105 return v4l2_subdev_call(radio->v4l2_subdev, tuner, g_frequency, vf); in vidioc_g_frequency() [all …]
|
| H A D | Kconfig | 11 Say Y here if you want to connect this type of radio to your 15 module will be called radio-usb-si4713. 25 Say Y here if you want to connect this type of radio to your 29 module will be called radio-platform-si4713. 37 RDS and RBDS signals as well. This module is the v4l2 radio
|
| H A D | Makefile | 7 obj-$(CONFIG_USB_SI4713) += radio-usb-si4713.o 8 obj-$(CONFIG_PLATFORM_SI4713) += radio-platform-si4713.o
|
| /linux/Documentation/admin-guide/media/ |
| H A D | si470x.rst | 14 Silicon Laboratories is the manufacturer of the radio ICs, that nowadays are the 15 most often used radio receivers in cell phones. Usually they are connected with 17 together with a small microcontroller C8051F321, to form a USB radio. 18 Part of this reference design is also a radio application in binary and source 30 - Si4700: FM radio receiver 31 - Si4701: FM radio receiver, RDS Support 32 - Si4702: FM radio receiver 33 - Si4703: FM radio receiver, RDS Support 34 - Si4704: FM radio receiver, no external antenna required 35 - Si4705: FM radio receiver, no external antenna required, RDS support, Dig I/O [all …]
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | radiotrack.rst | 3 The Radiotrack radio driver 30 value, I wanted to see if the tuner could be tuned beyond the usual FM radio 42 The RadioTrack card is an ISA 8-bit FM radio card. The radio frequency (RF) 59 (or blocks) of the radio card. This way, many functions can be changed in 130 radio enable, tuner adjust disable) 133 radio disable, tuner adjust disable) 139 radio enable, tuner adjust disable) 144 radio enable, tuner adjust disable) 149 radio enable, tuner adjust disable) 160 BASE <-- 0x01 (audio mute, no stereo detect, radio [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | dev-radio.rst | 10 This interface is intended for AM and FM (analog) radio receivers and 13 Conventionally V4L2 radio devices are accessed through character device 14 special files named ``/dev/radio`` and ``/dev/radio0`` to 21 Devices supporting the radio interface set the ``V4L2_CAP_RADIO`` and 46 Further all radio devices have one tuner or modulator (these are 47 discussed in :ref:`tuner`) with index number zero to select the radio
|
| H A D | tuner.rst | 30 current video or radio input is queried. 58 A video or radio device cannot support both a tuner and a modulator. Two 80 To get and set the tuner or modulator radio frequency applications use 84 ioctls are used for TV and radio devices alike. Drivers must support 86 the device is a radio device.
|
| H A D | ext-ctrls-rf-tuner.rst | 13 In this context, RF tuner is radio receiver circuit between antenna and 14 demodulator. It receives radio frequency (RF) from the antenna and 24 `Tuner (radio) <http://en.wikipedia.org/wiki/Tuner_%28radio%29>`__ 40 Enables/disables tuner radio channel bandwidth configuration. In
|
| H A D | vidioc-g-frequency.rst | 13 VIDIOC_G_FREQUENCY - VIDIOC_S_FREQUENCY - Get or set tuner or modulator radio frequency 38 To get the current tuner or modulator radio frequency applications set 46 To change the current tuner or modulator radio frequency applications 77 ``V4L2_TUNER_RADIO`` for modulators (currently only radio
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91sam9g25-gardena-smart-gateway.dts | 58 led-radio-blue { 59 label = "smartgw:radio:blue"; 64 led-radio-green { 65 label = "smartgw:radio:green"; 70 led-radio-red { 71 label = "smartgw:radio:red";
|
| /linux/net/ax25/ |
| H A D | Kconfig | 10 If you want to connect your Linux box to an amateur radio, answer Y 17 the questions about amateur radio. 27 radio. It is either used by itself for point-to-point links, or to 29 that connects your Linux box to your amateur radio. You can either 31 modem connecting your computer's serial port to your radio's 40 radio as well as information about how to configure an AX.25 port is 44 kernel source. More information about digital amateur radio in 87 A comprehensive listing of all the software for Linux amateur radio 92 about digital amateur radio in general is on the WWW at 103 connections in general and amateur radio AX.25 connections in [all …]
|
| /linux/Documentation/networking/device_drivers/wifi/intel/ |
| H A D | ipw2100.rst | 50 radio operation and to ensure electromagnetic compliance (EMC). These 71 system configuration do not cause the EMC and radio operation to be 123 For example, to disable the radio on driver loading, enter: 177 0 RF kill not enabled (radio on) 178 1 SW based RF kill active (radio off) 179 2 HW based RF kill active (radio off) 180 3 Both HW and SW RF kill active (radio off) 186 0 If SW based RF kill active, turn the radio back on 187 1 If radio is on, activate SW based RF kill 193 based RF kill from ON -> OFF -> ON, the radio will NOT come back on [all …]
|
| /linux/drivers/net/hamradio/ |
| H A D | Kconfig | 9 used for networking over AX.25 amateur radio connections; it 10 connects the computer's serial port with the radio's microphone 26 modem connecting your computer's serial port to your radio's 28 an alternative to KISS for networking over AX.25 amateur radio 43 radio. If you say Y here, you will be able to send and receive AX.25 46 amateur radio connection. 52 These cards are used to connect your Linux box to an amateur radio 89 This is one of two drivers for Baycom style simple amateur radio 109 This is one of two drivers for Baycom style simple amateur radio 126 This is a driver for Baycom style simple amateur radio modems that [all …]
|
| /linux/drivers/media/pci/cx88/ |
| H A D | cx88-cards.c | 20 static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; variable 24 module_param_array(radio, int, NULL, 0444); 28 MODULE_PARM_DESC(radio, "radio tuner type"); 96 .radio = { 132 .radio = { 187 .radio = { 215 .radio = { 248 .radio = { 285 .radio = { 317 .radio = { [all …]
|
| /linux/drivers/media/ |
| H A D | Kconfig | 102 prompt "AM/FM radio receivers/transmitters" if MEDIA_SUPPORT_FILTER 105 Enable AM/FM radio support. 110 Say Y when you have a board with radio support. 113 support radio reception. Disabling this option will 118 prompt "Software defined radio" if MEDIA_SUPPORT_FILTER 121 Enable software defined radio support. 123 Say Y when you have a software defined radio device. 153 Say Y when you have a software defined radio device. 168 radio devices and by some input devices. 226 source "drivers/media/radio/Kconfig"
|