Home
last modified time | relevance | path

Searched refs:chip_data (Results 1 – 25 of 72) sorted by relevance

123

/linux/drivers/irqchip/
A Dirq-mtk-sysirq.c29 struct mtk_sysirq_chip_data *chip_data = data->chip_data; in mtk_sysirq_set_type() local
136 chip_data = kzalloc(sizeof(*chip_data), GFP_KERNEL); in mtk_sysirq_of_init()
137 if (!chip_data) in mtk_sysirq_of_init()
152 if (!chip_data->intpol_words) { in mtk_sysirq_of_init()
160 if (!chip_data->intpol_bases) { in mtk_sysirq_of_init()
183 if (!chip_data->intpol_idx) { in mtk_sysirq_of_init()
191 if (!chip_data->which_word) { in mtk_sysirq_of_init()
206 chip_data->intpol_idx[i] = j; in mtk_sysirq_of_init()
221 kfree(chip_data->which_word); in mtk_sysirq_of_init()
223 kfree(chip_data->intpol_idx); in mtk_sysirq_of_init()
[all …]
A Dirq-stm32-exti.c469 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_eoi()
486 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_mask()
499 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_unmask()
516 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_type()
550 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_wake()
553 chip_data->wake_active |= mask; in stm32_exti_h_set_wake()
579 stm32_chip_suspend(chip_data, chip_data->wake_active); in stm32_exti_h_suspend()
594 stm32_chip_resume(chip_data, chip_data->mask_cache); in stm32_exti_h_resume()
676 chip_data); in stm32_exti_h_domain_alloc()
736 chip_data->host_data = h_data; in stm32_exti_chip_init()
[all …]
A Dirq-owl-sirq.c260 chip_data); in owl_sirq_domain_alloc()
282 struct owl_sirq_chip_data *chip_data; in owl_sirq_init() local
291 chip_data = kzalloc(sizeof(*chip_data), GFP_KERNEL); in owl_sirq_init()
292 if (!chip_data) in owl_sirq_init()
295 raw_spin_lock_init(&chip_data->lock); in owl_sirq_init()
297 chip_data->params = params; in owl_sirq_init()
299 chip_data->base = of_iomap(node, 0); in owl_sirq_init()
300 if (!chip_data->base) { in owl_sirq_init()
320 chip_data->ext_irqs[i] = irq.args[1]; in owl_sirq_init()
337 iounmap(chip_data->base); in owl_sirq_init()
[all …]
A Dirq-vf610-mscm-ir.c89 struct vf610_mscm_ir_chip_data *chip_data = data->chip_data; in vf610_mscm_ir_enable() local
92 irsprc = readw_relaxed(chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_enable()
95 WARN_ON(irsprc & ~chip_data->cpu_mask); in vf610_mscm_ir_enable()
97 writew_relaxed(chip_data->cpu_mask, in vf610_mscm_ir_enable()
98 chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_enable()
106 struct vf610_mscm_ir_chip_data *chip_data = data->chip_data; in vf610_mscm_ir_disable() local
108 writew_relaxed(0x0, chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); in vf610_mscm_ir_disable()
A Dexynos-combiner.c67 struct combiner_chip_data *chip_data = irq_desc_get_handler_data(desc); in combiner_handle_cascade_irq() local
76 status = readl_relaxed(chip_data->base + COMBINER_INT_STATUS); in combiner_handle_cascade_irq()
78 status &= chip_data->irq_mask; in combiner_handle_cascade_irq()
83 combiner_irq = chip_data->hwirq_offset + __ffs(status); in combiner_handle_cascade_irq()
96 struct combiner_chip_data *chip_data = irq_data_get_irq_chip_data(d); in combiner_set_affinity() local
97 struct irq_chip *chip = irq_get_chip(chip_data->parent_irq); in combiner_set_affinity()
98 struct irq_data *data = irq_get_irq_data(chip_data->parent_irq); in combiner_set_affinity()
A Dirq-gic-pm.c20 struct gic_chip_data *chip_data; member
28 struct gic_chip_data *gic = chip_pm->chip_data; in gic_runtime_resume()
54 struct gic_chip_data *gic = chip_pm->chip_data; in gic_runtime_suspend()
109 ret = gic_of_init_child(dev, &chip_pm->chip_data, irq); in gic_probe()
A Dirq-sun6i-r.c94 data->chip_data = SUN6I_NMI_NEEDS_ACK; in sun6i_r_intc_nmi_ack()
100 if (data->chip_data == SUN6I_NMI_NEEDS_ACK && !irqd_irq_masked(data)) { in sun6i_r_intc_nmi_eoi()
101 data->chip_data = NULL; in sun6i_r_intc_nmi_eoi()
110 if (data->chip_data == SUN6I_NMI_NEEDS_ACK) { in sun6i_r_intc_nmi_unmask()
111 data->chip_data = NULL; in sun6i_r_intc_nmi_unmask()
A Dirq-mtk-cirq.c42 struct mtk_cirq_chip_data *chip_data = data->chip_data; in mtk_cirq_write_mask() local
46 writel_relaxed(mask, chip_data->base + offset + (cirq_num / 32) * 4); in mtk_cirq_write_mask()
A Dirq-imx-gpcv2.c75 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_set_wake()
97 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_unmask()
113 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_mask()
A Dirq-mbigen.c106 void __iomem *base = data->chip_data; in mbigen_eoi_irq()
118 void __iomem *base = data->chip_data; in mbigen_set_type()
150 void __iomem *base = d->chip_data; in mbigen_write_msg()
/linux/arch/x86/platform/uv/
A Duv_irq.c60 uv_program_mmr(cfg, data->chip_data); in uv_set_irq_affinity()
78 struct uv_irq_2_mmr_pnode *chip_data; in uv_domain_alloc() local
86 chip_data = kmalloc_node(sizeof(*chip_data), GFP_KERNEL, in uv_domain_alloc()
88 if (!chip_data) in uv_domain_alloc()
98 chip_data->pnode = uv_blade_to_pnode(info->uv.blade); in uv_domain_alloc()
99 chip_data->offset = info->uv.offset; in uv_domain_alloc()
100 irq_domain_set_info(domain, virq, virq, &uv_irq_chip, chip_data, in uv_domain_alloc()
103 kfree(chip_data); in uv_domain_alloc()
115 kfree(irq_data->chip_data); in uv_domain_free()
128 uv_program_mmr(irqd_cfg(irq_data), irq_data->chip_data); in uv_domain_activate()
[all …]
/linux/drivers/mfd/
A Dhtc-i2cpld.c219 client = chip_data->client; in htcpld_chip_set()
225 chip_data->cache_out |= (1 << offset); in htcpld_chip_set()
227 chip_data->cache_out &= ~(1 << offset); in htcpld_chip_set()
235 struct htcpld_chip *chip_data; in htcpld_chip_set_ni() local
239 client = chip_data->client; in htcpld_chip_set_ni()
249 cache = chip_data->cache_out; in htcpld_chip_get()
251 cache = chip_data->cache_in; in htcpld_chip_get()
279 if (offset < chip_data->nirqs) in htcpld_chip_to_irq()
280 return chip_data->irq_start + offset; in htcpld_chip_to_irq()
288 if (!chip_data) in htcpld_chip_reset()
[all …]
A Dmt6397-core.c153 struct chip_data { struct
161 static const struct chip_data mt6323_core = { argument
169 static const struct chip_data mt6358_core = {
177 static const struct chip_data mt6359_core = {
185 static const struct chip_data mt6397_core = {
198 const struct chip_data *pmic_core; in mt6397_probe()
/linux/arch/x86/hyperv/
A Dirqdomain.c210 if (data->chip_data) { in hv_irq_compose_msi_msg()
219 stored_entry = data->chip_data; in hv_irq_compose_msi_msg()
220 data->chip_data = NULL; in hv_irq_compose_msi_msg()
245 data->chip_data = stored_entry; in hv_irq_compose_msi_msg()
276 if (!data->chip_data) { in hv_teardown_msi_irq_common()
281 old_entry = *(struct hv_interrupt_entry *)data->chip_data; in hv_teardown_msi_irq_common()
284 kfree(data->chip_data); in hv_teardown_msi_irq_common()
285 data->chip_data = NULL; in hv_teardown_msi_irq_common()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
A Dd71_dev.c180 struct d71_dev *d71 = mdev->chip_data; in d71_irq_handler()
220 struct d71_dev *d71 = mdev->chip_data; in d71_enable_irq()
240 struct d71_dev *d71 = mdev->chip_data; in d71_disable_irq()
259 struct d71_dev *d71 = mdev->chip_data; in d71_on_off_vblank()
285 struct d71_dev *d71 = mdev->chip_data; in d71_change_opmode()
300 struct d71_dev *d71 = mdev->chip_data; in d71_flush()
340 struct d71_dev *d71 = mdev->chip_data; in d71_cleanup()
346 mdev->chip_data = NULL; in d71_cleanup()
362 mdev->chip_data = d71; in d71_enum_resources()
558 struct d71_dev *d71 = mdev->chip_data; in d71_connect_iommu()
[all …]
/linux/drivers/net/dsa/
A Drtl8365mb.c995 mb = smi->chip_data; in rtl8365mb_phylink_mac_link_down()
1023 mb = smi->chip_data; in rtl8365mb_phylink_mac_link_up()
1074 struct rtl8365mb *mb = smi->chip_data; in rtl8365mb_port_set_learning()
1152 mb = smi->chip_data; in rtl8365mb_get_ethtool_stats()
1199 mb = smi->chip_data; in rtl8365mb_get_phy_stats()
1236 mb = smi->chip_data; in rtl8365mb_get_mac_stats()
1300 mb = smi->chip_data; in rtl8365mb_get_ctrl_stats()
1328 struct rtl8365mb *mb = smi->chip_data; in rtl8365mb_stats_update()
1407 mb = smi->chip_data; in rtl8365mb_get_stats64()
1477 mb = smi->chip_data; in rtl8365mb_irq()
[all …]
/linux/drivers/gpu/drm/rockchip/
A Ddw_hdmi-rockchip.c71 const struct rockchip_hdmi_chip_data *chip_data; member
269 if (hdmi->chip_data->lcdsel_grf_reg < 0) in dw_hdmi_rockchip_encoder_enable()
274 val = hdmi->chip_data->lcdsel_lit; in dw_hdmi_rockchip_encoder_enable()
276 val = hdmi->chip_data->lcdsel_big; in dw_hdmi_rockchip_encoder_enable()
284 ret = regmap_write(hdmi->regmap, hdmi->chip_data->lcdsel_grf_reg, val); in dw_hdmi_rockchip_encoder_enable()
512 hdmi->chip_data = plat_data->phy_data; in dw_hdmi_rockchip_bind()
/linux/drivers/iommu/
A Dhyperv-iommu.c200 struct hyperv_root_ir_data *data = irq_data->chip_data; in hyperv_root_ir_compose_msi_msg()
302 irq_data->chip_data = data; in hyperv_root_irq_remapping_alloc()
318 if (irq_data && irq_data->chip_data) { in hyperv_root_irq_remapping_free()
319 data = irq_data->chip_data; in hyperv_root_irq_remapping_free()
/linux/drivers/power/supply/
A Dmax17040_battery.c54 struct chip_data { struct
64 static struct chip_data max17040_family[] = { argument
144 struct chip_data data;
184 struct chip_data *d = &chip->data; in max17040_raw_vcell_to_uvolts()
226 struct chip_data *data = &max17040_family[ in max17040_get_of_data()
/linux/drivers/dma/
A Dtegra20-apb-dma.c218 const struct tegra_dma_chip_data *chip_data; member
397 if (tdma->chip_data->support_channel_pause) { in tegra_dma_pause()
411 if (tdma->chip_data->support_channel_pause) in tegra_dma_resume()
449 if (tdc->tdma->chip_data->support_separate_wcount_reg) in tegra_dma_start()
490 if (tdc->tdma->chip_data->support_separate_wcount_reg) in tegra_dma_configure_for_next()
771 if (tdc->tdma->chip_data->support_separate_wcount_reg) in tegra_dma_terminate_all()
847 if (tdc->tdma->chip_data->support_separate_wcount_reg) in tegra_dma_sg_bytes_xferred()
1120 len > tdc->tdma->chip_data->max_dma_count) { in tegra_dma_prep_slave_sg()
1220 len > tdc->tdma->chip_data->max_dma_count) { in tegra_dma_prep_dma_cyclic()
1461 tdma->chip_data = cdata; in tegra_dma_probe()
[all …]
/linux/drivers/gpio/
A Dgpio-lpc18xx.c77 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_mask()
97 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_unmask()
117 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_eoi()
133 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_set_type()
/linux/drivers/spi/
A Dspi-pxa2xx.h60 struct chip_data { struct
133 extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip,
/linux/arch/sparc/kernel/
A Dleon_kernel.c129 mask = (unsigned long)data->chip_data; in leon_set_affinity()
152 mask = (unsigned long)data->chip_data; in leon_unmask_irq()
165 mask = (unsigned long)data->chip_data; in leon_mask_irq()
189 unsigned long mask = (unsigned long)data->chip_data; in leon_eoi_irq()
/linux/arch/x86/kernel/apic/
A Dvector.c86 return irqd->chip_data; in apic_chip_data()
491 if (irqd && irqd->chip_data) { in x86_vector_free_irqs()
495 apicd = irqd->chip_data; in x86_vector_free_irqs()
558 WARN_ON_ONCE(irqd->chip_data); in x86_vector_alloc_irqs()
567 irqd->chip_data = apicd; in x86_vector_alloc_irqs()
595 irqd->chip_data = NULL; in x86_vector_alloc_irqs()
628 if (!irqd->chip_data) { in x86_vector_debug_show()
634 memcpy(&apicd, irqd->chip_data, sizeof(apicd)); in x86_vector_debug_show()
/linux/arch/arm/mach-s3c/
A Ds3c64xx.c251 mask |= (u32)data->chip_data; in s3c_irq_eint_mask()
260 mask &= ~((u32)data->chip_data); in s3c_irq_eint_unmask()
266 __raw_writel((u32)data->chip_data, S3C64XX_EINT0PEND); in s3c_irq_eint_ack()

Completed in 56 milliseconds

123