Home
last modified time | relevance | path

Searched refs:radio (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-6.1.9/drivers/media/radio/si470x/
Dradio-si470x-usb.c198 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 …]
Dradio-si470x-i2c.c84 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 …]
Dradio-si470x-common.c179 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 …]
Dradio-si470x.h157 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);
DKconfig9 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.
DMakefile6 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-6.1.9/drivers/media/radio/
Dradio-mr800.c135 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 …]
Dradio-keene.c70 static int keene_cmd_main(struct keene_device *radio, unsigned freq, bool play) in keene_cmd_main() argument
75 radio->buffer[0] = 0x00; in keene_cmd_main()
76 radio->buffer[1] = 0x50; in keene_cmd_main()
77 radio->buffer[2] = (freq_send >> 8) & 0xff; in keene_cmd_main()
78 radio->buffer[3] = freq_send & 0xff; in keene_cmd_main()
79 radio->buffer[4] = radio->pa; in keene_cmd_main()
85 radio->buffer[5] = (radio->muted ? 4 : 8) | (play ? 1 : 2) | in keene_cmd_main()
87 radio->buffer[6] = 0x00; in keene_cmd_main()
88 radio->buffer[7] = 0x00; in keene_cmd_main()
90 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in keene_cmd_main()
[all …]
Dradio-ma901.c93 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 …]
Ddsbr100.c81 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 …]
Dradio-wl1273.c131 static int wl1273_fm_rds(struct wl1273_device *radio) in wl1273_fm_rds() argument
133 struct wl1273_core *core = radio->core; in wl1273_fm_rds()
170 dev_err(radio->dev, WL1273_FM_DRIVER_NAME in wl1273_fm_rds()
194 memcpy(&radio->buffer[radio->wr_index], &rds, RDS_BLOCK_SIZE); in wl1273_fm_rds()
195 radio->wr_index += 3; in wl1273_fm_rds()
198 if (radio->wr_index >= radio->buf_size) in wl1273_fm_rds()
199 radio->wr_index = 0; in wl1273_fm_rds()
202 if (radio->wr_index == radio->rd_index) { in wl1273_fm_rds()
203 dev_dbg(radio->dev, "RDS OVERFLOW"); in wl1273_fm_rds()
205 radio->rd_index = 0; in wl1273_fm_rds()
[all …]
Dradio-si476x.c327 struct si476x_radio *radio = video_drvdata(file); in si476x_radio_querycap() local
329 strscpy(capability->driver, radio->v4l2dev.name, in si476x_radio_querycap()
333 "platform:%s", radio->v4l2dev.name); in si476x_radio_querycap()
341 struct si476x_radio *radio = video_drvdata(file); in si476x_radio_enum_freq_bands() local
346 switch (radio->core->chip_id) { in si476x_radio_enum_freq_bands()
379 struct si476x_radio *radio = video_drvdata(file); in si476x_radio_g_tuner() local
401 si476x_core_lock(radio->core); in si476x_radio_g_tuner()
403 if (si476x_core_is_a_secondary_tuner(radio->core)) { in si476x_radio_g_tuner()
407 } else if (si476x_core_has_am(radio->core)) { in si476x_radio_g_tuner()
408 if (si476x_core_is_a_primary_tuner(radio->core)) in si476x_radio_g_tuner()
[all …]
Dradio-raremono.c122 static int raremono_cmd_main(struct raremono_device *radio, unsigned band, unsigned freq) in raremono_cmd_main() argument
139 radio->buffer[0] = 0x04 + band_offset; in raremono_cmd_main()
140 radio->buffer[1] = freq >> 8; in raremono_cmd_main()
141 radio->buffer[2] = freq & 0xff; in raremono_cmd_main()
143 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in raremono_cmd_main()
146 0x0300 + radio->buffer[0], 2, in raremono_cmd_main()
147 radio->buffer, 3, USB_TIMEOUT); in raremono_cmd_main()
150 dev_warn(radio->v4l2_dev.dev, "%s failed (%d)\n", __func__, ret); in raremono_cmd_main()
153 radio->curfreq = (band == BAND_FM) ? freq * 10 : freq; in raremono_cmd_main()
164 struct raremono_device *radio = to_raremono_dev(usb_get_intfdata(intf)); in usb_raremono_disconnect() local
[all …]
Dradio-tea5764.c140 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 …]
DMakefile6 shark2-objs := radio-shark2.o radio-tea5777.o
10 obj-$(CONFIG_RADIO_AZTECH) += radio-aztech.o
11 obj-$(CONFIG_RADIO_CADET) += radio-cadet.o
12 obj-$(CONFIG_RADIO_GEMTEK) += radio-gemtek.o
13 obj-$(CONFIG_RADIO_ISA) += radio-isa.o
14 obj-$(CONFIG_RADIO_MAXIRADIO) += radio-maxiradio.o
15 obj-$(CONFIG_RADIO_MIROPCM20) += radio-miropcm20.o
16 obj-$(CONFIG_RADIO_RTRACK2) += radio-rtrack2.o
17 obj-$(CONFIG_RADIO_RTRACK) += radio-aimslab.o
19 obj-$(CONFIG_RADIO_SF16FMI) += radio-sf16fmi.o
[all …]
DKconfig12 Say Y here to enable selecting AM/FM radio adapters.
17 tristate "Guillemot MAXI Radio FM 2000 radio"
21 Choose Y here if you have this radio card. This card may also be
24 In order to control your radio card, you will need to use programs
30 module will be called radio-maxiradio.
36 Say Y here if you want to use the SAA7706H Car radio Digital
45 tristate "Griffin radioSHARK USB radio receiver"
49 Choose Y here if you have this radio receiver.
54 In order to control your radio card, you will need to use programs
60 module will be called radio-shark.
[all …]
/linux-6.1.9/drivers/media/radio/si4713/
Dradio-usb-si4713.c68 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 …]
/linux-6.1.9/Documentation/admin-guide/media/
Dradio-cardlist.rst6 There is also support for pure AM/FM radio, and even for some FM radio
13 radio-aztech Aztech/Packard Bell Radio
14 radio-cadet ADS Cadet AM/FM Tuner
15 radio-gemtek GemTek Radio card (or compatible)
16 radio-maxiradio Guillemot MAXI Radio FM 2000 radio
17 radio-miropcm20 miroSOUND PCM20 radio
18 radio-aimslab AIMSlab RadioTrack (aka RadioReveal)
19 radio-rtrack2 AIMSlab RadioTrack II
21 radio-sf16fmi SF16-FMI/SF16-FMP/SF16-FMD Radio
22 radio-sf16fmr2 SF16-FMR2/SF16-FMD2 Radio
[all …]
Dsi470x.rst14 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-6.1.9/Documentation/driver-api/media/drivers/
Dradiotrack.rst3 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-6.1.9/drivers/media/i2c/
Dvp27smpx.c29 int radio; member
67 state->radio = 1; in vp27smpx_s_radio()
75 state->radio = 0; in vp27smpx_s_std()
83 if (!state->radio) in vp27smpx_s_tuner()
92 if (state->radio) in vp27smpx_g_tuner()
106 state->radio ? " (Radio)" : ""); in vp27smpx_log_status()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Ddev-radio.rst9 This interface is intended for AM and FM (analog) radio receivers and
12 Conventionally V4L2 radio devices are accessed through character device
13 special files named ``/dev/radio`` and ``/dev/radio0`` to
20 Devices supporting the radio interface set the ``V4L2_CAP_RADIO`` and
45 Further all radio devices have one tuner or modulator (these are
46 discussed in :ref:`tuner`) with index number zero to select the radio
/linux-6.1.9/drivers/media/pci/saa7134/
Dsaa7134-cards.c92 .radio = {
133 .radio = {
175 .radio = {
250 .radio = {
298 .radio = {
332 .radio = {
361 .radio = {
395 .radio = {
436 .radio = {
467 .radio = {
[all …]
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-uwb_rc7 Platform (UWB) radio controllers.
26 An individual UWB radio controller.
41 radio controller's supported band groups.
44 the radio controller is not beaconing.
84 radio controller. A write will change the radio
94 Controller PAL using this radio controller.
102 as part of a scan or is a member of the radio
110 The time (using the radio controllers internal 1 ms
156 measure of the radio link quality.
/linux-6.1.9/net/ax25/
DKconfig10 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 digital amateur radio in general is on the WWW at
103 connections in general and amateur radio AX.25 connections in
[all …]

12345678