Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/media/platform/microchip/
Dmicrochip-isc-base.c42 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()
52 v4l2_ctrl_s_ctrl(isc->r_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_R]); in isc_update_v4l2_ctrls()
53 v4l2_ctrl_s_ctrl(isc->b_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_B]); in isc_update_v4l2_ctrls()
54 v4l2_ctrl_s_ctrl(isc->gr_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GR]); in isc_update_v4l2_ctrls()
55 v4l2_ctrl_s_ctrl(isc->gb_off_ctrl, ctrls->offset[ISC_HIS_CFG_MODE_GB]); in isc_update_v4l2_ctrls()
[all …]
Dmicrochip-isc-scaler.c32 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()
88 16, isc->max_height, 0, 0); in isc_scaler_set_fmt()
93 isc->scaler_format[ISC_SCALER_PAD_SINK] = req_fmt->format; in isc_scaler_set_fmt()
96 isc->scaler_format[ISC_SCALER_PAD_SOURCE] = in isc_scaler_set_fmt()
[all …]
Dmicrochip-sama5d2-isc.c217 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()
226 regmap_write(regmap, ISC_CSC_CBR_CBG + isc->offsets.csc, in isc_sama5d2_config_csc()
228 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama5d2_config_csc()
230 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama5d2_config_csc()
232 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama5d2_config_csc()
236 static void isc_sama5d2_config_cbc(struct isc_device *isc) in isc_sama5d2_config_cbc() argument
238 struct regmap *regmap = isc->regmap; in isc_sama5d2_config_cbc()
[all …]
Dmicrochip-sama7g5-isc.c230 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()
241 regmap_write(regmap, ISC_CSC_CBB_OCB + isc->offsets.csc, in isc_sama7g5_config_csc()
243 regmap_write(regmap, ISC_CSC_CRR_CRG + isc->offsets.csc, in isc_sama7g5_config_csc()
245 regmap_write(regmap, ISC_CSC_CRB_OCR + isc->offsets.csc, in isc_sama7g5_config_csc()
249 static void isc_sama7g5_config_cbc(struct isc_device *isc) in isc_sama7g5_config_cbc() argument
251 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc()
[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.h350 void (*config_dpc)(struct isc_device *isc);
351 void (*config_csc)(struct isc_device *isc);
352 void (*config_cbc)(struct isc_device *isc);
353 void (*config_cc)(struct isc_device *isc);
354 void (*config_gam)(struct isc_device *isc);
355 void (*config_rlp)(struct isc_device *isc);
357 void (*config_ctrls)(struct isc_device *isc,
360 void (*adapt_pipeline)(struct isc_device *isc);
388 int microchip_isc_pipeline_init(struct isc_device *isc);
389 int microchip_isc_clk_init(struct isc_device *isc);
[all …]
Dmicrochip-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 microchip_isc_clk_init(struct isc_device *isc) in microchip_isc_clk_init() argument
285 for (i = 0; i < ARRAY_SIZE(isc->isc_clks); i++) in microchip_isc_clk_init()
[all …]
/linux-6.6.21/drivers/staging/media/deprecated/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
6 obj-$(CONFIG_VIDEO_ATMEL_ISC_BASE) += atmel-isc-common.o
7 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 atmel_isc_clk_init(struct isc_device *isc) in atmel_isc_clk_init() argument
285 for (i = 0; i < ARRAY_SIZE(isc->isc_clks); i++) in atmel_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 atmel_isc_pipeline_init(struct isc_device *isc);
358 int atmel_isc_clk_init(struct isc_device *isc);
[all …]
DTODO10 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
/linux-6.6.21/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)
Dairq.c44 if (!airq->handler || airq->isc > MAX_ISC) in register_adapter_interrupt()
54 isc_register(airq->isc); in register_adapter_interrupt()
56 hlist_add_head_rcu(&airq->list, &airq_lists[airq->isc]); in register_adapter_interrupt()
78 isc_unregister(airq->isc); in unregister_adapter_interrupt()
96 head = &airq_lists[tpi_info->isc]; in do_airq_interrupt()
/linux-6.6.21/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()
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()
1209 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
[all …]
/linux-6.6.21/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
95 isc: isc@f0008000 {
96 compatible = "atmel,sama5d2-isc";
102 clock-output-names = "isc-mck";
/linux-6.6.21/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.6.21/net/sched/
Dsch_hfsc.c473 sc2isc(struct tc_service_curve *sc, struct internal_sc *isc) in sc2isc() argument
475 isc->sm1 = m2sm(sc->m1); in sc2isc()
476 isc->ism1 = m2ism(sc->m1); in sc2isc()
477 isc->dx = d2dx(sc->d); in sc2isc()
478 isc->dy = seg_x2y(isc->dx, isc->sm1); in sc2isc()
479 isc->sm2 = m2sm(sc->m2); in sc2isc()
480 isc->ism2 = m2ism(sc->m2); in sc2isc()
488 rtsc_init(struct runtime_sc *rtsc, struct internal_sc *isc, u64 x, u64 y) in rtsc_init() argument
492 rtsc->sm1 = isc->sm1; in rtsc_init()
493 rtsc->ism1 = isc->ism1; in rtsc_init()
[all …]
/linux-6.6.21/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

123