Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/cell/
Daxon_msi.c78 void axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic);
81 struct axon_msic *msic) { } in axon_msi_debug_setup() argument
85 static void msic_dcr_write(struct axon_msic *msic, unsigned int dcr_n, u32 val) in msic_dcr_write() argument
89 dcr_write(msic->dcr_host, dcr_n, val); in msic_dcr_write()
95 struct axon_msic *msic = irq_desc_get_handler_data(desc); in axon_msi_cascade() local
100 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade()
106 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade()
107 idx = msic->read_offset / sizeof(__le32); in axon_msi_cascade()
108 msi = le32_to_cpu(msic->fifo_virt[idx]); in axon_msi_cascade()
112 write_offset, msic->read_offset, msi); in axon_msi_cascade()
[all …]
/Linux-v5.4/drivers/mfd/
Dintel_msic.c273 int intel_msic_irq_read(struct intel_msic *msic, unsigned short reg, u8 *val) in intel_msic_irq_read() argument
278 *val = readb(msic->irq_base + (reg - INTEL_MSIC_IRQLVL1)); in intel_msic_irq_read()
283 static int intel_msic_init_devices(struct intel_msic *msic) in intel_msic_init_devices() argument
285 struct platform_device *pdev = msic->pdev; in intel_msic_init_devices()
339 static void intel_msic_remove_devices(struct intel_msic *msic) in intel_msic_remove_devices() argument
341 struct platform_device *pdev = msic->pdev; in intel_msic_remove_devices()
349 struct intel_msic *msic; in intel_msic_probe() local
377 msic = devm_kzalloc(&pdev->dev, sizeof(*msic), GFP_KERNEL); in intel_msic_probe()
378 if (!msic) in intel_msic_probe()
381 msic->vendor = MSIC_VENDOR(id0); in intel_msic_probe()
[all …]
/Linux-v5.4/arch/x86/platform/intel-mid/device_libs/
Dplatform_msic_battery.c28 .msic = 1,
Dplatform_msic_power_btn.c27 .msic = 1,
Dplatform_msic_thermal.c28 .msic = 1,
Dplatform_msic_audio.c38 .msic = 1,
Dplatform_msic_gpio.c39 .msic = 1,
Dplatform_msic_ocd.c40 .msic = 1,
Dplatform_mrfld_power_btn.c74 .msic = 1,
/Linux-v5.4/arch/x86/include/asm/
Dintel-mid.h40 u8 msic; member
/Linux-v5.4/drivers/gpio/
Dgpio-msic.c226 struct intel_msic *msic = pdev_to_intel_msic(mg->pdev); in msic_gpio_irq_handler() local
233 intel_msic_irq_read(msic, INTEL_MSIC_GPIO0LVIRQ + i, &pin); in msic_gpio_irq_handler()
DMakefile98 obj-$(CONFIG_GPIO_MSIC) += gpio-msic.o
/Linux-v5.4/include/linux/mfd/
Dintel_msic.h450 extern int intel_msic_irq_read(struct intel_msic *msic, unsigned short reg,
/Linux-v5.4/arch/x86/platform/intel-mid/
Dsfi.c345 if (dev->msic && intel_mid_has_msic()) in sfi_handle_ipc_dev()
/Linux-v5.4/
DMAINTAINERS8403 F: drivers/gpio/gpio-msic.c