/Linux-v4.19/drivers/media/platform/vivid/ |
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 …]
|
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 …]
|
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()
|
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()
|
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);
|
D | Makefile | 5 vivid-rds-gen.o vivid-sdr-cap.o vivid-vbi-cap.o vivid-vbi-out.o \
|
/Linux-v4.19/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 706 struct fm_rds *rds = &fmdev->rx.rds; in fm_irq_handle_rdsdata_getcmd_resp() local 737 rds->last_blk_idx = -1; in fm_irq_handle_rdsdata_getcmd_resp() 746 rds->last_blk_idx = blk_idx; in fm_irq_handle_rdsdata_getcmd_resp() 796 memcpy(&rds->buff[rds->wr_idx], &tmpbuf, FM_RDS_BLK_SIZE); in fm_irq_handle_rdsdata_getcmd_resp() 797 rds->wr_idx = (rds->wr_idx + FM_RDS_BLK_SIZE) % rds->buf_size; in fm_irq_handle_rdsdata_getcmd_resp() 800 if (rds->wr_idx == rds->rd_idx) { in fm_irq_handle_rdsdata_getcmd_resp() 802 rds->wr_idx = 0; in fm_irq_handle_rdsdata_getcmd_resp() 803 rds->rd_idx = 0; in fm_irq_handle_rdsdata_getcmd_resp() 812 if (rds->wr_idx != rds->rd_idx) in fm_irq_handle_rdsdata_getcmd_resp() 813 wake_up_interruptible(&rds->read_queue); in fm_irq_handle_rdsdata_getcmd_resp() [all …]
|
D | fmdrv_v4l2.c | 84 struct tx_rds rds; in fm_v4l2_fops_write() local 88 ret = copy_from_user(&rds, buf, sizeof(rds)); in fm_v4l2_fops_write() 89 rds.text[sizeof(rds.text) - 1] = '\0'; in fm_v4l2_fops_write() 91 ret, rds.text_type, rds.text, rds.af_freq); in fm_v4l2_fops_write() 98 fm_tx_set_radio_text(fmdev, rds.text, rds.text_type); in fm_v4l2_fops_write() 99 fm_tx_set_af(fmdev, rds.af_freq); in fm_v4l2_fops_write() 102 return sizeof(rds); in fm_v4l2_fops_write() 302 ((fmdev->rx.rds.flag == FM_RDS_ENABLE) ? V4L2_TUNER_SUB_RDS : 0); in fm_v4l2_vidioc_g_tuner() 439 ((fmdev->tx_data.rds.flag == FM_RDS_ENABLE) ? in fm_v4l2_vidioc_g_modulator()
|
D | fmdrv_rx.c | 26 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache() 27 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache() 28 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache() 29 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache() 680 && fmdev->rx.rds.flag == FM_RDS_DISABLE) { in fm_rx_set_rds_mode() 719 fmdev->rx.rds.flag = FM_RDS_ENABLE; in fm_rx_set_rds_mode() 721 && fmdev->rx.rds.flag == FM_RDS_ENABLE) { in fm_rx_set_rds_mode() 730 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_set_rds_mode() 731 fmdev->rx.rds.wr_idx = 0; in fm_rx_set_rds_mode() 732 fmdev->rx.rds.rd_idx = 0; in fm_rx_set_rds_mode() [all …]
|
D | fmdrv.h | 162 struct fm_rds rds; member 196 struct tx_rds rds; member
|
D | fmdrv_tx.c | 142 fmdev->tx_data.rds.flag = rds_en_dis; in fm_tx_set_rds_mode() 418 tx->rds.flag = FM_RDS_DISABLE; in fm_tx_set_freq()
|
/Linux-v4.19/net/rds/ |
D | Makefile | 2 obj-$(CONFIG_RDS) += rds.o 3 rds-y := af_rds.o bind.o cong.o connection.o info.o message.o \
|
/Linux-v4.19/Documentation/media/uapi/v4l/ |
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 72 .. _reading-rds-data: 82 .. _writing-rds-data: 117 .. _v4l2-rds-block: 140 .. _v4l2-rds-block-codes:
|
D | devices.rst | 23 dev-rds
|
/Linux-v4.19/drivers/media/radio/si470x/ |
D | radio-si470x-i2c.c | 256 unsigned short rds; in si470x_i2c_interrupt() local 289 rds = radio->registers[RDSA]; in si470x_i2c_interrupt() 294 rds = radio->registers[RDSB]; in si470x_i2c_interrupt() 299 rds = radio->registers[RDSC]; in si470x_i2c_interrupt() 304 rds = radio->registers[RDSD]; in si470x_i2c_interrupt() 309 put_unaligned_le16(rds, &tmpbuf); in si470x_i2c_interrupt()
|
D | radio-si470x-usb.c | 378 unsigned short rds; in si470x_int_in_callback() local 423 rds = radio->registers[RDSA]; in si470x_int_in_callback() 428 rds = radio->registers[RDSB]; in si470x_int_in_callback() 433 rds = radio->registers[RDSC]; in si470x_int_in_callback() 438 rds = radio->registers[RDSD]; in si470x_int_in_callback() 443 put_unaligned_le16(rds, &tmpbuf); in si470x_int_in_callback()
|
/Linux-v4.19/drivers/mfd/ |
D | si476x-cmd.c | 957 report->rds[V4L2_RDS_BLOCK_A].block = V4L2_RDS_BLOCK_A; in si476x_core_cmd_fm_rds_status() 958 report->rds[V4L2_RDS_BLOCK_A].msb = resp[8]; in si476x_core_cmd_fm_rds_status() 959 report->rds[V4L2_RDS_BLOCK_A].lsb = resp[9]; in si476x_core_cmd_fm_rds_status() 961 report->rds[V4L2_RDS_BLOCK_B].block = V4L2_RDS_BLOCK_B; in si476x_core_cmd_fm_rds_status() 962 report->rds[V4L2_RDS_BLOCK_B].msb = resp[10]; in si476x_core_cmd_fm_rds_status() 963 report->rds[V4L2_RDS_BLOCK_B].lsb = resp[11]; in si476x_core_cmd_fm_rds_status() 965 report->rds[V4L2_RDS_BLOCK_C].block = V4L2_RDS_BLOCK_C; in si476x_core_cmd_fm_rds_status() 966 report->rds[V4L2_RDS_BLOCK_C].msb = resp[12]; in si476x_core_cmd_fm_rds_status() 967 report->rds[V4L2_RDS_BLOCK_C].lsb = resp[13]; in si476x_core_cmd_fm_rds_status() 969 report->rds[V4L2_RDS_BLOCK_D].block = V4L2_RDS_BLOCK_D; in si476x_core_cmd_fm_rds_status() [all …]
|
D | si476x-i2c.c | 389 kfifo_in(&core->rds_fifo, report.rds, in si476x_core_drain_rds_fifo() 390 sizeof(report.rds)); in si476x_core_drain_rds_fifo() 392 (int)sizeof(report.rds), report.rds); in si476x_core_drain_rds_fifo()
|
/Linux-v4.19/Documentation/networking/ |
D | rds.txt | 9 http://oss.oracle.com/pipermail/rds-devel/2007-November/000228.html 56 RDS supports a number of sysctls in /proc/sys/net/rds 168 see rds-rdma(7) manpage (available in rds-tools) 174 see rds(7) manpage 182 The message header is a 'struct rds_header' (see rds.h): 381 by having multiple TCP/IP flows per rds/tcp connection, i.e., multipathed 382 RDS (mprds). Each such TCP/IP flow constitutes a path for the rds/tcp 396 t_mp_capable bit during registration with the rds core module. When the 410 The control packet is an RDS ping packet (i.e., packet to rds dest 411 port 0) with the ping packet having a rds extension header option of [all …]
|
/Linux-v4.19/Documentation/media/ |
D | videodev2.h.rst.exceptions | 385 replace define V4L2_RDS_BLOCK_MSK v4l2-rds-block 386 replace define V4L2_RDS_BLOCK_A v4l2-rds-block 387 replace define V4L2_RDS_BLOCK_B v4l2-rds-block 388 replace define V4L2_RDS_BLOCK_C v4l2-rds-block 389 replace define V4L2_RDS_BLOCK_D v4l2-rds-block 390 replace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block 391 replace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block 392 replace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block 393 replace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
|
/Linux-v4.19/drivers/media/radio/ |
D | radio-wl1273.c | 145 struct v4l2_rds_data rds = { 0, 0, 0 }; in wl1273_fm_rds() local 156 .buf = (u8 *) &rds, in wl1273_fm_rds() 157 .len = sizeof(rds), in wl1273_fm_rds() 183 status = rds.block; in wl1273_fm_rds() 189 rds.block = V4L2_RDS_BLOCK_MSK & status; in wl1273_fm_rds() 190 rds.block |= rds.block << 3; in wl1273_fm_rds() 194 rds.block |= V4L2_RDS_BLOCK_ERROR; in wl1273_fm_rds() 195 rds.block &= ~V4L2_RDS_BLOCK_CORRECTED; in wl1273_fm_rds() 197 rds.block &= ~V4L2_RDS_BLOCK_ERROR; in wl1273_fm_rds() 198 rds.block |= V4L2_RDS_BLOCK_CORRECTED; in wl1273_fm_rds() [all …]
|
/Linux-v4.19/Documentation/media/v4l-drivers/ |
D | si4713.rst | 67 Capabilities : 62.5 Hz stereo rds 69 Subchannel modulation: stereo+rds 185 Example for setting rds ps name:
|
/Linux-v4.19/net/ |
D | Makefile | 49 obj-$(CONFIG_RDS) += rds/
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.c | 1172 struct qlcnic_host_rds_ring *rds; in qlcnic_83xx_create_rx_ctx() local 1234 rds = &recv_ctx->rds_rings[0]; in qlcnic_83xx_create_rx_ctx() 1235 rds->producer = 0; in qlcnic_83xx_create_rx_ctx() 1237 rds_mbx.phy_addr_reg_low = LSD(rds->phys_addr); in qlcnic_83xx_create_rx_ctx() 1238 rds_mbx.phy_addr_reg_high = MSD(rds->phys_addr); in qlcnic_83xx_create_rx_ctx() 1239 rds_mbx.reg_ring_sz = rds->dma_size; in qlcnic_83xx_create_rx_ctx() 1240 rds_mbx.reg_ring_len = rds->num_desc; in qlcnic_83xx_create_rx_ctx() 1242 rds = &recv_ctx->rds_rings[1]; in qlcnic_83xx_create_rx_ctx() 1243 rds->producer = 0; in qlcnic_83xx_create_rx_ctx() 1244 rds_mbx.phy_addr_jmb_low = LSD(rds->phys_addr); in qlcnic_83xx_create_rx_ctx() [all …]
|
/Linux-v4.19/drivers/media/radio/si4713/ |
D | si4713.c | 1314 u16 stereo, rds; in si4713_s_modulator() local 1331 rds = !!(vm->txsubchans & V4L2_TUNER_SUB_RDS); in si4713_s_modulator() 1340 p = set_bits(p, rds, 2, 1 << 2); in si4713_s_modulator() 1349 sdev->rds_enabled = rds; in si4713_s_modulator()
|