Home
last modified time | relevance | path

Searched refs:dpram (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_fw.c25 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()
78 ret = ioread16(&card->dpram[DPRAM_RECEIPT]); in softing_bootloader_command()
134 __iomem uint8_t *dpram, unsigned int size, int offset) in softing_load_fw() argument
[all …]
Dsofting_main.c34 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()
163 lost_msg = ioread8(&card->dpram[DPRAM_RX_LOST]); in softing_handle_1()
167 iowrite8(0, &card->dpram[DPRAM_RX_LOST]); in softing_handle_1()
[all …]
Dsofting.h65 __iomem uint8_t *dpram; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/82xx/
DKconfig68 The MPC8272 CPM has a different internal dpram setup than other CPM2