Home
last modified time | relevance | path

Searched refs:spr (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/arch/powerpc/xmon/
Dspr_access.S34 spr = 0 define
36 mfspr r3, spr
38 spr = spr + 1 define
42 spr = 0 define
44 mtspr spr, r4
46 spr = spr + 1 define
Dxmon.c1974 extern unsigned long xmon_mfspr(int spr, unsigned long default_value);
1975 extern void xmon_mtspr(int spr, unsigned long value);
2139 static void dump_one_spr(int spr, bool show_unimplemented) in dump_one_spr() argument
2144 if (!read_spr(spr, &val)) { in dump_one_spr()
2145 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2152 if (!read_spr(spr, &val)) { in dump_one_spr()
2153 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2159 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2164 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2171 int spr; in super_regs() local
[all …]
Dppc-opc.c2852 #define XSPR(op, xop, spr) \ argument
2853 …(X ((op), (xop)) | ((((unsigned long)(spr)) & 0x1f) << 16) | ((((unsigned long)(spr)) & 0x3e0) << …
/linux-6.1.9/drivers/spi/
Dspi-mpc52xx.c151 int spr, sppr; in mpc52xx_spi_fsmstate_idle() local
181 spr = 0; in mpc52xx_spi_fsmstate_idle()
186 spr++; in mpc52xx_spi_fsmstate_idle()
189 if (spr > 7) { in mpc52xx_spi_fsmstate_idle()
191 spr = 7; in mpc52xx_spi_fsmstate_idle()
194 out_8(ms->regs + SPI_BRR, sppr << 4 | spr); /* Set speed */ in mpc52xx_spi_fsmstate_idle()
Dspi-orion.c163 unsigned spr, sppr; in orion_spi_baudrate_set() local
167 spr = divider; in orion_spi_baudrate_set()
195 spr = divider >> sppr; in orion_spi_baudrate_set()
206 prescale = ((sppr & 0x6) << 5) | ((sppr & 0x1) << 4) | spr; in orion_spi_baudrate_set()
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/
D.gitignore11 ptrace-tm-spr
DMakefile7 TM_TESTS += ptrace-tm-spr
/linux-6.1.9/drivers/tty/serial/jsm/
Djsm.h267 u8 spr; /* WR SPR - Scratch Pad Reg */ member
322 u8 spr; /* WR SPR - Scratch Pad Reg */ member
Djsm_cls.c117 writeb(0, &ch->ch_cls_uart->spr); in cls_set_ixon_flow_control()
243 writeb(0, &ch->ch_cls_uart->spr); in cls_set_ixoff_flow_control()
/linux-6.1.9/fs/jffs2/
Dsummary.c524 struct jffs2_sum_xref_flash *spr; in jffs2_sum_process_sum_data() local
526 spr = (struct jffs2_sum_xref_flash *)sp; in jffs2_sum_process_sum_data()
528 jeb->offset + je32_to_cpu(spr->offset), in jffs2_sum_process_sum_data()
529 jeb->offset + je32_to_cpu(spr->offset) + in jffs2_sum_process_sum_data()
540 sum_link_node_ref(c, jeb, je32_to_cpu(spr->offset) | REF_UNCHECKED, in jffs2_sum_process_sum_data()
/linux-6.1.9/arch/powerpc/include/asm/
Dsstep.h121 int spr; member
Dppc-opcode.h570 #define PPC_RAW_MFSPR(d, spr) (0x7c0002a6 | ___PPC_RT(d) | __PPC_SPR(spr)) argument
571 #define PPC_RAW_MTSPR(spr, d) (0x7c0003a6 | ___PPC_RS(d) | __PPC_SPR(spr)) argument
/linux-6.1.9/arch/powerpc/lib/
Dsstep.c1351 unsigned int opcode, ra, rb, rc, rd, spr, u; in analyse_instr() local
1809 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1812 op->spr = spr; in analyse_instr()
1813 if (spr == SPRN_XER || spr == SPRN_LR || in analyse_instr()
1814 spr == SPRN_CTR) in analyse_instr()
1819 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1822 op->spr = spr; in analyse_instr()
1823 if (spr == SPRN_XER || spr == SPRN_LR || in analyse_instr()
1824 spr == SPRN_CTR) in analyse_instr()
3266 switch (op->spr) { in emulate_update_regs()
[all …]
/linux-6.1.9/arch/m68k/include/asm/
Damigahw.h181 } spr[8]; member
/linux-6.1.9/drivers/bus/
Dti-sysc.c2003 int wps, spr, error; in sysc_reset_done_quirk_wdt() local
2007 spr = 0x48; in sysc_reset_done_quirk_wdt()
2009 sysc_write(ddata, spr, 0xaaaa); in sysc_reset_done_quirk_wdt()
2016 sysc_write(ddata, spr, 0x5555); in sysc_reset_done_quirk_wdt()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dtg3.c6739 struct tg3_rx_prodring_set *spr = &tp->napi[0].prodring; in tg3_recycle_rx() local
6747 src_desc = &spr->rx_std[src_idx]; in tg3_recycle_rx()
6748 src_map = &spr->rx_std_buffers[src_idx]; in tg3_recycle_rx()
6755 src_desc = &spr->rx_jmb[src_idx].std; in tg3_recycle_rx()
6756 src_map = &spr->rx_jmb_buffers[src_idx]; in tg3_recycle_rx()
7034 struct tg3_rx_prodring_set *spr) in tg3_rx_prodring_xfer() argument
7040 src_prod_idx = spr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7047 if (spr->rx_std_cons_idx == src_prod_idx) in tg3_rx_prodring_xfer()
7050 if (spr->rx_std_cons_idx < src_prod_idx) in tg3_rx_prodring_xfer()
7051 cpycnt = src_prod_idx - spr->rx_std_cons_idx; in tg3_rx_prodring_xfer()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_pm.c2524 u16 spr; member
2735 max->spr = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, true); in ilk_compute_wm_maximums()
2745 max->spr = ilk_plane_wm_reg_max(dev_priv, level, true); in ilk_compute_wm_reg_maximums()
2761 result->spr_val <= max->spr && in ilk_validate_wm_level()
2775 if (result->spr_val > max->spr) in ilk_validate_wm_level()
2777 level, result->spr_val, max->spr); in ilk_validate_wm_level()
2783 result->spr_val = min_t(u32, result->spr_val, max->spr); in ilk_validate_wm_level()
/linux-6.1.9/drivers/video/fbdev/
Damifb.c2121 (cop++)->l = CMOVE(0, spr[i].pos); in ami_init_copper()