/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 3 * 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) 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 in vivid_rds_generate() 129 vivid_rds_gen_fill(struct vivid_rds_gen * rds,unsigned freq,bool alt) vivid_rds_gen_fill() argument [all...] |
H A D | vivid-radio-common.c | 16 #include "vivid-rds-gen.h" 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 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 | 22 #include "vivid-rds-gen.h" 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 = get_random_u8(); in vivid_radio_rx_read() 108 rds.msb = get_random_u8(); 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() [all...] |
H A D | vivid-rds-gen.h | 3 * 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 D | Makefile | 5 vivid-rds-gen.o vivid-sdr-cap.o vivid-vbi-cap.o vivid-vbi-out.o \
|
/linux/tools/testing/selftests/net/rds/ |
H A D | README.txt | 5 network namespaces and running rds packets between them. A loopback 18 -d Log directory. Defaults to tools/testing/selftests/net/rds/rds_logs 29 tools/testing/selftests/net/rds/config.sh -g 32 tools/testing/selftests/net/rds/config.sh 39 "export PYTHONPATH=tools/testing/selftests/net/; tools/testing/selftests/net/rds/run.sh" 41 An HTML coverage report will be output in tools/testing/selftests/net/rds/rds_logs/coverage/.
|
/linux/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: 110 .. _v4l2-rds-block: 132 .. _v4l2-rds-block-codes: 4 .. _rds: global() target
|
H A D | devices.rst | 21 dev-rds
|
/linux/drivers/media/radio/si470x/ |
H A D | radio-si470x-i2c.c | 243 unsigned short bler; /* rds block errors */ in si470x_i2c_interrupt() 244 unsigned short rds; in si470x_i2c_interrupt() local 267 /* get rds blocks */ in si470x_i2c_interrupt() 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() 421 /* rds buffer allocation */ in si470x_i2c_probe() 429 /* rds buffe in si470x_i2c_probe() [all...] |
H A D | radio-si470x-usb.c | 358 * si470x_int_in_callback - rds callback and processing function 368 unsigned short bler; /* rds block errors */ in si470x_int_in_callback() 369 unsigned short rds; in si470x_int_in_callback() local 400 /* get rds blocks */ in si470x_int_in_callback() 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() 714 /* rds buffe in si470x_usb_driver_probe() [all...] |
/linux/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 \
|
/linux/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 des [all...] |
H A D | index.rst | 105 rds
|
/linux/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 in wl1273_fm_rds() [all...] |
/linux/drivers/mfd/ |
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()
|
/linux/Documentation/userspace-api/media/ |
H A D | videodev2.h.rst.exceptions | 440 replace define V4L2_RDS_BLOCK_MSK v4l2-rds-block 441 replace define V4L2_RDS_BLOCK_A v4l2-rds-block 442 replace define V4L2_RDS_BLOCK_B v4l2-rds-block 443 replace define V4L2_RDS_BLOCK_C v4l2-rds-block 444 replace define V4L2_RDS_BLOCK_D v4l2-rds-block 445 replace define V4L2_RDS_BLOCK_C_ALT v4l2-rds-block 446 replace define V4L2_RDS_BLOCK_INVALID v4l2-rds-block 447 replace define V4L2_RDS_BLOCK_CORRECTED v4l2-rds-block 448 replace define V4L2_RDS_BLOCK_ERROR v4l2-rds-block
|
/linux/Documentation/admin-guide/media/ |
H A D | si4713.rst | 69 Capabilities : 62.5 Hz stereo rds 71 Subchannel modulation: stereo+rds 187 Example for setting rds ps name:
|
/linux/net/ |
H A D | Makefile | 46 obj-$(CONFIG_RDS) += rds/
|
/linux/Documentation/translations/zh_CN/networking/ |
H A D | index.rst | 122 * rds
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_hw.c | 1175 struct qlcnic_host_rds_ring *rds; in qlcnic_83xx_create_rx_ctx() local 1237 rds = &recv_ctx->rds_rings[0]; in qlcnic_83xx_create_rx_ctx() 1238 rds->producer = 0; in qlcnic_83xx_create_rx_ctx() 1240 rds_mbx.phy_addr_reg_low = LSD(rds->phys_addr); in qlcnic_83xx_create_rx_ctx() 1241 rds_mbx.phy_addr_reg_high = MSD(rds->phys_addr); in qlcnic_83xx_create_rx_ctx() 1242 rds_mbx.reg_ring_sz = rds->dma_size; in qlcnic_83xx_create_rx_ctx() 1243 rds_mbx.reg_ring_len = rds->num_desc; in qlcnic_83xx_create_rx_ctx() 1245 rds = &recv_ctx->rds_rings[1]; in qlcnic_83xx_create_rx_ctx() 1246 rds->producer = 0; in qlcnic_83xx_create_rx_ctx() 1247 rds_mbx.phy_addr_jmb_low = LSD(rds in qlcnic_83xx_create_rx_ctx() [all...] |
/linux/drivers/media/radio/si4713/ |
H A D | si4713.c | 1291 /* Report rds feature status */ in si4713_g_modulator() 1305 u16 stereo, rds; in si4713_s_modulator() local 1322 rds = !!(vm->txsubchans & V4L2_TUNER_SUB_RDS); in si4713_s_modulator() 1331 p = set_bits(p, rds, 2, 1 << 2); in si4713_s_modulator() 1340 sdev->rds_enabled = rds; in si4713_s_modulator()
|
/linux/include/linux/mfd/ |
H A D | si476x-core.h | 335 struct v4l2_rds_data rds[4]; member
|
/linux/tools/testing/selftests/ |
H A D | Makefile | 78 TARGETS += net/rds
|
/linux/Documentation/dev-tools/ |
H A D | gcov.rst | 85 lines are executed. This config is used by the rds selftest to
|