| /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/ |
| H A D | vivid-rds-gen.c | 15 static u8 vivid_get_di(const struct vivid_rds_gen *rds, unsigned grp) in vivid_get_di() argument 19 return (rds->dyn_pty << 2) | (grp & 3); in vivid_get_di() 21 return (rds->compressed << 2) | (grp & 3); in vivid_get_di() 23 return (rds->art_head << 2) | (grp & 3); in vivid_get_di() 25 return (rds->mono_stereo << 2) | (grp & 3); in vivid_get_di() 42 void vivid_rds_generate(struct vivid_rds_gen *rds) in vivid_rds_generate() argument 44 struct v4l2_rds_data *data = rds->data; in vivid_rds_generate() 53 data[0].lsb = rds->picode & 0xff; in vivid_rds_generate() 54 data[0].msb = rds->picode >> 8; in vivid_rds_generate() 56 data[1].lsb = rds->pty << 5; in vivid_rds_generate() [all …]
|
| H A D | vivid-radio-common.c | 61 struct vivid_rds_gen *rds = &dev->rds_gen; in vivid_radio_rds_init() local 70 rds->picode = dev->radio_tx_rds_pi->cur.val; in vivid_radio_rds_init() 71 rds->pty = dev->radio_tx_rds_pty->cur.val; in vivid_radio_rds_init() 72 rds->mono_stereo = dev->radio_tx_rds_mono_stereo->cur.val; in vivid_radio_rds_init() 73 rds->art_head = dev->radio_tx_rds_art_head->cur.val; in vivid_radio_rds_init() 74 rds->compressed = dev->radio_tx_rds_compressed->cur.val; in vivid_radio_rds_init() 75 rds->dyn_pty = dev->radio_tx_rds_dyn_pty->cur.val; in vivid_radio_rds_init() 76 rds->ta = dev->radio_tx_rds_ta->cur.val; in vivid_radio_rds_init() 77 rds->tp = dev->radio_tx_rds_tp->cur.val; in vivid_radio_rds_init() 78 rds->ms = dev->radio_tx_rds_ms->cur.val; in vivid_radio_rds_init() [all …]
|
| H A D | vivid-radio-tx.c | 75 struct v4l2_rds_data rds; in vivid_radio_tx_write() local 77 if (copy_from_user(&rds, buf + i, sizeof(rds))) { in vivid_radio_tx_write() 81 i += sizeof(rds); in vivid_radio_tx_write() 84 if ((rds.block & V4L2_RDS_BLOCK_MSK) == V4L2_RDS_BLOCK_INVALID || in vivid_radio_tx_write() 85 (rds.block & V4L2_RDS_BLOCK_ERROR)) in vivid_radio_tx_write() 87 rds.block &= V4L2_RDS_BLOCK_MSK; in vivid_radio_tx_write() 88 data[data_blk] = rds; in vivid_radio_tx_write()
|
| H A D | vivid-radio-rx.c | 93 struct v4l2_rds_data rds = data[data_blk]; in vivid_radio_rx_read() local 100 rds.block |= V4L2_RDS_BLOCK_CORRECTED; in vivid_radio_rx_read() 103 rds.block |= V4L2_RDS_BLOCK_INVALID; in vivid_radio_rx_read() 106 rds.block |= V4L2_RDS_BLOCK_ERROR; in vivid_radio_rx_read() 107 rds.lsb = prandom_u32_max(256); in vivid_radio_rx_read() 108 rds.msb = prandom_u32_max(256); in vivid_radio_rx_read() 121 if (copy_to_user(buf + i, &rds, sizeof(rds))) { in vivid_radio_rx_read() 125 i += sizeof(rds); in vivid_radio_rx_read()
|
| H A D | vivid-rds-gen.h | 38 void vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq, 40 void vivid_rds_generate(struct vivid_rds_gen *rds);
|
| /OK3568_Linux_fs/buildroot/package/pifmrds/ |
| H A D | 0002-Makefile-use-LDFLAGS.patch | 11 app: rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o 12 - $(CC) -o pi_fm_rds rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o -lm -lsndfile 13 + $(CC) $(LDFLAGS) -o pi_fm_rds rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o -lm -lsndfile 15 rds_wav: rds.o waveforms.o rds_wav.o fm_mpx.o 16 - $(CC) -o rds_wav rds_wav.o rds.o waveforms.o fm_mpx.o -lm -lsndfile 17 + $(CC) $(LDFLAGS) -o rds_wav rds_wav.o rds.o waveforms.o fm_mpx.o -lm -lsndfile 19 rds.o: rds.c waveforms.h 20 $(CC) $(CFLAGS) rds.c
|
| H A D | 0003-Makefile-fix-static-link.patch | 16 app: rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o 17 - $(CC) $(LDFLAGS) -o pi_fm_rds rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o -lm -lsndfile 18 + $(CC) $(LDFLAGS) -o pi_fm_rds rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o $(SNDFILE_LIB… 20 rds_wav: rds.o waveforms.o rds_wav.o fm_mpx.o 21 - $(CC) $(LDFLAGS) -o rds_wav rds_wav.o rds.o waveforms.o fm_mpx.o -lm -lsndfile 22 + $(CC) $(LDFLAGS) -o rds_wav rds_wav.o rds.o waveforms.o fm_mpx.o $(SNDFILE_LIBS) -lm 24 rds.o: rds.c waveforms.h 25 $(CC) $(CFLAGS) rds.c
|
| H A D | 0001-Makefile-cross-compile-friendly.patch | 27 app: rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o 28 $(CC) -o pi_fm_rds rds.o waveforms.o pi_fm_rds.o fm_mpx.o control_pipe.o -lm -lsndfile 35 rds_wav: rds.o waveforms.o rds_wav.o fm_mpx.o 36 $(CC) -o rds_wav rds_wav.o rds.o waveforms.o fm_mpx.o -lm -lsndfile
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/wl128x/ |
| H A D | fmdrv_common.c | 702 struct fm_rds *rds = &fmdev->rx.rds; in fm_irq_handle_rdsdata_getcmd_resp() local 733 rds->last_blk_idx = -1; in fm_irq_handle_rdsdata_getcmd_resp() 744 rds->last_blk_idx = blk_idx; in fm_irq_handle_rdsdata_getcmd_resp() 794 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp() 795 rds->wr_idx = (rds->wr_idx + FM_RDS_BLK_SIZE) % rds->buf_size; in fm_irq_handle_rdsdata_getcmd_resp() 798 if (rds->wr_idx == rds->rd_idx) { in fm_irq_handle_rdsdata_getcmd_resp() 800 rds->wr_idx = 0; in fm_irq_handle_rdsdata_getcmd_resp() 801 rds->rd_idx = 0; in fm_irq_handle_rdsdata_getcmd_resp() 810 if (rds->wr_idx != rds->rd_idx) in fm_irq_handle_rdsdata_getcmd_resp() 811 wake_up_interruptible(&rds->read_queue); in fm_irq_handle_rdsdata_getcmd_resp() [all …]
|
| H A D | fmdrv_v4l2.c | 75 struct tx_rds rds; in fm_v4l2_fops_write() local 79 ret = copy_from_user(&rds, buf, sizeof(rds)); in fm_v4l2_fops_write() 80 rds.text[sizeof(rds.text) - 1] = '\0'; in fm_v4l2_fops_write() 82 ret, rds.text_type, rds.text, rds.af_freq); in fm_v4l2_fops_write() 89 fm_tx_set_radio_text(fmdev, rds.text, rds.text_type); in fm_v4l2_fops_write() 90 fm_tx_set_af(fmdev, rds.af_freq); in fm_v4l2_fops_write() 93 return sizeof(rds); in fm_v4l2_fops_write() 286 ((fmdev->rx.rds.flag == FM_RDS_ENABLE) ? V4L2_TUNER_SUB_RDS : 0); in fm_v4l2_vidioc_g_tuner() 423 ((fmdev->tx_data.rds.flag == FM_RDS_ENABLE) ? in fm_v4l2_vidioc_g_modulator()
|
| H A D | fmdrv_rx.c | 17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache() 18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache() 19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache() 20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache() 671 && fmdev->rx.rds.flag == FM_RDS_DISABLE) { in fm_rx_set_rds_mode() 710 fmdev->rx.rds.flag = FM_RDS_ENABLE; in fm_rx_set_rds_mode() 712 && fmdev->rx.rds.flag == FM_RDS_ENABLE) { in fm_rx_set_rds_mode() 721 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_set_rds_mode() 722 fmdev->rx.rds.wr_idx = 0; in fm_rx_set_rds_mode() 723 fmdev->rx.rds.rd_idx = 0; in fm_rx_set_rds_mode() [all …]
|
| H A D | fmdrv.h | 153 struct fm_rds rds; member 187 struct tx_rds rds; member
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_thunderboot_sfc.c | 33 struct device_node *rds, *rdd; in rk_tb_sfc_thread() local 44 rds = of_parse_phandle(dev->of_node, "memory-region-src", 0); in rk_tb_sfc_thread() 65 if (rds && rdd) { in rk_tb_sfc_thread() 70 if (of_address_to_resource(rds, 0, &src) >= 0 && in rk_tb_sfc_thread() 73 of_property_read_u32(rds, "size", &rdk_size); in rk_tb_sfc_thread() 74 digest_org = of_get_property(rds->child, "value", NULL); in rk_tb_sfc_thread() 92 of_node_put(rds); in rk_tb_sfc_thread()
|
| H A D | rockchip_thunderboot_mmc.c | 28 struct device_node *rds, *rdd, *dma; in rk_tb_mmc_thread() local 39 rds = of_parse_phandle(dev->of_node, "memory-region-src", 0); in rk_tb_mmc_thread() 60 if (rds && rdd) { in rk_tb_mmc_thread() 65 if (of_address_to_resource(rds, 0, &src) >= 0 && in rk_tb_mmc_thread() 68 of_property_read_u32(rds, "size", &rdk_size); in rk_tb_mmc_thread() 69 digest_org = of_get_property(rds->child, "value", NULL); in rk_tb_mmc_thread() 98 of_node_put(rds); in rk_tb_mmc_thread()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/dvb-scan-table/dvb-t/ |
| H A D | se-Svardsosund_Svardso | 1 # Sweden - Svärdsösund/Svärdsö
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/si470x/ |
| H A D | radio-si470x-i2c.c | 244 unsigned short rds; in si470x_i2c_interrupt() local 277 rds = radio->registers[RDSA]; in si470x_i2c_interrupt() 282 rds = radio->registers[RDSB]; in si470x_i2c_interrupt() 287 rds = radio->registers[RDSC]; in si470x_i2c_interrupt() 292 rds = radio->registers[RDSD]; in si470x_i2c_interrupt() 297 put_unaligned_le16(rds, &tmpbuf); in si470x_i2c_interrupt()
|
| H A D | radio-si470x-usb.c | 369 unsigned short rds; in si470x_int_in_callback() local 414 rds = radio->registers[RDSA]; in si470x_int_in_callback() 419 rds = radio->registers[RDSB]; in si470x_int_in_callback() 424 rds = radio->registers[RDSC]; in si470x_int_in_callback() 429 rds = radio->registers[RDSD]; in si470x_int_in_callback() 434 put_unaligned_le16(rds, &tmpbuf); in si470x_int_in_callback()
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | dev-rds.rst | 43 :ref:`Reading RDS data <reading-rds-data>`. For future use the flag 68 :ref:`Writing RDS data <writing-rds-data>` and 71 .. _reading-rds-data: 80 .. _writing-rds-data: 112 .. _v4l2-rds-block: 134 .. _v4l2-rds-block-codes:
|
| H A D | devices.rst | 21 dev-rds
|
| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | Makefile | 2 obj-$(CONFIG_RDS) += rds.o 3 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | si476x-cmd.c | 946 report->rds[V4L2_RDS_BLOCK_A].block = V4L2_RDS_BLOCK_A; in si476x_core_cmd_fm_rds_status() 947 report->rds[V4L2_RDS_BLOCK_A].msb = resp[8]; in si476x_core_cmd_fm_rds_status() 948 report->rds[V4L2_RDS_BLOCK_A].lsb = resp[9]; in si476x_core_cmd_fm_rds_status() 950 report->rds[V4L2_RDS_BLOCK_B].block = V4L2_RDS_BLOCK_B; in si476x_core_cmd_fm_rds_status() 951 report->rds[V4L2_RDS_BLOCK_B].msb = resp[10]; in si476x_core_cmd_fm_rds_status() 952 report->rds[V4L2_RDS_BLOCK_B].lsb = resp[11]; in si476x_core_cmd_fm_rds_status() 954 report->rds[V4L2_RDS_BLOCK_C].block = V4L2_RDS_BLOCK_C; in si476x_core_cmd_fm_rds_status() 955 report->rds[V4L2_RDS_BLOCK_C].msb = resp[12]; in si476x_core_cmd_fm_rds_status() 956 report->rds[V4L2_RDS_BLOCK_C].lsb = resp[13]; in si476x_core_cmd_fm_rds_status() 958 report->rds[V4L2_RDS_BLOCK_D].block = V4L2_RDS_BLOCK_D; in si476x_core_cmd_fm_rds_status() [all …]
|
| H A D | si476x-i2c.c | 380 kfifo_in(&core->rds_fifo, report.rds, in si476x_core_drain_rds_fifo() 381 sizeof(report.rds)); in si476x_core_drain_rds_fifo() 383 (int)sizeof(report.rds), report.rds); in si476x_core_drain_rds_fifo()
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | rds.rst | 14 http://oss.oracle.com/pipermail/rds-devel/2007-November/000228.html 64 RDS supports a number of sysctls in /proc/sys/net/rds 175 see rds-rdma(7) manpage (available in rds-tools) 181 see rds(7) manpage 189 The message header is a 'struct rds_header' (see rds.h): 406 by having multiple TCP/IP flows per rds/tcp connection, i.e., multipathed 407 RDS (mprds). Each such TCP/IP flow constitutes a path for the rds/tcp 421 t_mp_capable bit during registration with the rds core module. When the 435 The control packet is an RDS ping packet (i.e., packet to rds dest 436 port 0) with the ping packet having a rds extension header option of [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/ |
| H A D | videodev2.h.rst.exceptions | 414 replace define V4L2_RDS_BLOCK_MSK v4l2-rds-block 415 replace define V4L2_RDS_BLOCK_A v4l2-rds-block 416 replace define V4L2_RDS_BLOCK_B v4l2-rds-block 417 replace define V4L2_RDS_BLOCK_C v4l2-rds-block 418 replace define V4L2_RDS_BLOCK_D v4l2-rds-block 419 replace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block 420 replace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block 421 replace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block 422 replace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/ |
| H A D | radio-wl1273.c | 137 struct v4l2_rds_data rds = { 0, 0, 0 }; in wl1273_fm_rds() local 148 .buf = (u8 *) &rds, in wl1273_fm_rds() 149 .len = sizeof(rds), in wl1273_fm_rds() 175 status = rds.block; in wl1273_fm_rds() 181 rds.block = V4L2_RDS_BLOCK_MSK & status; in wl1273_fm_rds() 182 rds.block |= rds.block << 3; in wl1273_fm_rds() 186 rds.block |= V4L2_RDS_BLOCK_ERROR; in wl1273_fm_rds() 187 rds.block &= ~V4L2_RDS_BLOCK_CORRECTED; in wl1273_fm_rds() 189 rds.block &= ~V4L2_RDS_BLOCK_ERROR; in wl1273_fm_rds() 190 rds.block |= V4L2_RDS_BLOCK_CORRECTED; in wl1273_fm_rds() [all …]
|