/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_xics.c | 72 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 …]
|
D | book3s_hv_rm_xics.c | 39 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() 236 struct kvmppc_ics *ics = xics->ics[icsid]; in icp_rm_check_resend() local 240 if (!ics) in icp_rm_check_resend() 242 ics_rm_check_resend(xics, ics, icp); in icp_rm_check_resend() 288 struct kvmppc_ics *ics; in icp_rm_deliver_irq() local 309 ics = kvmppc_xics_find_ics(xics, new_irq, &src); in icp_rm_deliver_irq() 310 if (!ics) { in icp_rm_deliver_irq() 315 state = &ics->irq_state[src]; in icp_rm_deliver_irq() 318 arch_spin_lock(&ics->lock); in icp_rm_deliver_irq() [all …]
|
D | book3s_xics.h | 112 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-v5.10/arch/powerpc/sysdev/xics/ |
D | xics-common.c | 114 struct ics *ics; in xics_mask_unknown_vec() local 118 list_for_each_entry(ics, &ics_list, link) in xics_mask_unknown_vec() 119 ics->mask_unknown(ics, vec); in xics_mask_unknown_vec() 201 struct ics *ics; in xics_migrate_irqs_away() local 223 ics = irq_desc_get_chip_data(desc); in xics_migrate_irqs_away() 224 if (ics) in xics_migrate_irqs_away() 225 server = ics->get_server(ics, irq); in xics_migrate_irqs_away() 310 struct ics *ics; in xics_host_match() local 312 list_for_each_entry(ics, &ics_list, link) in xics_host_match() 313 if (ics->host_match(ics, node)) in xics_host_match() [all …]
|
D | ics-rtas.c | 27 static int ics_rtas_map(struct ics *ics, unsigned int virq); 28 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec); 29 static long ics_rtas_get_server(struct ics *ics, unsigned long vec); 30 static int ics_rtas_host_match(struct ics *ics, struct device_node *node); 33 static struct ics ics_rtas = { 172 static int ics_rtas_map(struct ics *ics, unsigned int virq) in ics_rtas_map() argument 192 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) in ics_rtas_mask_unknown() argument 197 static long ics_rtas_get_server(struct ics *ics, unsigned long vec) in ics_rtas_get_server() argument 207 static int ics_rtas_host_match(struct ics *ics, struct device_node *node) in ics_rtas_host_match() argument
|
D | ics-opal.c | 160 static int ics_opal_map(struct ics *ics, unsigned int virq); 161 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec); 162 static long ics_opal_get_server(struct ics *ics, unsigned long vec); 164 static int ics_opal_host_match(struct ics *ics, struct device_node *node) in ics_opal_host_match() argument 170 static struct ics ics_hal = { 177 static int ics_opal_map(struct ics *ics, unsigned int virq) in ics_opal_map() argument 198 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) in ics_opal_mask_unknown() argument 212 static long ics_opal_get_server(struct ics *ics, unsigned long vec) in ics_opal_get_server() argument
|
D | Makefile | 6 obj-$(CONFIG_PPC_ICS_RTAS) += ics-rtas.o 7 obj-$(CONFIG_PPC_POWERNV) += ics-opal.o icp-opal.o
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | xics.h | 86 struct ics { struct 88 int (*map)(struct ics *ics, unsigned int virq); argument 89 void (*mask_unknown)(struct ics *ics, unsigned long vec); argument 90 long (*get_server)(struct ics *ics, unsigned long vec); argument 91 int (*host_match)(struct ics *ics, struct device_node *node); argument 159 extern void xics_register_ics(struct ics *ics);
|
/Linux-v5.10/drivers/iio/adc/ |
D | stmpe-adc.c | 212 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-v5.10/arch/x86/platform/intel-mid/ |
D | pwr.c | 332 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-v5.10/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 175 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-v5.10/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 555 enum ipu_color_space ics; in ipu_plane_atomic_update() local 615 ics = ipu_drm_fourcc_to_colorspace(fb->format->format); in ipu_plane_atomic_update() 618 ipu_dp_setup_channel(ipu_plane->dp, ics, IPUV3_COLORSPACE_RGB); in ipu_plane_atomic_update() 621 ipu_dp_setup_channel(ipu_plane->dp, ics, in ipu_plane_atomic_update()
|
/Linux-v5.10/Documentation/hwmon/ |
D | lm90.rst | 248 http://ics.nxp.com/products/interface/datasheet/sa56004x.pdf
|