Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/bnx2x/
Dbnx2x_stats.c183 struct dmae_command *dmae = &bp->stats_dmae; in bnx2x_hw_stats_post() local
197 memset(dmae, 0, sizeof(struct dmae_command)); in bnx2x_hw_stats_post()
198 dmae->opcode = opcode; in bnx2x_hw_stats_post()
199 dmae->src_addr_lo = U64_LO(bnx2x_sp_mapping(bp, dmae[0])); in bnx2x_hw_stats_post()
200 dmae->src_addr_hi = U64_HI(bnx2x_sp_mapping(bp, dmae[0])); in bnx2x_hw_stats_post()
201 dmae->dst_addr_lo = (DMAE_REG_CMD_MEM + in bnx2x_hw_stats_post()
204 dmae->dst_addr_hi = 0; in bnx2x_hw_stats_post()
205 dmae->len = sizeof(struct dmae_command) >> 2; in bnx2x_hw_stats_post()
207 dmae->len--; in bnx2x_hw_stats_post()
208 dmae->comp_addr_lo = dmae_reg_go_c[loader_idx + 1] >> 2; in bnx2x_hw_stats_post()
[all …]
Dbnx2x_main.c430 static void bnx2x_dp_dmae(struct bnx2x *bp, struct dmae_command *dmae, in bnx2x_dp_dmae() argument
433 u32 src_type = dmae->opcode & DMAE_COMMAND_SRC; in bnx2x_dp_dmae()
435 switch (dmae->opcode & DMAE_COMMAND_DST) { in bnx2x_dp_dmae()
441 dmae->opcode, dmae->src_addr_hi, dmae->src_addr_lo, in bnx2x_dp_dmae()
442 dmae->len, dmae->dst_addr_hi, dmae->dst_addr_lo, in bnx2x_dp_dmae()
443 dmae->comp_addr_hi, dmae->comp_addr_lo, in bnx2x_dp_dmae()
444 dmae->comp_val); in bnx2x_dp_dmae()
449 dmae->opcode, dmae->src_addr_lo >> 2, in bnx2x_dp_dmae()
450 dmae->len, dmae->dst_addr_hi, dmae->dst_addr_lo, in bnx2x_dp_dmae()
451 dmae->comp_addr_hi, dmae->comp_addr_lo, in bnx2x_dp_dmae()
[all …]
Dbnx2x.h824 struct dmae_command dmae[MAX_DMAE_C]; member
1449 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx);