Lines Matching defs:channel

55  *	Add <channel>'s interrupt.
60 * channel The channel whose interrupt we want to add.
73 int channel)
87 if ((vector = nxge_intr_vec_find(nxge, type, channel)) == -1) {
89 "nxge_intr_add(%cDC %d): vector not found", c, channel));
111 c, channel, vector, nxge_ddi_perror(status2)));
122 c, channel, vector, nxge_ddi_perror(status2)));
145 * Remove <channel>'s interrupt.
150 * channel The channel whose interrupt we want to remove.
163 int channel)
176 if ((vector = nxge_intr_vec_find(nxge, type, channel)) == -1) {
178 "nxge_intr_remove(%cDC %d): vector not found", c, channel));
203 c, channel, vector, nxge_ddi_perror(status2)));
212 c, channel, vector, nxge_ddi_perror(status2)));
230 * Find the interrupt vector associated with <channel>.
235 * channel The channel whose vector we want to find.
248 int channel)
258 type == VP_BOUND_TX ? 'T' : 'R', channel));
263 type == VP_BOUND_TX ? 'T' : 'R', channel));
280 if (ldvp->channel == channel)
302 * Add <channel>'s interrupt.
307 * channel The channel whose interrupt we want to remove.
319 int channel)
321 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */
332 "==> nxge_hio_intr_add(%cDC %d)", c, channel));
336 "nxge_hio_intr_add(%cDC %d): ldgvp == 0", c, channel));
340 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) {
342 "nxge_hio_intr_add: find(%s, %d) failed", c, channel));
366 c, channel, vector, nxge_ddi_perror(ddi_status)));
378 c, channel, vector, nxge_ddi_perror(ddi_status)));
403 * Remove <channel>'s interrupt.
408 * channel The channel whose interrupt we want to remove.
420 int channel)
422 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */
432 "==> nxge_hio_intr_remove(%cDC %d)", c, channel));
436 "nxge_hio_intr_remove(%cDC %d): ldgvp == 0", c, channel));
440 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) {
443 c, channel));
450 c, channel));
475 c, channel, vector, nxge_ddi_perror(status2)));
485 c, channel, vector, nxge_ddi_perror(status2)));
701 int channel;
705 for (channel = 0; channel < NXGE_MAX_TDCS; channel++) {
706 if ((1 << channel) & group->map) {
708 nxge, VP_BOUND_TX, channel);
714 for (channel = 0; channel < NXGE_MAX_RDCS; channel++) {
715 if ((1 << channel) & group->map) {
717 nxge, VP_BOUND_RX, channel);
791 * Get the dma channel information.
806 hardware->tdc.start = dc->channel;
857 * Get DMA channel information.
872 hardware->start_rdc = dc->channel;
873 hardware->def_rdc = dc->channel;
897 * dc The DMA channel whose interrupt we're adding
915 dc->channel));
920 dc->channel));
996 device->channel = dc->channel;