Home
last modified time | relevance | path

Searched refs:edac (Results 1 - 25 of 121) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/edac/
H A Dxgene_edac.c11 #include <linux/edac.h>
66 static void xgene_edac_pcp_rd(struct xgene_edac *edac, u32 reg, u32 *val) in xgene_edac_pcp_rd() argument
68 *val = readl(edac->pcp_csr + reg); in xgene_edac_pcp_rd()
71 static void xgene_edac_pcp_clrbits(struct xgene_edac *edac, u32 reg, in xgene_edac_pcp_clrbits() argument
76 spin_lock(&edac->lock); in xgene_edac_pcp_clrbits()
77 val = readl(edac->pcp_csr + reg); in xgene_edac_pcp_clrbits()
79 writel(val, edac->pcp_csr + reg); in xgene_edac_pcp_clrbits()
80 spin_unlock(&edac->lock); in xgene_edac_pcp_clrbits()
83 static void xgene_edac_pcp_setbits(struct xgene_edac *edac, u32 reg, in xgene_edac_pcp_setbits() argument
88 spin_lock(&edac in xgene_edac_pcp_setbits()
135 struct xgene_edac *edac; global() member
342 xgene_edac_mc_add(struct xgene_edac *edac, struct device_node *np) xgene_edac_mc_add() argument
512 struct xgene_edac *edac; global() member
886 xgene_edac_pmd_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_pmd_add() argument
1020 struct xgene_edac *edac; global() member
1183 xgene_edac_l3_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_l3_add() argument
1723 xgene_edac_soc_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_soc_add() argument
1846 struct xgene_edac *edac; xgene_edac_probe() local
1965 struct xgene_edac *edac = dev_get_drvdata(&pdev->dev); xgene_edac_remove() local
[all...]
H A Dti_edac.c21 #include <linux/edac.h>
71 #define EDAC_MOD_NAME "ti-emif-edac"
82 static u32 ti_edac_readl(struct ti_edac *edac, u16 offset) in ti_edac_readl() argument
84 return readl_relaxed(edac->reg + offset); in ti_edac_readl()
87 static void ti_edac_writel(struct ti_edac *edac, u32 val, u16 offset) in ti_edac_writel() argument
89 writel_relaxed(val, edac->reg + offset); in ti_edac_writel()
95 struct ti_edac *edac = mci->pvt_info; in ti_edac_isr() local
100 irq_status = ti_edac_readl(edac, EMIF_IRQ_STATUS); in ti_edac_isr()
103 err_addr = ti_edac_readl(edac, EMIF_1B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
104 err_count = ti_edac_readl(edac, EMIF_1B_ECC_ERR_CN in ti_edac_isr()
133 struct ti_edac *edac = mci->pvt_info; ti_edac_setup_dimm() local
239 struct ti_edac *edac; ti_edac_probe() local
[all...]
H A Daltera_edac.c11 #include <linux/edac.h>
224 { .compatible = "altr,sdram-edac", .data = &c5_data},
225 { .compatible = "altr,sdram-edac-a10", .data = &a10_data},
1249 regmap_write(dci->edac->ecc_mgr_map, in altr_edac_a10_l2_irq()
1256 regmap_write(dci->edac->ecc_mgr_map, in altr_edac_a10_l2_irq()
1558 list_add(&altdev->next, &altdev->edac->a10_ecc_devices); in altr_portb_setup()
1681 { .compatible = "altr,sdram-edac-s10", .data = &s10_sdramecc_data },
1787 struct altr_arria10_edac *edac = irq_desc_get_handler_data(desc); in altr_edac_a10_irq_handler() local
1792 dberr = (irq == edac->db_irq) ? 1 : 0; in altr_edac_a10_irq_handler()
1798 regmap_read(edac in altr_edac_a10_irq_handler()
1844 altr_edac_a10_device_add(struct altr_arria10_edac *edac, struct device_node *np) altr_edac_a10_device_add() argument
1985 struct altr_arria10_edac *edac = irq_data_get_irq_chip_data(d); a10_eccmgr_irq_mask() local
1993 struct altr_arria10_edac *edac = irq_data_get_irq_chip_data(d); a10_eccmgr_irq_unmask() local
2002 struct altr_arria10_edac *edac = d->host_data; a10_eccmgr_irqdomain_map() local
2030 struct altr_arria10_edac *edac = to_a10edac(this, panic_notifier); s10_edac_dberr_handler() local
2071 struct altr_arria10_edac *edac; altr_edac_a10_probe() local
[all...]
H A Dedac_module.c13 #include <linux/edac.h>
67 * sysfs object: /sys/devices/system/edac
71 .name = "edac",
72 .dev_name = "edac",
79 /* create the /sys/devices/system/edac directory */ in edac_subsys_init()
92 /* return pointer to the 'edac' node in sysfs */
H A Dsifive_edac.c10 #include <linux/edac.h>
H A Daltera_edac.h11 #include <linux/edac.h>
381 struct altr_arria10_edac *edac; member
H A Docteon_edac-pc.c16 #include <linux/edac.h>
H A Docteon_edac-pci.c14 #include <linux/edac.h>
H A Dedac_device.h18 * Please look at Documentation/driver-api/edac.rst for more info about
27 #include <linux/edac.h>
56 * /sys/devices/system/edac/..
128 /* edac sysfs device control */
142 /* edac sysfs device control */
178 /* pointer to main 'edac' subsys in sysfs */
186 /* pointer to edac polling checking routine:
196 const char *ctl_name; /* edac controller name */
205 /* sysfs top name under 'edac' directory
223 /* edac sysf
[all...]
H A Dedac_mc.h18 * Please look at Documentation/driver-api/edac.rst for more info about
38 #include <linux/edac.h>
254 * edac misc APIs
H A Dedac_pci.h18 * Please look at Documentation/driver-api/edac.rst for more info about
27 #include <linux/edac.h>
58 /* pointer to edac polling checking routine:
68 const char *ctl_name; /* edac controller name */
77 /* sysfs top name under 'edac' directory
89 /* edac sysfs device control for the 'name'
133 * edac local routine to do pci_write_config_dword, but adds
H A Dhighbank_l2_edac.c8 #include <linux/edac.h>
H A Dpasemi_edac.c16 #include <linux/edac.h>
/kernel/linux/linux-6.6/drivers/edac/
H A Dxgene_edac.c11 #include <linux/edac.h>
66 static void xgene_edac_pcp_rd(struct xgene_edac *edac, u32 reg, u32 *val) in xgene_edac_pcp_rd() argument
68 *val = readl(edac->pcp_csr + reg); in xgene_edac_pcp_rd()
71 static void xgene_edac_pcp_clrbits(struct xgene_edac *edac, u32 reg, in xgene_edac_pcp_clrbits() argument
76 spin_lock(&edac->lock); in xgene_edac_pcp_clrbits()
77 val = readl(edac->pcp_csr + reg); in xgene_edac_pcp_clrbits()
79 writel(val, edac->pcp_csr + reg); in xgene_edac_pcp_clrbits()
80 spin_unlock(&edac->lock); in xgene_edac_pcp_clrbits()
83 static void xgene_edac_pcp_setbits(struct xgene_edac *edac, u32 reg, in xgene_edac_pcp_setbits() argument
88 spin_lock(&edac in xgene_edac_pcp_setbits()
135 struct xgene_edac *edac; global() member
342 xgene_edac_mc_add(struct xgene_edac *edac, struct device_node *np) xgene_edac_mc_add() argument
512 struct xgene_edac *edac; global() member
886 xgene_edac_pmd_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_pmd_add() argument
1020 struct xgene_edac *edac; global() member
1183 xgene_edac_l3_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_l3_add() argument
1723 xgene_edac_soc_add(struct xgene_edac *edac, struct device_node *np, int version) xgene_edac_soc_add() argument
1846 struct xgene_edac *edac; xgene_edac_probe() local
1965 struct xgene_edac *edac = dev_get_drvdata(&pdev->dev); xgene_edac_remove() local
[all...]
H A Dti_edac.c21 #include <linux/edac.h>
71 #define EDAC_MOD_NAME "ti-emif-edac"
82 static u32 ti_edac_readl(struct ti_edac *edac, u16 offset) in ti_edac_readl() argument
84 return readl_relaxed(edac->reg + offset); in ti_edac_readl()
87 static void ti_edac_writel(struct ti_edac *edac, u32 val, u16 offset) in ti_edac_writel() argument
89 writel_relaxed(val, edac->reg + offset); in ti_edac_writel()
95 struct ti_edac *edac = mci->pvt_info; in ti_edac_isr() local
100 irq_status = ti_edac_readl(edac, EMIF_IRQ_STATUS); in ti_edac_isr()
103 err_addr = ti_edac_readl(edac, EMIF_1B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
104 err_count = ti_edac_readl(edac, EMIF_1B_ECC_ERR_CN in ti_edac_isr()
133 struct ti_edac *edac = mci->pvt_info; ti_edac_setup_dimm() local
239 struct ti_edac *edac; ti_edac_probe() local
[all...]
H A Daltera_edac.c11 #include <linux/edac.h>
225 { .compatible = "altr,sdram-edac", .data = &c5_data},
226 { .compatible = "altr,sdram-edac-a10", .data = &a10_data},
1296 regmap_write(dci->edac->ecc_mgr_map, in altr_edac_a10_l2_irq()
1303 regmap_write(dci->edac->ecc_mgr_map, in altr_edac_a10_l2_irq()
1610 list_add(&altdev->next, &altdev->edac->a10_ecc_devices); in altr_portb_setup()
1733 { .compatible = "altr,sdram-edac-s10", .data = &s10_sdramecc_data },
1839 struct altr_arria10_edac *edac = irq_desc_get_handler_data(desc); in altr_edac_a10_irq_handler() local
1844 dberr = (irq == edac->db_irq) ? 1 : 0; in altr_edac_a10_irq_handler()
1850 regmap_read(edac in altr_edac_a10_irq_handler()
1893 altr_edac_a10_device_add(struct altr_arria10_edac *edac, struct device_node *np) altr_edac_a10_device_add() argument
2034 struct altr_arria10_edac *edac = irq_data_get_irq_chip_data(d); a10_eccmgr_irq_mask() local
2042 struct altr_arria10_edac *edac = irq_data_get_irq_chip_data(d); a10_eccmgr_irq_unmask() local
2051 struct altr_arria10_edac *edac = d->host_data; a10_eccmgr_irqdomain_map() local
2079 struct altr_arria10_edac *edac = to_a10edac(this, panic_notifier); s10_edac_dberr_handler() local
2120 struct altr_arria10_edac *edac; altr_edac_a10_probe() local
[all...]
H A Dedac_module.c13 #include <linux/edac.h>
67 * sysfs object: /sys/devices/system/edac
71 .name = "edac",
72 .dev_name = "edac",
79 /* create the /sys/devices/system/edac directory */ in edac_subsys_init()
92 /* return pointer to the 'edac' node in sysfs */
H A Dsifive_edac.c10 #include <linux/edac.h>
H A Daltera_edac.h11 #include <linux/edac.h>
381 struct altr_arria10_edac *edac; member
H A Dedac_device.h18 * Please look at Documentation/driver-api/edac.rst for more info about
27 #include <linux/edac.h>
56 * /sys/devices/system/edac/..
128 /* edac sysfs device control */
142 /* edac sysfs device control */
178 /* pointer to main 'edac' subsys in sysfs */
186 /* pointer to edac polling checking routine:
196 const char *ctl_name; /* edac controller name */
205 /* sysfs top name under 'edac' directory
225 /* edac sysf
[all...]
H A Dedac_pci.h18 * Please look at Documentation/driver-api/edac.rst for more info about
27 #include <linux/edac.h>
58 /* pointer to edac polling checking routine:
68 const char *ctl_name; /* edac controller name */
77 /* sysfs top name under 'edac' directory
89 /* edac sysfs device control for the 'name'
133 * edac local routine to do pci_write_config_dword, but adds
H A Dedac_mc.h18 * Please look at Documentation/driver-api/edac.rst for more info about
38 #include <linux/edac.h>
254 * edac misc APIs
H A Dhighbank_l2_edac.c8 #include <linux/edac.h>
H A Docteon_edac-pc.c16 #include <linux/edac.h>
H A Docteon_edac-pci.c14 #include <linux/edac.h>

Completed in 18 milliseconds

12345