Searched hist:"8 c576f87ad7eb639b8bd4472a9bb830e0696dda5" (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | at91-sama5d2_adc.c | diff 8c576f87ad7eb639b8bd4472a9bb830e0696dda5 Mon Feb 07 15:38:37 CET 2022 Miquel Raynal <miquel.raynal@bootlin.com> iio: core: Hide read accesses to iio_dev->currentmode
In order to later move this variable within the opaque structure, let's create a helper for accessing it in read-only mode. This helper will be exposed to device drivers and kept accessible for the few that could need it. The write access to this variable however should be fully reserved to the core so in a second step we will hide this variable into the opaque structure.
Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20220207143840.707510-11-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
/linux/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | diff 8c576f87ad7eb639b8bd4472a9bb830e0696dda5 Mon Feb 07 15:38:37 CET 2022 Miquel Raynal <miquel.raynal@bootlin.com> iio: core: Hide read accesses to iio_dev->currentmode
In order to later move this variable within the opaque structure, let's create a helper for accessing it in read-only mode. This helper will be exposed to device drivers and kept accessible for the few that could need it. The write access to this variable however should be fully reserved to the core so in a second step we will hide this variable into the opaque structure.
Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20220207143840.707510-11-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
/linux/include/linux/iio/ |
H A D | iio.h | diff 8c576f87ad7eb639b8bd4472a9bb830e0696dda5 Mon Feb 07 15:38:37 CET 2022 Miquel Raynal <miquel.raynal@bootlin.com> iio: core: Hide read accesses to iio_dev->currentmode
In order to later move this variable within the opaque structure, let's create a helper for accessing it in read-only mode. This helper will be exposed to device drivers and kept accessible for the few that could need it. The write access to this variable however should be fully reserved to the core so in a second step we will hide this variable into the opaque structure.
Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20220207143840.707510-11-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
/linux/drivers/iio/ |
H A D | industrialio-core.c | diff 8c576f87ad7eb639b8bd4472a9bb830e0696dda5 Mon Feb 07 15:38:37 CET 2022 Miquel Raynal <miquel.raynal@bootlin.com> iio: core: Hide read accesses to iio_dev->currentmode
In order to later move this variable within the opaque structure, let's create a helper for accessing it in read-only mode. This helper will be exposed to device drivers and kept accessible for the few that could need it. The write access to this variable however should be fully reserved to the core so in a second step we will hide this variable into the opaque structure.
Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/r/20220207143840.707510-11-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|