/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-base.c | 3 * 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 …]
|
H A D | microchip-isc-scaler.c | 3 * 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 …]
|
H A D | microchip-sama7g5-isc.c | 11 * 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 …]
|
H A D | microchip-sama5d2-isc.c | 3 * 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 …]
|
H A D | microchip-isc-regs.h | 7 /* 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 …]
|
H A D | microchip-isc.h | 3 * 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 …]
|
H A D | microchip-isc-clk.c | 3 * 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 …]
|
H A D | Makefile | 2 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/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-regs.h | 7 /* 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 …]
|
H A D | atmel-isc.h | 3 * 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 …]
|
H A D | atmel-isc-clk.c | 3 * 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 …]
|
H A D | Makefile | 2 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
|
H A D | TODO | 1 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/drivers/s390/cio/ |
H A D | isc.c | 12 #include <asm/isc.h> 20 * @isc: I/O interruption subclass to register 22 * The number of users for @isc is increased. If this is the first user to 23 * register @isc, the corresponding I/O interruption subclass mask is enabled. 28 void isc_register(unsigned int isc) in isc_register() argument 30 if (isc > MAX_ISC) { in isc_register() 36 if (isc_refs[isc] == 0) in isc_register() 37 system_ctl_set_bit(6, 31 - isc); in isc_register() 38 isc_refs[isc]++; in isc_register() 45 * @isc: I/O interruption subclass to unregister [all …]
|
H A D | trace.h | 162 __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/Documentation/devicetree/bindings/media/ |
H A D | atmel,isc.yaml | 5 $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";
|
H A D | microchip,xisc.yaml | 25 const: microchip,sama7g5-isc 44 const: isc-mck 112 compatible = "microchip,sama7g5-isc"; 118 clock-output-names = "isc-mck";
|
/linux/arch/s390/kvm/ |
H A D | trace-s390.h | 285 * 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 …]
|
H A D | pci.c | 21 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() 244 /* Get the associated forwarding ISC - if invalid, return the error */ in kvm_s390_pci_aif_enable() 245 gisc = kvm_s390_gisc_register(kvm, fib->fmt0.isc); in kvm_s390_pci_aif_enable() 303 gaite->gisc = fib->fmt0.isc; in kvm_s390_pci_aif_enable() 314 fib->fmt0.isc = gisc; in kvm_s390_pci_aif_enable() 317 zdev->kzdev->fib.fmt0.isc = fib->fmt0.isc; in kvm_s390_pci_aif_enable() 342 u8 isc; in kvm_s390_pci_aif_disable() local [all …]
|
H A D | interrupt.c | 29 #include <asm/isc.h> 203 static uint64_t isc_to_isc_bits(int isc) in isc_to_isc_bits() argument 205 return (0x80 >> isc) << 24; in isc_to_isc_bits() 208 static inline u32 isc_to_int_word(u8 isc) in isc_to_int_word() argument 210 return ((u32)isc << 27) | 0x80000000; in isc_to_int_word() 334 static inline int isc_to_irq_type(unsigned long isc) in isc_to_irq_type() argument 336 return IRQ_PEND_IO_ISC_0 - isc; in isc_to_irq_type() 1161 u32 isc; in __deliver_io() local 1167 isc = irq_type_to_isc(irq_type); in __deliver_io() 1168 isc_list = &fi->lists[isc]; in __deliver_io() [all …]
|
/linux/drivers/tty/serial/ |
H A D | sunplus-uart.c | 157 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/Documentation/virt/kvm/devices/ |
H A D | s390_flic.rst | 76 __u8 isc; 82 id contains the unique id for the adapter, isc the I/O interruption subclass 120 modify the adapter-interruption-suppression mode for a given isc if the 124 __u8 isc; 128 isc contains the target I/O interruption subclass, mode the target 144 an isc according to the adapter-interruption-suppression mode on condition 158 to an ISC (MSB0 bit 0 to ISC 0 and so on). The combination of simm bit and 159 nimm bit presents AIS mode for a ISC.
|
/linux/LICENSES/deprecated/ |
H A D | ISC | 1 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/net/sched/ |
H A D | sch_hfsc.c | 481 sc2isc(struct tc_service_curve *sc, struct internal_sc *isc) in sc2isc() argument 483 isc->sm1 = m2sm(sc->m1); in sc2isc() 484 isc->ism1 = m2ism(sc->m1); in sc2isc() 485 isc->dx = d2dx(sc->d); in sc2isc() 486 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc() 487 isc->sm2 = m2sm(sc->m2); in sc2isc() 488 isc->ism2 = m2ism(sc->m2); in sc2isc() 496 rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y) in rtsc_init() argument 500 rtsc->sm1 = isc->sm1; in rtsc_init() 501 rtsc->ism1 = isc->ism1; in rtsc_init() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | isc.h | 10 * isc usage between drivers. 28 void isc_register(unsigned int isc); 29 void isc_unregister(unsigned int isc);
|