Searched refs:search_code (Results 1 – 1 of 1) sorted by relevance
71 int search_code = 0; in gdma_new_channel() local77 …search_code = SEARCH_REQUEST_RX_CHANNEL | SEARCH_REQUEST_TX_CHANNEL; // search for a pair of chann… in gdma_new_channel()80 search_code |= SEARCH_REQUEST_TX_CHANNEL; // search TX only in gdma_new_channel()84 search_code |= SEARCH_REQUEST_RX_CHANNEL; // search RX only in gdma_new_channel()100 for (int i = 0; i < SOC_GDMA_GROUPS && search_code; i++) { // loop to search group in gdma_new_channel()103 for (int j = 0; j < SOC_GDMA_PAIRS_PER_GROUP && search_code; j++) { // loop to search pair in gdma_new_channel()107 … if (!(search_code & pair->occupy_code)) { // pair has suitable position for acquired channel(s) in gdma_new_channel()108 pair->occupy_code |= search_code; in gdma_new_channel()109 search_code = 0; // exit search loop in gdma_new_channel()112 if (search_code) { in gdma_new_channel()[all …]