Searched refs:sc_cmdring (Results 1 – 2 of 2) sorted by relevance
1449 sc->sc_cmdring.base = sc->sc_ldata.txp_cmdring; in txp_alloc_rings()1450 sc->sc_cmdring.size = CMD_ENTRIES * sizeof(struct txp_cmd_desc); in txp_alloc_rings()1451 sc->sc_cmdring.lastwrite = 0; in txp_alloc_rings()1591 sc->sc_cmdring.lastwrite = 0; in txp_init_rings()2256 idx = sc->sc_cmdring.lastwrite; in txp_ext_command()2257 cmd = (struct txp_cmd_desc *)(((uint8_t *)sc->sc_cmdring.base) + idx); in txp_ext_command()2271 if (idx == sc->sc_cmdring.size) in txp_ext_command()2279 if (idx == sc->sc_cmdring.size) in txp_ext_command()2283 sc->sc_cmdring.lastwrite = idx; in txp_ext_command()2289 WRITE_REG(sc, TXP_H2A_2, sc->sc_cmdring.lastwrite); in txp_ext_command()[all …]
669 struct txp_cmd_ring sc_cmdring; member