Home
last modified time | relevance | path

Searched full:dpram (Results 1 – 25 of 40) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/can/softing/
Dsofting_fw.c16 * low level DPRAM command.
17 * Make sure that card->dpram[DPRAM_FCT_HOST] is preset
25 iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); in _softing_fct_cmd()
26 iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]); in _softing_fct_cmd()
27 iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]); in _softing_fct_cmd()
34 ret = ioread8(&card->dpram[DPRAM_FCT_HOST]) + in _softing_fct_cmd()
35 (ioread8(&card->dpram[DPRAM_FCT_HOST + 1]) << 8); in _softing_fct_cmd()
40 return ioread16(&card->dpram[DPRAM_FCT_RESULT]); in _softing_fct_cmd()
71 iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command()
72 iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); in softing_bootloader_command()
[all …]
Dsofting_main.c30 /* reset DPRAM */
35 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, in softing_set_reset_dpram()
36 &card->dpram[DPRAM_V2_RESET]); in softing_set_reset_dpram()
45 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) | 1, in softing_clr_reset_dpram()
46 &card->dpram[DPRAM_V2_RESET]); in softing_clr_reset_dpram()
73 fifo_wr = ioread8(&card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit()
74 fifo_rd = ioread8(&card->dpram[DPRAM_TX_RD]); in softing_netdev_start_xmit()
100 memcpy_toio(&card->dpram[DPRAM_TX + DPRAM_TX_SIZE * fifo_wr], in softing_netdev_start_xmit()
104 iowrite8(fifo_wr, &card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit()
148 * pop 1 entry from the DPRAM queue, and process
[all …]
Dsofting.h41 spinlock_t spin; /* protect this structure & DPRAM access */
65 __iomem uint8_t *dpram; member
104 /* SOFTING DPRAM mappings */
148 /* DPRAM return codes */
153 /* DPRAM flags */
/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_fw.c16 * low level DPRAM command.
17 * Make sure that card->dpram[DPRAM_FCT_HOST] is preset
25 iowrite16(cmd, &card->dpram[DPRAM_FCT_PARAM]); in _softing_fct_cmd()
26 iowrite8(vector >> 8, &card->dpram[DPRAM_FCT_HOST + 1]); in _softing_fct_cmd()
27 iowrite8(vector, &card->dpram[DPRAM_FCT_HOST]); in _softing_fct_cmd()
34 ret = ioread8(&card->dpram[DPRAM_FCT_HOST]) + in _softing_fct_cmd()
35 (ioread8(&card->dpram[DPRAM_FCT_HOST + 1]) << 8); in _softing_fct_cmd()
40 return ioread16(&card->dpram[DPRAM_FCT_RESULT]); in _softing_fct_cmd()
71 iowrite16(RES_NONE, &card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command()
72 iowrite16(cmd, &card->dpram[DPRAM_COMMAND]); in softing_bootloader_command()
[all …]
Dsofting_main.c29 /* reset DPRAM */
34 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) & ~1, in softing_set_reset_dpram()
35 &card->dpram[DPRAM_V2_RESET]); in softing_set_reset_dpram()
44 iowrite8(ioread8(&card->dpram[DPRAM_V2_RESET]) | 1, in softing_clr_reset_dpram()
45 &card->dpram[DPRAM_V2_RESET]); in softing_clr_reset_dpram()
72 fifo_wr = ioread8(&card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit()
73 fifo_rd = ioread8(&card->dpram[DPRAM_TX_RD]); in softing_netdev_start_xmit()
99 memcpy_toio(&card->dpram[DPRAM_TX + DPRAM_TX_SIZE * fifo_wr], in softing_netdev_start_xmit()
103 iowrite8(fifo_wr, &card->dpram[DPRAM_TX_WR]); in softing_netdev_start_xmit()
147 * pop 1 entry from the DPRAM queue, and process
[all …]
Dsofting.h41 spinlock_t spin; /* protect this structure & DPRAM access */
65 __iomem uint8_t *dpram; member
104 /* SOFTING DPRAM mappings */
148 /* DPRAM return codes */
153 /* DPRAM flags */
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/
Dvisl-dec.c128 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) { in visl_get_ref_frames()
129 vb2_buf = vb2_find_buffer(cap_q, run->h264.dpram->dpb[i].reference_ts); in visl_get_ref_frames()
131 run->h264.dpram->dpb[i].reference_ts, in visl_get_ref_frames()
144 for (i = 0; i < ARRAY_SIZE(run->hevc.dpram->dpb); i++) { in visl_get_ref_frames()
145 vb2_buf = vb2_find_buffer(cap_q, run->hevc.dpram->dpb[i].timestamp); in visl_get_ref_frames()
147 run->hevc.dpram->dpb[i].timestamp, in visl_get_ref_frames()
395 trace_v4l2_ctrl_h264_decode_params(run->h264.dpram); in visl_trace_ctrls()
397 for (i = 0; i < ARRAY_SIZE(run->h264.dpram->dpb); i++) in visl_trace_ctrls()
398 trace_v4l2_h264_dpb_entry(&run->h264.dpram->dpb[i], i); in visl_trace_ctrls()
407 trace_v4l2_ctrl_hevc_decode_params(run->hevc.dpram); in visl_trace_ctrls()
[all …]
Dvisl-dec.h36 const struct v4l2_ctrl_h264_decode_params *dpram; member
45 const struct v4l2_ctrl_hevc_decode_params *dpram; member
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth.h656 /* DPRAM structures */
672 u16 offset; /* command offs. in the DPRAM*/
690 /* DPRAM ISA controllers */
707 u8 memlock; /* write protection DPRAM */
716 /* DPRAM PCI controllers */
738 u8 cfg_reg; /* DPRAM cfg.(2:below 1MB,0:anywhere)*/
756 /* DPRAM new PCI controllers */
786 /* DPRAM PCI MPR controllers */
800 unsigned long dpmem; /* DPRAM address */
817 void __iomem *brd; /* DPRAM address */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,cpm1-scc-qmc.yaml34 - const: dpram
128 reg-names = "scc_regs", "scc_pram", "dpram";
/kernel/linux/linux-5.10/arch/powerpc/platforms/82xx/
DKconfig68 The MPC8272 CPM has a different internal dpram setup than other CPM2
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/
Danybuss-controller.h17 * - a regmap which provides access to the attached card's dpram;
Dhost.c12 * by reading and writing data to/from the Anybus-S Dual-Port RAM (dpram).
16 * Synchronization happens by means of two registers located in the dpram:
21 * 1. reserve, read/write, release dpram memory areas:
23 * memory areas. no dpram memory can be read or written except if reserved.
59 * by accessing the dpram from a single kernel thread only. User-space throws
1304 * use a dpram test to check if a card is present, this is only in anybuss_host_common_probe()
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
Danybuss-controller.h17 * - a regmap which provides access to the attached card's dpram;
Dhost.c12 * by reading and writing data to/from the Anybus-S Dual-Port RAM (dpram).
16 * Synchronization happens by means of two registers located in the dpram:
21 * 1. reserve, read/write, release dpram memory areas:
23 * memory areas. no dpram memory can be read or written except if reserved.
59 * by accessing the dpram from a single kernel thread only. User-space throws
1304 * use a dpram test to check if a card is present, this is only in anybuss_host_common_probe()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dcpm2.h155 /* The SMCs are relocated to any of the first eight DPRAM pages.
156 * We will fix these at the first locations of DPRAM, until we
764 #define RCCR_ERAM_0KB ((uint)0x00000000) /* use 0KB of dpram for microcode */
765 #define RCCR_ERAM_2KB ((uint)0x00002000) /* use 2KB of dpram for microcode */
766 #define RCCR_ERAM_4KB ((uint)0x00004000) /* use 4KB of dpram for microcode */
767 #define RCCR_ERAM_6KB ((uint)0x00006000) /* use 6KB of dpram for microcode */
768 #define RCCR_ERAM_8KB ((uint)0x00008000) /* use 8KB of dpram for microcode */
769 #define RCCR_ERAM_10KB ((uint)0x0000a000) /* use 10KB of dpram for microcode */
770 #define RCCR_ERAM_12KB ((uint)0x0000c000) /* use 12KB of dpram for microcode */
Dimmap_cpm2.h571 /* Some references are into the unique and known dpram spaces,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcpm2.h155 /* The SMCs are relocated to any of the first eight DPRAM pages.
156 * We will fix these at the first locations of DPRAM, until we
764 #define RCCR_ERAM_0KB ((uint)0x00000000) /* use 0KB of dpram for microcode */
765 #define RCCR_ERAM_2KB ((uint)0x00002000) /* use 2KB of dpram for microcode */
766 #define RCCR_ERAM_4KB ((uint)0x00004000) /* use 4KB of dpram for microcode */
767 #define RCCR_ERAM_6KB ((uint)0x00006000) /* use 6KB of dpram for microcode */
768 #define RCCR_ERAM_8KB ((uint)0x00008000) /* use 8KB of dpram for microcode */
769 #define RCCR_ERAM_10KB ((uint)0x0000a000) /* use 10KB of dpram for microcode */
770 #define RCCR_ERAM_12KB ((uint)0x0000c000) /* use 12KB of dpram for microcode */
Dimmap_cpm2.h571 /* Some references are into the unique and known dpram spaces,
/kernel/linux/linux-6.6/drivers/soc/fsl/qe/
Dqmc.c208 void __iomem *dpram; member
1059 chan->s_param = qmc->dpram + (chan->id * 64); in qmc_setup_chan()
1284 qmc->dpram = devm_platform_ioremap_resource_byname(pdev, "dpram"); in qmc_cpm1_init_resources()
1285 if (IS_ERR(qmc->dpram)) in qmc_cpm1_init_resources()
1286 return PTR_ERR(qmc->dpram); in qmc_cpm1_init_resources()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
Ducc_geth.c311 pr_err("Can not allocate DPRAM memory\n"); in fill_init_enet_entries()
2396 pr_err("Can not allocate DPRAM memory for p_tx_glbl_pram\n"); in ucc_geth_startup()
2411 pr_err("Can not allocate DPRAM memory for p_thread_data_tx\n"); in ucc_geth_startup()
2438 pr_err("Can not allocate DPRAM memory for p_send_q_mem_reg\n"); in ucc_geth_startup()
2469 pr_err("Can not allocate DPRAM memory for p_scheduler\n"); in ucc_geth_startup()
2514 pr_err("Can not allocate DPRAM memory for p_tx_fw_statistics_pram\n"); in ucc_geth_startup()
2546 pr_err("Can not allocate DPRAM memory for p_rx_glbl_pram\n"); in ucc_geth_startup()
2560 pr_err("Can not allocate DPRAM memory for p_thread_data_rx\n"); in ucc_geth_startup()
2581 pr_err("Can not allocate DPRAM memory for p_rx_fw_statistics_pram\n"); in ucc_geth_startup()
2598 pr_err("Can not allocate DPRAM memory for p_rx_irq_coalescing_tbl\n"); in ucc_geth_startup()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Ducc_geth.c291 pr_err("Can not allocate DPRAM memory\n"); in fill_init_enet_entries()
2515 pr_err("Can not allocate DPRAM memory for p_tx_glbl_pram\n"); in ucc_geth_startup()
2535 pr_err("Can not allocate DPRAM memory for p_thread_data_tx\n"); in ucc_geth_startup()
2562 pr_err("Can not allocate DPRAM memory for p_send_q_mem_reg\n"); in ucc_geth_startup()
2602 pr_err("Can not allocate DPRAM memory for p_scheduler\n"); in ucc_geth_startup()
2649 pr_err("Can not allocate DPRAM memory for p_tx_fw_statistics_pram\n"); in ucc_geth_startup()
2686 pr_err("Can not allocate DPRAM memory for p_rx_glbl_pram\n"); in ucc_geth_startup()
2705 pr_err("Can not allocate DPRAM memory for p_thread_data_rx\n"); in ucc_geth_startup()
2726 pr_err("Can not allocate DPRAM memory for p_rx_fw_statistics_pram\n"); in ucc_geth_startup()
2746 pr_err("Can not allocate DPRAM memory for p_rx_irq_coalescing_tbl\n"); in ucc_geth_startup()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h185 void __iomem *mem; /* FCC DPRAM */
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h170 void __iomem *mem; /* FCC DPRAM */
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c988 * If the buffer address is in the CPM DPRAM, don't in cpm_uart_early_write()
1056 /* If the buffer address is in the CPM DPRAM, don't in poll_wait_key()

12