Searched refs:ics (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/powerpc/sysdev/xics/
H A Dics-native.c32 struct ics ics; member in struct:ics_native
38 #define to_ics_native(_ics) container_of(_ics, struct ics_native, ics)
48 struct ics *ics = irq_data_get_irq_chip_data(d); local
49 struct ics_native *in = to_ics_native(ics);
52 pr_devel("ics-native: unmask virq %d [hw 0x%x]\n", d->irq, vec);
86 struct ics *ics = irq_data_get_irq_chip_data(d); local
87 struct ics_native *in = to_ics_native(ics);
101 struct ics *ics = irq_data_get_irq_chip_data(d); local
134 ics_native_check(struct ics *ics, unsigned int hw_irq) argument
146 ics_native_mask_unknown(struct ics *ics, unsigned long vec) argument
156 ics_native_get_server(struct ics *ics, unsigned long vec) argument
168 ics_native_host_match(struct ics *ics, struct device_node *node) argument
185 struct ics_native *ics; local
236 struct device_node *ics; local
[all...]
H A DMakefile6 obj-$(CONFIG_PPC_ICS_RTAS) += ics-rtas.o
7 obj-$(CONFIG_PPC_ICS_NATIVE) += ics-native.o
8 obj-$(CONFIG_PPC_POWERNV) += ics-opal.o icp-opal.o
H A Dics-rtas.c152 static int ics_rtas_check(struct ics *ics, unsigned int hw_irq) argument
168 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) argument
173 static long ics_rtas_get_server(struct ics *ics, unsigned long vec) argument
183 static int ics_rtas_host_match(struct ics *ics, struct device_node *node) argument
192 /* Only one global & state struct ics */
193 static struct ics ics_rta
[all...]
H A Dics-opal.c47 pr_devel("ics-hal: unmask virq %d [hw 0x%x]\n", d->irq, hw_irq);
87 pr_devel("ics-hal: mask virq %d [hw 0x%x]\n", d->irq, hw_irq);
123 pr_debug("ics-hal: set-affinity irq %d [hw 0x%x] server: 0x%x/0x%x\n",
147 static int ics_opal_host_match(struct ics *ics, struct device_node *node) argument
152 static int ics_opal_check(struct ics *ics, unsigned int hw_irq) argument
169 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) argument
183 static long ics_opal_get_server(struct ics *ic argument
[all...]
H A Dxics-common.c41 static struct ics *xics_ics;
479 void __init xics_register_ics(struct ics *ics) argument
483 xics_ics = ics;
/linux-master/arch/powerpc/include/asm/
H A Dxics.h90 struct ics { struct
92 int (*check)(struct ics *ics, unsigned int hwirq);
93 void (*mask_unknown)(struct ics *ics, unsigned long vec);
94 long (*get_server)(struct ics *ics, unsigned long vec);
95 int (*host_match)(struct ics *ics, struct device_node *node);
163 extern void xics_register_ics(struct ics *ic
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_xics.c72 struct kvmppc_ics *ics; local
76 XICS_DBG("ics deliver %#x (level: %d)\n", irq, level);
78 ics = kvmppc_xics_find_ics(xics, irq, &src);
79 if (!ics) {
83 state = &ics->irq_state[src];
125 static void ics_check_resend(struct kvmppc_xics *xics, struct kvmppc_ics *ics, argument
131 struct ics_irq_state *state = &ics->irq_state[i];
140 static bool write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, argument
148 arch_spin_lock(&ics->lock);
160 arch_spin_unlock(&ics
170 struct kvmppc_ics *ics; local
199 struct kvmppc_ics *ics; local
226 struct kvmppc_ics *ics; local
252 struct kvmppc_ics *ics; local
326 struct kvmppc_ics *ics = xics->ics[icsid]; local
381 struct kvmppc_ics *ics; local
781 struct kvmppc_ics *ics; local
989 struct kvmppc_ics *ics = xics->ics[icsid]; local
1028 struct kvmppc_ics *ics; local
1106 struct kvmppc_ics *ics; local
1179 struct kvmppc_ics *ics; local
1228 struct kvmppc_ics *ics; local
1482 struct kvmppc_ics *ics; local
1498 struct kvmppc_ics *ics; local
[all...]
H A Dbook3s_xics.h112 struct kvmppc_ics *ics[KVMPPC_XICS_MAX_ICS_ID + 1]; member in struct:kvmppc_xics
133 struct kvmppc_ics *ics; local
139 ics = xics->ics[icsid];
140 if (!ics)
142 return ics;
H A Dbook3s_hv_rm_xics.c39 struct kvmppc_ics *ics, struct kvmppc_icp *icp)
44 struct ics_irq_state *state = &ics->irq_state[i];
229 struct kvmppc_ics *ics = xics->ics[icsid]; local
233 if (!ics)
235 ics_rm_check_resend(xics, ics, icp);
281 struct kvmppc_ics *ics; local
302 ics = kvmppc_xics_find_ics(xics, new_irq, &src);
303 if (!ics) {
308 state = &ics
38 ics_rm_check_resend(struct kvmppc_xics *xics, struct kvmppc_ics *ics, struct kvmppc_icp *icp) argument
679 struct kvmppc_ics *ics; local
852 struct kvmppc_ics *ics; local
[all...]
/linux-master/drivers/iio/adc/
H A Dstmpe-adc.c212 static void stmpe_adc_voltage_chan(struct iio_chan_spec *ics, int chan) argument
214 ics->type = IIO_VOLTAGE;
215 ics->info_mask_separate = BIT(IIO_CHAN_INFO_RAW);
216 ics->info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE);
217 ics->indexed = 1;
218 ics->channel = chan;
221 static void stmpe_adc_temp_chan(struct iio_chan_spec *ics, int chan) argument
223 ics->type = IIO_TEMP;
224 ics->info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED);
225 ics
[all...]
/linux-master/arch/x86/platform/intel-mid/
H A Dpwr.c332 u32 ics; local
334 ics = readl(pwr->regs + PM_ICS);
335 if (!(ics & PM_ICS_IP))
338 writel(ics | PM_ICS_IP, pwr->regs + PM_ICS);
340 dev_warn(pwr->dev, "Unexpected IRQ: %#x\n", PM_ICS_INT_STATUS(ics));
/linux-master/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-plane.c588 enum ipu_color_space ics; local
641 ics = ipu_drm_fourcc_to_colorspace(fb->format->format);
645 new_state->color_range, ics,
650 new_state->color_range, ics,
672 ics = ipu_drm_fourcc_to_colorspace(fb->format->format);
676 DRM_COLOR_YCBCR_LIMITED_RANGE, ics,
681 DRM_COLOR_YCBCR_LIMITED_RANGE, ics,
/linux-master/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c175 int ausel=0, ics=0, ocs=0; local
215 case TV: ausel=0xc0; ics=0x00; ocs=0x02; break;
216 case LINE1: ausel=0x80; ics=0x00; ocs=0x00; break;
217 case LINE2: ausel=0x80; ics=0x08; ocs=0x01; break;
218 case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break;
221 saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x08, ics);

Completed in 354 milliseconds