MAXFLOW
sun8i_ce_free_chanlist(ce, MAXFLOW - 1);
sun8i_ce_free_chanlist(ce, MAXFLOW - 1);
return atomic_inc_return(&ce->flow) % (MAXFLOW - 1);
for (flow = 0; flow < MAXFLOW; flow++) {
for (i = 0; i < MAXFLOW; i++)
ce->chanlist = devm_kcalloc(ce->dev, MAXFLOW,
for (i = 0; i < MAXFLOW; i++) {
for (flow = 0; flow < MAXFLOW; flow++) {
for (i = 0; i < MAXFLOW; i++)
ss->flows = devm_kcalloc(ss->dev, MAXFLOW, sizeof(struct sun8i_ss_flow),
for (i = 0; i < MAXFLOW; i++) {
return atomic_inc_return(&ss->flow) % MAXFLOW;
sun8i_ss_free_flows(ss, MAXFLOW - 1);
sun8i_ss_free_flows(ss, MAXFLOW - 1);
return atomic_inc_return(&mc->flow) % MAXFLOW;
for (i = 0; i < MAXFLOW; i++)
mc->chanlist = devm_kcalloc(mc->dev, MAXFLOW,
for (i = 0; i < MAXFLOW; i++) {
for (i = 0; i < MAXFLOW; i++) {
meson_free_chanlist(mc, MAXFLOW - 1);
for (flow = 0; flow < MAXFLOW; flow++) {
meson_free_chanlist(mc, MAXFLOW - 1);
int irqs[MAXFLOW];