Home
last modified time | relevance | path

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

/linux-6.12.1/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.c1969 extern unsigned long xmon_mfspr(int spr, unsigned long default_value);
1970 extern void xmon_mtspr(int spr, unsigned long value);
2134 static void dump_one_spr(int spr, bool show_unimplemented) in dump_one_spr() argument
2139 if (!read_spr(spr, &val)) { in dump_one_spr()
2140 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2147 if (!read_spr(spr, &val)) { in dump_one_spr()
2148 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2154 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2159 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2166 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.12.1/drivers/spi/
Dspi-mpc52xx.c152 int spr, sppr; in mpc52xx_spi_fsmstate_idle() local
182 spr = 0; in mpc52xx_spi_fsmstate_idle()
187 spr++; in mpc52xx_spi_fsmstate_idle()
190 if (spr > 7) { in mpc52xx_spi_fsmstate_idle()
192 spr = 7; in mpc52xx_spi_fsmstate_idle()
195 out_8(ms->regs + SPI_BRR, sppr << 4 | spr); /* Set speed */ in mpc52xx_spi_fsmstate_idle()
Dspi-orion.c162 unsigned spr, sppr; in orion_spi_baudrate_set() local
166 spr = divider; in orion_spi_baudrate_set()
194 spr = divider >> sppr; in orion_spi_baudrate_set()
205 prescale = ((sppr & 0x6) << 5) | ((sppr & 0x1) << 4) | spr; in orion_spi_baudrate_set()
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
D.gitignore11 ptrace-tm-spr
DMakefile7 TM_TESTS += ptrace-tm-spr
/linux-6.12.1/drivers/tty/serial/jsm/
Djsm.h262 u8 spr; /* WR SPR - Scratch Pad Reg */ member
317 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.12.1/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.12.1/arch/powerpc/lib/
Dsstep.c1361 unsigned int opcode, ra, rb, rc, rd, spr, u; in analyse_instr() local
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()
1829 spr = ((word >> 16) & 0x1f) | ((word >> 6) & 0x3e0); in analyse_instr()
1832 op->spr = spr; in analyse_instr()
1833 if (spr == SPRN_XER || spr == SPRN_LR || in analyse_instr()
1834 spr == SPRN_CTR) in analyse_instr()
3277 switch (op->spr) { in emulate_update_regs()
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dsstep.h121 int spr; member
Dppc-opcode.h586 #define PPC_RAW_MFSPR(d, spr) (0x7c0002a6 | ___PPC_RT(d) | __PPC_SPR(spr)) argument
587 #define PPC_RAW_MTSPR(spr, d) (0x7c0003a6 | ___PPC_RS(d) | __PPC_SPR(spr)) argument
/linux-6.12.1/arch/m68k/include/asm/
Damigahw.h181 } spr[8]; member
/linux-6.12.1/drivers/bus/
Dti-sysc.c2008 int wps, spr, error; in sysc_reset_done_quirk_wdt() local
2012 spr = 0x48; in sysc_reset_done_quirk_wdt()
2014 sysc_write(ddata, spr, 0xaaaa); in sysc_reset_done_quirk_wdt()
2021 sysc_write(ddata, spr, 0x5555); in sysc_reset_done_quirk_wdt()
/linux-6.12.1/drivers/net/ethernet/broadcom/
Dtg3.c6769 struct tg3_rx_prodring_set *spr = &tp->napi[0].prodring; in tg3_recycle_rx() local
6777 src_desc = &spr->rx_std[src_idx]; in tg3_recycle_rx()
6778 src_map = &spr->rx_std_buffers[src_idx]; in tg3_recycle_rx()
6785 src_desc = &spr->rx_jmb[src_idx].std; in tg3_recycle_rx()
6786 src_map = &spr->rx_jmb_buffers[src_idx]; in tg3_recycle_rx()
7067 struct tg3_rx_prodring_set *spr) in tg3_rx_prodring_xfer() argument
7073 src_prod_idx = spr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7080 if (spr->rx_std_cons_idx == src_prod_idx) in tg3_rx_prodring_xfer()
7083 if (spr->rx_std_cons_idx < src_prod_idx) in tg3_rx_prodring_xfer()
7084 cpycnt = src_prod_idx - spr->rx_std_cons_idx; in tg3_rx_prodring_xfer()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Di9xx_wm.c2315 u16 spr; member
2526 max->spr = ilk_plane_wm_max(dev_priv, level, config, ddb_partitioning, true); in ilk_compute_wm_maximums()
2536 max->spr = ilk_plane_wm_reg_max(dev_priv, level, true); in ilk_compute_wm_reg_maximums()
2553 result->spr_val <= max->spr && in ilk_validate_wm_level()
2568 if (result->spr_val > max->spr) in ilk_validate_wm_level()
2571 level, result->spr_val, max->spr); in ilk_validate_wm_level()
2578 result->spr_val = min_t(u32, result->spr_val, max->spr); in ilk_validate_wm_level()
/linux-6.12.1/drivers/video/fbdev/
Damifb.c2121 (cop++)->l = CMOVE(0, spr[i].pos); in ami_init_copper()