Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.12.1/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-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-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-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 …]
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 …]
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
/linux-6.12.1/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
DTODO1 The Atmel ISC driver is not compliant with media controller specification.
10 In a simple configuration sensor ==> isc , the isc just calls subdev s_fmt
14 Basically the user has nothing to configure, as the isc will handle
18 sensor ==> controller 1 ==> controller 2 ==> isc
24 Atmel ISC to staging as-is, to keep the Kconfig symbols and the users
/linux-6.12.1/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 system_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 …]
Dtrace.h162 __field(u8, isc)
177 __entry->isc = __entry->tpi_info.isc;
180 TP_printk("schid=%x.%x.%04x cc=%d a=%d isc=%d type=%d",
182 __entry->adapter_IO, __entry->isc,
319 __field(u8, isc)
327 __entry->isc = tpi_info->isc;
330 TP_printk("schid=%x.%x.%04x isc=%d type=%d",
332 __entry->isc, __entry->type
345 __field(u8, isc)
349 __entry->isc = tpi_info->isc;
[all …]
/linux-6.12.1/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";
/linux-6.12.1/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 …]
Dpci.c21 static inline int __set_irq_noiib(u16 ctl, u8 isc) in __set_irq_noiib() argument
25 return zpci_set_irq_ctrl(ctl, isc, &iib); in __set_irq_noiib()
108 * ensure that the same forwarding ISC is used as this is assigned in zpci_reset_aipb()
165 fib.fmt0.isc = zdev->kzdev->fib.fmt0.isc; in kvm_zpci_set_airq()
245 /* Get the associated forwarding ISC - if invalid, return the error */ in kvm_s390_pci_aif_enable()
246 gisc = kvm_s390_gisc_register(kvm, fib->fmt0.isc); in kvm_s390_pci_aif_enable()
304 gaite->gisc = fib->fmt0.isc; in kvm_s390_pci_aif_enable()
315 fib->fmt0.isc = gisc; in kvm_s390_pci_aif_enable()
318 zdev->kzdev->fib.fmt0.isc = fib->fmt0.isc; in kvm_s390_pci_aif_enable()
343 u8 isc; in kvm_s390_pci_aif_disable() local
[all …]
Dinterrupt.c27 #include <asm/isc.h>
210 static uint64_t isc_to_isc_bits(int isc) in isc_to_isc_bits() argument
212 return (0x80 >> isc) << 24; in isc_to_isc_bits()
215 static inline u32 isc_to_int_word(u8 isc) in isc_to_int_word() argument
217 return ((u32)isc << 27) | 0x80000000; in isc_to_int_word()
341 static inline int isc_to_irq_type(unsigned long isc) in isc_to_irq_type() argument
343 return IRQ_PEND_IO_ISC_0 - isc; in isc_to_irq_type()
1169 u32 isc; in __deliver_io() local
1175 isc = irq_type_to_isc(irq_type); in __deliver_io()
1176 isc_list = &fi->lists[isc]; in __deliver_io()
[all …]
/linux-6.12.1/drivers/tty/serial/
Dsunplus-uart.c157 unsigned int isc; in sunplus_stop_tx() local
159 isc = readl(port->membase + SUP_UART_ISC); in sunplus_stop_tx()
160 isc &= ~SUP_UART_ISC_TXM; in sunplus_stop_tx()
161 writel(isc, port->membase + SUP_UART_ISC); in sunplus_stop_tx()
166 unsigned int isc; in sunplus_start_tx() local
168 isc = readl(port->membase + SUP_UART_ISC); in sunplus_start_tx()
169 isc |= SUP_UART_ISC_TXM; in sunplus_start_tx()
170 writel(isc, port->membase + SUP_UART_ISC); in sunplus_start_tx()
175 unsigned int isc; in sunplus_stop_rx() local
177 isc = readl(port->membase + SUP_UART_ISC); in sunplus_stop_rx()
[all …]
/linux-6.12.1/LICENSES/deprecated/
DISC1 Valid-License-Identifier: ISC
2 SPDX-URL: https://spdx.org/licenses/ISC.html
4 To use the ISC License put the following SPDX tag/value pair into a
7 SPDX-License-Identifier: ISC
10 ISC License
/linux-6.12.1/Documentation/virt/kvm/devices/
Ds390_flic.rst72 __u8 isc;
78 id contains the unique id for the adapter, isc the I/O interruption subclass
116 modify the adapter-interruption-suppression mode for a given isc if the
120 __u8 isc;
124 isc contains the target I/O interruption subclass, mode the target
140 an isc according to the adapter-interruption-suppression mode on condition
154 to an ISC (MSB0 bit 0 to ISC 0 and so on). The combination of simm bit and
155 nimm bit presents AIS mode for a ISC.

12345678910>>...22