Lines Matching refs:dmae
1515 struct dmae_cmd *dmae,
1523 REG_WR(sc, (cmd_offset + (i * 4)), *(((uint32_t *)dmae) + i));
1579 struct dmae_cmd *dmae,
1583 memset(dmae, 0, sizeof(struct dmae_cmd));
1586 dmae->opcode = bxe_dmae_opcode(sc, src_type, dst_type,
1590 dmae->comp_addr_lo = U64_LO(BXE_SP_MAPPING(sc, wb_comp));
1591 dmae->comp_addr_hi = U64_HI(BXE_SP_MAPPING(sc, wb_comp));
1592 dmae->comp_val = DMAE_COMP_VAL;
1598 struct dmae_cmd *dmae)
1609 bxe_post_dmae(sc, dmae, INIT_DMAE_C(sc));
1644 struct dmae_cmd dmae;
1663 bxe_prep_dmae_with_comp(sc, &dmae, DMAE_SRC_GRC, DMAE_DST_PCI);
1666 dmae.src_addr_lo = (src_addr >> 2); /* GRC addr has dword resolution */
1667 dmae.src_addr_hi = 0;
1668 dmae.dst_addr_lo = U64_LO(BXE_SP_MAPPING(sc, wb_data));
1669 dmae.dst_addr_hi = U64_HI(BXE_SP_MAPPING(sc, wb_data));
1670 dmae.len = len32;
1673 if ((rc = bxe_issue_dmae_with_comp(sc, &dmae)) != 0) {
1684 struct dmae_cmd dmae;
1700 bxe_prep_dmae_with_comp(sc, &dmae, DMAE_SRC_PCI, DMAE_DST_GRC);
1703 dmae.src_addr_lo = U64_LO(dma_addr);
1704 dmae.src_addr_hi = U64_HI(dma_addr);
1705 dmae.dst_addr_lo = (dst_addr >> 2); /* GRC addr has dword resolution */
1706 dmae.dst_addr_hi = 0;
1707 dmae.len = len32;
1710 if ((rc = bxe_issue_dmae_with_comp(sc, &dmae)) != 0) {
11026 * respond. The write queue in PGLUE would stuck, dmae commands
15555 * use rd/wr since we cannot use dmae. This is safe
17251 * dmae-operations (writing to pram for example.)
17641 * common phase, we need to enable it here before any dmae access are