Home
last modified time | relevance | path

Searched full:isc (Results 1 – 25 of 897) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/drivers/media/platform/microchip/
Dmicrochip-isc-base.c3 * Microchip Image Sensor Controller (ISC) common driver base
21 #include <linux/atmel-isc-media.h>
32 #include "microchip-isc-regs.h"
33 #include "microchip-isc.h"
42 static inline void isc_update_v4l2_ctrls(struct isc_device *isc) in isc_update_v4l2_ctrls() argument
44 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls()
47 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
48 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
49 v4l2_ctrl_s_ctrl(isc->gr_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
50 v4l2_ctrl_s_ctrl(isc->gb_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
[all …]
Dmicrochip-isc-scaler.c3 * Microchip Image Sensor Controller (ISC) Scaler entity support
16 #include "microchip-isc-regs.h"
17 #include "microchip-isc.h"
32 struct isc_device *isc = container_of(sd, struct isc_device, scaler_sd); in isc_scaler_get_fmt() local
43 format->format = isc->scaler_format[format->pad]; in isc_scaler_get_fmt()
52 struct isc_device *isc = container_of(sd, struct isc_device, scaler_sd); in isc_scaler_set_fmt() local
59 req_fmt->format = isc->scaler_format[ISC_SCALER_PAD_SOURCE]; in isc_scaler_set_fmt()
69 fmt = isc_find_format_by_code(isc, req_fmt->format.code, &i); in isc_scaler_set_fmt()
72 fmt = &isc->formats_list[0]; in isc_scaler_set_fmt()
86 16, isc->max_width, 0, in isc_scaler_set_fmt()
[all …]
Dmicrochip-sama5d2-isc.c3 * Microchip Image Sensor Controller (ISC) driver
13 * ISC video pipeline integrates the following submodules:
49 #include "microchip-isc-regs.h"
50 #include "microchip-isc.h"
59 /* This is a list of the formats that the ISC can *output* */
120 /* This is a list of formats that the ISC can receive as *input* */
217 static void isc_sama5d2_config_csc(struct isc_device *isc) in isc_sama5d2_config_csc() argument
219 struct regmap *regmap = isc->regmap; in isc_sama5d2_config_csc()
222 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama5d2_config_csc()
224 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama5d2_config_csc()
[all …]
Dmicrochip-sama7g5-isc.c11 * ISC video pipeline integrates the following submodules:
52 #include "microchip-isc-regs.h"
53 #include "microchip-isc.h"
62 /* This is a list of the formats that the ISC can *output* */
129 /* This is a list of formats that the ISC can receive as *input* */
230 static void isc_sama7g5_config_csc(struct isc_device *isc) in isc_sama7g5_config_csc() argument
232 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc()
235 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama7g5_config_csc()
237 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama7g5_config_csc()
239 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama7g5_config_csc()
[all …]
Dmicrochip-isc-regs.h7 /* ISC Control Enable Register 0 */
10 /* ISC Control Disable Register 0 */
13 /* ISC Control Status Register 0 */
21 /* ISC Parallel Front End Configuration 0 Register */
44 /* ISC Parallel Front End Configuration 1 Register */
52 /* ISC Parallel Front End Configuration 2 Register */
60 /* ISC Clock Enable Register */
63 /* ISC Clock Disable Register */
66 /* ISC Clock Status Register */
72 /* ISC Clock Configuration Register */
[all …]
Dmicrochip-isc.h3 * Microchip Image Sensor Controller (ISC) driver header file
57 * struct isc_format - ISC media bus format information
58 This structure represents the interface between the ISC
60 the ISC.
65 * @pfe_cfg0_bps: Number of hardware data lines connected to the ISC
98 * struct fmt_config - ISC format configuration and internal pipeline
100 of the ISC.
101 It also holds the format that ISC will present to v4l2.
164 * struct isc_reg_offsets - ISC device register offsets
199 * struct isc_device - ISC device driver data/config struct
[all …]
DMakefile2 microchip-isc-objs = microchip-sama5d2-isc.o
3 microchip-xisc-objs = microchip-sama7g5-isc.o
4 microchip-isc-common-objs = microchip-isc-base.o microchip-isc-clk.o microchip-isc-scaler.o
6 obj-$(CONFIG_VIDEO_MICROCHIP_ISC_BASE) += microchip-isc-common.o
7 obj-$(CONFIG_VIDEO_MICROCHIP_ISC) += microchip-isc.o
Dmicrochip-isc-clk.c3 * Microchip Image Sensor Controller (ISC) common clock driver setup
17 #include "microchip-isc-regs.h"
18 #include "microchip-isc.h"
67 dev_dbg(isc_clk->dev, "ISC CLK: %s, id = %d, div = %d, parent id = %d\n", in isc_clk_enable()
165 "ISC CLK: %s, best_rate = %ld, parent clk: %s @ %ld\n", in isc_clk_determine_rate()
229 static int isc_clk_register(struct isc_device *isc, unsigned int id) in isc_clk_register() argument
231 struct regmap *regmap = isc->regmap; in isc_clk_register()
232 struct device_node *np = isc->dev->of_node; in isc_clk_register()
239 if (id == ISC_ISPCK && !isc->ispck_required) in isc_clk_register()
254 clk_name = "isc-ispck"; in isc_clk_register()
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/deprecated/atmel/
Datmel-isc-base.c3 * Microchip Image Sensor Controller (ISC) common driver base
21 #include <linux/atmel-isc-media.h>
32 #include "atmel-isc-regs.h"
33 #include "atmel-isc.h"
51 static inline void isc_update_v4l2_ctrls(struct isc_device *isc) in isc_update_v4l2_ctrls() argument
53 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls()
56 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
57 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
58 v4l2_ctrl_s_ctrl(isc->gr_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
59 v4l2_ctrl_s_ctrl(isc->gb_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
[all …]
Datmel-sama7g5-isc.c11 * ISC video pipeline integrates the following submodules:
52 #include "atmel-isc-regs.h"
53 #include "atmel-isc.h"
62 /* This is a list of the formats that the ISC can *output* */
109 /* This is a list of formats that the ISC can receive as *input* */
210 static void isc_sama7g5_config_csc(struct isc_device *isc) in isc_sama7g5_config_csc() argument
212 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc()
215 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama7g5_config_csc()
217 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama7g5_config_csc()
219 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama7g5_config_csc()
[all …]
Datmel-sama5d2-isc.c3 * Microchip Image Sensor Controller (ISC) driver
13 * ISC video pipeline integrates the following submodules:
49 #include "atmel-isc-regs.h"
50 #include "atmel-isc.h"
59 /* This is a list of the formats that the ISC can *output* */
100 /* This is a list of formats that the ISC can receive as *input* */
197 static void isc_sama5d2_config_csc(struct isc_device *isc) in isc_sama5d2_config_csc() argument
199 struct regmap *regmap = isc->regmap; in isc_sama5d2_config_csc()
202 regmap_write(regmap, ISC_CSC_YR_YG + isc->offsets.csc, in isc_sama5d2_config_csc()
204 regmap_write(regmap, ISC_CSC_YB_OY + isc->offsets.csc, in isc_sama5d2_config_csc()
[all …]
Datmel-isc-regs.h7 /* ISC Control Enable Register 0 */
10 /* ISC Control Disable Register 0 */
13 /* ISC Control Status Register 0 */
21 /* ISC Parallel Front End Configuration 0 Register */
44 /* ISC Parallel Front End Configuration 1 Register */
52 /* ISC Parallel Front End Configuration 2 Register */
60 /* ISC Clock Enable Register */
63 /* ISC Clock Disable Register */
66 /* ISC Clock Status Register */
72 /* ISC Clock Configuration Register */
[all …]
Datmel-isc.h3 * Microchip Image Sensor Controller (ISC) driver header file
57 * struct isc_format - ISC media bus format information
58 This structure represents the interface between the ISC
60 the ISC.
65 * @pfe_cfg0_bps: Number of hardware data lines connected to the ISC
97 * struct fmt_config - ISC format configuration and internal pipeline
99 of the ISC.
100 It also holds the format that ISC will present to v4l2.
163 * struct isc_reg_offsets - ISC device register offsets
187 * struct isc_device - ISC device driver data/config struct
[all …]
Datmel-isc-clk.c3 * Microchip Image Sensor Controller (ISC) common clock driver setup
17 #include "atmel-isc-regs.h"
18 #include "atmel-isc.h"
67 dev_dbg(isc_clk->dev, "ISC CLK: %s, id = %d, div = %d, parent id = %d\n", in isc_clk_enable()
165 "ISC CLK: %s, best_rate = %ld, parent clk: %s @ %ld\n", in isc_clk_determine_rate()
229 static int isc_clk_register(struct isc_device *isc, unsigned int id) in isc_clk_register() argument
231 struct regmap *regmap = isc->regmap; in isc_clk_register()
232 struct device_node *np = isc->dev->of_node; in isc_clk_register()
239 if (id == ISC_ISPCK && !isc->ispck_required) in isc_clk_register()
254 clk_name = "isc-ispck"; in isc_clk_register()
[all …]
DMakefile2 atmel-isc-objs = atmel-sama5d2-isc.o
3 atmel-xisc-objs = atmel-sama7g5-isc.o
4 atmel-isc-common-objs = atmel-isc-base.o atmel-isc-clk.o
6 obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE) += atmel-isc-common.o
7 obj-$(CONFIG_VIDEO_ATMEL_ISC) += atmel-isc.o
/kernel/linux/linux-5.10/drivers/media/platform/atmel/
Datmel-isc-base.c3 * Microchip Image Sensor Controller (ISC) common driver base
25 #include <linux/atmel-isc-media.h>
36 #include "atmel-isc-regs.h"
37 #include "atmel-isc.h"
48 /* This is a list of the formats that the ISC can *output* */
82 /* This is a list of formats that the ISC can receive as *input* */
228 static inline void isc_update_v4l2_ctrls(struct isc_device *isc) in isc_update_v4l2_ctrls() argument
230 struct isc_ctrls *ctrls = &isc->ctrls; in isc_update_v4l2_ctrls()
233 v4l2_ctrl_s_ctrl(isc->r_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
234 v4l2_ctrl_s_ctrl(isc->b_gain_ctrl, ctrls->gain[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
[all …]
Datmel-sama5d2-isc.c3 * Microchip Image Sensor Controller (ISC) driver
13 * ISC video pipeline integrates the following submodules:
49 #include "atmel-isc-regs.h"
50 #include "atmel-isc.h"
57 static int isc_parse_dt(struct device *dev, struct isc_device *isc) in isc_parse_dt() argument
65 INIT_LIST_HEAD(&isc->subdev_entities); in isc_parse_dt()
126 list_add_tail(&subdev_entity->list, &isc->subdev_entities); in isc_parse_dt()
136 struct isc_device *isc; in atmel_isc_probe() local
143 isc = devm_kzalloc(dev, sizeof(*isc), GFP_KERNEL); in atmel_isc_probe()
144 if (!isc) in atmel_isc_probe()
[all …]
Datmel-isc-regs.h7 /* ISC Control Enable Register 0 */
10 /* ISC Control Disable Register 0 */
13 /* ISC Control Status Register 0 */
21 /* ISC Parallel Front End Configuration 0 Register */
43 /* ISC Parallel Front End Configuration 1 Register */
51 /* ISC Parallel Front End Configuration 2 Register */
59 /* ISC Clock Enable Register */
62 /* ISC Clock Disable Register */
65 /* ISC Clock Status Register */
71 /* ISC Clock Configuration Register */
[all …]
Datmel-isc.h3 * Microchip Image Sensor Controller (ISC) driver header file
52 * struct isc_format - ISC media bus format information
53 This structure represents the interface between the ISC
55 the ISC.
60 * @pfe_cfg0_bps: Number of hardware data lines connected to the ISC
88 * struct fmt_config - ISC format configuration and internal pipeline
90 of the ISC.
91 It also holds the format that ISC will present to v4l2.
150 * struct isc_device - ISC device driver data/config struct
154 * @isc_clks: ISC clocks
[all …]
/kernel/linux/linux-6.6/drivers/s390/cio/
Disc.c11 #include <asm/isc.h>
19 * @isc: I/O interruption subclass to register
21 * The number of users for @isc is increased. If this is the first user to
22 * register @isc, the corresponding I/O interruption subclass mask is enabled.
27 void isc_register(unsigned int isc) in isc_register() argument
29 if (isc > MAX_ISC) { in isc_register()
35 if (isc_refs[isc] == 0) in isc_register()
36 ctl_set_bit(6, 31 - isc); in isc_register()
37 isc_refs[isc]++; in isc_register()
44 * @isc: I/O interruption subclass to unregister
[all …]
/kernel/linux/linux-5.10/drivers/s390/cio/
Disc.c11 #include <asm/isc.h>
19 * @isc: I/O interruption subclass to register
21 * The number of users for @isc is increased. If this is the first user to
22 * register @isc, the corresponding I/O interruption subclass mask is enabled.
27 void isc_register(unsigned int isc) in isc_register() argument
29 if (isc > MAX_ISC) { in isc_register()
35 if (isc_refs[isc] == 0) in isc_register()
36 ctl_set_bit(6, 31 - isc); in isc_register()
37 isc_refs[isc]++; in isc_register()
44 * @isc: I/O interruption subclass to unregister
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Datmel-isc.txt1 Atmel Image Sensor Controller (ISC)
4 Required properties for ISC:
6 Must be "atmel,sama5d2-isc".
10 Should contain IRQ line for the ISC.
20 Should be "isc-mck".
24 ISC supports a single port node with parallel bus. It should contain one
29 isc: isc@f0008000 {
30 compatible = "atmel,sama5d2-isc";
36 clock-output-names = "isc-mck";
54 clocks = <&isc>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Datmel,isc.yaml5 $id: http://devicetree.org/schemas/media/atmel,isc.yaml#
8 title: Atmel Image Sensor Controller (ISC)
14 The Image Sensor Controller (ISC) device provides the video input capabilities for the
17 The ISC has a single parallel input that supports RAW Bayer, RGB or YUV video,
22 const: atmel,sama5d2-isc
44 const: isc-mck
95 isc: isc@f0008000 {
96 compatible = "atmel,sama5d2-isc";
102 clock-output-names = "isc-mck";
/kernel/linux/linux-5.10/arch/s390/kvm/
Dtrace-s390.h285 * Trace point for modifying ais mode for a given isc.
288 TP_PROTO(__u8 isc, __u16 from, __u16 to),
289 TP_ARGS(isc, from, to),
292 __field(__u8, isc)
298 __entry->isc = isc;
303 TP_printk("for isc %x, modifying interruption mode from %s to %s",
304 __entry->isc,
319 TP_PROTO(__u32 id, __u8 isc),
320 TP_ARGS(id, isc),
324 __field(__u8, isc)
[all …]
/kernel/linux/linux-6.6/arch/s390/kvm/
Dtrace-s390.h285 * Trace point for modifying ais mode for a given isc.
288 TP_PROTO(__u8 isc, __u16 from, __u16 to),
289 TP_ARGS(isc, from, to),
292 __field(__u8, isc)
298 __entry->isc = isc;
303 TP_printk("for isc %x, modifying interruption mode from %s to %s",
304 __entry->isc,
319 TP_PROTO(__u32 id, __u8 isc),
320 TP_ARGS(id, isc),
324 __field(__u8, isc)
[all …]

12345678910>>...36