Searched refs:chpknd (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-helper-ilk.c98 static cvmx_ilk_chan_pknd_t *chpknd = NULL, *tmp1; local
167 if (chpknd == NULL)
169 chpknd = (cvmx_ilk_chan_pknd_t *)
176 if (chpknd == NULL)
184 memset (chpknd, 0, CVMX_MAX_ILK_PKNDS * sizeof(cvmx_ilk_chan_pknd_t));
185 tmp1 = chpknd;
192 res = cvmx_ilk_rx_set_pknd (interface, chpknd, cvmx_ilk_chans[interface]);
221 tmp1 = chpknd;
274 kfree (chpknd);
H A Dcvmx-ilk.h159 extern int cvmx_ilk_rx_set_pknd (int interface, cvmx_ilk_chan_pknd_t *chpknd,
H A Dcvmx-ilk.c311 * @param chpknd pointer to an array of channel-pkind pair
316 int cvmx_ilk_rx_set_pknd (int interface, cvmx_ilk_chan_pknd_t *chpknd, argument
329 if (chpknd == NULL || num_pknd > CVMX_MAX_ILK_PKNDS)
333 * are given in *chpknd and interface is not used as a param */
337 ilk_rxf_idx_pmap.s.index = interface * 256 + chpknd->chan;
339 cvmx_write_csr (CVMX_ILK_RXF_MEM_PMAP, chpknd->pknd);
340 chpknd++;

Completed in 122 milliseconds