Home
last modified time | relevance | path

Searched refs:dmae (Results 1 – 2 of 2) sorted by relevance

/drivers/net/
Dbnx2x_main.c161 static void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, in bnx2x_post_dmae() argument
169 REG_WR(bp, cmd_offset + i*4, *(((u32 *)dmae) + i)); in bnx2x_post_dmae()
172 idx, i, cmd_offset + i*4, *(((u32 *)dmae) + i)); in bnx2x_post_dmae()
180 struct dmae_command *dmae = &bp->init_dmae; in bnx2x_write_dmae() local
195 memset(dmae, 0, sizeof(struct dmae_command)); in bnx2x_write_dmae()
197 dmae->opcode = (DMAE_CMD_SRC_PCI | DMAE_CMD_DST_GRC | in bnx2x_write_dmae()
207 dmae->src_addr_lo = U64_LO(dma_addr); in bnx2x_write_dmae()
208 dmae->src_addr_hi = U64_HI(dma_addr); in bnx2x_write_dmae()
209 dmae->dst_addr_lo = dst_addr >> 2; in bnx2x_write_dmae()
210 dmae->dst_addr_hi = 0; in bnx2x_write_dmae()
[all …]
Dbnx2x.h704 struct dmae_command dmae[MAX_DMAE_C]; member