Home
last modified time | relevance | path

Searched refs:isc (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.1.9/drivers/media/platform/atmel/
Datmel-isc-base.c51 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()
61 v4l2_ctrl_s_ctrl(isc->r_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
62 v4l2_ctrl_s_ctrl(isc->b_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
63 v4l2_ctrl_s_ctrl(isc->gr_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
64 v4l2_ctrl_s_ctrl(isc->gb_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
[all …]
Datmel-sama5d2-isc.c197 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()
206 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama5d2_config_csc()
208 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama5d2_config_csc()
210 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama5d2_config_csc()
212 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama5d2_config_csc()
216 static void isc_sama5d2_config_cbc(struct isc_device *isc) in isc_sama5d2_config_cbc() argument
218 struct regmap *regmap = isc->regmap; in isc_sama5d2_config_cbc()
[all …]
Datmel-sama7g5-isc.c210 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()
221 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama7g5_config_csc()
223 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama7g5_config_csc()
225 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama7g5_config_csc()
229 static void isc_sama7g5_config_cbc(struct isc_device *isc) in isc_sama7g5_config_cbc() argument
231 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc()
[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
7 obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE) += atmel-isc-common.o
8 obj-$(CONFIG_VIDEO_ATMEL_ISC) += atmel-isc.o
Datmel-isc-clk.c229 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()
262 isc_clk = &isc->isc_clks[id]; in isc_clk_register()
266 isc_clk->dev = isc->dev; in isc_clk_register()
269 isc_clk->clk = clk_register(isc->dev, &isc_clk->hw); in isc_clk_register()
271 dev_err(isc->dev, "%s: clock register fail\n", clk_name); in isc_clk_register()
280 int isc_clk_init(struct isc_device *isc) in isc_clk_init() argument
285 for (i = 0; i < ARRAY_SIZE(isc->isc_clks); i++) in isc_clk_init()
[all …]
Datmel-isc.h333 void (*config_dpc)(struct isc_device *isc);
334 void (*config_csc)(struct isc_device *isc);
335 void (*config_cbc)(struct isc_device *isc);
336 void (*config_cc)(struct isc_device *isc);
337 void (*config_gam)(struct isc_device *isc);
338 void (*config_rlp)(struct isc_device *isc);
340 void (*config_ctrls)(struct isc_device *isc,
343 void (*adapt_pipeline)(struct isc_device *isc);
357 int isc_pipeline_init(struct isc_device *isc);
358 int isc_clk_init(struct isc_device *isc);
[all …]
/linux-6.1.9/drivers/s390/cio/
Disc.c27 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()
55 void isc_unregister(unsigned int isc) in isc_unregister() argument
59 if (isc > MAX_ISC || isc_refs[isc] == 0) { in isc_unregister()
63 if (isc_refs[isc] == 1) in isc_unregister()
64 ctl_clear_bit(6, 31 - isc); in isc_unregister()
65 isc_refs[isc]--; in isc_unregister()
Dtrace.h162 __field(u8, isc)
177 __entry->isc = __entry->tpi_info.isc;
182 __entry->adapter_IO, __entry->isc,
319 __field(u8, isc)
327 __entry->isc = tpi_info->isc;
332 __entry->isc, __entry->type
345 __field(u8, isc)
349 __entry->isc = tpi_info->isc;
351 TP_printk("isc=%d", __entry->isc)
Dcio.h22 u32 isc : 3; /* interruption sublass */ member
55 u32 isc:3; member
98 int isc; /* desired interruption subclass */ member
Dairq.c44 if (!airq->handler || airq->isc > MAX_ISC) in register_adapter_interrupt()
56 isc_register(airq->isc); in register_adapter_interrupt()
58 hlist_add_head_rcu(&airq->list, &airq_lists[airq->isc]); in register_adapter_interrupt()
80 isc_unregister(airq->isc); in unregister_adapter_interrupt()
98 head = &airq_lists[tpi_info->isc]; in do_airq_interrupt()
Dcio.c383 schib->pmcw.isc = sch->config.isc; in cio_apply_config()
397 (schib->pmcw.isc == sch->config.isc) && in cio_check_config()
488 sch->config.isc = sch->isc; in cio_enable_subchannel()
668 sch->config.isc = CONSOLE_ISC; in cio_probe_console()
/linux-6.1.9/arch/s390/kvm/
Dtrace-s390.h288 TP_PROTO(__u8 isc, __u16 from, __u16 to),
289 TP_ARGS(isc, from, to),
292 __field(__u8, isc)
298 __entry->isc = isc;
304 __entry->isc,
319 TP_PROTO(__u32 id, __u8 isc),
320 TP_ARGS(id, isc),
324 __field(__u8, isc)
329 __entry->isc = isc;
333 __entry->id, __entry->isc)
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()
165 fib.fmt0.isc = zdev->kzdev->fib.fmt0.isc; in kvm_zpci_set_airq()
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
364 isc = gaite->gisc; in kvm_s390_pci_aif_disable()
384 kvm_s390_gisc_unregister(kzdev->kvm, isc); in kvm_s390_pci_aif_disable()
[all …]
Dinterrupt.c210 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()
351 static inline int isc_to_irq_type(unsigned long isc) in isc_to_irq_type() argument
353 return IRQ_PEND_IO_ISC_0 - isc; in isc_to_irq_type()
1179 u32 isc; in __deliver_io() local
1185 isc = irq_type_to_isc(irq_type); in __deliver_io()
1186 isc_list = &fi->lists[isc]; in __deliver_io()
1219 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/media/
Datmel,isc.yaml5 $id: http://devicetree.org/schemas/media/atmel,isc.yaml#
22 const: atmel,sama5d2-isc
44 const: isc-mck
97 isc: isc@f0008000 {
98 compatible = "atmel,sama5d2-isc";
104 clock-output-names = "isc-mck";
Dmicrochip,xisc.yaml25 const: microchip,sama7g5-isc
44 const: isc-mck
111 compatible = "microchip,sama7g5-isc";
117 clock-output-names = "isc-mck";
/linux-6.1.9/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.1.9/net/sched/
Dsch_hfsc.c474 sc2isc(struct tc_service_curve *sc, struct internal_sc *isc) in sc2isc() argument
476 isc->sm1 = m2sm(sc->m1); in sc2isc()
477 isc->ism1 = m2ism(sc->m1); in sc2isc()
478 isc->dx = d2dx(sc->d); in sc2isc()
479 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc()
480 isc->sm2 = m2sm(sc->m2); in sc2isc()
481 isc->ism2 = m2ism(sc->m2); in sc2isc()
489 rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y) in rtsc_init() argument
493 rtsc->sm1 = isc->sm1; in rtsc_init()
494 rtsc->ism1 = isc->ism1; in rtsc_init()
[all …]
/linux-6.1.9/arch/s390/include/asm/
Disc.h28 void isc_register(unsigned int isc);
29 void isc_unregister(unsigned int isc);
Dtpi.h16 u32 isc:3; member
31 u32 isc:3; member
Dpci_insn.h60 u32 isc : 3; /* Interrupt subclass */ member
113 u32 isc : 3; member
157 int zpci_set_irq_ctrl(u16 ctl, u8 isc, union zpci_sic_iib *iib);
/linux-6.1.9/sound/soc/intel/catpt/
Dipc.c268 u32 isc, ipcc; in catpt_dsp_irq_handler() local
270 isc = catpt_readl_shim(cdev, ISC); in catpt_dsp_irq_handler()
271 trace_catpt_irq(isc); in catpt_dsp_irq_handler()
274 if (isc & CATPT_ISC_IPCCD) { in catpt_dsp_irq_handler()
291 if (isc & CATPT_ISC_IPCDB) { in catpt_dsp_irq_handler()
/linux-6.1.9/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
/linux-6.1.9/Documentation/devicetree/bindings/media/i2c/
Dov7740.txt34 clocks = <&isc>;
36 assigned-clocks = <&isc>;
/linux-6.1.9/arch/m68k/include/asm/
Dtraps.h243 unsigned short isc; /* instruction stage c */ member
253 unsigned short isc; /* instruction stage c */ member

123