Searched refs:rds (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c3 * vivid-rds-gen.c - rds (radio data system) generator support functions.
13 #include "vivid-rds-gen.h"
15 static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp) argument
19 return (rds->dyn_pty << 2) | (grp & 3);
21 return (rds->compressed << 2) | (grp & 3);
23 return (rds->art_head << 2) | (grp & 3);
25 return (rds->mono_stereo << 2) | (grp & 3);
42 void vivid_rds_generate(struct vivid_rds_gen *rds) argument
44 struct v4l2_rds_data *data = rds
129 vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq, bool alt) argument
[all...]
H A Dvivid-radio-common.c16 #include "vivid-rds-gen.h"
61 struct vivid_rds_gen *rds = &dev->rds_gen; local
70 rds->picode = dev->radio_tx_rds_pi->cur.val;
71 rds->pty = dev->radio_tx_rds_pty->cur.val;
72 rds->mono_stereo = dev->radio_tx_rds_mono_stereo->cur.val;
73 rds->art_head = dev->radio_tx_rds_art_head->cur.val;
74 rds->compressed = dev->radio_tx_rds_compressed->cur.val;
75 rds->dyn_pty = dev->radio_tx_rds_dyn_pty->cur.val;
76 rds->ta = dev->radio_tx_rds_ta->cur.val;
77 rds
[all...]
H A Dvivid-rds-gen.h3 * vivid-rds-gen.h - rds (radio data system) generator support functions.
38 void vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq,
40 void vivid_rds_generate(struct vivid_rds_gen *rds);
H A Dvivid-radio-tx.c75 struct v4l2_rds_data rds; local
77 if (copy_from_user(&rds, buf + i, sizeof(rds))) {
81 i += sizeof(rds);
84 if ((rds.block & V4L2_RDS_BLOCK_MSK) == V4L2_RDS_BLOCK_INVALID ||
85 (rds.block & V4L2_RDS_BLOCK_ERROR))
87 rds.block &= V4L2_RDS_BLOCK_MSK;
88 data[data_blk] = rds;
H A Dvivid-radio-rx.c22 #include "vivid-rds-gen.h"
93 struct v4l2_rds_data rds = data[data_blk]; local
100 rds.block |= V4L2_RDS_BLOCK_CORRECTED;
103 rds.block |= V4L2_RDS_BLOCK_INVALID;
106 rds.block |= V4L2_RDS_BLOCK_ERROR;
107 rds.lsb = get_random_u8();
108 rds.msb = get_random_u8();
121 if (copy_to_user(buf + i, &rds, sizeof(rds))) {
125 i += sizeof(rds);
[all...]
H A DMakefile5 vivid-rds-gen.o vivid-sdr-cap.o vivid-vbi-cap.o vivid-vbi-out.o \
/linux-master/net/rds/
H A DMakefile2 obj-$(CONFIG_RDS) += rds.o
3 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
H A Drds.h10 #include <linux/rds.h>
419 /* cookie to send to remote, in rds header */
492 * completed RDMA operations. Rather than keeping the whole rds message
520 * triggering the rds thread to continue the send when space becomes
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.c52 fmerr("Unable to read current rds mode\n");
59 fmerr("Failed to enable rds mode\n");
75 struct tx_rds rds; local
79 ret = copy_from_user(&rds, buf, sizeof(rds));
80 rds.text[sizeof(rds.text) - 1] = '\0';
82 ret, rds.text_type, rds.text, rds
[all...]
H A Dfmdrv_common.c607 fmdbg("irq: rds threshold reached\n");
703 struct fm_rds *rds = &fmdev->rx.rds; local
734 rds->last_blk_idx = -1;
745 rds->last_blk_idx = blk_idx;
776 /* Copy raw rds data to internal rds buffer */
795 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE);
796 rds
[all...]
H A Dfmdrv_rx.c17 fmdev->rx.rds.flag = FM_RDS_DISABLE;
18 fmdev->rx.rds.last_blk_idx = 0;
19 fmdev->rx.rds.wr_idx = 0;
20 fmdev->rx.rds.rd_idx = 0;
666 fmerr("Invalid rds option\n");
671 && fmdev->rx.rds.flag == FM_RDS_DISABLE) {
710 fmdev->rx.rds.flag = FM_RDS_ENABLE;
712 && fmdev->rx.rds.flag == FM_RDS_ENABLE) {
721 fmdev->rx.rds.last_blk_idx = 0;
722 fmdev->rx.rds
[all...]
H A Dfmdrv.h153 struct fm_rds rds; member in struct:fm_rx
187 struct tx_rds rds; member in struct:fmtx_data
H A Dfmdrv_tx.c133 fmdev->tx_data.rds.flag = rds_en_dis;
409 tx->rds.flag = FM_RDS_DISABLE;
/linux-master/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c243 unsigned short bler; /* rds block errors */
244 unsigned short rds; local
267 /* get rds blocks */
277 rds = radio->registers[RDSA];
282 rds = radio->registers[RDSB];
287 rds = radio->registers[RDSC];
292 rds = radio->registers[RDSD];
297 put_unaligned_le16(rds, &tmpbuf);
421 /* rds buffer allocation */
429 /* rds buffe
[all...]
H A Dradio-si470x-usb.c358 * si470x_int_in_callback - rds callback and processing function
368 unsigned short bler; /* rds block errors */
369 unsigned short rds; local
400 /* get rds blocks */
414 rds = radio->registers[RDSA];
419 rds = radio->registers[RDSB];
424 rds = radio->registers[RDSC];
429 rds = radio->registers[RDSD];
434 put_unaligned_le16(rds, &tmpbuf);
714 /* rds buffe
[all...]
/linux-master/drivers/mfd/
H A Dsi476x-cmd.c946 report->rds[V4L2_RDS_BLOCK_A].block = V4L2_RDS_BLOCK_A;
947 report->rds[V4L2_RDS_BLOCK_A].msb = resp[8];
948 report->rds[V4L2_RDS_BLOCK_A].lsb = resp[9];
950 report->rds[V4L2_RDS_BLOCK_B].block = V4L2_RDS_BLOCK_B;
951 report->rds[V4L2_RDS_BLOCK_B].msb = resp[10];
952 report->rds[V4L2_RDS_BLOCK_B].lsb = resp[11];
954 report->rds[V4L2_RDS_BLOCK_C].block = V4L2_RDS_BLOCK_C;
955 report->rds[V4L2_RDS_BLOCK_C].msb = resp[12];
956 report->rds[V4L2_RDS_BLOCK_C].lsb = resp[13];
958 report->rds[V4L2_RDS_BLOCK_
[all...]
H A Dsi476x-i2c.c380 kfifo_in(&core->rds_fifo, report.rds,
381 sizeof(report.rds));
383 (int)sizeof(report.rds), report.rds);
/linux-master/net/
H A DMakefile47 obj-$(CONFIG_RDS) += rds/
/linux-master/drivers/media/radio/
H A Dradio-wl1273.c137 struct v4l2_rds_data rds = { 0, 0, 0 }; local
148 .buf = (u8 *) &rds,
149 .len = sizeof(rds),
175 status = rds.block;
181 rds.block = V4L2_RDS_BLOCK_MSK & status;
182 rds.block |= rds.block << 3;
186 rds.block |= V4L2_RDS_BLOCK_ERROR;
187 rds.block &= ~V4L2_RDS_BLOCK_CORRECTED;
189 rds
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c1175 struct qlcnic_host_rds_ring *rds; local
1237 rds = &recv_ctx->rds_rings[0];
1238 rds->producer = 0;
1240 rds_mbx.phy_addr_reg_low = LSD(rds->phys_addr);
1241 rds_mbx.phy_addr_reg_high = MSD(rds->phys_addr);
1242 rds_mbx.reg_ring_sz = rds->dma_size;
1243 rds_mbx.reg_ring_len = rds->num_desc;
1245 rds = &recv_ctx->rds_rings[1];
1246 rds->producer = 0;
1247 rds_mbx.phy_addr_jmb_low = LSD(rds
[all...]
/linux-master/include/linux/mfd/
H A Dsi476x-core.h335 struct v4l2_rds_data rds[4]; member in struct:si476x_rds_status_report
/linux-master/drivers/media/radio/si4713/
H A Dsi4713.c1291 /* Report rds feature status */
1305 u16 stereo, rds; local
1322 rds = !!(vm->txsubchans & V4L2_TUNER_SUB_RDS);
1331 p = set_bits(p, rds, 2, 1 << 2);
1340 sdev->rds_enabled = rds;
/linux-master/tools/testing/selftests/net/
H A Dmsg_zerocopy.c59 #include <linux/rds.h>
767 if (strcmp(cfg_test, "rds") == 0) {
805 else if (!strcmp(cfg_test, "rds"))
/linux-master/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h907 #define DRX_CFG_AUD_RDS (DRX_CFG_BASE + 7) /* rds */
1408 bool rds; /*< RDS data array present */ member in struct:drx_aud_status
1690 /* rds */
/linux-master/sound/pci/asihpi/
H A Dhpi_internal.h872 } rds; member in union:hpi_control_union_res::__anon4112

Completed in 266 milliseconds

12