Searched refs:dmae (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/bxe/ |
H A 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 …]
|
H A D | bxe.c | 1500 struct dmae_cmd *dmae, in bxe_post_dmae() argument 1508 REG_WR(sc, (cmd_offset + (i * 4)), *(((uint32_t *)dmae) + i)); in bxe_post_dmae() 1564 struct dmae_cmd *dmae, in bxe_prep_dmae_with_comp() argument 1568 memset(dmae, 0, sizeof(struct dmae_cmd)); in bxe_prep_dmae_with_comp() 1571 dmae->opcode = bxe_dmae_opcode(sc, src_type, dst_type, in bxe_prep_dmae_with_comp() 1575 dmae->comp_addr_lo = U64_LO(BXE_SP_MAPPING(sc, wb_comp)); in bxe_prep_dmae_with_comp() 1576 dmae->comp_addr_hi = U64_HI(BXE_SP_MAPPING(sc, wb_comp)); in bxe_prep_dmae_with_comp() 1577 dmae->comp_val = DMAE_COMP_VAL; in bxe_prep_dmae_with_comp() 1583 struct dmae_cmd *dmae) in bxe_issue_dmae_with_comp() argument 1594 bxe_post_dmae(sc, dmae, INIT_DMAE_C(sc)); in bxe_issue_dmae_with_comp() [all …]
|