Home
last modified time | relevance | path

Searched refs:ics (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/arch/powerpc/sysdev/xics/
Dics-native.c32 struct ics ics; member
38 #define to_ics_native(_ics) container_of(_ics, struct ics_native, ics)
48 struct ics *ics = irq_data_get_irq_chip_data(d); in ics_native_unmask_irq() local
49 struct ics_native *in = to_ics_native(ics); in ics_native_unmask_irq()
86 struct ics *ics = irq_data_get_irq_chip_data(d); in ics_native_mask_irq() local
87 struct ics_native *in = to_ics_native(ics); in ics_native_mask_irq()
101 struct ics *ics = irq_data_get_irq_chip_data(d); in ics_native_set_affinity() local
102 struct ics_native *in = to_ics_native(ics); in ics_native_set_affinity()
134 static int ics_native_check(struct ics *ics, unsigned int hw_irq) in ics_native_check() argument
136 struct ics_native *in = to_ics_native(ics); in ics_native_check()
[all …]
Dics-rtas.c152 static int ics_rtas_check(struct ics *ics, unsigned int hw_irq) in ics_rtas_check() argument
168 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) in ics_rtas_mask_unknown() argument
173 static long ics_rtas_get_server(struct ics *ics, unsigned long vec) in ics_rtas_get_server() argument
183 static int ics_rtas_host_match(struct ics *ics, struct device_node *node) in ics_rtas_host_match() argument
193 static struct ics ics_rtas = {
Dics-opal.c147 static int ics_opal_host_match(struct ics *ics, struct device_node *node) in ics_opal_host_match() argument
152 static int ics_opal_check(struct ics *ics, unsigned int hw_irq) in ics_opal_check() argument
169 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) in ics_opal_mask_unknown() argument
183 static long ics_opal_get_server(struct ics *ics, unsigned long vec) in ics_opal_get_server() argument
197 static struct ics ics_hal = {
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
Dxics-common.c41 static struct ics *xics_ics;
479 void __init xics_register_ics(struct ics *ics) in xics_register_ics() argument
483 xics_ics = ics; in xics_register_ics()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xics.c72 struct kvmppc_ics *ics; in ics_deliver_irq() local
78 ics = kvmppc_xics_find_ics(xics, irq, &src); in ics_deliver_irq()
79 if (!ics) { in ics_deliver_irq()
83 state = &ics->irq_state[src]; in ics_deliver_irq()
125 static void ics_check_resend(struct kvmppc_xics *xics, struct kvmppc_ics *ics, in ics_check_resend() argument
131 struct ics_irq_state *state = &ics->irq_state[i]; in ics_check_resend()
140 static bool write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, in write_xive() argument
148 arch_spin_lock(&ics->lock); in write_xive()
160 arch_spin_unlock(&ics->lock); in write_xive()
170 struct kvmppc_ics *ics; in kvmppc_xics_set_xive() local
[all …]
Dbook3s_hv_rm_xics.c39 struct kvmppc_ics *ics, struct kvmppc_icp *icp) in ics_rm_check_resend() argument
44 struct ics_irq_state *state = &ics->irq_state[i]; in ics_rm_check_resend()
229 struct kvmppc_ics *ics = xics->ics[icsid]; in icp_rm_check_resend() local
233 if (!ics) in icp_rm_check_resend()
235 ics_rm_check_resend(xics, ics, icp); in icp_rm_check_resend()
281 struct kvmppc_ics *ics; in icp_rm_deliver_irq() local
302 ics = kvmppc_xics_find_ics(xics, new_irq, &src); in icp_rm_deliver_irq()
303 if (!ics) { in icp_rm_deliver_irq()
308 state = &ics->irq_state[src]; in icp_rm_deliver_irq()
311 arch_spin_lock(&ics->lock); in icp_rm_deliver_irq()
[all …]
Dbook3s_xics.h112 struct kvmppc_ics *ics[KVMPPC_XICS_MAX_ICS_ID + 1]; member
133 struct kvmppc_ics *ics; in kvmppc_xics_find_ics() local
139 ics = xics->ics[icsid]; in kvmppc_xics_find_ics()
140 if (!ics) in kvmppc_xics_find_ics()
142 return ics; in kvmppc_xics_find_ics()
/linux-6.6.21/arch/powerpc/include/asm/
Dxics.h90 struct ics { struct
92 int (*check)(struct ics *ics, unsigned int hwirq); argument
93 void (*mask_unknown)(struct ics *ics, unsigned long vec); argument
94 long (*get_server)(struct ics *ics, unsigned long vec); argument
95 int (*host_match)(struct ics *ics, struct device_node *node); argument
163 extern void xics_register_ics(struct ics *ics);
/linux-6.6.21/drivers/iio/adc/
Dstmpe-adc.c212 static void stmpe_adc_voltage_chan(struct iio_chan_spec *ics, int chan) in stmpe_adc_voltage_chan() argument
214 ics->type = IIO_VOLTAGE; in stmpe_adc_voltage_chan()
215 ics->info_mask_separate = BIT(IIO_CHAN_INFO_RAW); in stmpe_adc_voltage_chan()
216 ics->info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE); in stmpe_adc_voltage_chan()
217 ics->indexed = 1; in stmpe_adc_voltage_chan()
218 ics->channel = chan; in stmpe_adc_voltage_chan()
221 static void stmpe_adc_temp_chan(struct iio_chan_spec *ics, int chan) in stmpe_adc_temp_chan() argument
223 ics->type = IIO_TEMP; in stmpe_adc_temp_chan()
224 ics->info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED); in stmpe_adc_temp_chan()
225 ics->indexed = 1; in stmpe_adc_temp_chan()
[all …]
/linux-6.6.21/arch/x86/platform/intel-mid/
Dpwr.c332 u32 ics; in mid_pwr_irq_handler() local
334 ics = readl(pwr->regs + PM_ICS); in mid_pwr_irq_handler()
335 if (!(ics & PM_ICS_IP)) in mid_pwr_irq_handler()
338 writel(ics | PM_ICS_IP, pwr->regs + PM_ICS); in mid_pwr_irq_handler()
340 dev_warn(pwr->dev, "Unexpected IRQ: %#x\n", PM_ICS_INT_STATUS(ics)); in mid_pwr_irq_handler()
/linux-6.6.21/drivers/gpu/drm/imx/ipuv3/
Dipuv3-plane.c588 enum ipu_color_space ics; in ipu_plane_atomic_update() local
641 ics = ipu_drm_fourcc_to_colorspace(fb->format->format); in ipu_plane_atomic_update()
645 new_state->color_range, ics, in ipu_plane_atomic_update()
650 new_state->color_range, ics, in ipu_plane_atomic_update()
672 ics = ipu_drm_fourcc_to_colorspace(fb->format->format); in ipu_plane_atomic_update()
676 DRM_COLOR_YCBCR_LIMITED_RANGE, ics, in ipu_plane_atomic_update()
681 DRM_COLOR_YCBCR_LIMITED_RANGE, ics, in ipu_plane_atomic_update()
/linux-6.6.21/Documentation/devicetree/bindings/regulator/
Drenesas,raa215300.yaml25 …cts/power-power-management/multi-channel-power-management-ics-pmics/ssdsoc-power-management-ics-pm…
/linux-6.6.21/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c175 int ausel=0, ics=0, ocs=0; in mute_input_7134() local
215 case TV: ausel=0xc0; ics=0x00; ocs=0x02; break; in mute_input_7134()
216 case LINE1: ausel=0x80; ics=0x00; ocs=0x00; break; in mute_input_7134()
217 case LINE2: ausel=0x80; ics=0x08; ocs=0x01; break; in mute_input_7134()
218 case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break; in mute_input_7134()
221 saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x08, ics); in mute_input_7134()
/linux-6.6.21/Documentation/hwmon/
Dlm90.rst376 http://ics.nxp.com/products/interface/datasheet/sa56004x.pdf