linux_dsm_epyc7002/drivers/media
Daniel Scheller bdd7682b16 media: dvb-frontends/stv0910: field and register access helpers
Add a write_field() function that acts as helper to update specific bits
specified in the field defines (FSTV0910_*) in stv0910_regs.h, which was
recently updated to carry the missing offset values. With that, add the
SET_FIELD(), SET_REG() and GET_REG() macros that wrap the write_field(),
write_reg() and read_reg() functions to allow for making all demod
access code cleaner.

The write_field() function is annotated with __maybe_unused temporarily
to silence eventual compile warnings.

Picked up from the dddvb upstream, with the macro names made uppercase
so they are distinguishable as such.

Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-01-03 04:48:07 -05:00
..
cec media: cec: move cec autorepeat handling to rc-core 2017-12-14 10:35:30 -05:00
common media: fix semicolon.cocci warnings 2017-12-28 14:25:07 -05:00
dvb-core media: dvb_vb2: use strlcpy instead of strncpy 2017-12-29 07:53:30 -05:00
dvb-frontends media: dvb-frontends/stv0910: field and register access helpers 2018-01-03 04:48:07 -05:00
firewire media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
i2c media: i2c: as3645a: Remove driver 2017-12-29 06:31:31 -05:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: intel-ipu3: cio2: add new MIPI-CSI2 driver 2017-12-29 07:00:51 -05:00
platform media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
radio media: radio-si476x: fix behavior when seek->range* are defined 2017-12-11 13:04:51 -05:00
rc media: ir-spi: add SPDX identifier 2017-12-18 15:22:50 -05:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
usb media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00
v4l2-core media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
Kconfig media: dvb-core: make DVB mmap API optional 2017-12-28 11:17:29 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00