Home
last modified time | relevance | path

Searched refs:tad (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
H A Dcvmx-l2c.c204 int tad; in cvmx_l2c_config_perf() local
227 for (tad = 0; tad < CVMX_L2C_TADS; tad++) in cvmx_l2c_config_perf()
228 cvmx_write_csr(CVMX_L2C_TADX_PRF(tad), in cvmx_l2c_config_perf()
241 int tad; in cvmx_l2c_read_perf() local
243 for (tad = 0; tad < CVMX_L2C_TADS; tad++) in cvmx_l2c_read_perf()
244 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC0(tad)); in cvmx_l2c_read_perf()
252 int tad; cvmx_l2c_read_perf() local
263 int tad; cvmx_l2c_read_perf() local
275 int tad; cvmx_l2c_read_perf() local
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/
H A Dcvmx-l2c.c204 int tad; in cvmx_l2c_config_perf() local
227 for (tad = 0; tad < CVMX_L2C_TADS; tad++) in cvmx_l2c_config_perf()
228 cvmx_write_csr(CVMX_L2C_TADX_PRF(tad), in cvmx_l2c_config_perf()
241 int tad; in cvmx_l2c_read_perf() local
243 for (tad = 0; tad < CVMX_L2C_TADS; tad++) in cvmx_l2c_read_perf()
244 counter += cvmx_read_csr(CVMX_L2C_TADX_PFC0(tad)); in cvmx_l2c_read_perf()
252 int tad; cvmx_l2c_read_perf() local
263 int tad; cvmx_l2c_read_perf() local
275 int tad; cvmx_l2c_read_perf() local
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Docteon_edac-l2c.c60 static void _octeon_l2c_poll_oct2(struct edac_device_ctl_info *l2c, int tad) in _octeon_l2c_poll_oct2() argument
68 err_tdtx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TDTX(tad)); in _octeon_l2c_poll_oct2()
79 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
85 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
91 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
97 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
100 cvmx_write_csr(CVMX_L2C_ERR_TDTX(tad), err_tdtx_reset.u64); in _octeon_l2c_poll_oct2()
103 err_ttgx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TTGX(tad)); in _octeon_l2c_poll_oct2()
114 edac_device_handle_ue(l2c, tad, 0, buf2); in _octeon_l2c_poll_oct2()
120 edac_device_handle_ce(l2c, tad, in _octeon_l2c_poll_oct2()
[all...]
H A Dthunderx_edac.c1763 struct thunderx_l2c *tad = container_of(msix, struct thunderx_l2c, in thunderx_l2c_tad_isr() local
1766 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1767 struct l2c_err_ctx *ctx = &tad->err_ctx[head]; in thunderx_l2c_tad_isr()
1769 ctx->reg_int = readq(tad->regs + L2C_TAD_INT_W1C); in thunderx_l2c_tad_isr()
1773 ctx->reg_ext = readq(tad->regs + L2C_TAD_TQD_ERR); in thunderx_l2c_tad_isr()
1776 ctx->reg_ext = readq(tad->regs + L2C_TAD_TTG_ERR); in thunderx_l2c_tad_isr()
1779 ctx->reg_ext = readq(tad->regs + L2C_TAD_TIMEOUT); in thunderx_l2c_tad_isr()
1782 ctx->reg_ext = readq(tad->regs + L2C_TAD_ERR); in thunderx_l2c_tad_isr()
1785 writeq(ctx->reg_int, tad in thunderx_l2c_tad_isr()
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Docteon_edac-l2c.c60 static void _octeon_l2c_poll_oct2(struct edac_device_ctl_info *l2c, int tad) in _octeon_l2c_poll_oct2() argument
68 err_tdtx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TDTX(tad)); in _octeon_l2c_poll_oct2()
79 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
85 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
91 edac_device_handle_ue(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
97 edac_device_handle_ce(l2c, tad, 1, buf2); in _octeon_l2c_poll_oct2()
100 cvmx_write_csr(CVMX_L2C_ERR_TDTX(tad), err_tdtx_reset.u64); in _octeon_l2c_poll_oct2()
103 err_ttgx.u64 = cvmx_read_csr(CVMX_L2C_ERR_TTGX(tad)); in _octeon_l2c_poll_oct2()
114 edac_device_handle_ue(l2c, tad, 0, buf2); in _octeon_l2c_poll_oct2()
120 edac_device_handle_ce(l2c, tad, in _octeon_l2c_poll_oct2()
[all...]
H A Dthunderx_edac.c1763 struct thunderx_l2c *tad = container_of(msix, struct thunderx_l2c, in thunderx_l2c_tad_isr() local
1766 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx)); in thunderx_l2c_tad_isr()
1767 struct l2c_err_ctx *ctx = &tad->err_ctx[head]; in thunderx_l2c_tad_isr()
1769 ctx->reg_int = readq(tad->regs + L2C_TAD_INT_W1C); in thunderx_l2c_tad_isr()
1773 ctx->reg_ext = readq(tad->regs + L2C_TAD_TQD_ERR); in thunderx_l2c_tad_isr()
1776 ctx->reg_ext = readq(tad->regs + L2C_TAD_TTG_ERR); in thunderx_l2c_tad_isr()
1779 ctx->reg_ext = readq(tad->regs + L2C_TAD_TIMEOUT); in thunderx_l2c_tad_isr()
1782 ctx->reg_ext = readq(tad->regs + L2C_TAD_ERR); in thunderx_l2c_tad_isr()
1785 writeq(ctx->reg_int, tad in thunderx_l2c_tad_isr()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dhpsa_cmd.h363 #define GET_TYPE(tad) ((tad) & 0x07)
364 #define GET_ATTR(tad) (((tad) >> 3) & 0x07)
365 #define GET_DIR(tad) (((tad) >> 6) & 0x03)
/kernel/linux/linux-6.6/drivers/scsi/
H A Dhpsa_cmd.h366 #define GET_TYPE(tad) ((tad) & 0x07)
367 #define GET_ATTR(tad) (((tad) >> 3) & 0x07)
368 #define GET_DIR(tad) (((tad) >> 6) & 0x03)

Completed in 13 milliseconds