Searched refs:dmae (Results 1 – 3 of 3) sorted by relevance
| /freebsd-10-stable/sys/dev/bxe/ |
| D | bxe_stats.c | 182 struct dmae_cmd *dmae = &sc->stats_dmae; in bxe_hw_stats_post() local 205 memset(dmae, 0, sizeof(struct dmae_cmd)); in bxe_hw_stats_post() 206 dmae->opcode = opcode; in bxe_hw_stats_post() 207 dmae->src_addr_lo = U64_LO(BXE_SP_MAPPING(sc, dmae[0])); in bxe_hw_stats_post() 208 dmae->src_addr_hi = U64_HI(BXE_SP_MAPPING(sc, dmae[0])); in bxe_hw_stats_post() 209 dmae->dst_addr_lo = ((DMAE_REG_CMD_MEM + in bxe_hw_stats_post() 212 dmae->dst_addr_hi = 0; in bxe_hw_stats_post() 213 dmae->len = sizeof(struct dmae_cmd) >> 2; in bxe_hw_stats_post() 215 dmae->len--; in bxe_hw_stats_post() 217 dmae->comp_addr_lo = (dmae_reg_go_c[loader_idx + 1] >> 2); in bxe_hw_stats_post() [all …]
|
| D | bxe.c | 1516 struct dmae_cmd *dmae, in bxe_post_dmae() argument 1524 REG_WR(sc, (cmd_offset + (i * 4)), *(((uint32_t *)dmae) + i)); in bxe_post_dmae() 1580 struct dmae_cmd *dmae, in bxe_prep_dmae_with_comp() argument 1584 memset(dmae, 0, sizeof(struct dmae_cmd)); in bxe_prep_dmae_with_comp() 1587 dmae->opcode = bxe_dmae_opcode(sc, src_type, dst_type, in bxe_prep_dmae_with_comp() 1591 dmae->comp_addr_lo = U64_LO(BXE_SP_MAPPING(sc, wb_comp)); in bxe_prep_dmae_with_comp() 1592 dmae->comp_addr_hi = U64_HI(BXE_SP_MAPPING(sc, wb_comp)); in bxe_prep_dmae_with_comp() 1593 dmae->comp_val = DMAE_COMP_VAL; in bxe_prep_dmae_with_comp() 1599 struct dmae_cmd *dmae) in bxe_issue_dmae_with_comp() argument 1610 bxe_post_dmae(sc, dmae, INIT_DMAE_C(sc)); in bxe_issue_dmae_with_comp() [all …]
|
| D | bxe.h | 947 struct dmae_cmd dmae[MAX_DMAE_C]; member 2180 void bxe_post_dmae(struct bxe_softc *sc, struct dmae_cmd *dmae, int idx);
|